IE8+ compatible GET requests for the browser. Includes an ES6 promise polyfill.
Installation
Grab the dist/browser-get.js
file and include it at the bottom of your page:
Or use Browserify:
npm install browser-get --savevar get = require;
Usage
// Returns an ES6 promise.var promise = ; // When request completes.promise; // If request fails.promise;
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
License
Copyright (c) 2014 Chris Contolini
Licensed under the MIT license.