Skip to content

Commit 3775ce0

Browse files
author
Valentin Hervieu
committed
Apply editorconfig style to all code base.
1 parent 29a0d87 commit 3775ce0

File tree

4 files changed

+2484
-2483
lines changed

4 files changed

+2484
-2483
lines changed

demo/demo.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
5050
}
5151
}
5252
};
53-
$scope.otherData = {start: 0, change: 0, end: 0};
53+
$scope.otherData = {
54+
start: 0,
55+
change: 0,
56+
end: 0
57+
};
5458

5559
//Slider config with custom display function
5660
$scope.slider_translate = {
@@ -69,7 +73,7 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
6973
$scope.slider_alphabet = {
7074
value: 0,
7175
options: {
72-
stepsArray:'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
76+
stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
7377
}
7478
};
7579

@@ -263,7 +267,7 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
263267
$scope.percentages = percentages;
264268
});
265269
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.
267271
});
268272
};
269273

@@ -302,10 +306,9 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
302306
}
303307
};
304308
$scope.toggleHighValue = function() {
305-
if($scope.slider_all_options.maxValue != null) {
309+
if ($scope.slider_all_options.maxValue != null) {
306310
$scope.slider_all_options.maxValue = undefined;
307-
}
308-
else {
311+
} else {
309312
$scope.slider_all_options.maxValue = 8;
310313
}
311314
}

0 commit comments

Comments
 (0)