Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump version to 0.0.5.

  • Loading branch information...
commit 654bce8af9784b68538d5a72c6807fddbc681ea8 1 parent b073681
@ngryman authored
View
3  README.md
@@ -47,6 +47,9 @@ _(Coming soon)_
## Release History
+### v0.0.5
+ - updated jquery manifest and published on http://plugins.jquery.com.
+
### v0.0.4
- added `drag` and `flick` gestures.
- enhanced `event` object.
View
2  dist/jquery.finger.js
@@ -1,4 +1,4 @@
-/*! jquery.finger - v0.0.4 - 2013-02-23
+/*! jquery.finger - v0.0.5 - 2013-02-25
* https://github.com/ngryman/jquery.finger
* Copyright (c) 2013 Nicolas Gryman; Licensed MIT */
View
2  dist/jquery.finger.min.js
@@ -1,4 +1,4 @@
-/*! jquery.finger - v0.0.4 - 2013-02-23
+/*! jquery.finger - v0.0.5 - 2013-02-25
* https://github.com/ngryman/jquery.finger
* Copyright (c) 2013 Nicolas Gryman; Licensed MIT */
(function(e){function t(t){return e._data(t,"events").finger}function n(e,t,n){return 3!=arguments.length?e?e[t]:void 0:(e&&(e[t]=n),void 0)}function a(t,n,a){e.event[t](n,v,r,null,a.selector),e.event[t](n,u,i,null,a.selector),e.event[t](n,s,d,null,a.selector)}function o(t,n,a){if(a[t]&&!a[t].canceled){e.extend(n,a.move);var o=a[t].handlers;for(var r in o)e.isFunction(o[r])&&o[r].call(n.currentTarget,n)}}function r(n){var a=t(n.delegateTarget);a.move={x:n.pageX,y:n.pageY},a.start=e.extend({time:n.timeStamp},a.move)}function i(a){var r=t(a.delegateTarget);r.start&&(r.move.x=a.pageX,r.move.y=a.pageY,r.move.dx=a.pageX-r.start.x,r.move.dy=a.pageY-r.start.y,r.move.adx=Math.abs(r.move.dx),r.move.ady=Math.abs(r.move.dy),r.move.adx<e.Finger.motionThreshold&&r.move.ady<e.Finger.motionThreshold||(r.move.orientation||(r.move.adx>r.move.ady?(r.move.orientation="horizontal",r.move.direction=r.move.dx>0?1:-1):(r.move.orientation="vertical",r.move.direction=r.move.dy>0?1:-1)),o("drag",a,r),n(r.tap,"canceled",!0),n(r.press,"canceled",!0)))}function d(a){var r,i=t(a.delegateTarget),d=a.timeStamp;r=d-i.start.time<e.Finger.pressDuration?"tap":"press","tap"==r&&i.doubletap&&(d-i.doubletap.prev<e.Finger.doubleTapInterval?r="doubletap":i.doubletap.prev=d),o(r,a,i),r=d-i.start.time<e.Finger.flickDuration?"flick":"drag",o(r,a,i),i.start=null,n(i.tap,"canceled",!1),n(i.press,"canceled",!1)}var l="ontouchstart"in window,v=l?"touchstart":"mousedown",s=l?"touchend touchcancel":"mouseup",u=l?"touchmove":"mousemove";e.Finger={pressDuration:300,doubleTapInterval:300,flickDuration:150,motionThreshold:5};var c={add:function(t){var n=e._data(this,"events");n.finger=n.finger||{};var o=n.finger;o.refCount||(a("add",this,t),o.refCount=0),o.refCount++,o[t.type]=o[t.type]||{handlers:[]},o[t.type].handlers[t.handler.guid]=t.handler},remove:function(t){var n=e._data(this,"events"),o=n.finger;return o.refCount--,0===o.refCount?(a("remove",this,t),n.finger=null,void 0):(o[t.type].handlers[t.handler.guid]=null,void 0)}};e.event.special.tap=c,e.event.special.press=c,e.event.special.doubletap=c,e.event.special.drag=c,e.event.special.flick=c})(jQuery);
View
4 finger.jquery.json
@@ -1,8 +1,8 @@
{
"name": "finger",
"title": "jQuery Finger",
- "description": "jQuery touch gestures, fingers in the nose.",
- "version": "0.1.0",
+ "description": "jQuery touch & gestures, fingers in the nose.",
+ "version": "0.0.5",
"homepage": "https://github.com/ngryman/jquery.finger",
"bugs": "https://github.com/ngryman/jquery.finger/issues",
"author": {
View
64 package.json
@@ -1,34 +1,34 @@
{
- "name": "jquery.finger",
- "version": "0.0.4",
- "author": {
- "name": "Nicolas Gryman",
- "email": "ngryman@gmail.com"
- },
- "license": "MIT",
- "homepage": "https://github.com/ngryman/jquery.finger",
- "repository": {
- "type": "git",
- "url": "https://github.com/ngryman/jquery.finger.git"
- },
- "bugs": {
- "url": "https://github.com/ngryman/jquery.finger/issues",
- "email": "ngryman@gmail.com"
- },
- "engines": {
- "node": ">= 0.8.14"
- },
- "scripts": {
- "preinstall": "npm i -g grunt-cli",
- "test": "grunt mocha"
- },
- "devDependencies": {
- "grunt": "~0.4.0rc8",
- "grunt-contrib-jshint": "~0.1.1",
- "grunt-contrib-concat": "~0.1.2",
- "grunt-contrib-uglify": "~0.1.1rc6",
- "grunt-contrib-watch": "~0.2.0",
- "grunt-contrib-connect": "~0.1.2",
- "grunt-mocha": "~0.2.2"
- }
+ "name": "jquery.finger",
+ "version": "0.0.5",
+ "author": {
+ "name": "Nicolas Gryman",
+ "email": "ngryman@gmail.com"
+ },
+ "license": "MIT",
+ "homepage": "https://github.com/ngryman/jquery.finger",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/ngryman/jquery.finger.git"
+ },
+ "bugs": {
+ "url": "https://github.com/ngryman/jquery.finger/issues",
+ "email": "ngryman@gmail.com"
+ },
+ "engines": {
+ "node": ">= 0.8.14"
+ },
+ "scripts": {
+ "preinstall": "npm i -g grunt-cli",
+ "test": "grunt mocha"
+ },
+ "devDependencies": {
+ "grunt": "~0.4.0rc8",
+ "grunt-contrib-jshint": "~0.1.1",
+ "grunt-contrib-concat": "~0.1.2",
+ "grunt-contrib-uglify": "~0.1.1rc6",
+ "grunt-contrib-watch": "~0.2.0",
+ "grunt-contrib-connect": "~0.1.2",
+ "grunt-mocha": "~0.2.2"
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.