@@ -7,7 +7,7 @@ angular.module("ion.rangeslider", []);
7
7
angular . module ( "ion.rangeslider" ) . directive ( "ionRangeSlider" ,
8
8
function ( $timeout ) {
9
9
return {
10
- restrict : "E " ,
10
+ restrict : "A " ,
11
11
scope : {
12
12
min : "=" ,
13
13
max : "=" ,
@@ -60,34 +60,34 @@ angular.module("ion.rangeslider").directive("ionRangeSlider",
60
60
disable : $scope . disable ,
61
61
type : $scope . type ,
62
62
step : $scope . step ,
63
- minInterval : $scope . min_interval ,
64
- maxInterval : $scope . max_interval ,
65
- dragInterval : $scope . drag_interval ,
63
+ min_interval : $scope . minInterval ,
64
+ max_interval : $scope . maxInterval ,
65
+ drag_interval : $scope . dragInterval ,
66
66
values : $scope . values ,
67
- fromFixed : $scope . from_fixed ,
68
- fromMin : $scope . from_min ,
69
- fromMax : $scope . from_max ,
70
- fromShadow : $scope . from_shadow ,
71
- toFixed : $scope . to_fixed ,
72
- toMax : $scope . to_max ,
73
- toShadow : $scope . to_shadow ,
74
- prettifyEnabled : $scope . prettify_enabled ,
75
- prettifySeparator : $scope . prettify_separator ,
76
- forceEdges : $scope . force_edges ,
67
+ from_fixed : $scope . fromFixed ,
68
+ from_min : $scope . fromMin ,
69
+ from_max : $scope . fromMax ,
70
+ from_shadow : $scope . fromShadow ,
71
+ to_fixed : $scope . toFixed ,
72
+ to_max : $scope . toMax ,
73
+ to_shadow : $scope . toShadow ,
74
+ prettify_enabled : $scope . prettifyEnabled ,
75
+ prettify_separator : $scope . prettifySeparator ,
76
+ force_edges : $scope . forceEdges ,
77
77
keyboard : $scope . keyboard ,
78
- keyboardStep : $scope . keyboard_step ,
78
+ keyboard_step : $scope . keyboardStep ,
79
79
grid : $scope . grid ,
80
- gridMargin : $scope . grid_margin ,
81
- gridNum : $scope . grid_num ,
82
- gridSnap : $scope . grid_snap ,
83
- hideMinMax : $scope . hide_min_max ,
84
- hideFromTo : $scope . hide_from_to ,
80
+ grid_margin : $scope . gridMargin ,
81
+ grid_num : $scope . gridNum ,
82
+ grid_snap : $scope . gridSnap ,
83
+ hide_min_max : $scope . hideMinMax ,
84
+ hide_from_to : $scope . hideFromTo ,
85
85
prefix : $scope . prefix ,
86
86
postfix : $scope . postfix ,
87
- maxPostfix : $scope . max_postfix ,
88
- decorateBoth : $scope . decorate_both ,
89
- valuesSeparator : $scope . values_separator ,
90
- inputValuesSeparator : $scope . input_values_separator ,
87
+ max_postfix : $scope . maxPostfix ,
88
+ decorate_both : $scope . decorateBoth ,
89
+ values_separator : $scope . valuesSeparator ,
90
+ input_values_separator : $scope . inputValuesSeparator ,
91
91
92
92
prettify : function ( value ) {
93
93
if ( ! attrs . prettify ) {
0 commit comments