Move documentation for PaperScope#tools to the right place.

This commit is contained in:
Jürg Lehni 2013-12-28 22:48:50 +01:00
parent 10aa8d7b4a
commit 5f466bbc7e

View file

@ -113,6 +113,12 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
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
* 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;
},
/**
* The list of available tools.
* @name PaperScope#tools
* @type Tool[]
*/
evaluate: function(code) {
var res = paper.PaperScript.evaluate(code, this);
View.updateFocus();