From 328f45751227ca2b633a3cdfd0ecdf72226c6cc4 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Sun, 8 Apr 2012 21:37:10 -0700 Subject: [PATCH] updated docs --- dist/kinetic-core.js | 4 ++-- src/Container.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/kinetic-core.js b/dist/kinetic-core.js index b57f32e0..2c666384 100644 --- a/dist/kinetic-core.js +++ b/dist/kinetic-core.js @@ -907,8 +907,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 diff --git a/src/Container.js b/src/Container.js index 31b416c9..810b5385 100644 --- a/src/Container.js +++ b/src/Container.js @@ -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