From 56c96996e51cab0610e567bf38d4aa00b5c442e2 Mon Sep 17 00:00:00 2001 From: Elliot Davies Date: Wed, 2 Dec 2015 21:15:59 +0000 Subject: [PATCH] Compatibility with JS minifiers / strictdi --- TabletopProvider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TabletopProvider.js b/TabletopProvider.js index 3d988a4..75ae09e 100644 --- a/TabletopProvider.js +++ b/TabletopProvider.js @@ -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; - }; + }]; });