Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bumped deps, regenerated minified version

  • Loading branch information...
commit 2662df21bb024fbb4b3a41e93ef0d18d57f8042c 1 parent af6865f
Pavel Pravosud rwz authored
Showing with 6 additions and 6 deletions.
  1. +4 −4 Gemfile.lock
  2. +1 −1  lib/jquery.role.min.js
  3. +1 −1  lib/role.min.js
8 Gemfile.lock
View
@@ -1,13 +1,13 @@
GEM
remote: http://rubygems.org/
specs:
- execjs (1.3.0)
+ execjs (1.4.0)
multi_json (~> 1.0)
- multi_json (1.3.2)
+ multi_json (1.3.6)
rake (0.9.2.2)
- uglifier (1.2.4)
+ uglifier (1.2.7)
execjs (>= 0.3.0)
- multi_json (>= 1.0.2)
+ multi_json (~> 1.3)
PLATFORMS
ruby
2  lib/jquery.role.min.js
View
@@ -1 +1 @@
-!function(a){function b(b,c,d){var e=b[c];if(!e)return;b[c]=function(){return arguments[d]=arguments[d].replace(/@([\w\u00c0-\uFFFF\-]+)/g,'[role~="$1"]'),e.apply(b,arguments)},a.extend(b[c],e)}function c(b,c){var d,e=[],f=a.trim(b).split(/\s+/);for(var g=0;g<f.length;g++)d=f[g],!~a.inArray(d,e)&&(!c||!~a.inArray(d,c))&&e.push(d);return e}b(a,"find",0),b(a,"multiFilter",0),b(a.find,"matchesSelector",1),b(a.find,"matches",0),a.extend(a.fn,{roles:function(){return c(this.attr("role"))},hasRole:function(a){var b=c(a);for(var d=0;d<b.length;d++)if(!this.is("@"+b[d]))return!1;return!0},addRole:function(b){return this.hasRole(b)?this:this.each(function(d,e){var f=a(e);f.attr("role",c(f.attr("role")+" "+b).join(" "))})},removeRole:function(b){return this.hasRole(b)?this.each(function(d,e){var f=a(e);f.attr("role",c(f.attr("role"),c(b)).join(" "))}):this},toggleRole:function(a){var b=c(a);for(var d=0;d<b.length;d++)this[this.hasRole(b[d])?"removeRole":"addRole"].call(this,b[d]);return this}})}(jQuery);
+!function(e){function t(t,n,r){var i=t[n];if(!i)return;t[n]=function(){return arguments[r]=arguments[r].replace(/@([\w\u00c0-\uFFFF\-]+)/g,'[role~="$1"]'),i.apply(t,arguments)},e.extend(t[n],i)}function n(t,n){var r,i=[],s=e.trim(t).split(/\s+/);for(var o=0;o<s.length;o++)r=s[o],!~e.inArray(r,i)&&(!n||!~e.inArray(r,n))&&i.push(r);return i}t(e,"find",0),t(e,"multiFilter",0),t(e.find,"matchesSelector",1),t(e.find,"matches",0),e.extend(e.fn,{roles:function(){return n(this.attr("role"))},hasRole:function(e){var t=n(e);for(var r=0;r<t.length;r++)if(!this.is("@"+t[r]))return!1;return!0},addRole:function(t){return this.hasRole(t)?this:this.each(function(r,i){var s=e(i);s.attr("role",n(s.attr("role")+" "+t).join(" "))})},removeRole:function(t){return this.hasRole(t)?this.each(function(r,i){var s=e(i);s.attr("role",n(s.attr("role"),n(t)).join(" "))}):this},toggleRole:function(e){var t=n(e);for(var r=0;r<t.length;r++)this[this.hasRole(t[r])?"removeRole":"addRole"].call(this,t[r]);return this}})}(jQuery);
2  lib/role.min.js
View
@@ -1 +1 @@
-!function(a,b){function c(a,b){var c;a&&(c=a.prototype[b])&&(a.prototype[b]=function(){return arguments[0]=arguments[0].replace(/@([\w\u00c0-\uFFFF\-]+)/g,'[role~="$1"]'),c.apply(this,arguments)})}function d(a){for(var d=0;d<b.length;d++)c(a,b[d])}d(a.Element),d(a.Document)}(this,["querySelector","querySelectorAll"]);
+!function(e,t){function n(e,t){var n;e&&(n=e.prototype[t])&&(e.prototype[t]=function(){return arguments[0]=arguments[0].replace(/@([\w\u00c0-\uFFFF\-]+)/g,'[role~="$1"]'),n.apply(this,arguments)})}function r(e){for(var r=0;r<t.length;r++)n(e,t[r])}r(e.Element),r(e.Document)}(this,["querySelector","querySelectorAll"]);
Please sign in to comment.
Something went wrong with that request. Please try again.