Commit graph

4194 commits

Author SHA1 Message Date
Jürg Lehni
e38fb6e64d Update build instructions. 2013-06-27 04:31:07 -07:00
Jürg Lehni
77c27f8a36 Switch to using dependencies as bower components. 2013-06-27 04:21:06 -07:00
Jürg Lehni
f572ad9c0a Improve handling of Stats.
Don't bail out if the library is not loaded.
2013-06-27 04:11:50 -07:00
Jürg Lehni
37f0c7dcd6 Add missing Key class to exports. 2013-06-27 03:58:14 -07:00
Jürg Lehni
2a64806d88 Include library dependencies in bower.json 2013-06-27 03:52:06 -07:00
Jürg Lehni
25cce566fa Do not exclude main built library. 2013-06-27 03:34:16 -07:00
Jürg Lehni
5977e81422 Update built versions. 2013-06-27 03:29:28 -07:00
Jürg Lehni
4398029455 Fix comments about dist/paper.js as symbolic links. 2013-06-27 03:21:56 -07:00
Jürg Lehni
9ac34d44e1 Update build and load script to not create symbolic links. 2013-06-27 03:20:45 -07:00
Jürg Lehni
2845313dfd Update publish script. 2013-06-27 03:09:37 -07:00
Jürg Lehni
1a78bfed78 Bump version to v0.9.6 2013-06-27 03:08:33 -07:00
Jürg Lehni
a3ae977ba0 Fix various issues in bower.json 2013-06-27 03:02:40 -07:00
Jürg Lehni
f077e388a1 Include a json file for Bower. 2013-06-27 02:57:58 -07:00
Jürg Lehni
24b4c931b5 Update publish script. 2013-06-27 00:35:54 -07:00
Jürg Lehni
3078d127a9 Update version to v0.9.5. 2013-06-26 19:42:24 -07:00
Jürg Lehni
9bb6ec9ed7 Update build scripts to new approach for publishing. 2013-06-26 19:42:04 -07:00
Jürg Lehni
44cd3d4ad8 Change names of built library to paper-full.js, and have dist/paper.js link to it after build.sh was run. 2013-06-26 19:22:38 -07:00
Jürg Lehni
214db84b84 Improve src/load.js to directly load the library through PrePro's load.js 2013-06-26 19:14:54 -07:00
Jürg Lehni
4e173a7d35 Switch to the NPM version of PrePro's load.js 2013-06-26 18:57:46 -07:00
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
a908556956 Fix blend mode detection syntax. 2013-06-26 15:05:43 -07:00
Jürg Lehni
1126c699d2 Improve tests for native blend modes.
Each mode needs to be tested separately, since some browsers implement only a subset (WebKit).
2013-06-26 14:59:07 -07:00
Jürg Lehni
b8d773e129 Rename blendMode parameter to mode. 2013-06-26 14:37:41 -07:00
Jürg Lehni
6d38401f0c Use faster direct Curve constructor instead of Base.create(). 2013-06-25 09:58:18 -07:00
Jürg Lehni
9c5416360c Use direct constructor instead of #initialize(). 2013-06-25 09:56:34 -07:00
Jürg Lehni
52c889428b Remove Curve.create() in favor of direct constructor. 2013-06-25 09:54:13 -07:00
Jürg Lehni
772c83596f Replace Base.create() calls in favor of faster direct constructors. 2013-06-25 09:50:14 -07:00
Jürg Lehni
7e24de7c74 Replace SegmentPoint.create() in favor of normal constructor. 2013-06-25 09:48:51 -07:00
Jürg Lehni
3d5ae373a8 Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging. 2013-06-25 09:41:55 -07:00
Jürg Lehni
c6e50375df Expose nativeBlendModes and amend BlendModes example with information about the use of native modes. 2013-06-24 15:55:15 -07:00
Jürg Lehni
4c444f266f Update BlendModes example. 2013-06-24 15:20:43 -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
7975232ee7 Remove workaround for obscure WebKit bug.
It wasn't fully working either. Solution:
https://bugs.webkit.org/show_bug.cgi?id=109961
2013-06-24 09:37:25 -07:00
Jürg Lehni
7d433406f8 Fix bouncing balls example.
The Clip class is gone.
2013-06-24 09:32:36 -07:00
Jürg Lehni
e746e723fd Remove unnecessary compression settings. 2013-06-24 09:19:19 -07:00
Jürg Lehni
b989892c24 Update copyright note about straps.js 2013-06-24 09:12:45 -07:00
Jürg Lehni
78a3e87ca1 Prevent separate View file in docs. 2013-06-24 09:10:26 -07:00
Jürg Lehni
9cfcad3190 Include core version in distribution. 2013-06-24 04:56:41 -07:00
Jürg Lehni
f56794bad4 Remove global variable leakage. 2013-06-24 04:52:13 -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
eef736f3d8 Move define() statement to export.js and remove define hack in PaperScript. 2013-06-24 04:40:35 -07:00
Jürg Lehni
4b53d558f1 Refactor PaperScript code so it can be moved outside of main paper scope.
Allowing for better minifaction and the potential use of strict mode due to absence of with() statements inside the main paper scope.
2013-06-24 04:40:07 -07:00
Jürg Lehni
fa3f91a754 Move PaperScript.get/setAttribute() to PaperScope. 2013-06-24 04:23:34 -07:00
Jürg Lehni
75c1225d4f Prevent overriding exported classes by inheriting classes with same _class value. 2013-06-24 04:22:43 -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
dff39dff78 Use local bounds for hit-testing.
Fixes issue #247.
2013-06-23 19:49:36 -07:00
Jürg Lehni
8c9ac92a59 Define failing test for hit-testing bounds on raster items.
Linked to issue #247.
2013-06-23 19:48:46 -07:00
Jürg Lehni
9f7167a47f Clean up Item#hitTest() code. 2013-06-23 19:01:48 -07:00