Comparing version 0.4.5 to 0.4.6
@@ -52,2 +52,4 @@ /** | ||
opts.headers['X-Requested-With'] = 'XMLHttpRequest'; | ||
// apply custom request headers | ||
@@ -58,3 +60,3 @@ for(z in opts.headers) { | ||
if(opts.mime && (typeof(req.overrideMimeType) === 'function')) { | ||
if(opts.mime && typeof(req.overrideMimeType) === 'function') { | ||
req.overrideMimeType(opts.mime); | ||
@@ -83,3 +85,3 @@ } | ||
req.send(opts.data); | ||
req.send(opts.body); | ||
} | ||
@@ -86,0 +88,0 @@ |
{ | ||
"name": "air", | ||
"description": "Lightweight, modular DOM library", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"author": "muji <noop@xpm.io>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -80,3 +80,3 @@ Table of Contents | ||
Designed to work with [browserify](http://browserify.org) by default, assuming you have configured the [browserify](http://browserify.org) `paths` option correctly: | ||
Designed to work with [browserify](http://browserify.org) by default, assuming you have configured the [browserify](http://browserify.org) `paths` option correctly for `node_modules/air/lib`: | ||
@@ -86,6 +86,8 @@ ```javascript | ||
$.plugin([ | ||
require('event') | ||
require('air/event') | ||
]) | ||
``` | ||
Note that the plugins are namespaced to prevent potential collisions when an application is using multiple plugin-enabled components. | ||
## API | ||
@@ -92,0 +94,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44485
1126
356