mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-27 22:29:11 -04:00
Only create an empty Project for a PaperScope if a canvas was provided for it.
This commit is contained in:
parent
da6f923463
commit
c6cf4f9cf0
2 changed files with 11 additions and 10 deletions
src/core
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue