Skip to content

Commit

Permalink
Merge pull request #7 from elliotdavies/master
Browse files Browse the repository at this point in the history
Compatibility with JS minifiers / strictdi.
  • Loading branch information
Ændrew Rininsland committed Dec 2, 2015
2 parents 6a024e4 + 56c9699 commit eeb12b0
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 eeb12b0

Please sign in to comment.