Hacker GitHub

← All repos

amorey/loadjs

View on GitHub ↗ ★ 2,569 JavaScript

A tiny async loader / dependency manager for modern browsers (961 bytes)

9 mentions on Hacker News by 2 people: 3 stories, 6 comments · first 2015-07-24 · latest 2018-10-02

Mentions per year 9 mentions · busiest year 2016 (6)
20082026
  1. …on the project. JohnnyDepp came out of a feature request I got on another project called LoadJS ( https://github.com/muicss/loadjs ) which is an async loading library. The request was for a higher-level dependency manager that: 1.…
  2. …server does not respond and leaves the connection open the browser will just wait the max time. [1] https://github.com/muicss/loadjs/blob/master/README.md [2] https://webpack.js.org/guides/code-splitting/
  3. We use the `onerror` handler to detect load errors on IE9: https://github.com/muicss/loadjs/blob/master/src/loadjs.js#L...
  4. …is very tricky but I think we came up with a good solution [1] that is tested down to IE9 [2]. [1] https://github.com/muicss/loadjs/blob/master/src/loadjs.js#L... [2] https://github.com/muicss/loadjs/blob/master/test/tests.js#L...
  5. ▲ 91
    LoadJS – A tiny async loader for modern browsers (710 bytes)
    story by andres · 2016-12-14 · 24 comments
  6. …503 bytes (minified + gzipped). HN - If you see a way to get below 500 bytes please let me know! https://github.com/muicss/loadjs/blob/master/src/loadjs.js
  7. …un-necessary code in the script loading function [2][3] * Removed setTimeout wrapper [4][5] [1] https://github.com/muicss/loadjs/blob/master/src/loadjs.js#L... [2] https://github.com/muicss/loadjs/blob/master/src/loadjs.js#L... [3]…
  8. ▲ 25
    Show HN: LoadJS – A tiny async loader for modern browsers
    story by andres · 2016-05-18 · 14 comments
  9. ▲ 21
    Show HN: LoadJS – A tiny async loader for modern browsers
    story by andres · 2015-07-24 · 8 comments