Commit Graph

342 Commits (3dcca7c330eb62f276dc145ffcf985a57b244c3c)

Author SHA1 Message Date
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
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
Dmitry Baranovskiy 4d9fd5ef7a Merge 2013-12-23 12:27:58 +11:00
Dmitry Baranovskiy b591b3b0a7 Merge branch 'dev' of https://github.com/adobe-webplatform/Snap.svg into dev 2013-12-23 12:27:10 +11:00
Dmitry Baranovskiy 5ff0d9bd4d Added support for text path 2013-12-23 12:26:40 +11:00
Dmitry Baranovskiy eb6a978ab1 Merge pull request #130 from throrin19/patch-data
elem.data() return all data if no params were bounds
2013-12-19 17:02:33 -08:00
Dmitry Baranovskiy 57dbdddf73 Merge pull request #146 from throrin19/patch-node
fix null error if element defs not exist.
2013-12-19 17:01:46 -08:00
Dmitry Baranovskiy f7acae905f Merge pull request #150 from herschel666/ek-fluent-interface
enabling fluent-interface for `group.add`
2013-12-17 03:30:01 -08:00
Emanuel Kluge 4d02d7c1a1 enabling fluent-interface for `group.add` 2013-12-17 11:42:57 +01:00
Benjamin Besse 2538ee19b1 fix null error if element defs not exist. 2013-12-12 14:05:36 +01:00
Benjamin Besse ea53281607 Merge pull request #1 from adobe-webplatform/dev
Dev
2013-11-28 02:03:03 -08:00
Dmitry Baranovskiy c3134f596b Merge pull request #98 from jakeswenson/dev
fix issues with transformation parsing and issues with touch items when ...
2013-11-26 22:09:32 -08:00
Dmitry Baranovskiy aa6be97f60 Added line to getbbox primitives 2013-11-27 13:20:50 +11:00
Dmitry Baranovskiy e2fdaaf12e Fix for marker and pattern values treating. Fix for #102 & #133 2013-11-27 12:53:33 +11:00
Dmitry Baranovskiy d6fc9070c5 A bit more precise handling of group array-like possibilities. #94 2013-11-26 18:46:13 +11:00
Benjamin Besse 46899ad251 + elem.data() return all data if no params were bounds 2013-11-25 11:02:19 +01:00
Dmitry Baranovskiy 9fa23f0f95 Animation of SVG transformations, matrices and polygon points 2013-11-25 12:00:34 +11:00
Dmitry Baranovskiy 19f9b2d561 Merge pull request #129 from throrin19/patch-1
@ fix bug for transform="translate(x)"
2013-11-21 03:19:08 -08:00
Dmitry Baranovskiy 5784381a9f Added outerSVG as an alias toString 2013-11-21 22:18:25 +11:00
Benjamin Besse 03319cedd4 @ fix bug for transform="translate(x)"
if element has transform="translate(5)", snap.svg ignore that but it works and it's possible on transform attribute.
2013-11-21 11:15:09 +01:00
Dmitry Baranovskiy 8302edf2a1 Fix for #97 2013-11-21 11:39:33 +11:00
Dmitry Baranovskiy 1ae1f20d48 Fix for bug #111 2013-11-20 18:07:47 +11:00
Dmitry Baranovskiy 74cbaf763b Fix for #117 2013-11-20 12:29:50 +11:00
Dmitry Baranovskiy 913d1d578b Fix for #122 and added Set.remove() method 2013-11-20 11:42:25 +11:00
Dmitry Baranovskiy 4396f201bd Accidently reverted ast pull request merge 2013-11-19 18:31:04 +11:00
Dmitry Baranovskiy b324696ef0 Fix for #123 2013-11-19 18:03:38 +11:00
Dmitry Baranovskiy c2a42eef50 Merge branch 'dev' of https://github.com/adobe-webplatform/Snap.svg into dev 2013-11-18 23:02:22 +11:00