Closed
Description
Hi.
I'm working with jQuery and I'm used to running javascript code as soon as the DOM is ready. The funny bit is that my js is performing operations which involve reading some DOM elements' css attributes. However, it turns out the js may or may not run after Less has done his job.
The consequence is that oftentimes, my js will read values before they are set - thus leading to unexpected behaviors.
My question is simple : is there a way (event, flag...anything) to tell when the less processing is complete and execute JS code after ?