Commit Graph

417 Commits (e4da83403ec4a5e764651885116858fafa47ca0f)

Author SHA1 Message Date
Dmitry Baranovskiy 73ec9f0b53 Upgrade eve. 2014-05-23 21:04:33 +10:00
Dmitry Baranovskiy 28119905a5 Merge pull request #245 from dcjones/dev
Correctly check for undefined in getScroll. Fixes #219
2014-05-23 21:01:02 +10:00
Dmitry Baranovskiy 71ad308027 Fix for #248 2014-05-22 12:23:30 +10:00
Dmitry Baranovskiy 8c5eb95c50 Two more design tutorials. 2014-05-21 12:38:35 +10:00
Dmitry Baranovskiy b92dcb5af5 unit2px and getBBox fix
Fix for Firefox bug when getBBox throws an exception.
2014-05-21 12:38:18 +10:00
Dmitry Baranovskiy c1e8a98db9 Fix for use getBBox() 2014-05-20 18:22:26 +10:00
Dmitry Baranovskiy 1bbd8e9fdd First two design tutorials. 2014-05-16 23:04:23 +10:00
Daniel Jones 78bf554eb2 Correctly check for undefined in getScroll. Fixes #219 2014-05-15 22:48:22 -07:00
Dmitry Baranovskiy 8c0a7dc0a4 Fix for mask being passed to `.attr()` method. 2014-05-16 12:30:49 +10:00
Dmitry Baranovskiy 20adda5829 Fix for prepend of set. Keeping order intact. 2014-05-16 11:15:29 +10:00
Dmitry Baranovskiy d1f8db5f6e Fix for error when getting attribute "points" 🔨
bug #239
2014-05-15 17:08:19 +10:00
Dmitry Baranovskiy d7e1f819bb Prepend accepts set 🔨
Fix for #244
2014-05-15 17:04:05 +10:00
Dmitry Baranovskiy 5296fa16a0 Mistype in pattern code fix 2014-05-15 16:58:29 +10:00
Dmitry Baranovskiy d2b729cd16 Prefixed values
Added ability to specify attributes as `"+=10"` or `"-=1em"` or `"*=2"`
Bug #243.
2014-05-15 16:58:04 +10:00
Dmitry Baranovskiy 48a5f6ae79 Added docs to `animateEach` 2014-05-13 00:10:07 +10:00
Dmitry Baranovskiy 6d43f667ff Adding log file (finally) 2014-05-13 00:04:33 +10:00
Dmitry Baranovskiy c96be4e66a Fix for missed `gradient` reference. 2014-05-12 16:47:29 +10:00
Dmitry Baranovskiy 40f0c95002 Workaround of Firefox bug introduced lately. 2014-05-09 11:07:34 +10:00
Dmitry Baranovskiy f39b99ee06 Added garbage collector to clear the hub.
Fix for bug #241
2014-05-08 14:21:19 +10:00
Dmitry Baranovskiy f5d9ff5bb7 Formatting clean up after merging pull request. 2014-05-08 10:33:20 +10:00
Dmitry Baranovskiy 47cbe2f9f1 Merge pull request #240 from xogeny/set_bind
Adding a way to specify how attributes are bound on Set objects
2014-05-08 10:28:28 +10:00
Michael Tiller 985d3dec10 Adding a way to specify how attributes are bound on Set objects
This commit is backward compatible with previous versions but adds a new option for handling
attribute applications on Set objects.  The normal behavior (of applying the attribute
to all elements in the set) is preserved unless the developer explicitly defines how
the attribute should be treated.  This relatively simply change allows three useful
cases.  First, the user can specify that an attribute to applied to a specific element.
Second, it allows pseudo-attributes to be defined and applied to a specific element.  Finally,
and most powerfully, it allows the user to specify a function to be called when a given
attribute is set.  That function can, of course, apply the attribute to a number of
different elements.

