@@ -50,7 +50,11 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
50
50
}
51
51
}
52
52
} ;
53
- $scope . otherData = { start : 0 , change : 0 , end : 0 } ;
53
+ $scope . otherData = {
54
+ start : 0 ,
55
+ change : 0 ,
56
+ end : 0
57
+ } ;
54
58
55
59
//Slider config with custom display function
56
60
$scope . slider_translate = {
@@ -69,7 +73,7 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
69
73
$scope . slider_alphabet = {
70
74
value : 0 ,
71
75
options : {
72
- stepsArray :'ABCDEFGHIJKLMNOPQRSTUVWXYZ' . split ( '' )
76
+ stepsArray : 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' . split ( '' )
73
77
}
74
78
} ;
75
79
@@ -263,7 +267,7 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
263
267
$scope . percentages = percentages ;
264
268
} ) ;
265
269
modalInstance . rendered . then ( function ( ) {
266
- $rootScope . $broadcast ( 'rzSliderForceRender' ) ; //Force refresh sliders on render. Otherwise bullets are aligned at left side.
270
+ $rootScope . $broadcast ( 'rzSliderForceRender' ) ; //Force refresh sliders on render. Otherwise bullets are aligned at left side.
267
271
} ) ;
268
272
} ;
269
273
@@ -302,10 +306,9 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
302
306
}
303
307
} ;
304
308
$scope . toggleHighValue = function ( ) {
305
- if ( $scope . slider_all_options . maxValue != null ) {
309
+ if ( $scope . slider_all_options . maxValue != null ) {
306
310
$scope . slider_all_options . maxValue = undefined ;
307
- }
308
- else {
311
+ } else {
309
312
$scope . slider_all_options . maxValue = 8 ;
310
313
}
311
314
}
0 commit comments