Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Added 'async' optional param to 'regClientScript' and 'regClientStartupScript' #14527
What does it do?
Added optional param 'async' for methods regClientScript and regClientStartupScript of modx object, which allows to get
Why is it needed?
to avoid "blocking-like" synchronous behaviour when browser builds DOM and stops and execute scripts tags, allows to use asynchronous behaviour instead