mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Rename Palette classes.
This commit is contained in:
parent
b122a85512
commit
0b919d0907
1 changed files with 3 additions and 3 deletions
|
@ -18,11 +18,11 @@ var Palette = this.Palette = Base.extend(Callback, /** @lends Palette# */{
|
|||
_events: [ 'onChange' ],
|
||||
|
||||
initialize: function(title, components, values) {
|
||||
var parent = DomElement.find('.paperjs-palettes')
|
||||
var parent = DomElement.find('.palettejs-panel')
|
||||
|| DomElement.find('body').appendChild(
|
||||
DomElement.create('div', { 'class': 'paperjs-palettes' })),
|
||||
DomElement.create('div', { 'class': 'palettejs-panel' })),
|
||||
table = parent.appendChild(
|
||||
DomElement.create('table', { 'class': 'paperjs-palette' })),
|
||||
DomElement.create('table', { 'class': 'palettejs-pane' })),
|
||||
that = this;
|
||||
this._title = title;
|
||||
if (!values)
|
||||
|
|
Loading…
Reference in a new issue