Active-CSS / active-css

The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
https://activecss.org
Other
42 stars 7 forks source link

Fix load-script & load-style and add proper "after" events for these #59

Closed bob2517 closed 4 years ago

bob2517 commented 4 years ago

Gonna do this now while I'm sorting out the test for load-script - seems a good a time as any.

There is an "after" event there, but it works immediately after the command is run. The correct behaviour should be to run after the script has been loaded.

Note to self: This may be a slight breaking change if anyone is using it currently so make a note when updating the docs.

This should be on the 2.4.0 branch by the end of the day.

bob2517 commented 4 years ago

This commit will include a proper after event for load-style also.

bob2517 commented 4 years ago

load-script busted at some point - didn't like urls without a "?". Sigh. At least the test is done. Will commit in a sec.

bob2517 commented 4 years ago

Fixes on the 2.4.0 branch. Closing.