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

Allow empty embedded ACSS tags #181

Closed bob2517 closed 3 years ago

bob2517 commented 3 years ago

SPA tutorial page 2 page is broken - links don't work. Gah! Dunno yet why this is happening.

Sorting this out now. Sorting out some other docs stuff while I'm at it in preparation for 2.8.0, so will probably need to release 2.8.0 as it stands at the moment. The docs are not version controlled, which is something I should probably sort out...

bob2517 commented 3 years ago

If anyone wants to see a working version meanwhile, I know that the 2.5.1 downloadable docs are working.

bob2517 commented 3 years ago

I've traced this to an empty embedded ACSS tag on the page. That's an error from the back-end docs generation method primarily. But I'm putting some debug output into the core so this is more easily spotted and doesn't break the whole page, as it does at the moment. Embedded tags always get loaded before regular config, and currently on parse failure there's a fatal error. So I'm changing it to just be a warning instead.

bob2517 commented 3 years ago

That core change resolved the SPA page issue, and the page now works as expected with the warning that there's an empty config tag. Warnings don't display on the production edition of the core, only the development edition.

I'll remove the tag anyway... but for all intents and purposes this issue can be closed.

bob2517 commented 3 years ago

Debug improvement is now on the branch.

bob2517 commented 3 years ago

Going live with 2.8.0 today hopefully - so closing this for the milestone.