Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 23 days 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T06:16:32.000Z (almost 10 years ago)
- Last Synced: 2025-01-17T17:56:27.779Z (24 days 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
})
```