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
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
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