Homogeneize layout, drop palette

This commit is contained in:
jdescottes
2014-09-18 07:18:07 +02:00
parent 8ebdc4cd41
commit 508fb79c32
21 changed files with 245 additions and 202 deletions

View File

@@ -12,6 +12,10 @@
return new ns.Palette(paletteObj.id, paletteObj.name, colors);
};
ns.Palette.prototype.getColors = function () {
return this.colors;
};
ns.Palette.prototype.get = function (index) {
return this.colors[index];
};