https://github.com/calvein/add-script
A module that takes a url and a callback that will be run when the script is loaded
https://github.com/calvein/add-script
Last synced: 4 months ago
JSON representation
A module that takes a url and a callback that will be run when the script is loaded
- Host: GitHub
- URL: https://github.com/calvein/add-script
- Owner: Calvein
- Created: 2015-02-24T06:15:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T06:16:32.000Z (over 10 years ago)
- Last Synced: 2025-02-18T04:37:20.059Z (5 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A module that takes a url and a callback that will be run when the script is loaded.
```js
var addScript = require('add-script')
addScript(script, function() {
// script is loaded
})
```