Skip to content

Commit eeb12b0

Browse files
author
Ændrew Rininsland
committed
Merge pull request times#7 from elliotdavies/master
Compatibility with JS minifiers / strictdi.
2 parents 6a024e4 + 56c9699 commit eeb12b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TabletopProvider.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ angular.module('times.tabletop', [])
2121
};
2222

2323
// Method for instantiating
24-
this.$get = function ($q, $window) {
24+
this.$get = ['$q', '$window', function ($q, $window) {
2525
tabletopResponse = $q.defer();
2626
$window.Tabletop.init(tabletopOptions);
2727

2828
return tabletopResponse.promise;
29-
};
29+
}];
3030
});

0 commit comments

Comments
 (0)