Commit Graph

232 Commits

Author SHA1 Message Date
g-div 88387c342c fix the error/memleak in Firefox 3.0.x and 25.0.1 concerning the getBBox method 2013-12-09 18:14:52 +01:00
Tomas Alabes 424719f7e2 Several Fixes 2013-11-09 18:43:39 -03:00
Tomas Alabes bd74dbaa53 Added couple of fixes, and unused jshintrc 2013-11-09 18:43:36 -03:00
Adrian Phinney 69097d5671 Fix SVG insertBefore/insertAfter when using <a> wrapper node.
When an element has an "href" the node is wrapped with an <a>.
insertBefore/insertAfter did not take this into account (#631).
Additionally, remove, toFront and toBack now use the new function.
2013-11-06 15:17:31 -04:00
Tomas Alabes ea133a038e By @badunk Setting aspect ratio to xMidYMid meet 2013-10-31 23:05:59 -03:00
Tomas Alabes d936e191e1 Merging TheCloudlessSky-prevent-multiple-svg-title 2013-10-31 19:47:45 -03:00
Tomas Alabes e3d40fc610 IE8 / R2.0.1 - viewbox scaling 2013-10-05 00:27:44 -03:00
Tomas Alabes 50a7f8d55d href parameter for Paper.text does NOT behave like hyperlink in 2.1.2 2013-10-02 21:12:26 -03:00
Tomas Alabes 3bc12c3d8c Final fix for #629 2013-09-11 22:03:06 -03:00
Tomas Alabes f82e4ce883 Fix bug with arrow-end/start markers sharing properties. By @vkaravir 2013-09-07 18:59:09 -03:00
Tomas Alabes c25a1aa8c3 AddEvent function incorrectly removes touch event listener. By @ThijsVanDerMeer 2013-09-03 21:28:56 -03:00
Tomas Alabes f9fb90562d Issue #768 - Str(value).match(R._ISURL) returns null for valid url 2013-08-26 20:52:18 -03:00
Tomas Alabes a6682a2ede Change reference to eve to use eve instead of . when loading with AMD. By @arnemart 2013-08-16 19:50:55 -03:00
Tomas Alabes f294fcb714 Fixing issue #766 2013-08-14 15:49:33 -03:00
Tomas Alabes e0dd2aeb54 v2.1.1 2013-08-11 20:21:16 -03:00
Tomas Alabes 968c3cbb9a Dev folder 2013-08-11 18:50:38 -03:00
Tomas Alabes b87c69c7d0 Fix to make IE9 display tooltips when setting the title attribute on an element. By @samcrang 2013-06-23 00:42:10 -03:00
Tomas Alabes 426680e32d Merge branch 'Touchit-fix-touch-events' into v2.1.1
* Touchit-fix-touch-events:
  Updating files from latest merge
  Tweaks to previous merge
  getPath (and method that use) now working with simple elements like "Circle"
  Fix Touch events selection in dragMove method
  Fix Gruntfile to build in windows environment
  Fix Touch events on Firefox and Chrome

Conflicts:
	raphael-min.js
2013-06-22 23:38:46 -03:00
Tomas Alabes 3742b46f20 Merge branch 'fix-touch-events' of github.com:Touchit/raphael into Touchit-fix-touch-events
* 'fix-touch-events' of github.com:Touchit/raphael:
  Fix Touch events selection in dragMove method
  Fix Gruntfile to build in windows environment
  Fix Touch events on Firefox and Chrome

Conflicts:
	raphael-min.js
	raphael.js
2013-06-22 23:36:47 -03:00
Tomas Alabes aad6517fa4 Updating files from latest merge 2013-06-22 19:19:14 -03:00
Tomas Alabes df2dffe152 Fix Wrong position after scale path in IE. By @sarvaje 2013-06-17 19:14:10 -03:00
Touch it c5ffca371e Fix Touch events selection in dragMove method
Help make drag methods works for both touch and mouse events.
2013-06-11 17:52:16 +02:00
Touch it f6ec7e8ebd Fix Gruntfile to build in windows environment 2013-06-03 02:06:05 +02:00
Tomas Alabes a96fd3b222 isPointInside incorrectly caches the path used to calculate its value. By @lvanderbijl 2013-06-02 17:07:19 -03:00
Tomas Alabes ad15a1c9b0 Raphael.path2curve does not honor original shape. By @timo22345 2013-06-02 16:11:17 -03:00
Tomas Alabes 5ae208676c IsPointInside fix for transformed paths 2013-06-02 14:50:59 -03:00
Touch it 447f6cfe9f Fix Touch events on Firefox and Chrome
Fix Touch events by subscribing to both mouse and touch events when
available.
Navigators fires only touch or mouse event so no performance
degradation.
2013-06-01 03:21:45 +02:00
Tomas Alabes e5048b7f81 Reverting erroneous fix 2013-05-20 20:38:33 -03:00
Tomas Alabes 2cd46661e5 Blur returning this. By @i-arindam 2013-05-19 19:16:13 -03:00
Tomas Alabes 95ebe5a23b Allows Element.data() to be called with 0 params to get all associated data. By @AdamTReineke 2013-05-19 19:13:02 -03:00
Tomas Alabes 5423c26bf8 Fixed transform animation bug, @jroper 2013-05-19 19:10:59 -03:00
Tomas Alabes b6cc7248ac set.isPoint inside method and vml fix 2013-05-19 18:46:07 -03:00
Timmy Willison a9c46aaf57 Use a custom build task in grunt to build raphael in a way that creates a valid anonymous module for AMD definition.
- Also pulls in the version from package.json to create the banner from copy.js (so the version can be set in one place)
- Conforms Gruntfile to most common tabs and spacing of other files
- grunt-cli should not be included in devDependencies (it is only ever installed globally)
2013-05-04 17:25:48 -04:00
Tomas Alabes a79f8ec2fd Merge pull request #722 from tomasAlabes/master
Added to the documentation of the un* functions the #optional keyword.
2013-05-04 11:13:04 -07:00
Tomas Alabes 5f991e4ecb Added updated documentation for unbind functions 2013-05-04 15:11:18 -03:00
Tomas Alabes 1c6f3a3679 Merge pull request #721 from tomasAlabes/master
Possibility to unbind all event handlers at once
2013-05-04 11:06:19 -07:00
Tomas Alabes be440bfee6 Possibility to unbind all event handlers at once 2013-05-04 15:03:51 -03:00
Tomas Alabes c78b3ad988 Merge pull request #709 from gitpullgravity/master
Tiny bug, using 'Raphael' instead of 'R'
2013-05-03 20:22:14 -07:00
Tomas Alabes c08125b190 Added line spacing 2013-05-04 00:03:53 -03:00
Tomas Alabes f6380efe61 Correcting window reference 2013-04-28 21:44:49 -03:00
Tomas Alabes ad5bf88893 Updating touch test for mobile devices 2013-04-28 21:19:26 -03:00
Michael Silveira 1db9be576d Tiny fix to get arrow-heads working again 2013-04-02 10:35:51 -07:00
Timmy Willison ad401490c3 We can assume require's presence if define is present. Minor style adjustments. 2013-03-25 18:11:04 -04:00
Timmy Willison 035a938d31 Added recommended UMD syntax to raphael for AMD support. Fixes gh-407.
Related: https://github.com/umdjs/umd
2013-03-25 17:57:01 -04:00
Tomas Alabes 2dd068a94c Adding center property to bounding box 2013-03-12 21:00:36 -03:00
Tomas Alabes 4f5fe86450 Wrong string comparison in print function 2013-03-09 11:10:48 -03:00
Tomas Alabes 2929bfdf6c Corrected typos of documentation 2013-02-17 19:41:36 -03:00
Tomas Alabes 1fe18b9e76 undrag fix of drag array 2013-02-16 00:53:42 -03:00
Tomas Alabes 91ea94b8c2 getElementsByBBox function added 2013-02-16 00:49:37 -03:00
Tomas Alabes bdfe043506 Fixed error when Raphael undefined 2013-02-16 00:38:16 -03:00