mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
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.
This commit is contained in:
parent
4a23e35eee
commit
b466ac809e
1 changed files with 19 additions and 0 deletions
19
build/load.sh
Executable file
19
build/load.sh
Executable file
|
@ -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('<script type=\"text/javascript\" src=\"' + root
|
||||
+ 'src/load.js\"></script>');" > ../out/paper.js;
|
Loading…
Reference in a new issue