11/*!
2- * angular-color-picker v0.5 .0
2+ * angular-color-picker v0.6 .0
33 * https://github.com/ruhley/angular-color-picker/
44 *
55 * Copyright 2015 ruhley
66 *
7- * 2015-06-04 14:13:50
7+ * 2015-06-15 15:07:39
88 *
99 */
1010( function ( ) {
@@ -427,11 +427,11 @@ angular.module('color.picker').run(['$templateCache', function($templateCache) {
427427 '<div class="color-picker-wrapper" ng-class="{\'color-picker-swatch-only\': config.swatchOnly}">\n' +
428428 ' <div ng-class="{\'input-group\': config.swatchBootstrap}">\n' +
429429 ' <span ng-if="config.swatchPos === \'left\'" class="color-picker-swatch" ng-click="focus()" ng-show="config.swatch" ng-class="{\'color-picker-swatch-left\': config.swatchPos !== \'right\', \'color-picker-swatch-right\': config.swatchPos === \'right\', \'input-group-addon\': config.swatchBootstrap}">\n' +
430- ' <span class="color-picker-swatch-color" style="background-color: {{swatchColor}};"></span>\n' +
430+ ' <span class="color-picker-swatch-color" ng-attr- style="background-color: {{swatchColor}};"></span>\n' +
431431 ' </span>\n' +
432432 ' <input class="color-picker-input form-control" type="text" ng-model="ngModel" size="7" ng-focus="show()" ng-class="{\'color-picker-input-swatch\': config.swatch && !config.swatchOnly && config.swatchPos === \'left\'}">\n' +
433433 ' <span ng-if="config.swatchPos === \'right\'" class="color-picker-swatch" ng-click="focus()" ng-show="config.swatch" ng-class="{\'color-picker-swatch-left\': config.swatchPos !== \'right\', \'color-picker-swatch-right\': config.swatchPos === \'right\', \'input-group-addon\': config.swatchBootstrap}">\n' +
434- ' <span class="color-picker-swatch-color" style="background-color: {{swatchColor}};"></span>\n' +
434+ ' <span class="color-picker-swatch-color" ng-attr- style="background-color: {{swatchColor}};"></span>\n' +
435435 ' </span>\n' +
436436 ' </div>\n' +
437437 ' <div class="color-picker-panel" ng-show="visible" ng-class="{\n' +
@@ -441,14 +441,14 @@ angular.module('color.picker').run(['$templateCache', function($templateCache) {
441441 ' \'color-picker-panel-bottom color-picker-panel-left\': config.pos === \'bottom left\',\n' +
442442 ' }">\n' +
443443 ' <div class="color-picker-hue color-picker-sprite" ng-click="hueChange($event, true)" ng-mousemove="hueChange($event, false)" ng-mousedown="hueDown()" ng-mouseup="hueUp()">\n' +
444- ' <div class="color-picker-slider" style="top: {{huePos}}%;"></div>\n' +
444+ ' <div class="color-picker-slider" ng-attr- style="top: {{huePos}}%;"></div>\n' +
445445 ' </div>\n' +
446446 ' <div class="color-picker-opacity color-picker-sprite" ng-show="config.alpha" ng-click="opacityChange($event, true)" ng-mousemove="opacityChange($event, false)" ng-mousedown="opacityDown()" ng-mouseup="opacityUp()">\n' +
447- ' <div class="color-picker-slider" style="top: {{opacityPos}}%;"></div>\n' +
447+ ' <div class="color-picker-slider" ng-attr- style="top: {{opacityPos}}%;"></div>\n' +
448448 ' </div>\n' +
449- ' <div class="color-picker-grid color-picker-sprite" style="background-color: {{grid}};" ng-click="colorChange($event, true)" ng-mousemove="colorChange($event, false)" ng-mousedown="colorDown()" ng-mouseup="colorUp()">\n' +
449+ ' <div class="color-picker-grid color-picker-sprite" ng-attr- style="background-color: {{grid}};" ng-click="colorChange($event, true)" ng-mousemove="colorChange($event, false)" ng-mousedown="colorDown()" ng-mouseup="colorUp()">\n' +
450450 ' <div class="color-picker-grid-inner"></div>\n' +
451- ' <div class="color-picker-picker" style="top: {{lightnessPos}}%; left: {{saturationPos}}%;">\n' +
451+ ' <div class="color-picker-picker" ng-attr- style="top: {{lightnessPos}}%; left: {{saturationPos}}%;">\n' +
452452 ' <div></div>\n' +
453453 ' </div>\n' +
454454 ' </div>\n' +
0 commit comments