react-async-script
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -0,1 +1,8 @@ | ||
v0.9.1 - Wed, 19 Apr 2017 6:05:00 PST | ||
-------------------------------------- | ||
- Fixed issue where method was not bound properly (#19) | ||
v0.9.0 - Sun, 16 Apr 2017 4:12:00 PST | ||
@@ -2,0 +9,0 @@ -------------------------------------- |
@@ -95,3 +95,5 @@ "use strict"; | ||
} | ||
entry.observers.set(key, this.asyncScriptLoaderHandleLoad); | ||
entry.observers.set(key, function (entry) { | ||
return _this2.asyncScriptLoaderHandleLoad(entry); | ||
}); | ||
return; | ||
@@ -101,3 +103,5 @@ } | ||
var observers = new _map2.default(); | ||
observers.set(key, this.asyncScriptLoaderHandleLoad); | ||
observers.set(key, function (entry) { | ||
return _this2.asyncScriptLoaderHandleLoad(entry); | ||
}); | ||
SCRIPT_MAP.set(scriptURL, { | ||
@@ -104,0 +108,0 @@ loaded: false, |
{ | ||
"name": "react-async-script", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A composition mixin for loading scripts asynchronously for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/async-script-loader.js", |
@@ -43,3 +43,3 @@ import React from "react"; | ||
} | ||
entry.observers.set(key, this.asyncScriptLoaderHandleLoad); | ||
entry.observers.set(key, (entry) => this.asyncScriptLoaderHandleLoad(entry)); | ||
return; | ||
@@ -49,3 +49,3 @@ } | ||
let observers = new Map(); | ||
observers.set(key, this.asyncScriptLoaderHandleLoad); | ||
observers.set(key, (entry) => this.asyncScriptLoaderHandleLoad(entry)); | ||
SCRIPT_MAP.set(scriptURL, { | ||
@@ -52,0 +52,0 @@ loaded: false, |
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
25038
401