Permalink
Browse files

Change references to 'default' theme in demo

Update 'default' to 'defaultTheme', so demo will work with plugin
fixed for ie8.
  • Loading branch information...
1 parent 6251888 commit 15595abb39d33189808980f16a144e37cbc73ade @marcin-wosinek marcin-wosinek committed Aug 22, 2012
@@ -61,7 +61,7 @@
type: 'alert',
dismissQueue: true,
layout: layout,
- theme: 'default'
+ theme: 'defaultTheme'
});
console.log('html: '+n.options.id);
}
View
@@ -61,7 +61,7 @@
type: type,
dismissQueue: true,
layout: 'topCenter',
- theme: 'default'
+ theme: 'defaultTheme'
});
console.log('html: '+n.options.id);
}
View
@@ -61,7 +61,7 @@
type: type,
dismissQueue: false,
layout: 'topCenter',
- theme: 'default'
+ theme: 'defaultTheme'
});
console.log(type + ' - ' + n.options.id);
return n;
@@ -64,7 +64,7 @@
type: type,
dismissQueue: true,
layout: 'topCenter',
- theme: 'default'
+ theme: 'defaultTheme'
});
console.log('html: '+n.options.id);
@@ -61,16 +61,16 @@
type: 'alert',
dismissQueue: true,
layout: layout,
- theme: 'default',
+ theme: 'defaultTheme',
buttons: [
{addClass: 'btn btn-primary', text: 'Ok', onClick: function($noty) {
$noty.close();
- noty({dismissQueue: true, force: true, layout: layout, theme: 'default', text: 'You clicked "Ok" button', type: 'success'});
+ noty({dismissQueue: true, force: true, layout: layout, theme: 'defaultTheme', text: 'You clicked "Ok" button', type: 'success'});
}
},
{addClass: 'btn btn-danger', text: 'Cancel', onClick: function($noty) {
$noty.close();
- noty({dismissQueue: true, force: true, layout: layout, theme: 'default', text: 'You clicked "Cancel" button', type: 'error'});
+ noty({dismissQueue: true, force: true, layout: layout, theme: 'defaultTheme', text: 'You clicked "Cancel" button', type: 'error'});
}
}
]
@@ -61,16 +61,16 @@
type: type,
dismissQueue: true,
layout: layout,
- theme: 'default',
+ theme: 'defaultTheme',
buttons: [
{addClass: 'btn btn-primary', text: 'Ok', onClick: function($noty) {
$noty.close();
- noty({dismissQueue: true, force: true, layout: layout, theme: 'default', text: 'You clicked "Ok" button', type: 'success'});
+ noty({dismissQueue: true, force: true, layout: layout, theme: 'defaultTheme', text: 'You clicked "Ok" button', type: 'success'});
}
},
{addClass: 'btn btn-danger', text: 'Cancel', onClick: function($noty) {
$noty.close();
- noty({dismissQueue: true, force: true, layout: layout, theme: 'default', text: 'You clicked "Cancel" button', type: 'error'});
+ noty({dismissQueue: true, force: true, layout: layout, theme: 'defaultTheme', text: 'You clicked "Cancel" button', type: 'error'});
}
}
]
@@ -62,7 +62,7 @@
dismissQueue: true,
modal: true,
layout: 'topCenter',
- theme: 'default'
+ theme: 'defaultTheme'
});
console.log('html: '+n.options.id);
}

0 comments on commit 15595ab

Please sign in to comment.