no-loader

1.0.1 • Public • Published

no loader

Because we shouldn't punish new browsers with old code. Punish old browsers instead :).

To use it, add a script tag like this:

<script id=no-loader
  data-legacy=/path/to/non-es6-version.js
  data-timeout=60000
  src=https://npmcdn.com/no-loader@latest/index.min.js></script>

Then insert your app's script tag pointing to the modern version of your code.

<script src=/path/to/es6-version.js></script>

See playground for an example.

License MIT. With <3 by UXtemple.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i no-loader

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • dariocravero