mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-29 08:49:06 +08:00
all files converted to prototype= {}
This commit is contained in:
@@ -17,9 +17,8 @@ DataStoreTest.prototype.testSavePostsToServer = function(){
|
||||
response.$version = "2";
|
||||
callback(200, [response]);
|
||||
};
|
||||
var model;
|
||||
var datastore = new DataStore(post);
|
||||
model = datastore.entity('abc', {name: "value"})();
|
||||
var model = datastore.entity('abc', {name: "value"})();
|
||||
model.$id = "123";
|
||||
model.$version = "1";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user