Have Color always serialize in non-compact mode.

This commit is contained in:
Jürg Lehni 2013-03-19 18:47:34 -07:00
parent 5ff911f68c
commit 606389238d

View file

@ -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];