From 6effdcd450f9076473bf9f798c29953e75c45c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 30 May 2011 17:04:15 +0100 Subject: [PATCH 1/2] Move comment. --- src/project/Project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/Project.js b/src/project/Project.js index 78e44144..95e1daf7 100644 --- a/src/project/Project.js +++ b/src/project/Project.js @@ -70,8 +70,8 @@ var Project = this.Project = Base.extend({ return this._currentStyle; }, - // TODO: style selected items with the style: setCurrentStyle: function(style) { + // TODO: style selected items with the style: this._currentStyle.initialize(style); }, From ad2c7332de482668d6c42b887b1b4cb26912a4bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 31 May 2011 22:17:13 +0100 Subject: [PATCH 2/2] Move jsdoc creation to its own build script. --- build/build.sh | 5 ----- build/docs.sh | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) create mode 100755 build/docs.sh diff --git a/build/build.sh b/build/build.sh index ae639489..8e64d205 100755 --- a/build/build.sh +++ b/build/build.sh @@ -33,8 +33,3 @@ fi ./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE ./preprocess.sh ../src/paper.js ../out/paper-server.js "-DSERVER" $MODE - -# Generate documentation -# TODO: switch this on with a flag -cd jsdoc-toolkit -java -jar jsrun.jar app/run.js -c=conf/paperjs.conf \ No newline at end of file diff --git a/build/docs.sh b/build/docs.sh new file mode 100755 index 00000000..b74f12d7 --- /dev/null +++ b/build/docs.sh @@ -0,0 +1,16 @@ +# Paper.js +# +# This file is part of Paper.js, a JavaScript Vector Graphics Library, +# based on Scriptographer.org and designed to be largely API compatible. +# http://scriptographer.org/ +# +# Copyright (c) 2011, Juerg Lehni & Jonathan Puckey +# http://lehni.org/ & http://jonathanpuckey.com/ +# +# All rights reserved. See LICENSE file for details. + +# Generate documentation + +cd jsdoc-toolkit +java -jar jsrun.jar app/run.js -c=conf/paperjs.conf +cd ..