Commit Graph

302 Commits

Author SHA1 Message Date
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
Dmitry Baranovskiy 054a763f4d Tweaks to previous merge 2013-06-21 20:09:26 +10:00
Dmitry Baranovskiy b1c607971d Merge pull request #742 from unel/master
It needs some tweaking, I will fix it.
2013-06-21 03:00:03 -07:00
unel a2edf84f77 getPath (and method that use) now working with simple elements like
"Circle"
2013-06-21 13:41:25 +04: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
Tomas Alabes affa2df6d4 Dev test html 2013-05-19 18:46:07 -03:00
Tomas Alabes 48b1a9afcf Merge pull request #728 from tomasAlabes/master
Link to new Raphael-boilerplate repo (load raphael globally, with AMD, or HTML5 boilerplate.)
2013-05-11 11:15:21 -07:00
Tomas Alabes b9cf4043c8 README updated 2013-05-11 15:13:16 -03:00
Tomas Alabes 490ea360b9 Merge pull request #724 from timmywil/grunt_modules
Build Raphael as a compatible anonymous module for AMD using Grunt
2013-05-07 06:21:39 -07: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
John-Philip Johansson 5a23713f86 Replaced custom make with Grunt build system. Closes gh-717. 2013-05-04 16:10:35 -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 1454505167 Merge pull request #719 from tomasAlabes/master
Line spacing added to Paper.print
2013-05-03 20:05:47 -07:00
Tomas Alabes c08125b190 Added line spacing 2013-05-04 00:03:53 -03:00
Tomas Alabes 4812c47a51 Merge pull request #716 from tomasAlabes/master
Updating touch test for mobile devices
2013-05-03 19:28:23 -07: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
Dmitry Baranovskiy e0b94fdc04 Merge pull request #704 from quickcue/modules
Fix gh-407: added recommended UMD syntax to raphael for AMD support.
2013-03-25 15:53:59 -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 c3ed3740a7 Merge pull request #697 from tomasAlabes/non-amd
Fixing minified conflict version
2013-03-13 05:21:17 -07:00
Tomas Alabes c093aa3b4d Fixing minified conflict version 2013-03-13 09:19:28 -03:00
Tomas Alabes 306da86591 Merge pull request #695 from tomasAlabes/bbox
Adding center property to bounding box
2013-03-12 17:09:51 -07:00
Tomas Alabes 2dd068a94c Adding center property to bounding box 2013-03-12 21:00:36 -03:00
Tomas Alabes 4acd8fe47d Merge pull request #692 from tomasAlabes/stringBug
Wrong string comparison in print function
2013-03-12 14:18:11 -07:00
Tomas Alabes 4f5fe86450 Wrong string comparison in print function 2013-03-09 11:10:48 -03:00
Dmitry Baranovskiy fa6ea627a7 Fixes to merged pull requests 2013-02-18 10:31:14 +11: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 b1e781d661 Typos un reference 2013-02-16 00:38:16 -03:00
Tomas Alabes bdfe043506 Fixed error when Raphael undefined 2013-02-16 00:38:16 -03:00