mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-09 14:22:08 -05:00
Project#selectAll: remove todo.
This commit is contained in:
parent
469f72d36f
commit
1a8e81bc22
1 changed files with 0 additions and 2 deletions
|
@ -88,8 +88,6 @@ var Project = this.Project = Base.extend({
|
||||||
* Selects all items in the project.
|
* Selects all items in the project.
|
||||||
*/
|
*/
|
||||||
selectAll: function() {
|
selectAll: function() {
|
||||||
// TODO: is using for var i in good practice?
|
|
||||||
// or should we use Base.each? (JP)
|
|
||||||
for (var i = 0, l = this.layers.length; i < l; i++)
|
for (var i = 0, l = this.layers.length; i < l; i++)
|
||||||
this.layers[i].setSelected(true);
|
this.layers[i].setSelected(true);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue