dmodel
dmodel copied to clipboard
The listener that observes for changes to property objects, contains the newValue but the oldValue is always undefined. This documentation states that _"The listener will be called with the the...
The listener that is passed to observe(listener, options) is a function that is provided two values, 'newvalue' and 'oldvalue when the property it was registered for in the model was...
I noticed in the unit tests dmodel-master/tests/extenstions/validating-jsonSchema.js that you create the model and directly insert the data using setData() function. WIth no validation. I see no mentionof validation on this...
I created a Memory store (model) based on a simple Json Schema like this and tried to put an an invalid value, however the object was still created inside the...
Right now if an object is created using dmodel the _scenario property is added. Would it be possible to delete it before it is sent to the server in the...
i would write a test but i'm honestly stuck with how to get the tests to run. in lieu of tests, here's a snippet that shows the issue i'm trying...
the build automatically discovers the json-schema package.json and [sets the location for json-schema to be json-schema/lib](https://github.com/dojo/util/blob/ea63ffae5e87d36bde8fd9931bcb35fb5bf3ca9f/build/buildControl.js#L255) based on the `"directories"` directive in the package.json. this causes the json-schema/lib/validate dependency to...
fixes #2 because of #3 i'm not sure if these tests pass but i think the changes to the tests should be correct
a node idiom (and hence a de facto package.json idiom) is that `npm install` should install all dependencies and then `npm test` would run the tests. currently when i try...
it's hard to use extensions/jsonSchema with a custom base Model. e.g. i have a base Model for all my models which is something like this: ``` js define(function (require) {...