Skip to content

Commit fe86b4f

Browse files
committed
Updating examples for Hex8 support and bower and node updates
1 parent fee0fd9 commit fe86b4f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"dependencies": {
3737
"tinycolor": "~1.1.0",
38-
"angular": "~1.3.0",
38+
"angular": "^1.3.0",
3939
"bootstrap": "~3.3.0"
4040
}
4141
}

examples/01-simple.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<link rel="stylesheet" href="../angularjs-color-picker.css" />
88

9-
<script src="../bower_components/angularjs/angular.min.js"></script>
9+
<script src="../bower_components/angular/angular.min.js"></script>
1010
<script src="../bower_components/tinycolor/tinycolor.js"></script>
1111

1212
<script src="../angularjs-color-picker.js"></script>

examples/02-testing-lib.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link rel="stylesheet/less" href="../lib/styles/angularjs-color-picker.less" />
88
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/2.4.0/less.min.js"></script>
99

10-
<script src="../bower_components/angularjs/angular.js"></script>
10+
<script src="../bower_components/angular/angular.js"></script>
1111
<script src="../bower_components/tinycolor/tinycolor.js"></script>
1212

1313
<script src="../lib/scripts/module.js"></script>

examples/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
angular
22
.module('app', ['color.picker'])
33
.controller('AppCtrl', function($scope) {
4-
$scope.formatOptions = [{label: 'HSL', value: 'hsl'}, {label: 'HSV', value: 'hsv'}, {label: 'RGB', value: 'rgb'}, {label: 'HEX', value: 'hex'}];
4+
$scope.formatOptions = [{label: 'HSL', value: 'hsl'}, {label: 'HSV', value: 'hsv'}, {label: 'RGB', value: 'rgb'}, {label: 'HEX', value: 'hex'}, {label: 'HEX8', value: 'hex8'}];
55
$scope.boolOptions = [{label: 'Yes', value: true}, {label: 'No', value: false}];
66
$scope.swatchPosOptions = [{label: 'Left', value: 'left'}, {label: 'Right', value: 'right'}];
77
$scope.posOptions = [{label: 'Bottom Left', value: 'bottom left'}, {label: 'Top Left', value: 'top left'}, {label: 'Bottom Right', value: 'bottom right'}, {label: 'Top Right', value: 'top right'}];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"grunt-contrib-uglify": "~0.9.0",
1919
"grunt-karma": "~0.10.1",
2020
"grunt-notify": "~0.4.1",
21-
"load-grunt-tasks": "~3.1.0",
21+
"load-grunt-tasks": "~3.2.0",
2222
"time-grunt": "~1.2.0"
2323
},
2424
"engines": {

0 commit comments

Comments
 (0)