Commit Graph

52 Commits (e2acee474191a7d7e1428f37fec27d74877d485e)

Author SHA1 Message Date
John Guidry 29aa1048bc Fix Set.animate callback 2014-09-30 23:10:23 -05:00
Dmitry Baranovskiy 499193a51f Fixed bug in mouse handler and update tests 2014-05-25 17:52:40 +10:00
Dmitry Baranovskiy 73ec9f0b53 Upgrade eve. 2014-05-23 21:04:33 +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 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 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 3469abf423 Added paper.svg() method 2014-04-22 17:12:11 +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 5ff0d9bd4d Added support for text path 2013-12-23 12:26:40 +11:00
Dmitry Baranovskiy 5d66163ef5 Merge pull request #119 from sbking/sbking
Added Element.appendTo() and Element.prependTo()
2013-11-18 03:55:31 -08:00
Stephen King 38af3ec9f1 Added Element.appendTo() and Element.prependTo() 2013-11-18 01:03:26 -08:00
Dmitry Baranovskiy c60429c1b7 Restore elemental removal. For attr() moved from white list to black list strategy 2013-11-18 11:17:17 +11:00
Dmitry Baranovskiy 627d968734 Removing test regarding asPX for further investigation. #44 2013-10-21 14:49:51 -07:00
Dmitry Baranovskiy d1b88b9597 Fix for bug #24 2013-10-14 23:02:50 +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
adeveria a553d07b28 add more missing tests 2013-09-24 13:16:55 -07:00
adeveria 25b4a2cfb2 fix bugs in tests 2013-09-23 16:51:21 -07:00
adeveria db9eb2e8a2 add missing element tests 2013-09-23 16:45:37 -07:00
adeveria c6138bf585 add missing parseTransformString tests 2013-09-23 10:58:36 -07:00
adeveria 95f4e4f7e2 add missing matrix tests 2013-09-19 17:11:50 -07:00
Dmitry Baranovskiy ac5b4edeb7 Fix bugs in filter tests 2013-09-19 22:19:27 +10:00
Dmitry Baranovskiy c9103b8b04 Fix for bug #20 2013-09-19 22:09:06 +10:00
adeveria 941ad2ae67 remove matrix test that didn't make sense 2013-09-18 17:05:33 -07:00
adeveria b04c154dfe add matrix, set and mina tests 2013-09-18 15:34:25 -07:00
adeveria 1ed7ac65f8 add missing path tests 2013-09-17 15:58:51 -07:00
adeveria 531fca5937 add filter tests 2013-09-17 10:35:36 -07:00
Dmitry Baranovskiy 6ec65ce19a Fix bug #14 + expand doc re colors a little 2013-09-16 16:55:33 +10:00
adeveria 206618e8bd add more savage and color tests 2013-09-13 15:57:55 -07:00
Dmitry Baranovskiy 608aa8dbdf Fix for bug #12, fix for easing functions edge results (0,1), fix for stroke to accept the same values as fill 2013-09-13 22:51:01 +10:00
adeveria f7fa0526ba add more tests 2013-09-12 15:44:59 -07:00
Dmitry Baranovskiy 2a8f553eaf Fix for bug #7 and removing the cause of bug #9. Will add onDragOver after release 2013-09-12 12:56:46 +10:00
adeveria 047e6b5a5f start on Savage object tests 2013-09-11 16:54:22 -07:00
adeveria 440f4cef94 add more element and paper tests 2013-09-11 15:03:34 -07:00
adeveria fd8db10bd3 add Element event tests 2013-09-10 16:37:24 -07:00
adeveria 630b66058d add tests for misc element methods 2013-09-10 14:09:02 -07:00
Dmitry Baranovskiy 67667a5491 Merge branch 'master' of https://github.com/adobe-webplatform/savage 2013-09-10 10:22:19 +10:00
Dmitry Baranovskiy 506c5d4af7 Fix for bug #3 2013-09-10 10:22:05 +10:00
adeveria 0f1b1ab86d add some extra tests to Element method return values 2013-09-09 17:12:26 -07:00
adeveria 7f9a89e5c0 remove invalid test 2013-09-09 16:05:21 -07:00
adeveria eea4f89d29 add first Element tests 2013-09-09 15:38:51 -07:00
Dmitry Baranovskiy 4c609185c7 NPM all the things. Fix for transformation animation 2013-09-09 10:33:59 +10:00
Dmitry Baranovskiy 9c00bc6469 Split tests into seperate JS files 2013-09-05 10:29:15 +10:00
Dmitry Baranovskiy 383ae375c4 Docs for mina and path fix for test 2013-08-24 09:31:00 +10:00
Dmitry Baranovskiy 8eacc3ab1a Include copyright notice 2013-08-16 14:57:44 +10:00
Dmitry Baranovskiy 583bb2a37d Moving submodules (part 2) 2013-08-16 11:20:48 +10:00
Dmitry Baranovskiy 7a3cc15a43 Moving submodules (part 1) 2013-08-16 11:15:34 +10:00
Dmitry Baranovskiy d07cb4cf1b Moved elemental.js to 3rd party folder, fixed Savage(<SVG element>) work 2013-08-09 22:13:22 +10:00
Dmitry Baranovskiy c40144d90c More tests and small fixes to the path 2013-08-02 14:07:42 +10:00
Dmitry Baranovskiy 2270a96f12 Added gradients. Changed plugin architecture. 2013-07-11 13:23:37 +10:00