jquery-benignware-rails 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTg1MTYwNzMyYTY5M2U1YjJjZjhkZjJhOTA5MzNmYzc3MGU1YjMxOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2YyZWFlYzBiZWVkZWZlMDExYzRjMDdlNTZlM2U5YTI3NDAwMWUxMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTkyZjNhNzlhZWZlMGRlZWQ0NTFiNTJkNzZiODY4ZmI5MWUyMWY3YjEzMTYy
|
10
|
+
ZTFkZjc3YzdjYjRlNGFiZDdhYmQ5OGUxNWM1MTBiMzgwZGUzZDNhMmYyZGNh
|
11
|
+
NWUyYzIxZDIwZmU0NTRhYzMzODQwZDljYzBkYjYyNzQzMjI3MGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Yjc3NDVmMTIzZmVkMDA2Y2Y0ZDliMjRiYjFlODEwYzRhZDRhN2YxOTljYjBi
|
14
|
+
YzMwZjBiYThiMGY0YzYxZTMwNjFiZTY3ZGEzZmIzYWNjNmNjMzhiZTllYTlk
|
15
|
+
OWRmZjNmNGQyOTM0NDZmNzZjOTcyOGY1MTc5Yzg1NzNmNmRmZjA=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
+function(f,c){c.console=c.console||{log:function(){},info:function(){}};var e="touchclick";
|
2
|
+
+function(f,c){c.console=c.console||{log:function(){},info:function(){}};var e="touchclick";var g={draggingTimeout:100,scrollingTimeout:750,preventClickTimeout:500};function b(h){while(h&&h.nodeType==1){if(h.nodeName.toLowerCase()=="body"||h.nodeName.toLowerCase()=="html"){break}var i=f(h).css("overflow");if(i=="auto"||i=="scroll"){return h}h=h.parentNode}return c}var a=function d(m,v){var h=this;var u=f(m);var j=f(c);var t=false;var s=null;var q=false;var k=null;var r=null;var n=false;var p=null;var o=null;u.bind("touchstart",function(w){p=null;r=b(w.target);if(r){var x={x:r.scrollLeft,y:r.scrollTop};p=x}c.clearTimeout(s);c.clearTimeout(o);t=false;n=false;k=w.target;f(w.target).unbind("scroll",i);if(r&&(r.scrollHeight>0||r.scrollWidth>0)){f(r).bind("scroll",i)}f(w.target).unbind("click",l)});u.bind("touchmove",function(w){t=true;if(r){var x={x:r.scrollLeft,y:r.scrollTop};if(p){if(p.x!=x.x||p.y!=x.y){n=true}}}});function l(w,x){if(!x){w.stopImmediatePropagation();f(this).unbind("click",l)}else{c.setTimeout(function(){if(x&&!w.isDefaultPrevented()){var y=f(w.target).is("a[href]")?w.target:f(w.target).parents("a[href]")[0];if(y&&y.href){c.location.href=y.href}}},1)}}u.bind("touchend",function(y){f(y.target).unbind("click",l);if(!n&&!t&&y.target==k){f(y.target).bind("click",l);var x=jQuery._data(y.target).events;if(x&&x.click&&x.click.length>1){var w=x.click;w.splice(0,0,w.pop())}f(y.target).trigger({type:"click",bubbles:true},[true]);f(y.target).focus();y.preventDefault();y.stopImmediatePropagation()}c.clearTimeout(s);s=c.setTimeout(function(){t=false},v.draggingTimeout)});function i(w){n=true;c.clearTimeout(s);s=c.setTimeout(function(){n=false;f(this).unbind("scroll",i)},v.scrollingTimeout)}};f.fn[e]=function(h){h=f.extend({},g,h);return this.each(function(){if(!f(this).data(e)){f(this).data(e,new a(this,h))}return f(this)})}}(jQuery,window);
|