From 3560e1b6cbf24d40d63b99a5755306dc200e4014 Mon Sep 17 00:00:00 2001 From: Mike Nikles Date: Wed, 22 Jan 2014 23:15:19 -0800 Subject: [PATCH] Fix to enable javascript minification. --- angular-flexslider.coffee | 3 ++- angular-flexslider.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/angular-flexslider.coffee b/angular-flexslider.coffee index 9edd0f8..a943143 100644 --- a/angular-flexslider.coffee +++ b/angular-flexslider.coffee @@ -1,7 +1,7 @@ 'use strict' angular.module('angular-flexslider', []) - .directive 'flexSlider', ($parse, $timeout) -> + .directive 'flexSlider', ['$parse', '$timeout', ($parse, $timeout) -> restrict: 'AE' scope: no replace: yes @@ -112,3 +112,4 @@ angular.module('angular-flexslider', []) # Running flexslider $timeout (-> flexsliderDiv.flexslider options), 0 + ] diff --git a/angular-flexslider.js b/angular-flexslider.js index e0adcad..50b6ff3 100644 --- a/angular-flexslider.js +++ b/angular-flexslider.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript 1.6.2 (function() { - 'use strict'; angular.module('angular-flexslider', []).directive('flexSlider', function($parse, $timeout) { + 'use strict'; angular.module('angular-flexslider', []).directive('flexSlider', ['$parse', '$timeout', function($parse, $timeout) { return { restrict: 'AE', scope: false, @@ -172,6 +172,6 @@ }; } }; - }); + }]); }).call(this);