updated docs

This commit is contained in:
Eric Rowell
2012-04-08 21:37:10 -07:00
parent b8516b1b0c
commit 328f457512
2 changed files with 4 additions and 4 deletions

View File

@@ -54,8 +54,8 @@ Kinetic.Container.prototype = {
}
},
/**
* use for selectors. select nodes by id with # and by name
* with .
* return an array of nodes that match the selector. Use '#' for id selections
* and '.' for name selections
* ex:
* var node = stage.get('#foo'); // selects node with id foo
* var nodes = layer.get('.bar'); // selects nodes with name bar inside layer