mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Replace @type function with @type Function.
This commit is contained in:
parent
d33e480749
commit
b0156c0e8b
2 changed files with 6 additions and 6 deletions
|
@ -132,7 +132,7 @@ var Tool = this.Tool = Base.extend(/** @lends Tool# */{
|
|||
*
|
||||
* @name Tool#onMouseDown
|
||||
* @property
|
||||
* @type function
|
||||
* @type Function
|
||||
*
|
||||
* @example {@paperscript}
|
||||
* // Creating circle shaped paths where the user presses the mouse button:
|
||||
|
@ -154,7 +154,7 @@ var Tool = this.Tool = Base.extend(/** @lends Tool# */{
|
|||
*
|
||||
* @name Tool#onMouseDrag
|
||||
* @property
|
||||
* @type function
|
||||
* @type Function
|
||||
*
|
||||
* @example {@paperscript}
|
||||
* // Draw a line by adding a segment to a path on every mouse drag event:
|
||||
|
@ -176,7 +176,7 @@ var Tool = this.Tool = Base.extend(/** @lends Tool# */{
|
|||
*
|
||||
* @name Tool#onMouseMove
|
||||
* @property
|
||||
* @type function
|
||||
* @type Function
|
||||
*
|
||||
* @example {@paperscript}
|
||||
* // Moving a path to the position of the mouse:
|
||||
|
@ -199,7 +199,7 @@ var Tool = this.Tool = Base.extend(/** @lends Tool# */{
|
|||
*
|
||||
* @name Tool#onMouseUp
|
||||
* @property
|
||||
* @type function
|
||||
* @type Function
|
||||
*
|
||||
* @example {@paperscript}
|
||||
* // Creating circle shaped paths where the user releases the mouse:
|
||||
|
|
|
@ -320,7 +320,7 @@ var View = this.View = Base.extend(/** @lends View# */{
|
|||
* path.rotate(3);
|
||||
* }
|
||||
*
|
||||
* @type function
|
||||
* @type Function
|
||||
* @bean
|
||||
*/
|
||||
getOnFrame: function() {
|
||||
|
@ -382,7 +382,7 @@ var View = this.View = Base.extend(/** @lends View# */{
|
|||
* path.position = view.center;
|
||||
* }
|
||||
*
|
||||
* @type function
|
||||
* @type Function
|
||||
*/
|
||||
onResize: null
|
||||
}, new function() { // Injection scope for mouse handlers
|
||||
|
|
Loading…
Reference in a new issue