Releases: Dan503/load-js
Releases · Dan503/load-js
v1.0.7 - Fix for IE not supporting array.find()
v1.0.6 - Proper fix for callbacks being run too early
v1.0.5 didn't fix the issue.
v1.0.6 is far more robust and introduces more robust Cypress testing.
README.md has also been updated to be more informative.
v1.0.5 - Fix for callbacks being run too early
I ran into an issue where the callback was getting called before the script finished being parsed. this fixes that issue.
v1.0.4 - TS Error fix
Fix for TypeScript error:
{} not assignable to { hasLoaded: boolean; callbacks: Function[] }
Also improved some of the variable names
v1.0.3 - Fix for callback not running if script already loaded
If a script has already previously been loaded, the callback functions will now run immediately instead of forever waiting for the script to load.
Also I've added Cypress as a testing platform to ensure that the code all runs as expected.
v1.0.2 - TypeScript type fix
Fix for incorrect callback function return type.
v1.0.1 - Switched to exporting CommonJS
UMD was causing me issues so I switched to Common JS output format for better node support.
v1.0.0 - Initial release
Updating package.json description