mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Correctly name boolean getters.
This commit is contained in:
parent
c405c78d41
commit
a92b8eb591
2 changed files with 3 additions and 3 deletions
|
@ -351,7 +351,7 @@ var Component = Base.extend(Callback, /** @lends Component# */{
|
|||
setOptions.call(this);
|
||||
},
|
||||
|
||||
getVisible: function() {
|
||||
isVisible: function() {
|
||||
return this._visible;
|
||||
},
|
||||
|
||||
|
@ -363,7 +363,7 @@ var Component = Base.extend(Callback, /** @lends Component# */{
|
|||
this._visible = !!visible;
|
||||
},
|
||||
|
||||
getEnabled: function() {
|
||||
isEnabled: function() {
|
||||
return this._enabled;
|
||||
},
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
palettes.splice(index, 1);
|
||||
return remove;
|
||||
}
|
||||
}, Base.each(['getTitle', 'setTitle', 'getEnabled', 'setEnabled', 'reset'],
|
||||
}, Base.each(['getTitle', 'setTitle', 'isEnabled', 'setEnabled', 'reset'],
|
||||
function(name) {
|
||||
this[name] = function() {
|
||||
var root = this._root;
|
||||
|
|
Loading…
Reference in a new issue