From 606389238d9f74c7080f70fd9de723aded4152c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 19 Mar 2013 18:47:34 -0700 Subject: [PATCH] Have Color always serialize in non-compact mode. --- src/color/Color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/Color.js b/src/color/Color.js index 4a1c9f17..b5ca390b 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -278,7 +278,7 @@ var Color = this.Color = Base.extend(new function() { }, _serialize: function(options) { - var res = []; + var res = [ this._type ]; for (var i = 0, l = this._components.length; i < l; i++) { var component = this._components[i], value = this['_' + component];