From b0156c0e8b20fa0d37076274116d5b9cfe647460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 27 Jun 2011 15:34:32 +0200 Subject: [PATCH] Replace @type function with @type Function. --- src/tool/Tool.js | 8 ++++---- src/ui/View.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tool/Tool.js b/src/tool/Tool.js index ad63401b..294cbb91 100644 --- a/src/tool/Tool.js +++ b/src/tool/Tool.js @@ -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: diff --git a/src/ui/View.js b/src/ui/View.js index 08d25410..fdcbf57b 100644 --- a/src/ui/View.js +++ b/src/ui/View.js @@ -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