allouis-core-model
Advanced tools
Comparing version 0.0.0 to 0.0.1
var BaseCollection = require("./allouis-core-collection"); | ||
var Adapt = require("allouis-core"); | ||
Adapt.sandbox.trigger("model:register", { | ||
var allouis = require("allouis-core"); | ||
allouis.sandbox.trigger("model:register", { | ||
@@ -23,3 +23,3 @@ url:"data.json", | ||
onChangeComplete: function(){ | ||
Adapt.sandbox.trigger("change:complete", this); | ||
allouis.sandbox.trigger("change:complete", this); | ||
}, | ||
@@ -43,3 +43,3 @@ | ||
if(resp.children){ | ||
resp.children = new BaseCollection(resp.children, {model: Adapt.models.base, parse:true}); | ||
resp.children = new BaseCollection(resp.children, {model: allouis.models.base, parse:true}); | ||
} | ||
@@ -46,0 +46,0 @@ return resp; |
{ | ||
"name": "allouis-core-model", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Core model for allouis", | ||
@@ -5,0 +5,0 @@ "main": "allouis-core-model.js", |
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
1997