From b466ac809eddd1c010fc0cca31476167bbe95357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 12 Jun 2011 18:55:29 +0100 Subject: [PATCH] Provide a shell script that generates a version of out/paper.js that uses load.js to directly load the library through the seperate source files in the src directory, as required development of the library itself. --- build/load.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 build/load.sh diff --git a/build/load.sh b/build/load.sh new file mode 100755 index 00000000..2475c915 --- /dev/null +++ b/build/load.sh @@ -0,0 +1,19 @@ +# 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 a paper.js file that uses load.js to directly load the library +# through the seperate source files in the src directory. Very useful during +# development of the library itself. + +echo "// Paper.js loader for development, as produced by the build/load.sh script +var root = '../../'; +document.write('');" > ../out/paper.js; \ No newline at end of file