Revert "This code should now be unnecessary."
This reverts commit 5f9cf47003.
This commit is contained in:
6
app/node_modules/xo-api/index.js
generated
vendored
6
app/node_modules/xo-api/index.js
generated
vendored
@@ -18,6 +18,12 @@ const {isArray, isString} = angular
|
||||
export default angular.module('xo-api', [
|
||||
angularCookies
|
||||
])
|
||||
.run(function ($rootScope) {
|
||||
// Ensure correct integration with Angular.
|
||||
xoLib.setScheduler(function (fn) {
|
||||
$rootScope.$evalAsync(fn)
|
||||
})
|
||||
})
|
||||
.service('xoApi', function (
|
||||
$cookieStore,
|
||||
$rootScope,
|
||||
|
||||
Reference in New Issue
Block a user