From 36db7a6be085cf1fdd3d13cf9ed1f5373e14fd27 Mon Sep 17 00:00:00 2001 From: Dave Coates Date: Tue, 31 Dec 2013 10:04:14 +1100 Subject: [PATCH 1/9] Create index.html --- index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..c803826 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Sortable From 9ad11a74097a54a17fdf9072c25d130b504e0bff Mon Sep 17 00:00:00 2001 From: Dave Coates Date: Tue, 31 Dec 2013 10:18:36 +1100 Subject: [PATCH 2/9] Update index.html --- index.html | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index c803826..bd23fad 100644 --- a/index.html +++ b/index.html @@ -1 +1,84 @@ -Sortable + + + + + + + + + + + + + + + + + + + + + + + - + From 853588d2805df88e308cb4552c40863f9d1a476b Mon Sep 17 00:00:00 2001 From: dcoates Date: Tue, 31 Dec 2013 14:38:37 +1100 Subject: [PATCH 7/9] Update index.html --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 6f51787..d08c246 100644 --- a/index.html +++ b/index.html @@ -94,6 +94,7 @@

Data

+ From 23208ac3e3df5d9c5ff1752c217b92f3dc2a66bd Mon Sep 17 00:00:00 2001 From: dcoates Date: Tue, 31 Dec 2013 15:17:46 +1100 Subject: [PATCH 8/9] Add touch support --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index d08c246..4a7bda4 100644 --- a/index.html +++ b/index.html @@ -95,6 +95,7 @@

Data

+ From e3ff923023b28eecd8fffd78185b70f0314739f6 Mon Sep 17 00:00:00 2001 From: dcoates Date: Tue, 31 Dec 2013 15:21:11 +1100 Subject: [PATCH 9/9] Add touch punch --- jquery.ui.touch-punch.min.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 jquery.ui.touch-punch.min.js diff --git a/jquery.ui.touch-punch.min.js b/jquery.ui.touch-punch.min.js new file mode 100644 index 0000000..33d6f97 --- /dev/null +++ b/jquery.ui.touch-punch.min.js @@ -0,0 +1,11 @@ +/* + * jQuery UI Touch Punch 0.2.2 + * + * Copyright 2011, Dave Furfero + * Dual licensed under the MIT or GPL Version 2 licenses. + * + * Depends: + * jquery.ui.widget.js + * jquery.ui.mouse.js + */ +(function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery); \ No newline at end of file