Pablo

push(elements)

alias: add(elements)

Adds the elements to the end of the collection and returns the collection.

var collection = Pablo(['circle', 'line']);

collection.push(Pablo.path());
alert(collection.length); // 3

This works in the same was as jQuery’s .add() method.

Painting is just another way of keeping a diary.
Pablo Picasso