├── .gitignore ├── .jshintrc ├── .travis.yml ├── README.md ├── config ├── webpack.apiTest.config.js ├── webpack.config.js └── webpack.imagesTest.config.js ├── dist └── stanchion.js ├── docs ├── console.png ├── priority_highest.gif ├── priority_lowest.gif ├── stanchion_diagram.png └── without_library.gif ├── package.json ├── src ├── constants.js ├── max_connections.js ├── priorityqueue.js ├── request.js ├── stanchion.js └── utils.js ├── test-dist ├── api-test │ └── script.js └── images-test │ ├── 1.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 12.png │ ├── 13.png │ ├── 14.jpg │ ├── 15.jpg │ ├── 16.jpg │ ├── 17.png │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ ├── 9.jpg │ └── script.js ├── test ├── api-test │ ├── index.html │ └── script.js ├── images-test │ ├── 1.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 12.png │ ├── 13.png │ ├── 14.jpg │ ├── 15.jpg │ ├── 16.jpg │ ├── 17.png │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ ├── 9.jpg │ ├── index.html │ └── script.js ├── testApp.js └── unit-test │ ├── index.spec.js │ └── priorityqueue.spec.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | .cache 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "esversion": 6 3 | } 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/README.md -------------------------------------------------------------------------------- /config/webpack.apiTest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/config/webpack.apiTest.config.js -------------------------------------------------------------------------------- /config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/config/webpack.config.js -------------------------------------------------------------------------------- /config/webpack.imagesTest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/config/webpack.imagesTest.config.js -------------------------------------------------------------------------------- /dist/stanchion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/dist/stanchion.js -------------------------------------------------------------------------------- /docs/console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/docs/console.png -------------------------------------------------------------------------------- /docs/priority_highest.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/docs/priority_highest.gif -------------------------------------------------------------------------------- /docs/priority_lowest.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/docs/priority_lowest.gif -------------------------------------------------------------------------------- /docs/stanchion_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/docs/stanchion_diagram.png -------------------------------------------------------------------------------- /docs/without_library.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/docs/without_library.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/package.json -------------------------------------------------------------------------------- /src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/src/constants.js -------------------------------------------------------------------------------- /src/max_connections.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/src/max_connections.js -------------------------------------------------------------------------------- /src/priorityqueue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/src/priorityqueue.js -------------------------------------------------------------------------------- /src/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/src/request.js -------------------------------------------------------------------------------- /src/stanchion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/src/stanchion.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/src/utils.js -------------------------------------------------------------------------------- /test-dist/api-test/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/api-test/script.js -------------------------------------------------------------------------------- /test-dist/images-test/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/1.jpg -------------------------------------------------------------------------------- /test-dist/images-test/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/10.jpg -------------------------------------------------------------------------------- /test-dist/images-test/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/11.jpg -------------------------------------------------------------------------------- /test-dist/images-test/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/12.png -------------------------------------------------------------------------------- /test-dist/images-test/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/13.png -------------------------------------------------------------------------------- /test-dist/images-test/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/14.jpg -------------------------------------------------------------------------------- /test-dist/images-test/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/15.jpg -------------------------------------------------------------------------------- /test-dist/images-test/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/16.jpg -------------------------------------------------------------------------------- /test-dist/images-test/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/17.png -------------------------------------------------------------------------------- /test-dist/images-test/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/2.jpg -------------------------------------------------------------------------------- /test-dist/images-test/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/3.jpg -------------------------------------------------------------------------------- /test-dist/images-test/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/4.jpg -------------------------------------------------------------------------------- /test-dist/images-test/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/5.jpg -------------------------------------------------------------------------------- /test-dist/images-test/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/6.jpg -------------------------------------------------------------------------------- /test-dist/images-test/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/7.jpg -------------------------------------------------------------------------------- /test-dist/images-test/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/8.jpg -------------------------------------------------------------------------------- /test-dist/images-test/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/9.jpg -------------------------------------------------------------------------------- /test-dist/images-test/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test-dist/images-test/script.js -------------------------------------------------------------------------------- /test/api-test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/api-test/index.html -------------------------------------------------------------------------------- /test/api-test/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/api-test/script.js -------------------------------------------------------------------------------- /test/images-test/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/1.jpg -------------------------------------------------------------------------------- /test/images-test/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/10.jpg -------------------------------------------------------------------------------- /test/images-test/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/11.jpg -------------------------------------------------------------------------------- /test/images-test/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/12.png -------------------------------------------------------------------------------- /test/images-test/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/13.png -------------------------------------------------------------------------------- /test/images-test/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/14.jpg -------------------------------------------------------------------------------- /test/images-test/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/15.jpg -------------------------------------------------------------------------------- /test/images-test/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/16.jpg -------------------------------------------------------------------------------- /test/images-test/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/17.png -------------------------------------------------------------------------------- /test/images-test/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/2.jpg -------------------------------------------------------------------------------- /test/images-test/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/3.jpg -------------------------------------------------------------------------------- /test/images-test/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/4.jpg -------------------------------------------------------------------------------- /test/images-test/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/5.jpg -------------------------------------------------------------------------------- /test/images-test/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/6.jpg -------------------------------------------------------------------------------- /test/images-test/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/7.jpg -------------------------------------------------------------------------------- /test/images-test/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/8.jpg -------------------------------------------------------------------------------- /test/images-test/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/9.jpg -------------------------------------------------------------------------------- /test/images-test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/index.html -------------------------------------------------------------------------------- /test/images-test/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/images-test/script.js -------------------------------------------------------------------------------- /test/testApp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/testApp.js -------------------------------------------------------------------------------- /test/unit-test/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/unit-test/index.spec.js -------------------------------------------------------------------------------- /test/unit-test/priorityqueue.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/test/unit-test/priorityqueue.spec.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alixander/Stanchion/HEAD/yarn.lock --------------------------------------------------------------------------------