Comparing version 0.4.7 to 0.4.8
@@ -54,2 +54,9 @@ /** | ||
if(opts.json) { | ||
opts.headers['Content-Type'] = 'application/json'; | ||
if(opts.body !== undefined) { | ||
opts.body = JSON.stringify(opts.body); | ||
} | ||
} | ||
req.open(opts.method, opts.url); | ||
@@ -56,0 +63,0 @@ |
{ | ||
"name": "air", | ||
"description": "Lightweight, modular DOM library", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"author": "muji <noop@xpm.io>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
44649
1132