{"_id":"ic-ajax","_rev":"43-6cc1e9132994ee0b4043a1b46ca10b3a","name":"ic-ajax","description":"ember friendly $.ajax wrapper","dist-tags":{"latest":"2.0.2"},"versions":{"0.1.0":{"name":"ic-ajax","version":"0.1.0","description":"ember friendly $.ajax wrapper","main":"main.js","devDependencies":{"testem":"~0.5.12"},"scripts":{"test":"./node_modules/.bin/testem ci"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","_id":"ic-ajax@0.1.0","dist":{"shasum":"86dfb3ee234dabab69022b6010ec45158e6904c6","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-0.1.0.tgz","integrity":"sha512-uTfimf2HSI6wDvXdGa2naJbhKaA4SXhebsdkyiP3clZD3zDQz7oCK5yGHdgZgqVIoH0QN+A2V3RkSykap36sZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHivS4rMKGeOT70P16yradu/AH1+OnEYohRqyZ6j6efAiEAzegMuzCcA4/9UH8Wg7iQERy+vCM1gAmbRPl3oPO61hg="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{}},"0.1.2":{"name":"ic-ajax","version":"0.1.2","description":"ember friendly $.ajax wrapper","main":"main.js","devDependencies":{"testem":"~0.5.12","prompt":"~0.2.11"},"scripts":{"test":"./node_modules/.bin/testem ci"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","_id":"ic-ajax@0.1.2","dist":{"shasum":"6c91d08c34ba1a8cdf287ae89912051a00ad6e7c","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-0.1.2.tgz","integrity":"sha512-SEwkRqOjsjybakvz6atRLQvdclMEzE0IVNKek7Lg+tJTkWGd26quAuL6Q/pa301yKTLEo9nmwzp8emCf/jh3Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2c5bW1i4OTpvsWezyosC9/ymzQ52o6I+iPyjUkhmEuQIgVE3Z1EpP46e9A+VYr9YBjVX4efXM+a4urFR5qZmiDso="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{}},"0.2.0":{"name":"ic-ajax","version":"0.2.0","description":"ember friendly $.ajax wrapper","main":"main.js","devDependencies":{"testem":"~0.5.12","prompt":"~0.2.11"},"scripts":{"test":"./node_modules/.bin/testem ci"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","_id":"ic-ajax@0.2.0","dist":{"shasum":"16948aa2c1ab7baefefb59dcd52cc1a7d5254e2e","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-0.2.0.tgz","integrity":"sha512-7RWXPb03wF4NdCZtdVcg00krh2Sa6HGxP6ir0prgcOt8Hc8Mcq1GsbtnQ8klWrKqiaAI49HOKkfPZkJfJxeFwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0UaQb3e5YsjX2Sf+Em5JgGS4X1tt7uKY4cDZKwXFLGwIgasF/ndV1pCmKfITlfzIwLkm7xIBCp3ZMA2LKz46jnqs="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"0.2.1":{"name":"ic-ajax","version":"0.2.1","description":"ember friendly $.ajax wrapper","main":"main.js","devDependencies":{"testem":"~0.5.12","prompt":"~0.2.11"},"scripts":{"test":"./node_modules/.bin/testem ci"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","_id":"ic-ajax@0.2.1","dist":{"shasum":"987f7e6062141ceca4e23373fa764809d63a04a0","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-0.2.1.tgz","integrity":"sha512-saWDlU/S56DJSNYDH3+K6SMZlWrKQCIoEfiWO4e+BIVxEBWMpILu+5runDPz3xb60D51DaxujRa4IKLVIcYcfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwn/5FKl8sIe6xf6QaD9rAuFg/VawwJtm0Q/kSZEbuaQIgazMIBANUUU3AKmX+ZiCSeQ5sa53DP/Ts5xFazROdTZY="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"0.3.0":{"name":"ic-ajax","version":"0.3.0","description":"ember friendly $.ajax wrapper","main":"main.js","devDependencies":{"testem":"~0.5.12","prompt":"~0.2.11"},"scripts":{"test":"./node_modules/.bin/testem ci"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","_id":"ic-ajax@0.3.0","dist":{"shasum":"41afe0933c68b9a5bc0a5da28140716dc82d927e","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-0.3.0.tgz","integrity":"sha512-crd3my6hCSBsAWSVh6gOD+th8GF8p4VPCYt4buM3Oujs9/bgxh+7hWlwKumr8sIreEVJ/Bf/3PAuF3e53y1BLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpPfW/SqglMWYDDV2cu5nl1vBgOgFSTZA2rUcM1dSqXwIhAMJnYDOCEqVUz0CTeehApbN9u1SUCzp7LNaOoDbrOXZh"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"0.4.0":{"name":"ic-ajax","version":"0.4.0","description":"ember friendly $.ajax wrapper","main":"main.js","devDependencies":{"testem":"~0.5.12","prompt":"~0.2.11"},"scripts":{"test":"./node_modules/.bin/testem ci"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","_id":"ic-ajax@0.4.0","dist":{"shasum":"43bc9ecbb43d7d6abd13d96585beec136c2dc1a5","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-0.4.0.tgz","integrity":"sha512-Cs1+2gBVifPHgKwBqt4w2/jXiQWjtA9oAo6t4xDvhu+LxePEnbt5a8RGIGgyYWRN3PUBQIiZdZLRLqCDmyLs5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAZK91BLQ4cl5zzK5fvEJuBX9qM0VxhgY/4ldozFuBOAiBbV4ZRB0jN+4c+jVOTjxzRQC/eCi3YDZB/258wSj4yGA=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"1.0.0":{"name":"ic-ajax","version":"1.0.0","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"broccoli":"^0.2.0","broccoli-dist-es6-module":"^0.1.8","karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.2.8"},"scripts":{"test":"karma start --browsers Firefox --single-run","postinstall":"bower install"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"_id":"ic-ajax@1.0.0","dist":{"shasum":"06eb28fc23100c04c4595cb2db6aac6ebb11bb8e","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-1.0.0.tgz","integrity":"sha512-R82wI2PTFxl1GbcFth1XDe4JsbbTAf0FsRhF87da+eASU63E2ZZGfQ0/cQRTF6cvX0TvsK/nanCtZuHuUBNlRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTv4uw6VCrCAXMjo/jz53hPAvasEzvi4/yFx8riw2zfAiBvfq+RA0JH85F64NacH7QQerFXJ42DxcN4H3XGLAX0gg=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"1.0.1":{"name":"ic-ajax","version":"1.0.1","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"broccoli":"^0.2.0","broccoli-dist-es6-module":"^0.1.8","karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.2.8"},"scripts":{"test":"bower install ./node_modules/.bin/karma start --browsers Firefox --single-run"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"_id":"ic-ajax@1.0.1","dist":{"shasum":"5b4eeda19261accdf67d0111f975e7fc615a5f13","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-1.0.1.tgz","integrity":"sha512-krL7hFmTsXOWh7SKiMiwBrcoBpwxi/rO8P5EQUFLEHJ76S93sIM5OWFAUZzwD4d6/7a3IK/1v0CQiKH7xcqXgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEn/BcrsoEwzYABjeqmv84FF76iKcnHOhKVvZkvAXnLwIgB/rClA7ULXE8UCHCNSBIgtXMwadmOrn52eQeydiTT0o="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"1.0.3":{"name":"ic-ajax","version":"1.0.3","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"broccoli":"^0.2.0","broccoli-dist-es6-module":"^0.1.8","broccoli-cli":"0.0.1","karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.2.8","rf-release":"^0.1.0"},"scripts":{"test":"bower install && rm -rf dist && node_modules/.bin/broccoli build dist && node_modules/.bin/karma start --browsers Firefox --single-run","release":"npm test && node_modules/.bin/release"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"_id":"ic-ajax@1.0.3","dist":{"shasum":"0074d1c6f2e611151974aa81d0f5b581fc11a09d","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-1.0.3.tgz","integrity":"sha512-ZltjzvsoB7Zxkp4oX05ycXhOTfSInN+0eg/sMRfXTUhY1koUVooM31e9zHfEdVP+xVUii2VtUS6tyD3TxA6QRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEDDz0UuT8cEX+kNfbc9a1RhB/yDpvT1DH/d49jWi4xlAiEAwaz12oIHWle+kN5HyuLZ8flu078JE07ANxKOR+NGQzs="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}]},"1.0.4":{"name":"ic-ajax","version":"1.0.4","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"broccoli":"^0.2.0","broccoli-dist-es6-module":"^0.1.8","broccoli-cli":"0.0.1","karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.2.8","rf-release":"^0.1.0"},"scripts":{"test":"bower install && rm -rf dist && node_modules/.bin/broccoli build dist && node_modules/.bin/karma start --browsers Firefox --single-run","release":"npm test && node_modules/.bin/release"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"_id":"ic-ajax@1.0.4","dist":{"shasum":"9d5ae4a9e287ead78c32ecd4a2736f909ef7e212","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-1.0.4.tgz","integrity":"sha512-mt3Q19V8RR0rH3bAZvQX15D8k+7fx7ZcOV2JphYnmgF9fVdQFehBfftVDWE2wTQi1qeNWL3gGFBuflAPOmUJmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFh1jZHvD7bYXSQan7TMksjDVzibNnYx4deDZG//5t+FAiBvYf8FM4+/vkFXIkBSgqYxqi6pAqoYETtYOWeJ31FF8w=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"fivetanley","email":"stanley@stan.li"}]},"2.0.0":{"name":"ic-ajax","version":"2.0.0","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.3.5","rf-release":"^0.1.0","broccoli-cli":"0.0.1","broccoli-dist-es6-module":"^0.2.0","broccoli":"^0.12.2"},"scripts":{"test":"bower install && rm -rf dist && node_modules/.bin/broccoli build dist && node_modules/.bin/karma start --browsers Firefox --single-run","release":"npm test && node_modules/.bin/release"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"_id":"ic-ajax@2.0.0","dist":{"shasum":"2e84f65882fa6c55669c7ef4cea090f9c2d880f4","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-2.0.0.tgz","integrity":"sha512-gJwhCSGoz7Wuy1lXmocwSeWw9y+aZtui2Cym8WG0bnE/INyM6Eq/3jYUwCVf8cW/RIQbvXKEgSguwzATIQz4TA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRVIfE5fKWviNZ3GBCZRYfHMxGBvVLDkPVvJ4DmjIZ9AiEAhGOTfTLIw9auTk9DmrDD+ZIn4UH8AQgwJvh/Nij85A4="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"fivetanley","email":"stanley@stan.li"}]},"2.0.1":{"name":"ic-ajax","version":"2.0.1","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.3.5","rf-release":"^0.1.0","broccoli-cli":"0.0.1","broccoli-dist-es6-module":"^0.2.0","broccoli":"^0.12.2"},"scripts":{"test":"bower install && rm -rf dist && node_modules/.bin/broccoli build dist && node_modules/.bin/karma start --browsers Firefox --single-run","release":"npm test && node_modules/.bin/release"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"_id":"ic-ajax@2.0.1","dist":{"shasum":"84c46a6fbcd23aa40d42ac3a0978a1395bf160ff","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-2.0.1.tgz","integrity":"sha512-H/4dir+1xS2omVwBrDEH/M6J/YtWl5izPRuU20XhDZL/HnlS/SVk3s4WRvvLk6Ntp0riYFSxSGRRZMbMalMKww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyh4veqFtgcB9h8mf06PNLKCBlqFzPWWoKsVC02/HyvgIgMmdMRj71pBijQICRaxWf8enW2YNoyIK3k2c+Ntellz8="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"fivetanley","email":"stanley@stan.li"}]},"2.0.2":{"name":"ic-ajax","version":"2.0.2","description":"ember friendly $.ajax wrapper","main":"dist/cjs/main.js","devDependencies":{"karma":"^0.10.9","karma-chrome-launcher":"^0.1.2","karma-firefox-launcher":"^0.1.3","karma-html2js-preprocessor":"^0.1.0","karma-qunit":"^0.1.1","karma-script-launcher":"^0.1.0","qunitjs":"~1.12.0","bower":"^1.3.5","rf-release":"^0.1.0","broccoli-cli":"0.0.1","broccoli-dist-es6-module":"^0.2.0","broccoli":"^0.12.2"},"scripts":{"test":"bower install && rm -rf dist && node_modules/.bin/broccoli build dist && node_modules/.bin/karma start --browsers Firefox --single-run","release":"npm test && node_modules/.bin/release"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"keywords":["ember","ajax"],"author":{"name":"Ryan Florence"},"license":"MIT","bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"homepage":"https://github.com/instructure/ic-ajax","dependencies":{},"gitHead":"265a631bbaf54307de84535daf36578f25db798b","_id":"ic-ajax@2.0.2","_shasum":"50c8ab1c494320fac66830ce1ee3990ab827f596","_from":".","_npmVersion":"2.0.0-beta.0","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"fivetanley","email":"stanley@stan.li"}],"dist":{"shasum":"50c8ab1c494320fac66830ce1ee3990ab827f596","tarball":"https://registry.npmjs.org/ic-ajax/-/ic-ajax-2.0.2.tgz","integrity":"sha512-8bl40QwwYPL8dDAoIZzFhRLxYtg5/cO+JJEeGEEkPbGuePU+sGQn8vlvc2Q0sPiZl7RzFlzbTHUGqods6swFtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAweF56JXWHxN0rNtU1VcLEzi2YCIU596HAe6Zo4gMb8AiEAouCdCOR1XDLSv4q5NF1NaDUZfft+oazDLo0eCjkhPEY="}]}}},"readme":"ic-ajax\n=======\n\n[![Build Status](https://travis-ci.org/instructure/ic-ajax.png)](https://travis-ci.org/instructure/ic-ajax)\n\nEmber-friendly `jQuery.ajax` wrapper.\n\n- returns RSVP promises\n- makes apps more testable (resolves promises with `Ember.run`)\n- makes testing ajax simpler with fixture support\n\nInstallation\n------------\n\n`bower install ic-ajax`\n\n... or ...\n\n`npm install ic-ajax`\n\nModule Support\n--------------\n\nNote the `dist` directory has multiple module formats, use whatever\nworks best for you.\n\n- AMD\n\n  `define(['ic-ajax'], function(ajax) {});`\n\n- Node.JS (CJS)\n\n  `var ajax = require('ic-ajax')`\n\n- Globals\n\n  `var ajax = ic.ajax;`\n\n  All instructure canvas stuff lives on the `ic` global.\n\nAPI\n---\n\nThis lib simply wraps `jQuery.ajax` with two exceptions:\n\n- success and error callbacks are not supported\n- does not resolve three arguments like $.ajax (real promises only\n  resolve a single value). `request` only resolves the response data\n  from the request, while `raw` resolves an object with the three\n  \"arguments\" as keys if you need them.\n\nOther than that, use `request` exactly like `$.ajax`.\n\n```js\nvar ajax = ic.ajax;\n\nApp.ApplicationRoute = Ember.Route.extend({\n  model: function() {\n    return ajax.request('/foo');\n  }\n}\n\n// if you need access to the jqXHR or textStatus, use raw\najax.raw('/foo').then(function(result) {\n  // result.response\n  // result.textStatus\n  // result.jqXHR\n});\n```\n\nSimplified Testing\n------------------\n\nIn order to test newly added code you must rebuild the distribution.\n\n```bash\nbroccoli build dist\n```\n\nAdding fixtures with `defineFixture` tells ic-ajax to resolve the promise\nwith the fixture matching a url instead of making a request. This allows\nyou to test your app without creating fake servers with sinon, etc.\n\nExample:\n\n```js\nic.ajax.defineFixture('api/v1/courses', {\n  response: [{name: 'basket weaving'}],\n  jqXHR: {},\n  textStatus: 'success'\n});\n\nic.ajax.request('api/v1/courses').then(function(result) {\n  deepEqual(result, ic.ajax.lookupFixture('api/v1/courses').response);\n});\n```\n\nTo test failure paths, set the `textStatus` to anything but `success`.\n\n\nContributing\n------------\n\nInstall dependencies and run tests with the following:\n\n```sh\nnpm install\nnpm test\n```\n\nFor those of you with release privileges:\n\n```sh\nnpm run-script release\n```\n\nSpecial Thanks\n--------------\n\nInspired by [discourse ajax][1].\n\nLicense and Copyright\n---------------------\n\nMIT Style license\n\n(c) 2014 Instructure, Inc.\n\n\n  [1]:https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/mixins/ajax.js#L19\n\n","maintainers":[{"email":"stanley@stan.li","name":"fivetanley"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"time":{"modified":"2022-06-18T23:56:55.279Z","created":"2013-11-25T23:06:19.939Z","0.1.0":"2013-11-25T23:06:20.651Z","0.1.2":"2013-11-26T15:45:42.275Z","0.2.0":"2013-11-29T15:19:21.147Z","0.2.1":"2014-01-06T23:43:11.160Z","0.3.0":"2014-01-22T16:34:33.861Z","0.4.0":"2014-02-07T17:19:32.097Z","1.0.0":"2014-02-28T21:16:50.124Z","1.0.1":"2014-03-06T21:40:19.750Z","1.0.3":"2014-03-20T18:47:54.978Z","1.0.4":"2014-03-20T20:18:13.760Z","2.0.0":"2014-06-10T21:45:37.515Z","2.0.1":"2014-06-12T05:19:20.806Z","2.0.2":"2014-11-06T20:54:14.637Z"},"author":{"name":"Ryan Florence"},"repository":{"type":"git","url":"https://github.com/instructure/ic-ajax.git"},"readmeFilename":"README.md","homepage":"https://github.com/instructure/ic-ajax","keywords":["ember","ajax"],"bugs":{"url":"https://github.com/instructure/ic-ajax/issues"},"license":"MIT","users":{"elidiazgt":true}}