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/
|
* http://notifyjs.com/
|
||||||
* Copyright (c) 2013 Jaime Pillora - MIT
|
* Copyright (c) 2013 Jaime Pillora - MIT
|
||||||
*/
|
*/
|
||||||
@@ -144,8 +144,9 @@ Notification = (function() {
|
|||||||
return insertCSS(style);
|
return insertCSS(style);
|
||||||
};
|
};
|
||||||
|
|
||||||
Notification.prototype.loadHTML = function(style) {
|
Notification.prototype.loadHTML = function() {
|
||||||
style = this.getStyle(name);
|
var style;
|
||||||
|
style = this.getStyle();
|
||||||
this.userContainer = $(style.html);
|
this.userContainer = $(style.html);
|
||||||
this.text = this.userContainer.find('[data-notify=text]');
|
this.text = this.userContainer.find('[data-notify=text]');
|
||||||
if (this.text.length === 0) {
|
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
|
#insert
|
||||||
insertCSS style
|
insertCSS style
|
||||||
|
|
||||||
loadHTML: (style) ->
|
loadHTML: ->
|
||||||
style = @getStyle(name)
|
style = @getStyle()
|
||||||
@userContainer = $(style.html)
|
@userContainer = $(style.html)
|
||||||
@text = @userContainer.find '[data-notify=text]'
|
@text = @userContainer.find '[data-notify=text]'
|
||||||
if @text.length is 0
|
if @text.length is 0
|
||||||
|
|||||||
Reference in New Issue
Block a user