mirror of https://gitee.com/bigwinds/arangodb
Undeprecate Foxx.requireApp
This commit is contained in:
parent
564fdec312
commit
06135043c1
|
@ -41,7 +41,7 @@ exports.getExports = function (path) {
|
||||||
return manager.requireApp('/' + path.replace(/(^\/+|\/+$)/, ''));
|
return manager.requireApp('/' + path.replace(/(^\/+|\/+$)/, ''));
|
||||||
};
|
};
|
||||||
exports.requireApp = function (path) {
|
exports.requireApp = function (path) {
|
||||||
deprecated('2.8', 'Foxx.requireApp has been renamed to Foxx.getExports.');
|
deprecated('3.0', 'Foxx.requireApp has been renamed to Foxx.getExports.');
|
||||||
return exports.getExports(path);
|
return exports.getExports(path);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue