Update ngbootbox-tests.ts

This commit is contained in:
Sam Saint-Pettersen 2015-11-11 10:36:16 +00:00
parent dc6ed0fd0a
commit 3f67d58973

View File

@ -3,7 +3,7 @@
class TestBootboxController {
constructor(private $scope: angular.IScope, $ngBootbox: IBootboxService) {
constructor(private $scope: angular.IScope, $ngBootbox: BootboxService) {
$ngBootbox.alert('An important message!').then(function() {
console.log('Alert closed');
@ -21,7 +21,7 @@ class TestBootboxController {
console.log('Prompt dismissed!');
});
var options: IBootboxDialog = {
var options: NgBootboxDialog = {
message: 'This is a message!',
title: 'The title!',
className: 'test-class',