backbone-jsonapi
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "backbone-jsonapi", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Backbone Model & Collection .parse() functions for data from a JSON API", | ||
@@ -12,3 +12,3 @@ "scripts": { | ||
}, | ||
"main": "./src/umd.js", | ||
"main": "src/backbone-jsonapi.js", | ||
"keywords": [ | ||
@@ -15,0 +15,0 @@ "backbone", |
/*global define*/ | ||
module.exports = require('./backbone-jsonapi'); | ||
var backboneJsonApi = require('./backbone-jsonapi'); | ||
if (typeof define === 'function' && define.amd) { | ||
define(['Backbone', '_'], function (Backbone, _) { | ||
window.backboneJsonApi = module.exports(Backbone, _); | ||
window.backboneJsonApi = backboneJsonApi(Backbone, _); | ||
return window.backboneJsonApi; | ||
}); | ||
} else { | ||
window.backboneJsonApi = module.exports(window.Backbone, window._); | ||
window.backboneJsonApi = backboneJsonApi(window.Backbone, window._); | ||
} |
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
22342