Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitba64d29

Browse files
committed
Small fix.
1 parent8b5b72f commitba64d29

File tree

5 files changed

+6
-20
lines changed

5 files changed

+6
-20
lines changed

‎dist/js-data-angular-mocks.js‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* js-data-angular-mocks
3-
*@version 3.0.0 - Homepage <https://github.com/js-data/js-data-angular-mocks>
3+
*@version 3.0.1 - Homepage <https://github.com/js-data/js-data-angular-mocks>
44
*@author Jason Dobry <jason.dobry@gmail.com>
55
*@copyright (c) 2014-2015 Jason Dobry
66
*@license MIT <https://github.com/js-data/js-data-angular-mocks/blob/master/LICENSE>
@@ -217,11 +217,6 @@ return /******/ (function(modules) { // webpackBootstrap
217217

218218
attrs=attrs||{};
219219

220-
options=DSUtils._(definition,options);
221-
222-
// lifecycle
223-
options.beforeCreateInstance(options,attrs);
224-
225220
// grab instance constructor function from Resource definition
226221
varConstructor=definition[definition['class']];
227222

@@ -238,8 +233,6 @@ return /******/ (function(modules) { // webpackBootstrap
238233
if(definition.computed){
239234
definition.compute(item);
240235
}
241-
// lifecycle
242-
options.afterCreateInstance(options,item);
243236
returnitem;
244237
},
245238

@@ -732,7 +725,7 @@ return /******/ (function(modules) { // webpackBootstrap
732725
}];
733726
};
734727

735-
angular.module('js-data-mocks',['js-data']).value('version','3.0.0').service('DSMockUtils',['$q',function($q){
728+
angular.module('js-data-mocks',['js-data']).value('version','3.0.1').service('DSMockUtils',['$q',function($q){
736729
varMockDSExpectation=(function(){
737730
functionMockDSExpectation(method,args){
738731
_classCallCheck(this,MockDSExpectation);

‎dist/js-data-angular-mocks.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/js-data-angular-mocks.min.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name":"js-data-angular-mocks",
33
"description":"A mock of js-data-angular for testing purposes.",
4-
"version":"3.0.0",
4+
"version":"3.0.1",
55
"homepage":"https://github.com/js-data/js-data-angular-mocks",
66
"repository": {
77
"type":"git",

‎src/index.js‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,6 @@ class DS {
185185

186186
attrs=attrs||{};
187187

188-
options=DSUtils._(definition,options);
189-
190-
// lifecycle
191-
options.beforeCreateInstance(options,attrs);
192-
193188
// grab instance constructor function from Resource definition
194189
letConstructor=definition[definition.class];
195190

@@ -206,8 +201,6 @@ class DS {
206201
if(definition.computed){
207202
definition.compute(item);
208203
}
209-
// lifecycle
210-
options.afterCreateInstance(options,item);
211204
returnitem;
212205
},
213206

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp