shower-next
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "shower-next", | ||
"description": "Next plugin for Shower HTML presentation engine", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Denis Hananein", |
@@ -22,3 +22,3 @@ /** | ||
*/ | ||
function Next (shower, options) { | ||
function Next(shower, options) { | ||
options = options || {}; | ||
@@ -132,2 +132,6 @@ | ||
this._playerListeners.offAll(); | ||
if (this._pluginsListeners) { | ||
this._pluginsListeners.offAll(); | ||
} | ||
}, | ||
@@ -139,3 +143,5 @@ | ||
return slideElement.querySelectorAll(this._elementsSelector); | ||
return Array.prototype.slice.call( | ||
slideElement.querySelectorAll(this._elementsSelector) | ||
); | ||
}, | ||
@@ -178,4 +184,2 @@ | ||
this._elements = this._getElements(); | ||
this._elements = Array.prototype.slice.call(this._elements); | ||
this._innerComplete = this._getInnerComplete(); | ||
@@ -182,0 +186,0 @@ }, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10457
158
1