Only create an empty Project for a PaperScope if a canvas was provided for it.

This commit is contained in:
Jürg Lehni 2011-08-01 08:52:51 +01:00
parent da6f923463
commit c6cf4f9cf0
2 changed files with 11 additions and 10 deletions

View file

@ -144,8 +144,7 @@ var PaperScript = this.PaperScript = new function() {
/**
* Evaluates parsed PaperScript code in the passed {@link PaperScope}
* object. It also handles canvas setup, tool creation and handlers
* automatically for us.
* object. It also installs handlers automatically for us.
*
* @name PaperScript.evaluate
* @function