mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Merge branch 'master' of github.com:scriptographer/paper.js
This commit is contained in:
commit
5dd5694e3b
3 changed files with 17 additions and 6 deletions
|
@ -33,8 +33,3 @@ fi
|
||||||
|
|
||||||
./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE
|
./preprocess.sh ../src/paper.js ../out/paper.js "-DBROWSER" $MODE
|
||||||
./preprocess.sh ../src/paper.js ../out/paper-server.js "-DSERVER" $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
|
|
16
build/docs.sh
Executable file
16
build/docs.sh
Executable file
|
@ -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 ..
|
|
@ -89,8 +89,8 @@ var Project = this.Project = Base.extend({
|
||||||
return this._currentStyle;
|
return this._currentStyle;
|
||||||
},
|
},
|
||||||
|
|
||||||
// TODO: style selected items with the style:
|
|
||||||
setCurrentStyle: function(style) {
|
setCurrentStyle: function(style) {
|
||||||
|
// TODO: style selected items with the style:
|
||||||
this._currentStyle.initialize(style);
|
this._currentStyle.initialize(style);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue