npm.io
1.0.2 • Published 11 years ago

script-onload

Licence
—
Version
1.0.2
Deps
0
Vulns
0
Weekly
0
Stars
9

script-onload

Note
Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.

Invoke fn(err) when the given <script> loads.

Installation

$ component install segmentio/script-onload

API

onload(el, fn)

License

(MIT)