By default, loading JavaScript files is done one file at a time, using a classic load queue mechanism.
$script.js allows developers to query and load JS scripts and resources from any location, while also loading dependencies at the same time, in the correct order.
This is done in parallel, asynchronously, without blocking CSS, images and other resources from loading on the page.
This means you can easily deploy $script.js to improve page speed, while also providing yourself with a better, easier to control method for loading large JS structures on a page.
The library's main features are its small size, very deep browser support and its well-tested and benchmarked code.
$script.js works with client-side (browsers) and server-side (Node.js) environments. Ender support is also included.
What is new in this release:
- $script.js has added a new method on the $script object call domReady.
What is new in version 2.5.7:
- $script.js has added a new method on the $script object call domReady.
Requirements:
- JavaScript enabled on client side
- Node.js for server-side environments
תגובות לא נמצא