Skip to content

Commit 09962e9

Browse files
committed
Fixed registration of DSUtils and DSErrors
1 parent f25e791 commit 09962e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/js-data-angular.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
];
9393

9494
angular.module('js-data', ['ng'])
95-
.factory('DSUtils', JSData.DSUtils)
96-
.factory('DSErrors', JSData.DSErrors)
95+
.value('DSUtils', JSData.DSUtils)
96+
.value('DSErrors', JSData.DSErrors)
9797
.provider('DS', function () {
9898

9999
var _this = this;

dist/js-data-angular.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
];
8383

8484
angular.module('js-data', ['ng'])
85-
.factory('DSUtils', JSData.DSUtils)
86-
.factory('DSErrors', JSData.DSErrors)
85+
.value('DSUtils', JSData.DSUtils)
86+
.value('DSErrors', JSData.DSErrors)
8787
.provider('DS', function () {
8888

8989
var _this = this;

0 commit comments

Comments
 (0)