Jürg Lehni
b5b269fd8f
Switch to NPM based PrePro and update README.MD accordingly.
2013-06-26 18:04:56 -07:00
Jürg Lehni
1866e4ff15
Remove need for all special arguments in minification, and restructure code to avoid warnings.
2013-06-24 10:15:54 -07:00
Jürg Lehni
1279e8017d
Remove unnecessary minification switches.
2013-06-24 09:37:49 -07:00
Jürg Lehni
e746e723fd
Remove unnecessary compression settings.
2013-06-24 09:19:19 -07:00
Jürg Lehni
9cfcad3190
Include core version in distribution.
2013-06-24 04:56:41 -07:00
Jürg Lehni
e6bed426d7
Make inclusion of PaperScript optional and build a core version of the library without it.
2013-06-24 04:49:45 -07:00
Jürg Lehni
d8188e8ddc
Improve prepro.js' stripComments() method to respect regular expressions.
2013-06-23 21:02:37 -07:00
Jürg Lehni
a4535edbb9
Bring back _class names, since code minification breaks reliance on constructor.name.
...
Closes #248 .
2013-06-23 20:18:32 -07:00
Jürg Lehni
8016413d47
Fix issues with uglifyjs.
...
Workarounds so far, needs proper fixing in uglifyjs.
2013-06-01 16:45:35 -07:00
Jürg Lehni
de766303f8
Include stats.js in distribution so all examples can work.
2013-06-01 16:45:14 -07:00
Jürg Lehni
87d755e2f6
Include the minified version of the library in the distribution.
2013-06-01 11:25:39 -07:00
Jürg Lehni
e7549f0ce5
Explicitly use bash to avoid build problems on linux.
2013-05-30 15:47:47 -07:00
Jürg Lehni
6fa6c022c9
Rename options.server to options.node
2013-05-28 00:01:55 -07:00
Jürg Lehni
b92be7ecf3
Set options.stats = false for build.sh and Node.js
2013-05-27 15:33:28 -07:00
Jürg Lehni
d577b1bf48
Share one options.js file describing Paper.js options for Node.js, build.sh and the dev version.
2013-05-27 15:11:32 -07:00
Jürg Lehni
2a75b04af0
Clean up build script.
2013-05-27 14:36:21 -07:00
Jürg Lehni
6ac5463630
Switch to using common string format for paper.version (major.minor.build)
2013-05-27 14:27:05 -07:00
Jürg Lehni
502c76dbce
Start merging fat-line clipping code into Curve class.
...
And add a prepro option for now.
2013-05-24 22:30:13 -07:00
Jürg Lehni
8d2cfc87ed
Fix build script.
2013-05-05 23:07:16 -07:00
Jürg Lehni
acb3d6f5f9
Update package.json for publishing to NPM.
2013-05-05 19:22:13 -07:00
Jürg Lehni
0178386a7a
Update JSdoc.
2013-04-26 15:31:39 -07:00
Jürg Lehni
50287cde96
Update JSDoc.
2013-04-19 11:53:59 -07:00
Jürg Lehni
2d3f9c36eb
Update JSDoc and fix documentation issues.
2013-04-09 17:07:41 -07:00
Jonathan Puckey
00cea46c5d
Update jsdoc-toolkit submodule.
2013-03-16 19:32:39 +01:00
Jürg Lehni
bd6e091dda
Increase version from 0.3 to 0.8 to highlight the fact *a lot* of work has happened in the meantime.
2013-03-01 17:49:19 -08:00
Jürg Lehni
55cc668cc2
Streamline build scripts.
2013-02-28 19:14:06 -08:00
Jürg Lehni
35c1650634
Update JsDoc.
2013-02-09 12:05:36 -08:00
Jürg Lehni
b6d2d83af5
Fix the strangest JavaScriptCore bug that I've encountered in ages.
...
Closes #168 . Read comment for more details.
2013-02-08 16:32:47 -08:00
Jürg Lehni
6c9c16ad3d
Update copyright information comments, and year.
2013-01-28 18:03:27 -08:00
Jürg Lehni
c627b59fd0
Update TextMate project and .gitignore files.
2013-01-28 17:32:46 -08:00
Jürg Lehni
e2eb92583d
Update JSDoc.
2012-12-25 16:59:18 +01:00
Jürg Lehni
110cbbb73d
Streamline build scripts and include minified version in dist.
2012-12-24 16:44:13 +01:00
Jürg Lehni
1509a934b0
Merge branch 'refs/heads/master' into uglifyjs2
...
Conflicts:
build/preprocess.sh
2012-12-21 16:15:00 +01:00
Jürg Lehni
e3741f5708
Do not drop unreferenced functions and variables when minifying.
...
It seems to take ages, and parameter list is meaningful in Boostrap.js even when parameters are not used.
2012-12-21 16:13:10 +01:00
Jürg Lehni
6ccdca552e
Bump version to 0.3 for upcoming release.
2012-12-15 17:38:56 +01:00
Jürg Lehni
cdfd1f596a
Fix some comments.
2012-12-02 19:47:25 -08:00
Jürg Lehni
83867f01f3
Preserve ASCII in library for now, until #139 is resolved.
2012-11-23 14:06:11 -08:00
Jürg Lehni
f95cbcd9b9
Switch to UglifyJS2.
2012-11-23 13:39:04 -08:00
Jürg Lehni
6da0b50813
Switch to UglifyJS version 1 as installed by NPM.
2012-11-23 13:06:13 -08:00
Jürg Lehni
450c8fc1df
Remove unused uglifyjs helper script.
2012-11-23 12:32:58 -08:00
Jürg Lehni
302f23bc5a
Update Acorn.js and use it now by default, thanks to Marijn's fast bugfix:
...
https://github.com/marijnh/acorn/issues/14
2012-11-18 12:25:37 -08:00
Jürg Lehni
34819e6a73
Switch to using Mozilla's standardized AST model for PaperScript parsing though Acorn.js or Esprima.js and their support for ranges.
...
No more AST mingling but direct code modification means we're finally getting accurate error messages! Sticking to Esprima for now since Acorn still has some issues with ranges: https://github.com/marijnh/acorn/issues/14
2012-11-18 10:06:16 -08:00
Jürg Lehni
471a7eed6e
Remove editor.sh
2012-11-14 22:24:43 -08:00
Jürg Lehni
4e1db6a1d1
Fix a row of documentation issues.
2012-11-06 13:35:50 -08:00
Jürg Lehni
35568c15f2
Implement transparent constant-substitution in prepro.js to shave of some extra bytes of final distribution file.
2012-11-05 18:11:44 -08:00
Jürg Lehni
c227d589ca
Improve stripComments() in prepro.js to handle parse-js.js code properly.
2012-11-02 15:53:51 -07:00
Jürg Lehni
4a74cf9e29
Improve Paper code editor to also display errors.
2012-10-23 20:05:01 -07:00
Jürg Lehni
baaa7abe92
Include code for Paper.js teaching editor.
...
Featuring the beginning of a vector graphics inspector!
2012-10-08 23:14:12 -07:00
Jonathan Puckey
c6ebd22b33
Use the load.sh version of dist/paper.js to avoid confusion during development.
2012-10-08 19:24:45 +02:00
Jürg Lehni
6ca373e237
Update JsDoc.
2012-09-30 19:55:43 -07:00