Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 

README.md

Eddloader

A simple synchronous script loader based on pattern "Externally Defined Dependencies".

Usage

Add to the html file the script tag with appropriate data-attributes:

<script type="text/javascript" src="eddloader.js" data-edd-path="" data-edd-deps="deps.json"></script>

The json file with dependencies must have property files with list of dependencies:

{
    "files": {
        "file1.js": ["file2.js", "file3.js"],
        "file2.js": [],
        "file3.js": ["file4.js"],
        "file4.js": []
    }
}

Licence

MIT

About

Script Loader Based On Externally Defined Dependencies Pattern

Topics

Resources

License

Releases

No releases published
You can’t perform that action at this time.