Skip to content

Commit 6ce4327

Browse files
committed
New dist files *with* updated dependencies.
1 parent c9c9c7b commit 6ce4327

File tree

14 files changed

+4041
-4183
lines changed

14 files changed

+4041
-4183
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "libs/zpipe"]
1111
path = libs/zpipe
1212
url = https://github.com/richardassar/zpipe.git
13+
[submodule "libs/adler32cs.js"]
14+
path = libs/adler32cs.js
15+
url = https://github.com/chick307/adler32cs.js.git

uglify.sh renamed to build.sh

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/sh
2-
# I'm Ugly. Improve me, please.
2+
#
3+
# Build script for jsPDF
4+
# (c) 2014 Diego Casorran
5+
#
6+
# NOTE: Still relying on wak's wscript.py
7+
# to generate dist/jspdf.source.js
8+
#
9+
# WARNING: I'm Ugly. Improve me, please.
10+
#
311

412
output=dist/jspdf.min.js
513
options="-m -c --wrap --stats"
@@ -8,9 +16,13 @@ files="jspdf.js jspdf.plugin*js"
816
commit=`git rev-parse HEAD`
917
build=`date +%Y-%m-%dT%H:%M`
1018

11-
wak.py
12-
uglifyjs ${options} -o ${output} ${libs} ${files}
19+
# Update submodules
20+
git submodule foreach git pull origin master
1321

22+
# Build dist files
23+
wak.py && uglifyjs ${options} -o ${output} ${libs} ${files}
24+
25+
# Pretend license information to minimized file
1426
for fn in ${files} ${libs}; do
1527
awk '/^\/\*/,/\*\//' $fn \
1628
| sed -n -e '1,/\*\//p' \

dist/jspdf.min.js

Lines changed: 14 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)