Skip to content

Commit abacf3f

Browse files
author
book010
committed
update content to textContent for 1.0.0-rc5
md-toast now uses textContent instead of content - content is deprecated
1 parent 879969a commit abacf3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angular-material/angular-material-tests.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ myApp.controller('SidenavController', ($scope: ng.IScope, $mdSidenav: ng.materia
9696
});
9797

9898
myApp.controller('ToastController', ($scope: ng.IScope, $mdToast: ng.material.IToastService) => {
99-
$scope['openToast'] = () => $mdToast.show($mdToast.simple().content('Hello!'));
100-
});
99+
$scope['openToast'] = () => $mdToast.show($mdToast.simple().textContent('Hello!'));
100+
});

0 commit comments

Comments
 (0)