Use tabs instead of spaces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -31,12 +31,12 @@ app.controller('ColorPickerController', ['$scope', function($scope) {
|
|||||||
object.hashedColor = '#' + color;
|
object.hashedColor = '#' + color;
|
||||||
|
|
||||||
return object;
|
return object;
|
||||||
}
|
};
|
||||||
|
|
||||||
$scope.setHashedColor = function (object) {
|
$scope.setHashedColor = function (object) {
|
||||||
object.color = object.hashedColor.substr(1);
|
object.color = object.hashedColor.substr(1);
|
||||||
return object;
|
return object;
|
||||||
}
|
};
|
||||||
|
|
||||||
$scope.getCustomBackground = function (color) {
|
$scope.getCustomBackground = function (color) {
|
||||||
return {'background-color': color};
|
return {'background-color': color};
|
||||||
|
|||||||
Reference in New Issue
Block a user