Dmitry Baranovskiy
48a5f6ae79
Added docs to `animateEach`
2014-05-13 00:10:07 +10:00
Dmitry Baranovskiy
c96be4e66a
Fix for missed `gradient` reference.
2014-05-12 16:47:29 +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
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
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
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
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
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
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
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
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
Dmitry Baranovskiy
3c81659909
Fix for bug #25 & #110
2013-11-18 23:02:11 +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
12e519f2e2
Fix for bugs #95 , #116 , #103
2013-11-18 14:44:45 +11: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
Jake Swenson
01c9adc5bf
fix issues with transformation parsing and issues with touch items when touch is applied to a parent element
2013-11-06 22:19:52 -08:00
Dmitry Baranovskiy
a5d8368e6b
Fix for bug #78
2013-10-30 11:18:42 +11:00
Dmitry Baranovskiy
6f4f847659
Fix for bug #67
2013-10-25 15:53:09 -07:00
Dmitry Baranovskiy
d865bf0810
Getting rid of elemental.js. Fix for issue #50
2013-10-25 13:59:41 -07:00
Dmitry Baranovskiy
6b92046ebd
Merge pull request #68 from subzey/feature/is-finite
...
Use native isFinite method to detect NaN and Infinities
2013-10-25 13:37:35 -07:00
Anton Khlynovskiy
013c92fc0f
Use native isFinite method to detect NaN and Infinities
2013-10-25 17:24:59 +04:00
Anton Khlynovskiy
3e4318395b
Use Date.now when possible
2013-10-24 11:45:23 +04:00
Dmitry Baranovskiy
9cb27e5f5f
Fix for bug #43
2013-10-21 03:45:14 -07:00
Dmitry Baranovskiy
bb3ba6e03c
Added new method Paper.clear(). How I missed it? :)
2013-10-21 02:46:25 +11:00
Dmitry Baranovskiy
dc1866045a
Fixed bug in transformation handling reported here: https://github.com/adobe-webplatform/Snap.svg/issues/42
2013-10-20 14:59:06 +11:00
Dmitry Baranovskiy
453482d873
Fix for transform strings to be equal to what you set them to be (Matrix roundtrip distortion fix)
2013-10-18 15:38:27 +11:00
Dmitry Baranovskiy
8befc80d19
Updates to README and code sample for Snap.animate
2013-10-16 07:20:01 +11:00
Dmitry Baranovskiy
f384675b82
Fix for bug #27
2013-10-15 11:12:33 +11:00
Dmitry Baranovskiy
c6245cb435
Fix for bug #23 and generate docs with new pull request. Removed VERIFY sections
2013-10-14 22:59:34 +11:00
Dmitry Baranovskiy
9b4b3ad9bc
Merge pull request #26 from adobe-webplatform/copyedit
...
Copyedit
2013-10-13 20:11:27 -07:00
Mike Sierra
0d2e937d67
GLOBAL: standardize parameter values
2013-10-10 10:46:29 -04:00
Mike Sierra
613740014e
GLOBAL: standardize return values
2013-10-10 10:40:22 -04:00
Mike Sierra
242df93cd9
EDIT Snap.fragment
2013-10-10 06:39:09 -04:00
Mike Sierra
ea2fee7d2a
GLOBAL: no & in text
2013-10-09 21:13:54 -04:00
Mike Sierra
780f9f5326
GLOBAL: standardize pseudo-JSON object format
2013-10-09 21:11:46 -04:00
Mike Sierra
9498a62c34
GLOBAL: Colour => Color
2013-10-09 21:05:17 -04:00
Mike Sierra
014026e6d5
GLOBAL: colour => color
2013-10-09 21:04:35 -04:00
Mike Sierra
ea74a41a4a
GLOBAL: no trailing punctuation in return values
2013-10-09 21:00:46 -04:00
Mike Sierra
5d6091fb0a
GLOBAL: standardize method descriptions
2013-10-09 20:56:44 -04:00
Mike Sierra
4c7a9a95ee
EDIT Snap.is
2013-10-09 17:33:57 -04:00
Mike Sierra
69e8c0edb7
GLOBAL: e.g., i.e., etc.
2013-10-09 17:31:17 -04:00
Mike Sierra
7c99047c63
EDIT & COMMENT on high-level object interfaces
2013-10-09 17:21:14 -04:00
Mike Sierra
46e28d5001
VERIFY new values for Matrix.rotate
2013-10-09 17:09:30 -04:00
Mike Sierra
0d237dd2c8
VERIFY new values for Matrix.scale
2013-10-09 17:06:53 -04:00
Mike Sierra
52c5b2da7d
VERIFY new values for matrix translate x/y
2013-10-09 16:56:49 -04:00
Mike Sierra
eceaf146af
VERIFY sync subpath descriptions
2013-10-09 16:49:02 -04:00
Mike Sierra
d8e7ced562
VERIFY subpath distances exclude jumps
2013-10-09 16:41:09 -04:00
Mike Sierra
6f33992345
COMMENT Matrix.toTransformString
2013-10-09 16:18:21 -04:00
Mike Sierra
e73df04538
COMMENT Matrix.invert
2013-10-09 16:13:57 -04:00
Mike Sierra
ee051acc89
COMMENT Matrix.split
2013-10-09 16:13:17 -04:00
Mike Sierra
933037609f
EDIT Paper.text
2013-10-09 16:09:59 -04:00
Mike Sierra
c51a3119c9
GLOBAL: 'horizontal'
2013-10-09 16:07:25 -04:00
Mike Sierra
13599ac0f5
EDIT Paper.polyline
2013-10-09 16:06:22 -04:00
Mike Sierra
a3f88ffa1f
EDIT & COMMENT Paper.path
2013-10-09 16:04:58 -04:00
Mike Sierra
5d0a340754
EDIT Paper.image, to collapse redundant doc entries
2013-10-09 16:00:58 -04:00
Mike Sierra
19b8e2a43e
EDIT Paper.gradient
2013-10-09 15:55:15 -04:00
Mike Sierra
d1b22f5378
EDIT & COMMENT Paper.g
2013-10-09 15:49:18 -04:00
Mike Sierra
830d7afde6
EDIT & COMMENT Paper.filter
2013-10-09 15:46:31 -04:00
Mike Sierra
dd416fbec5
remove stray comment
2013-10-09 15:44:27 -04:00
Mike Sierra
af5b0ab896
GLOBAL: fix 'Element object with type fubar'
2013-10-09 15:43:31 -04:00
Mike Sierra
d2a48dc6b2
EDIT & COMMENT Element.getBBox
2013-10-09 15:34:35 -04:00
Mike Sierra
43f94159d1
COMMENT Element.transform
2013-10-09 15:29:27 -04:00
Mike Sierra
537c5b30ed
COMMENT Element.pattern, Snap.parsePathString
2013-10-09 15:26:42 -04:00