Skip to content

Commit 0eb07b0

Browse files
author
Fabien JUIF
committed
🐛 init angularjs application
1 parent 7aac3d5 commit 0eb07b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angularjs/js/services/todoStorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ angular.module('todomvc')
1313

1414
// Detect if an API backend is present. If so, return the API module, else
1515
// hand off the localStorage adapter
16-
return $injector.get('localStorage');
16+
return Promise.resolve($injector.get('localStorage'));
1717
})
1818

1919
.factory('localStorage', function ($q) {

0 commit comments

Comments
 (0)