diff --git a/bower.json b/bower.json index 037f9df..a2d7e2f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Scille Toggle Switch", - "version": "1.0.4", + "version": "1.0.5", "authors": [ "duboisR ", "Vincent Mézino " diff --git a/package.json b/package.json index ac04149..27760fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "SCILLE_toogle_switch", - "version": "1.0.1", + "version": "1.0.5", "description": "Create toggle switches.", "author": "DUBOIS Romain", "contributors" : [ diff --git a/release/html_template/toggle_switch_template.html b/release/html_template/toggle_switch_template.html index 1071bd6..96c6bb3 100644 --- a/release/html_template/toggle_switch_template.html +++ b/release/html_template/toggle_switch_template.html @@ -9,7 +9,7 @@
- {{knobLabel}} + {{knobLabel}} {{leftLabel}} {{rightLabel}}
diff --git a/release/scripts/populate_template_cache.js b/release/scripts/populate_template_cache.js index 4f64b00..6eace54 100644 --- a/release/scripts/populate_template_cache.js +++ b/release/scripts/populate_template_cache.js @@ -1,5 +1,5 @@ angular.module('stcs-templates', []).run(['$templateCache', function($templateCache) { "use strict"; $templateCache.put("src/html_template/toggle_switch_template.html", - "
{{knobLabel}} {{leftLabel}} {{rightLabel}}
"); + "
0\" class=switch-knob ng-style=\"{ 'background-color': knobLabelColor }\">{{knobLabel}} {{leftLabel}} {{rightLabel}}
"); }]); diff --git a/release/scripts/toggle_switch.js b/release/scripts/toggle_switch.js index 42908f4..63999c3 100644 --- a/release/scripts/toggle_switch.js +++ b/release/scripts/toggle_switch.js @@ -135,32 +135,44 @@ $scope.rightLabelStr = angular.copy($scope.rightLabel); $scope.knobLabelStr = angular.copy($scope.knobLabel); if ($scope.leftLabel.length === max) { - while ($scope.rightLabelStr.length < max) { - $scope.rightLabelStr = '\u00a0' + $scope.rightLabelStr + '\u00a0'; + if ($scope.rightLabelStr) { + while ($scope.rightLabelStr.length < max) { + $scope.rightLabelStr = '\u00a0' + $scope.rightLabelStr + '\u00a0'; + } } - results = []; - while ($scope.knobLabelStr.length < max) { - results.push($scope.knobLabelStr = '\u00a0' + $scope.knobLabelStr + '\u00a0'); + if ($scope.knobLabelStr) { + results = []; + while ($scope.knobLabelStr.length < max) { + results.push($scope.knobLabelStr = '\u00a0' + $scope.knobLabelStr + '\u00a0'); + } + return results; } - return results; } else if ($scope.rightLabel.length === max) { - while ($scope.leftLabelStr.length < max) { - $scope.leftLabelStr = '\u00a0' + $scope.leftLabelStr + '\u00a0'; + if ($scope.leftLabelStr) { + while ($scope.leftLabelStr.length < max) { + $scope.leftLabelStr = '\u00a0' + $scope.leftLabelStr + '\u00a0'; + } } - results1 = []; - while ($scope.knobLabelStr.length < max) { - results1.push($scope.knobLabelStr = '\u00a0' + $scope.knobLabelStr + '\u00a0'); + if ($scope.knobLabelStr) { + results1 = []; + while ($scope.knobLabelStr.length < max) { + results1.push($scope.knobLabelStr = '\u00a0' + $scope.knobLabelStr + '\u00a0'); + } + return results1; } - return results1; } else { - while ($scope.leftLabelStr.length < max) { - $scope.leftLabelStr = '\u00a0' + $scope.leftLabelStr + '\u00a0'; + if ($scope.leftLabelStr) { + while ($scope.leftLabelStr.length < max) { + $scope.leftLabelStr = '\u00a0' + $scope.leftLabelStr + '\u00a0'; + } } - results2 = []; - while ($scope.rightLabelStr.length < max) { - results2.push($scope.rightLabelStr = '\u00a0' + $scope.rightLabelStr + '\u00a0'); + if ($scope.rightLabelStr) { + results2 = []; + while ($scope.rightLabelStr.length < max) { + results2.push($scope.rightLabelStr = '\u00a0' + $scope.rightLabelStr + '\u00a0'); + } + return results2; } - return results2; } }; $scope.$watch('leftLabel', function() { diff --git a/release/scripts/toggle_switch.js.map b/release/scripts/toggle_switch.js.map index 955788b..ed24d40 100644 --- a/release/scripts/toggle_switch.js.map +++ b/release/scripts/toggle_switch.js.map @@ -6,5 +6,5 @@ "toggle_switch.coffee" ], "names": [], - "mappings": "AAAA;EAAA;EAEA,OAAO,CAAC,MAAR,CAAe,kBAAf,EAAmC,CAAC,gBAAD,CAAnC,CACE,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