Rename Palette classes.

This commit is contained in:
Jürg Lehni 2012-11-14 10:56:32 -08:00
parent b122a85512
commit 0b919d0907

View file

@ -18,11 +18,11 @@ var Palette = this.Palette = Base.extend(Callback, /** @lends Palette# */{
_events: [ 'onChange' ], _events: [ 'onChange' ],
initialize: function(title, components, values) { initialize: function(title, components, values) {
var parent = DomElement.find('.paperjs-palettes') var parent = DomElement.find('.palettejs-panel')
|| DomElement.find('body').appendChild( || DomElement.find('body').appendChild(
DomElement.create('div', { 'class': 'paperjs-palettes' })), DomElement.create('div', { 'class': 'palettejs-panel' })),
table = parent.appendChild( table = parent.appendChild(
DomElement.create('table', { 'class': 'paperjs-palette' })), DomElement.create('table', { 'class': 'palettejs-pane' })),
that = this; that = this;
this._title = title; this._title = title;
if (!values) if (!values)