Pablo.load(url, callback)

Loads an external SVG file via an Ajax request, wraps it in a new collection and passes it to the callback function.

The callback is passed one argument: the XMLHttpRequest object used to load the file. Within the callback, the this object will be the new collection.

Pablo.load('/villain.svg', function(){
Painting is just another way of keeping a diary.
Pablo Picasso