lockandload
Advanced tools
Comparing version 1.2.5 to 1.2.6
{ | ||
"name": "lockandload", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "Minimalist AMD-compliant Javascript and CSS loader", | ||
@@ -5,0 +5,0 @@ "main": "index.html", |
@@ -74,7 +74,16 @@ <h1>lockandload AMD-loader</h1> | ||
### Without serverside scripting | ||
### Without serverside scripting easy | ||
Copy the `node_modules/lockandload/index.html` boilerplate | ||
Copy the `node_modules/lockandload/index_extern.html` boilerplate | ||
file to your webroot; then customise the copied file to taste. | ||
The `index.html` contains two `<script>` sections. The first section | ||
Copy the `node_modules/lockandload/lockandload_headready.html` file | ||
to your javascript directory and customise it taste. Do not forget | ||
to change the path of the `script` directive in `index_extern.html` | ||
to point to the new location of the headready script. | ||
### Without serverside scripting high performance | ||
Copy the `node_modules/lockandload/index_inlined.html` boilerplate | ||
file to your webroot; then customise the copied file to taste. | ||
The `index_inlined.html` contains two `<script>` sections. The first section | ||
should not be preceded by any other `<script>` tags and should be left | ||
@@ -107,7 +116,8 @@ verbatim. | ||
The `index.html` file is a production-stripped version of `annotated.html`. | ||
Look at `annotated.html` to understand the code and read additional | ||
inline documentation. These `index.*` and `lockandload_*.inc` files are not | ||
present in the git source repository, they can only be found in the npm | ||
repository (or after running `npm run prepublish`). | ||
The `index_inlined.html` file is a production-stripped version | ||
of `annotated.html`. Look at `annotated.html` to understand the code and | ||
read additional inline documentation. These `index.*`, `lockandload_*.inc` | ||
and `lockandload_*.js` | ||
files are not present in the git source repository, they can only be found in | ||
the npm repository (or after running `npm run prepublish`). | ||
@@ -114,0 +124,0 @@ ## API |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
34619
18
108
0
216
0