mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Move documentation for PaperScope#tools to the right place.
This commit is contained in:
parent
10aa8d7b4a
commit
5f466bbc7e
1 changed files with 6 additions and 6 deletions
|
@ -113,6 +113,12 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
|
||||||
return this._tool;
|
return this._tool;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The list of available tools.
|
||||||
|
* @name PaperScope#tools
|
||||||
|
* @type Tool[]
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A reference to the local scope. This is required, so `paper` will always
|
* A reference to the local scope. This is required, so `paper` will always
|
||||||
* refer to the local scope, even when calling into it from another scope.
|
* refer to the local scope, even when calling into it from another scope.
|
||||||
|
@ -125,12 +131,6 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* The list of available tools.
|
|
||||||
* @name PaperScope#tools
|
|
||||||
* @type Tool[]
|
|
||||||
*/
|
|
||||||
|
|
||||||
evaluate: function(code) {
|
evaluate: function(code) {
|
||||||
var res = paper.PaperScript.evaluate(code, this);
|
var res = paper.PaperScript.evaluate(code, this);
|
||||||
View.updateFocus();
|
View.updateFocus();
|
||||||
|
|
Loading…
Reference in a new issue