Commit Graph

6 Commits (8c0a7dc0a41561a8f3cc0df8afbe8cabae880ba4)

Author SHA1 Message Date
Dmitry Baranovskiy f5d9ff5bb7 Formatting clean up after merging pull request. 2014-05-08 10:33:20 +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 5ff0d9bd4d Added support for text path 2013-12-23 12:26:40 +11:00
Dmitry Baranovskiy a27e4043a1 Change name to Snap.svg. Added dr.js to grunt via grunt-exec 2013-09-25 15:52:57 +10:00
Dmitry Baranovskiy c9103b8b04 Fix for bug #20 2013-09-19 22:09:06 +10:00
adeveria b04c154dfe add matrix, set and mina tests 2013-09-18 15:34:25 -07:00