Skip to content

Releases: Dan503/load-js

v1.0.7 - Fix for IE not supporting array.find()

28 Nov 06:44

Choose a tag to compare

Fix for IE not supporting array.find()

v1.0.6 - Proper fix for callbacks being run too early

04 Oct 11:36

Choose a tag to compare

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

19 Sep 05:21

Choose a tag to compare

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

22 Oct 12:46

Choose a tag to compare

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

17 Oct 04:31

Choose a tag to compare

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

23 Aug 14:44

Choose a tag to compare

Fix for incorrect callback function return type.

v1.0.1 - Switched to exporting CommonJS

19 Aug 14:13

Choose a tag to compare

UMD was causing me issues so I switched to Common JS output format for better node support.

v1.0.0 - Initial release

19 Aug 14:14

Choose a tag to compare

Updating package.json description