Skip to content

Commit 8059cac

Browse files
committed
Change AV.Error() to internal interface.
fix error.js bug change AV.Error to internal interface change error.js exports.
1 parent 2f746cc commit 8059cac

File tree

14 files changed

+399
-403
lines changed

14 files changed

+399
-403
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ module.exports = {
88
'max-len': 0,
99
'no-console': [ 2, { allow: ['warn'] } ],
1010
'no-restricted-syntax': [ 0, 'ForInStatement' ],
11+
'no-new': 0,
1112
}
1213
};

src/av.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ AV.Cache = require('./cache');
2222
AV._config = AV._config || {};
2323

2424
require('./utils').init(AV);
25-
require('./request').init(AV);
2625

27-
require('./error')(AV);
2826
require('./event')(AV);
2927
require('./geopoint')(AV);
3028
require('./acl')(AV);

0 commit comments

Comments
 (0)