This commit includes test cases for all these cases.
2014-05-07 08:38:26 -04:00
Dmitry Baranovskiy 88f214e918 Decouple all the things and bug fixes
• extract matrix, attar & paper.js
• fix for transform for sag element
• add Fragment to plugin call
2014-05-07 18:37:05 +10:00
Dmitry Baranovskiy 400b6a87df Revert f948729..59f8584
This rolls back to commit f94872941f.
2014-05-06 11:16:46 +10:00
Dmitry Baranovskiy 59f85849e5 Merge pull request #217 from xogeny/master
Adding a way to specify how attributes are bound on Set objects
2014-05-06 10:30:46 +10:00
Dmitry Baranovskiy 83100d6f71 Merge pull request #235 from tomconroy/patch-cors
Patch Snap.ajax to allow CORS GET requests
2014-05-06 10:25:44 +10:00
Dmitry Baranovskiy 58fd1f9b52 Clock demo 2014-05-06 10:18:46 +10:00
Dmitry Baranovskiy c55f03745d Big commit:
→ Added Paper.mask(), Paper.svg(), Paper.ptrn()
→ getBBox() fix
→ Added Set.animate() and Set.animateEach()
→ mask & pattern are sharing paper methods
→ Added to tranform output total and totalMatrix
→ Added reference of mina in inAnim() method
→ Initial support for <object> tag
2014-05-06 10:13:22 +10:00
Dmitry Baranovskiy 8c9f457394 Changed pathes in tutorial 2014-05-05 20:39:16 +10:00
Tom Conroy c9c743ab99 Patch Snap.ajax to allow CORS GET requests 2014-04-29 15:33:00 -04:00
Walter Roman 07b4969690 Updated README with instructions for installation either through Bower or manually 2014-04-23 10:47:27 -07:00
Dmitry Baranovskiy 0f466e855d Added new method paper.use() 2014-04-22 19:09:21 +10:00
Dmitry Baranovskiy 3469abf423 Added paper.svg() method 2014-04-22 17:12:11 +10:00
Dmitry Baranovskiy 2b8bcc1be7 Oops, forgotten console.log() 2014-04-22 14:05:04 +10:00
Dmitry Baranovskiy 51afce7824 Fixed tests. Added new tests for class methods. Fix for bug #227 2014-04-22 13:56:47 +10:00
Dmitry Baranovskiy bbc1d4d7f8 Fix for #229 and #207 2014-04-18 10:31:07 +10:00
Dmitry Baranovskiy c58fc82583 Merge pull request #216 from tshinnic/dedupe_group_make
cleanup duplicate code on group Element creation  (not a bug)
2014-03-25 16:02:10 +11:00
Dmitry Baranovskiy 6696e89661 Merge pull request #215 from tshinnic/path2curve_apply_fix
Fix typo in src/path.js - ref issue #211
2014-03-25 16:01:23 +11:00
Michael Tiller b54624a11b Adding a way to specify how attributes are bound on Set objects
This commit is backward compatible with previous versions but adds a new option for handling
attribute applications on Set objects.  The normal behavior (of applying the attribute
to all elements in the set) is preserved unless the developer explicitly defines how
the attribute should be treated.  This relatively simply change allows three useful
cases.  First, the user can specify that an attribute to applied to a specific element.
Second, it allows pseudo-attributes to be defined and applied to a specific element.  Finally,
and most powerfully, it allows the user to specify a function to be called when a given
attribute is set.  That function can, of course, apply the attribute to a number of
different elements.

This commit includes test cases for all these cases.
2014-03-23 08:59:50 -04:00
Thomas Shinnick 0ed59d7b92 cleanup duplicate code on group Element creation 2014-03-16 21:10:39 -05:00
Thomas Shinnick eaf424c8eb Fix typo in src/path.js - ref issue #211 2014-03-16 19:17:56 -05:00
Dmitry Baranovskiy 8ba748d905 Fixes for #197, #190, #184 & #177 2014-03-07 17:16:58 +11:00
Dmitry Baranovskiy db451db0e2 Fix for #197: Transform of <use> 2014-03-07 13:22:40 +11:00
Dmitry Baranovskiy f09212b211 Fixes for #203 & #204 2014-03-07 10:45:24 +11:00
cjgammon f94872941f banner ad demo added 2014-02-12 10:33:52 -08:00
Dmitry Baranovskiy 5b3e509fb6 Fix for bug #165 — added opacity option for shadow filters 2014-01-13 13:06:26 +11:00
Dmitry Baranovskiy 7a4e7a8632 Fix for #161 2014-01-08 13:07:30 +11:00
Dmitry Baranovskiy 1bde666776 Fix for #157 2014-01-03 12:23:53 +11:00
Dmitry Baranovskiy effb57e0d8 Fix for bug #142 2014-01-02 19:43:26 +11:00
Dmitry Baranovskiy 7a59550f23 Fixes for bugs #153 & #155 2014-01-02 18:41:23 +11:00