mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -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' ],
|
_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)
|
||||||
|
|
Loading…
Reference in a new issue