Skip to content

Commit

Permalink
Compatibility with JS minifiers / strictdi
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Davies committed Dec 2, 2015
1 parent 6a024e4 commit 56c9699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TabletopProvider.js
Expand Up @@ -21,10 +21,10 @@ angular.module('times.tabletop', [])
};

// Method for instantiating
this.$get = function ($q, $window) {
this.$get = ['$q', '$window', function ($q, $window) {
tabletopResponse = $q.defer();
$window.Tabletop.init(tabletopOptions);

return tabletopResponse.promise;
};
}];
});

0 comments on commit 56c9699

Please sign in to comment.