vendor/assets/javascripts/noty/jquery.noty.js in noty-rails-2.3.7 vs vendor/assets/javascripts/noty/jquery.noty.js in noty-rails-2.3.8
- old
+ new
@@ -1,8 +1,8 @@
/*!
@package noty - jQuery Notification Plugin
- @version version: 2.3.7
+ @version version: 2.3.8
@contributors https://github.com/needim/noty/graphs/contributors
@documentation Examples and Documentation - http://needim.github.com/noty/
@license Licensed under the MIT licenses: http://www.opensource.org/licenses/mit-license.php
@@ -28,18 +28,13 @@
this.options.layout = (this.options.custom) ? $.noty.layouts['inline'] : $.noty.layouts[this.options.layout];
if($.noty.themes[this.options.theme])
this.options.theme = $.noty.themes[this.options.theme];
else
- options.themeClassName = this.options.theme;
+ this.options.themeClassName = this.options.theme;
- delete options.layout;
- delete options.theme;
-
this.options = $.extend({}, this.options, this.options.layout.options);
this.options.id = 'noty_' + (new Date().getTime() * Math.floor(Math.random() * 1000000));
-
- this.options = $.extend({}, this.options, options);
// Build the noty dom initial structure
this._build();
// return this so we can chain/use the bridge with less code.