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
- MDk3ZWIxYTcyM2Q5ODkzOTdkMDM3N2Q1MTdmZTI3ZDA3MWUxMjc4YQ==
4
+ YTg1MTYwNzMyYTY5M2U1YjJjZjhkZjJhOTA5MzNmYzc3MGU1YjMxOA==
5
5
  data.tar.gz: !binary |-
6
- MGU4ODA4NTUxYjBmNTIwNDcyNWU0MjM1YmM1Mzk2YTU3ZTFjZWNmNw==
6
+ N2YyZWFlYzBiZWVkZWZlMDExYzRjMDdlNTZlM2U5YTI3NDAwMWUxMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjJmYTMzM2U5M2M4OTM0NzQxYWE1ZjcyMTYzMDgzZTNkYTFkMjQzOWIxZTVl
10
- Zjg2MDIyNDRmOTYzNmE4MGM0MTVhNzI4ZTBlM2YzNjkxM2I3Yzk5MTQ0ZGQw
11
- MmFkNDJkOWJmNWVlOGY5NWVmYmM0N2RjMDg5ZTA2NTQ2MzE0NGQ=
9
+ ZTkyZjNhNzlhZWZlMGRlZWQ0NTFiNTJkNzZiODY4ZmI5MWUyMWY3YjEzMTYy
10
+ ZTFkZjc3YzdjYjRlNGFiZDdhYmQ5OGUxNWM1MTBiMzgwZGUzZDNhMmYyZGNh
11
+ NWUyYzIxZDIwZmU0NTRhYzMzODQwZDljYzBkYjYyNzQzMjI3MGU=
12
12
  data.tar.gz: !binary |-
13
- YWYzMWUyODhhNDY2M2FhYTg2NTdjZGU5OTUwMmE3ZTRkYjU5YzE3MDg1Njgz
14
- NjMwYTZlYmY1YTU5OTgxODQ0M2NkNGU0YmY2NmNiMzI0Mjg3OGM4NDZkOWYx
15
- YzBmNTljNmUzOTEyZTJjYzFhZjhhZjkyYzI5YWFlN2FkMjI4N2U=
13
+ Yjc3NDVmMTIzZmVkMDA2Y2Y0ZDliMjRiYjFlODEwYzRhZDRhN2YxOTljYjBi
14
+ YzMwZjBiYThiMGY0YzYxZTMwNjFiZTY3ZGEzZmIzYWNjNmNjMzhiZTllYTlk
15
+ OWRmZjNmNGQyOTM0NDZmNzZjOTcyOGY1MTc5Yzg1NzNmNmRmZjA=
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Benignware
3
3
  module Rails
4
- VERSION = "0.0.10"
4
+ VERSION = "0.0.11"
5
5
  end
6
6
  end
7
7
  end
@@ -8,8 +8,6 @@
8
8
 
9
9
  var pluginName = 'touchclick';
10
10
 
11
- console.log('init touchclick v0.0.9');
12
-
13
11
  var defaults = {
14
12
  draggingTimeout: 100,
15
13
  scrollingTimeout: 750,
@@ -1,2 +1,2 @@
1
1
 
2
- +function(f,c){c.console=c.console||{log:function(){},info:function(){}};var e="touchclick";console.log("init touchclick v0.0.9");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);
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);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-benignware-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - rexblack