Revert "This code should now be unnecessary."

This reverts commit 5f9cf47003.
This commit is contained in:
Fabrice Marsaud
2015-06-25 17:29:20 +02:00
parent b0dc933021
commit 385d42281b

6
app/node_modules/xo-api/index.js generated vendored
View File

@@ -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,