global clash fix
This commit is contained in:
Vendored
+4
-3
@@ -1,4 +1,4 @@
|
||||
/** Notify.js - v0.0.1 - 2013/04/05
|
||||
/** Notify.js - v0.0.1 - 2013/04/11
|
||||
* http://notifyjs.com/
|
||||
* Copyright (c) 2013 Jaime Pillora - MIT
|
||||
*/
|
||||
@@ -144,8 +144,9 @@ Notification = (function() {
|
||||
return insertCSS(style);
|
||||
};
|
||||
|
||||
Notification.prototype.loadHTML = function(style) {
|
||||
style = this.getStyle(name);
|
||||
Notification.prototype.loadHTML = function() {
|
||||
var style;
|
||||
style = this.getStyle();
|
||||
this.userContainer = $(style.html);
|
||||
this.text = this.userContainer.find('[data-notify=text]');
|
||||
if (this.text.length === 0) {
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+2
-2
@@ -217,8 +217,8 @@ class Notification
|
||||
#insert
|
||||
insertCSS style
|
||||
|
||||
loadHTML: (style) ->
|
||||
style = @getStyle(name)
|
||||
loadHTML: ->
|
||||
style = @getStyle()
|
||||
@userContainer = $(style.html)
|
||||
@text = @userContainer.find '[data-notify=text]'
|
||||
if @text.length is 0
|
||||
|
||||
Reference in New Issue
Block a user