dresscode-bricks
Advanced tools
Comparing version 0.2.12 to 0.2.13
@@ -8,6 +8,8 @@ Bricks.EventsController = Bricks.create({ | ||
pause: function() { | ||
this._paused = true; | ||
for (var i = 0; i < this._listeners.length; i++) { | ||
var item = this._listeners[i]; | ||
item[4].removeEventListener(item[5], item[6], false); | ||
if (!this._paused) { | ||
this._paused = true; | ||
for (var i = 0; i < this._listeners.length; i++) { | ||
var item = this._listeners[i]; | ||
item[4].removeEventListener(item[5], item[6], false); | ||
} | ||
} | ||
@@ -17,6 +19,8 @@ }, | ||
resume: function() { | ||
this._paused = false; | ||
for (var i = 0; i < this._listeners.length; i++) { | ||
var item = this._listeners[i]; | ||
item[4].addEventListener(item[5], item[6], false); | ||
if (this._paused) { | ||
this._paused = false; | ||
for (var i = 0; i < this._listeners.length; i++) { | ||
var item = this._listeners[i]; | ||
item[4].addEventListener(item[5], item[6], false); | ||
} | ||
} | ||
@@ -23,0 +27,0 @@ }, |
{ | ||
"name": "dresscode-bricks", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Kolyaj", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130151
3082