anothersequencer
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "anothersequencer", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Simple script tree sequencer in javascript. Allows creating fairly complex trees of sync/async functions or requestAnimationFrame functions with optional delays, as well as subscribing to particular outputs in the tree at any time.", | ||
@@ -5,0 +5,0 @@ "main": "sequencer.js", |
@@ -128,2 +128,3 @@ //Simple script sequencer | ||
if(sequence) { | ||
if(!Array.isArray(sequence)) sequence = [sequence]; | ||
if(!index) sequence.push(setting); | ||
@@ -293,4 +294,3 @@ else { | ||
if(tag) { | ||
if(sub) this.state.unsubscribeTrigger(tag,sub); | ||
else this.state.unsubscribeAllTriggers(tag); | ||
this.state.unsubscribeTrigger(tag,sub); | ||
} | ||
@@ -297,0 +297,0 @@ } |
Sorry, the diff of this file is not supported yet
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
61899