fastdom-sequencer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -126,3 +126,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
data.callbacks[type] = e => { | ||
data.callbacks[type] = function(e) { | ||
debug('event', type, this.scope); | ||
@@ -138,3 +138,3 @@ var interaction = this.createInteraction(el, type); | ||
}); | ||
}; | ||
}.bind(this); | ||
@@ -381,4 +381,9 @@ // attach the wrapped callback | ||
return Promise.all(flattened) | ||
.then(() => new Promise(resolve => setTimeout(resolve))) | ||
.then(() => this.after(blockers, done, scope)); | ||
.then(function() { | ||
return new Promise(function(resolve) { setTimeout(resolve); }); | ||
}) | ||
.then(function() { | ||
return this.after(blockers, done, scope); | ||
}.bind(this)); | ||
}, | ||
@@ -385,0 +390,0 @@ |
{ | ||
"name": "fastdom-sequencer", | ||
"description": "", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "fastdom-sequencer.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -70,3 +70,3 @@ | ||
data.callbacks[type] = e => { | ||
data.callbacks[type] = function(e) { | ||
debug('event', type, this.scope); | ||
@@ -82,3 +82,3 @@ var interaction = this.createInteraction(el, type); | ||
}); | ||
}; | ||
}.bind(this); | ||
@@ -325,4 +325,9 @@ // attach the wrapped callback | ||
return Promise.all(flattened) | ||
.then(() => new Promise(resolve => setTimeout(resolve))) | ||
.then(() => this.after(blockers, done, scope)); | ||
.then(function() { | ||
return new Promise(function(resolve) { setTimeout(resolve); }); | ||
}) | ||
.then(function() { | ||
return this.after(blockers, done, scope); | ||
}.bind(this)); | ||
}, | ||
@@ -329,0 +334,0 @@ |
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
37959
1201