Skip to content

Commit 738fde5

Browse files
committed
Merge pull request #61 from xingped/minifyFix
Fixed minification.
2 parents 10011b3 + 02503ec commit 738fde5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rzslider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
angular.module('rzModule', [])
1515

16-
.run(function($templateCache) {
16+
.run(['$templateCache', function($templateCache) {
1717
var template = '<span class="rz-bar"></span>' + // 0 The slider bar
1818
'<span class="rz-bar rz-selection"></span>' + // 1 Highlight between two handles
1919
'<span class="rz-pointer"></span>' + // 2 Left slider handle
@@ -24,7 +24,7 @@ angular.module('rzModule', [])
2424
'<span class="rz-bubble"></span>' + // 7 Label above right slider handle
2525
'<span class="rz-bubble"></span>'; // 8 Range label when the slider handles are close ex. 15 - 17
2626
$templateCache.put('rzSliderTpl.html', template);
27-
})
27+
}])
2828

2929
.value('throttle',
3030
/**

0 commit comments

Comments
 (0)