dom-request-callback
v2.0.0
Published
Handle DOMRequest objects with plain old callbacks.
Downloads
10
Maintainers
Readme
dom-request-callback
dom-request-callback lets you handle Firefox’s DOMRequest objects with plain old callbacks.
install
$ npm install dom-request-callback
usage
var handle = require('dom-request-callback')
var request = navigator.mozApps.getInstalled()
handle(request, function (error, apps) {
error ? console.error(error) : console.log(apps)
})
test
Firefox (11+) only
$ git clone [email protected]:michaelrhodes/dom-request-callback.git
$ npm install && npm test