0.1.5 • Published 8 years ago

gist_lazy_loader v0.1.5

Weekly downloads
19
License
-
Repository
github
Last release
8 years ago

Gist Lazy Loader

Asynchronous loading of Github gists

Installation

jspm install npm:gist_lazy_loader

Code Example

<div id='container'>
  <p>1</p>
  <script data-src='https://gist.github.com/jerzyn/9689187.js?file=require-plugin.php'></script>
  <p>2</p>
  <script data-src='https://gist.github.com/jerzyn/9689187.js?file=require-plugin.php'></script>
</div>
import { lazyLoad } from 'gist_lazy_loader'

var = document.getElementsByTagName('script')

lazyLoad(nodeList)

Tests

$ jspm-dev-server
$ open https://localhost:3000/spec/index.html

Contributing

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago