From c6a70fa9b6ef2623c499dd507fcbc6383c95aa6b Mon Sep 17 00:00:00 2001 From: Leonardo Ruhland Date: Wed, 1 Jun 2016 16:22:03 -0300 Subject: [PATCH] Add minification-safe code --- ngopenfb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ngopenfb.js b/ngopenfb.js index 4da909b..55e3ffa 100644 --- a/ngopenfb.js +++ b/ngopenfb.js @@ -8,7 +8,7 @@ */ angular.module('ngOpenFB', []) - .factory('ngFB', function ($q, $window) { + .factory('ngFB', ['$q', '$window', function ($q, $window) { function init(params) { return $window.openFB.init(params); @@ -78,4 +78,4 @@ angular.module('ngOpenFB', []) getLoginStatus: getLoginStatus }; - }); \ No newline at end of file + }]);