Skip to content

Commit 6178518

Browse files
committed
Bumping to v0.6.1
1 parent a140406 commit 6178518

File tree

8 files changed

+18
-14
lines changed

8 files changed

+18
-14
lines changed

angularjs-color-picker.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angularjs-color-picker.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* angular-color-picker v0.6.0
2+
* angular-color-picker v0.6.1
33
* https://github.com/ruhley/angular-color-picker/
44
*
55
* Copyright 2015 ruhley
66
*
7-
* 2015-06-15 15:07:39
7+
* 2015-06-25 14:06:20
88
*
99
*/
1010
(function() {
@@ -160,7 +160,9 @@
160160
$scope.opacity = hsl.a * 100;
161161
}
162162

163-
$scope.hide();
163+
if (oldValue === undefined) {
164+
$scope.hide();
165+
}
164166
});
165167
} else {
166168
$scope.hue = hsl.h;

angularjs-color-picker.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angularjs-color-picker.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angularjs-color-picker.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-color-picker",
33
"description": "Color Picker Directive For AngularJS",
4-
"version": "0.6.0",
4+
"version": "0.6.1",
55
"homepage": "https://github.com/ruhley/angular-color-picker",
66
"repository": {
77
"type": "git",

lib/scripts/directive.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@
145145
$scope.opacity = hsl.a * 100;
146146
}
147147

148-
$scope.hide();
148+
if (oldValue === undefined) {
149+
$scope.hide();
150+
}
149151
});
150152
} else {
151153
$scope.hue = hsl.h;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-color-picker",
33
"description": "Color Picker Directive For AngularJS",
4-
"version": "0.6.0",
4+
"version": "0.6.1",
55
"dependencies": {},
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)