ericdrowell/KineticJS — pull request #1003 by mattslocum (2014-08-25 03:49:00+00:00)
Title: Allow nodes to have multiple names similar to css

The name field of a shape or element currently only supports a single name, but the find selector mimics css which supports multiple class names per node. This enhancement allows the name field to also support multiple names.

For example you could name a circle: 'red circle' and a square: 'red square', and now stage.find('.red') will return both elements, but stage.find('.square') will return just the square.