Commit Graph

338 Commits (28b7a7a753866c15b1a8eecdb2fee4d002823a6f)

Author SHA1 Message Date
baranovs 28b7a7a753 Fixed #196 2014-08-05 10:12:05 +10:00
baranovs 70916007ae Fixed issue with parse in IE 2014-08-05 09:52:27 +10:00
baranovs 5c2f9a6aa7 Fix for Paper.use and new method Paper.symbol 2014-08-04 21:22:04 +10:00
baranovs 1ccc381f32 Fixed bug with clipPath having id and paper.use 2014-08-04 08:59:28 +10:00
baranovs 9ff4c3f0df Merge remote-tracking branch 'origin/dev' into dev 2014-07-31 18:39:33 +10:00
baranovs 728fc208f2 Fixed #280 2014-07-31 18:37:34 +10:00
Dmitry Baranovskiy dae5337e7f Moved class methods in to separate module and added docs for them 2014-06-13 13:48:24 +10:00
Dmitry Baranovskiy e2a8156f34 Typo in dr.js comments 2014-06-05 21:56:10 +10:00
Dmitry Baranovskiy 5b17fca57c Merge pull request #256 from kristoferjoseph/master
Fixing npm install by updating main property
2014-06-05 13:32:29 +10:00
Kristofer Joseph 46ca4ba281 Fixing npm install by updating main property
main is the property npm uses to know what to require. It was requiring the Gruntfile instead of the compiled source. 🍻
2014-06-04 20:03:41 -07:00
Dmitry Baranovskiy 064ad5b081 Merge branch 'dev' 2014-06-03 19:28:07 +10:00
Dmitry Baranovskiy 008fc2261b build after merge 2014-06-03 19:27:27 +10:00
Dmitry Baranovskiy d398a81e74 Bump up version on component.js 2014-06-03 18:55:06 +10:00
Dmitry Baranovskiy 50399ba59b Merge pull request #253 from bitblitter/dev
Element.transform().toString() fix attempt
2014-06-03 18:54:39 +10:00
Carles Codony 542c41aaa2 Element.transform().toString() fix attempt
Sometimes calling .transform().toString() returns an object, instead of a string.

elproto._.transform gets assigned to the toString() property of the transform() return value,
but this value is an object.

Sample case:
http://jsfiddle.net/bitblitter/hUWT7/3/
2014-05-31 13:35:25 +02:00
Dmitry Baranovskiy 25fdc9f477 Fix for #88 2014-05-29 08:58:58 -07:00
Dmitry Baranovskiy 2a4a76e016 Fix for bug #252 2014-05-28 13:29:35 -07:00
Dmitry Baranovskiy 5850f162d9 Fix for getScroll 2014-05-27 06:57:03 -07:00
Dmitry Baranovskiy 499193a51f Fixed bug in mouse handler and update tests 2014-05-25 17:52:40 +10:00
Dmitry Baranovskiy ddcb2a3430 Playing with precision in path intersection. 2014-05-23 21:36:04 +10:00
Dmitry Baranovskiy fb9c60849c Avoid referencing document absolutely 2014-05-23 21:35:35 +10:00
Dmitry Baranovskiy 8d75bb4881 Added new method `Snap.matrix()` 2014-05-23 21:04:33 +10:00
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