Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updating download lib refs

  • Loading branch information...
commit a12f38273a80d51cc0f310f8d2504002e8e9cef8 1 parent 462302f
Fil Maj filmaj authored
39 public/downloads/xui-2.3.0.js → public/downloads/xui-2.3.1.js
@@ -840,7 +840,6 @@ xui.touch = (function () {
840 840 xui.ready(function() {
841 841 console.log('ready, set, go!');
842 842 });
843   -
844 843 */
845 844 xui.ready = function(handler) {
846 845 domReady(handler);
@@ -1062,8 +1061,8 @@ xui.extend({
1062 1061 }
1063 1062 if (callback === undefined) {
1064 1063 var styles = [];
1065   - this.each(function(el) {styles.push(s(el, prop))});
1066   - return styles;
  1064 + this.each(function(el) {styles.push(s(el, prop))});
  1065 + return styles;
1067 1066 } else return this.each(function(el) { callback(s(el, prop)); });
1068 1067 },
1069 1068
@@ -1086,10 +1085,13 @@ xui.extend({
1086 1085 x$('.foo').addClass('awesome');
1087 1086 */
1088 1087 addClass: function(className) {
  1088 + var cs = className.split(' ');
1089 1089 return this.each(function(el) {
1090   - if (hasClass(el, className) === false) {
1091   - el.className = trim(el.className + ' ' + className);
1092   - }
  1090 + cs.forEach(function(clazz) {
  1091 + if (hasClass(el, clazz) === false) {
  1092 + el.className = trim(el.className + ' ' + clazz);
  1093 + }
  1094 + });
1093 1095 });
1094 1096 },
1095 1097
@@ -1131,13 +1133,16 @@ xui.extend({
1131 1133 x$('div').hasClass('foo');
1132 1134 */
1133 1135 hasClass: function(className, callback) {
1134   - var self = this;
  1136 + var self = this,
  1137 + cs = className.split(' ');
1135 1138 return this.length && (function() {
1136 1139 var hasIt = true;
1137 1140 self.each(function(el) {
1138   - if (hasClass(el, className)) {
  1141 + cs.forEach(function(clazz) {
  1142 + if (hasClass(el, clazz)) {
1139 1143 if (callback) callback(el);
1140 1144 } else hasIt = false;
  1145 + });
1141 1146 });
1142 1147 return hasIt;
1143 1148 })();
@@ -1163,7 +1168,14 @@ xui.extend({
1163 1168 */
1164 1169 removeClass: function(className) {
1165 1170 if (className === undefined) this.each(function(el) { el.className = ''; });
1166   - else this.each(function(el) { el.className = trim(el.className.replace(getClassRegEx(className), '$1')); });
  1171 + else {
  1172 + var cs = className.split(' ');
  1173 + this.each(function(el) {
  1174 + cs.forEach(function(clazz) {
  1175 + el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
  1176 + });
  1177 + });
  1178 + }
1167 1179 return this;
1168 1180 },
1169 1181
@@ -1187,9 +1199,12 @@ xui.extend({
1187 1199 x$('.foo').toggleClass('awesome'); // div above loses its awesome class.
1188 1200 */
1189 1201 toggleClass: function(className) {
  1202 + var cs = className.split(' ');
1190 1203 return this.each(function(el) {
1191   - if (hasClass(el, className)) el.className = trim(el.className.replace(getClassRegEx(className), '$1'));
1192   - else el.className = trim(el.className + ' ' + className);
  1204 + cs.forEach(function(clazz) {
  1205 + if (hasClass(el, clazz)) el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
  1206 + else el.className = trim(el.className + ' ' + clazz);
  1207 + });
1193 1208 });
1194 1209 },
1195 1210
@@ -1246,7 +1261,7 @@ xui.extend({
1246 1261 xhr
1247 1262 ---
1248 1263
1249   - The classic `XMLHttpRequest` sometimes also known as the Greek God: _Ajax_. Not to be confused with _AJAX_ the cleaning agent.
  1264 + The classic `XMLHttpRequest` sometimes also known as the Greek hero: _Ajax_. Not to be confused with _AJAX_ the cleaning agent.
1250 1265
1251 1266 ### detail ###
1252 1267
11 public/downloads/xui-2.3.0.min.js → public/downloads/xui-2.3.1.min.js
@@ -11,11 +11,12 @@ function(b){return function(c){return this.html(b,c)}}(a)});i.events={};var u={}
11 11 for(var h in u[d])return;delete u[d]})},fire:function(a,b){return this.each(function(c){if(c==n&&!c.dispatchEvent)c=n.documentElement;var d=n.createEvent("HTMLEvents");d.initEvent(a,true,true);d.data=b||{};d.eventName=a;c.dispatchEvent(d)})}});"click load submit touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend orientationchange".split(" ").forEach(function(a){i.fn[a]=function(b){return function(c){return c?this.on(b,c):this.fire(b)}}(a)});i(l).on("load",function(){"onorientationchange"in
12 12 n.body||function(a,b){i(l).on("resize",function(){var c=l.innerWidth<a&&l.innerHeight>b&&l.innerWidth<l.innerHeight,d=l.innerWidth>a&&l.innerHeight<b&&l.innerWidth>l.innerHeight;if(c||d){l.orientation=c?0:90;i("body").fire("orientationchange");a=l.innerWidth;b=l.innerHeight}})}(l.innerWidth,l.innerHeight)});i.touch=function(){try{return!!n.createEvent("TouchEvent").initTouchEvent}catch(a){return false}}();i.ready=function(a){domReady(a)};v.id=1;i.extend({tween:function(a,b){var c=function(){var f=
13 13 {};"duration after easing".split(" ").forEach(function(e){if(a[e]){f[e]=a[e];delete a[e]}});return f}(a),d=function(f){var e=[],h;if(typeof f!=z){for(h in f)e.push(E(h)+":"+f[h]);e=e.join(";")}else e=f;return e}(a);return this.each(function(f){emile(f,d,c,b)})}});var Q=/^(\s|\u00A0)+|(\s|\u00A0)+$/g;i.extend({setStyle:function(a,b){a=K(a);return this.each(function(c){c.style[a]=b})},getStyle:function(a,b){var c=function(f,e){return n.defaultView.getComputedStyle(f,"").getPropertyValue(E(e))};if(b===
14   -w){var d=[];this.each(function(f){d.push(c(f,a))});return d}else return this.each(function(f){b(c(f,a))})},addClass:function(a){return this.each(function(b){if(C(b,a)===false)b.className=A(b.className+" "+a)})},hasClass:function(a,b){var c=this;return this.length&&function(){var d=true;c.each(function(f){if(C(f,a))b&&b(f);else d=false});return d}()},removeClass:function(a){a===w?this.each(function(b){b.className=""}):this.each(function(b){b.className=A(b.className.replace(D(a),"$1"))});return this},
15   -toggleClass:function(a){return this.each(function(b){b.className=C(b,a)?A(b.className.replace(D(a),"$1")):A(b.className+" "+a)})},css:function(a){for(var b in a)this.setStyle(b,a[b]);return this}});var F={},D=function(a){var b=F[a];if(!b){b=new RegExp("(^|\\s+)"+a+"(?:\\s+|$)");F[a]=b}return b};i.extend({xhr:function(a,b,c){function d(){if(h.readyState==4){delete e.xmlHttpRequest;if(h.status===0||h.status==200)h.handleResp();/^[45]/.test(h.status)&&h.handleError()}}if(!/^(inner|outer|top|bottom|before|after)$/.test(a)){c=
16   -b;b=a;a="inner"}var f=c?c:{};if(typeof c=="function"){f={};f.callback=c}var e=this,h=new XMLHttpRequest;c=f.method||"get";var k=typeof f.async!="undefined"?f.async:true,r=f.data||null,g;h.queryString=r;h.open(c,b,k);h.setRequestHeader("X-Requested-With","XMLHttpRequest");c.toLowerCase()=="post"&&h.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(g in f.headers)f.headers.hasOwnProperty(g)&&h.setRequestHeader(g,f.headers[g]);h.handleResp=f.callback!=null?f.callback:function(){e.html(a,
17   -h.responseText)};h.handleError=f.error&&typeof f.error=="function"?f.error:function(){};if(k){h.onreadystatechange=d;this.xmlHttpRequest=h}h.send(r);k||d();return this}});(function(a,b){function c(g,o,m){return(g+(o-g)*m).toFixed(3)}function d(g,o,m){return g.substr(o,m||1)}function f(g,o,m){for(var q=2,p,j,t=[],x=[];p=3,j=arguments[q-1],q--;)if(d(j,0)=="r")for(j=j.match(/\d+/g);p--;)t.push(~~j[p]);else{if(j.length==4)j="#"+d(j,1)+d(j,1)+d(j,2)+d(j,2)+d(j,3)+d(j,3);for(;p--;)t.push(parseInt(d(j,1+
18   -p*2,2),16))}for(;p--;){q=~~(t[p+3]+(t[p]-t[p+3])*m);x.push(q<0?0:q>255?255:q)}return"rgb("+x.join(",")+")"}function e(g){var o=parseFloat(g);g=g.replace(/^[\-\d\.]+/,"");return isNaN(o)?{v:g,f:f,u:""}:{v:o,f:c,u:g}}function h(g){var o={},m=r.length,q;k.innerHTML='<div style="'+g+'"></div>';for(g=k.childNodes[0].style;m--;)if(q=g[r[m]])o[r[m]]=e(q);return o}var k=n.createElement("div"),r="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
  14 +w){var d=[];this.each(function(f){d.push(c(f,a))});return d}else return this.each(function(f){b(c(f,a))})},addClass:function(a){var b=a.split(" ");return this.each(function(c){b.forEach(function(d){if(C(c,d)===false)c.className=A(c.className+" "+d)})})},hasClass:function(a,b){var c=this,d=a.split(" ");return this.length&&function(){var f=true;c.each(function(e){d.forEach(function(h){if(C(e,h))b&&b(e);else f=false})});return f}()},removeClass:function(a){if(a===w)this.each(function(c){c.className=
  15 +""});else{var b=a.split(" ");this.each(function(c){b.forEach(function(d){c.className=A(c.className.replace(D(d),"$1"))})})}return this},toggleClass:function(a){var b=a.split(" ");return this.each(function(c){b.forEach(function(d){c.className=C(c,d)?A(c.className.replace(D(d),"$1")):A(c.className+" "+d)})})},css:function(a){for(var b in a)this.setStyle(b,a[b]);return this}});var F={},D=function(a){var b=F[a];if(!b){b=new RegExp("(^|\\s+)"+a+"(?:\\s+|$)");F[a]=b}return b};i.extend({xhr:function(a,b,
  16 +c){function d(){if(h.readyState==4){delete e.xmlHttpRequest;if(h.status===0||h.status==200)h.handleResp();/^[45]/.test(h.status)&&h.handleError()}}if(!/^(inner|outer|top|bottom|before|after)$/.test(a)){c=b;b=a;a="inner"}var f=c?c:{};if(typeof c=="function"){f={};f.callback=c}var e=this,h=new XMLHttpRequest;c=f.method||"get";var k=typeof f.async!="undefined"?f.async:true,r=f.data||null,g;h.queryString=r;h.open(c,b,k);h.setRequestHeader("X-Requested-With","XMLHttpRequest");c.toLowerCase()=="post"&&
  17 +h.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(g in f.headers)f.headers.hasOwnProperty(g)&&h.setRequestHeader(g,f.headers[g]);h.handleResp=f.callback!=null?f.callback:function(){e.html(a,h.responseText)};h.handleError=f.error&&typeof f.error=="function"?f.error:function(){};if(k){h.onreadystatechange=d;this.xmlHttpRequest=h}h.send(r);k||d();return this}});(function(a,b){function c(g,o,m){return(g+(o-g)*m).toFixed(3)}function d(g,o,m){return g.substr(o,m||1)}function f(g,
  18 +o,m){for(var q=2,p,j,t=[],x=[];p=3,j=arguments[q-1],q--;)if(d(j,0)=="r")for(j=j.match(/\d+/g);p--;)t.push(~~j[p]);else{if(j.length==4)j="#"+d(j,1)+d(j,1)+d(j,2)+d(j,2)+d(j,3)+d(j,3);for(;p--;)t.push(parseInt(d(j,1+p*2,2),16))}for(;p--;){q=~~(t[p+3]+(t[p]-t[p+3])*m);x.push(q<0?0:q>255?255:q)}return"rgb("+x.join(",")+")"}function e(g){var o=parseFloat(g);g=g.replace(/^[\-\d\.]+/,"");return isNaN(o)?{v:g,f:f,u:""}:{v:o,f:c,u:g}}function h(g){var o={},m=r.length,q;k.innerHTML='<div style="'+g+'"></div>';
  19 +for(g=k.childNodes[0].style;m--;)if(q=g[r[m]])o[r[m]]=e(q);return o}var k=n.createElement("div"),r="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
19 20 b[a]=function(g,o,m,q){g=typeof g=="string"?n.getElementById(g):g;m=m||{};var p=h(o);o=g.currentStyle?g.currentStyle:getComputedStyle(g,null);var j,t={},x=+new Date,G=m.duration||200,H=x+G,I,U=m.easing||function(y){return-Math.cos(y*Math.PI)/2+0.5};for(j in p)t[j]=e(o[j]);I=setInterval(function(){var y=+new Date,V=y>H?1:(y-x)/G;for(j in p)g.style[j]=p[j].f(t[j].v,p[j].v,U(V))+p[j].u;if(y>H){clearInterval(I);m.after&&m.after();q&&setTimeout(q,1)}},10)}})("emile",this);(function(a,b){function c(g){for(r=
20 21 1;g=d.shift();)g()}var d=[],f,e,h=b.documentElement,k=h.doScroll,r=/^loade|c/.test(b.readyState);b.addEventListener&&b.addEventListener("DOMContentLoaded",e=function(){b.removeEventListener("DOMContentLoaded",e,false);c()},false);k&&b.attachEvent("onreadystatechange",f=function(){if(/^c/.test(b.readyState)){b.detachEvent("onreadystatechange",f);c()}});a.domReady=k?function(g){self!=top?r?g():d.push(g):function(){try{h.doScroll("left")}catch(o){return setTimeout(function(){a.domReady(g)},50)}g()}()}:
21 22 function(g){r?g():d.push(g)}})(this,n)})();
39 public/downloads/xui-bb-2.3.0.js → public/downloads/xui-bb-2.3.1.js
@@ -840,7 +840,6 @@ xui.touch = (function () {
840 840 xui.ready(function() {
841 841 console.log('ready, set, go!');
842 842 });
843   -
844 843 */
845 844 xui.ready = function(handler) {
846 845 domReady(handler);
@@ -1062,8 +1061,8 @@ xui.extend({
1062 1061 }
1063 1062 if (callback === undefined) {
1064 1063 var styles = [];
1065   - this.each(function(el) {styles.push(s(el, prop))});
1066   - return styles;
  1064 + this.each(function(el) {styles.push(s(el, prop))});
  1065 + return styles;
1067 1066 } else return this.each(function(el) { callback(s(el, prop)); });
1068 1067 },
1069 1068
@@ -1086,10 +1085,13 @@ xui.extend({
1086 1085 x$('.foo').addClass('awesome');
1087 1086 */
1088 1087 addClass: function(className) {
  1088 + var cs = className.split(' ');
1089 1089 return this.each(function(el) {
1090   - if (hasClass(el, className) === false) {
1091   - el.className = trim(el.className + ' ' + className);
1092   - }
  1090 + cs.forEach(function(clazz) {
  1091 + if (hasClass(el, clazz) === false) {
  1092 + el.className = trim(el.className + ' ' + clazz);
  1093 + }
  1094 + });
1093 1095 });
1094 1096 },
1095 1097
@@ -1131,13 +1133,16 @@ xui.extend({
1131 1133 x$('div').hasClass('foo');
1132 1134 */
1133 1135 hasClass: function(className, callback) {
1134   - var self = this;
  1136 + var self = this,
  1137 + cs = className.split(' ');
1135 1138 return this.length && (function() {
1136 1139 var hasIt = true;
1137 1140 self.each(function(el) {
1138   - if (hasClass(el, className)) {
  1141 + cs.forEach(function(clazz) {
  1142 + if (hasClass(el, clazz)) {
1139 1143 if (callback) callback(el);
1140 1144 } else hasIt = false;
  1145 + });
1141 1146 });
1142 1147 return hasIt;
1143 1148 })();
@@ -1163,7 +1168,14 @@ xui.extend({
1163 1168 */
1164 1169 removeClass: function(className) {
1165 1170 if (className === undefined) this.each(function(el) { el.className = ''; });
1166   - else this.each(function(el) { el.className = trim(el.className.replace(getClassRegEx(className), '$1')); });
  1171 + else {
  1172 + var cs = className.split(' ');
  1173 + this.each(function(el) {
  1174 + cs.forEach(function(clazz) {
  1175 + el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
  1176 + });
  1177 + });
  1178 + }
1167 1179 return this;
1168 1180 },
1169 1181
@@ -1187,9 +1199,12 @@ xui.extend({
1187 1199 x$('.foo').toggleClass('awesome'); // div above loses its awesome class.
1188 1200 */
1189 1201 toggleClass: function(className) {
  1202 + var cs = className.split(' ');
1190 1203 return this.each(function(el) {
1191   - if (hasClass(el, className)) el.className = trim(el.className.replace(getClassRegEx(className), '$1'));
1192   - else el.className = trim(el.className + ' ' + className);
  1204 + cs.forEach(function(clazz) {
  1205 + if (hasClass(el, clazz)) el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
  1206 + else el.className = trim(el.className + ' ' + clazz);
  1207 + });
1193 1208 });
1194 1209 },
1195 1210
@@ -1246,7 +1261,7 @@ xui.extend({
1246 1261 xhr
1247 1262 ---
1248 1263
1249   - The classic `XMLHttpRequest` sometimes also known as the Greek God: _Ajax_. Not to be confused with _AJAX_ the cleaning agent.
  1264 + The classic `XMLHttpRequest` sometimes also known as the Greek hero: _Ajax_. Not to be confused with _AJAX_ the cleaning agent.
1250 1265
1251 1266 ### detail ###
1252 1267
11 public/downloads/xui-bb-2.3.0.min.js → public/downloads/xui-bb-2.3.1.min.js
@@ -11,11 +11,12 @@ function(d){return function(g){return this.html(d,g)}}(c)});u.events={};var H={}
11 11 for(var r in H[h])return;delete H[h]})},fire:function(c,d){return this.each(function(g){if(g==t&&!g.dispatchEvent)g=t.documentElement;var h=t.createEvent("HTMLEvents");h.initEvent(c,true,true);h.data=d||{};h.eventName=c;g.dispatchEvent(h)})}});"click load submit touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend orientationchange".split(" ").forEach(function(c){u.fn[c]=function(d){return function(g){return g?this.on(d,g):this.fire(d)}}(c)});u(w).on("load",function(){"onorientationchange"in
12 12 t.body||function(c,d){u(w).on("resize",function(){var g=w.innerWidth<c&&w.innerHeight>d&&w.innerWidth<w.innerHeight,h=w.innerWidth>c&&w.innerHeight<d&&w.innerWidth>w.innerHeight;if(g||h){w.orientation=g?0:90;u("body").fire("orientationchange");c=w.innerWidth;d=w.innerHeight}})}(w.innerWidth,w.innerHeight)});u.touch=function(){try{return!!t.createEvent("TouchEvent").initTouchEvent}catch(c){return false}}();u.ready=function(c){domReady(c)};I.id=1;u.extend({tween:function(c,d){var g=function(){var l=
13 13 {};"duration after easing".split(" ").forEach(function(k){if(c[k]){l[k]=c[k];delete c[k]}});return l}(c),h=function(l){var k=[],r;if(typeof l!=L){for(r in l)k.push(R(r)+":"+l[r]);k=k.join(";")}else k=l;return k}(c);return this.each(function(l){emile(l,h,g,d)})}});var aa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g;u.extend({setStyle:function(c,d){c=V(c);return this.each(function(g){g.style[c]=d})},getStyle:function(c,d){var g=function(l,k){return t.defaultView.getComputedStyle(l,"").getPropertyValue(R(k))};if(d===
14   -E){var h=[];this.each(function(l){h.push(g(l,c))});return h}else return this.each(function(l){d(g(l,c))})},addClass:function(c){return this.each(function(d){if(P(d,c)===false)d.className=M(d.className+" "+c)})},hasClass:function(c,d){var g=this;return this.length&&function(){var h=true;g.each(function(l){if(P(l,c))d&&d(l);else h=false});return h}()},removeClass:function(c){c===E?this.each(function(d){d.className=""}):this.each(function(d){d.className=M(d.className.replace(Q(c),"$1"))});return this},
15   -toggleClass:function(c){return this.each(function(d){d.className=P(d,c)?M(d.className.replace(Q(c),"$1")):M(d.className+" "+c)})},css:function(c){for(var d in c)this.setStyle(d,c[d]);return this}});var S={},Q=function(c){var d=S[c];if(!d){d=new RegExp("(^|\\s+)"+c+"(?:\\s+|$)");S[c]=d}return d};u.extend({xhr:function(c,d,g){function h(){if(r.readyState==4){delete k.xmlHttpRequest;if(r.status===0||r.status==200)r.handleResp();/^[45]/.test(r.status)&&r.handleError()}}if(!/^(inner|outer|top|bottom|before|after)$/.test(c)){g=
16   -d;d=c;c="inner"}var l=g?g:{};if(typeof g=="function"){l={};l.callback=g}var k=this,r=new XMLHttpRequest;g=l.method||"get";var m=typeof l.async!="undefined"?l.async:true,o=l.data||null,q;r.queryString=o;r.open(g,d,m);r.setRequestHeader("X-Requested-With","XMLHttpRequest");g.toLowerCase()=="post"&&r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(q in l.headers)l.headers.hasOwnProperty(q)&&r.setRequestHeader(q,l.headers[q]);r.handleResp=l.callback!=null?l.callback:function(){k.html(c,
17   -r.responseText)};r.handleError=l.error&&typeof l.error=="function"?l.error:function(){};if(m){r.onreadystatechange=h;this.xmlHttpRequest=r}r.send(o);m||h();return this}});(function(c,d){function g(q,z,x){return(q+(z-q)*x).toFixed(3)}function h(q,z,x){return q.substr(z,x||1)}function l(q,z,x){for(var y=2,A,v,C=[],a=[];A=3,v=arguments[y-1],y--;)if(h(v,0)=="r")for(v=v.match(/\d+/g);A--;)C.push(~~v[A]);else{if(v.length==4)v="#"+h(v,1)+h(v,1)+h(v,2)+h(v,2)+h(v,3)+h(v,3);for(;A--;)C.push(parseInt(h(v,1+
18   -A*2,2),16))}for(;A--;){y=~~(C[A+3]+(C[A]-C[A+3])*x);a.push(y<0?0:y>255?255:y)}return"rgb("+a.join(",")+")"}function k(q){var z=parseFloat(q);q=q.replace(/^[\-\d\.]+/,"");return isNaN(z)?{v:q,f:l,u:""}:{v:z,f:g,u:q}}function r(q){var z={},x=o.length,y;m.innerHTML='<div style="'+q+'"></div>';for(q=m.childNodes[0].style;x--;)if(y=q[o[x]])z[o[x]]=k(y);return z}var m=t.createElement("div"),o="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
  14 +E){var h=[];this.each(function(l){h.push(g(l,c))});return h}else return this.each(function(l){d(g(l,c))})},addClass:function(c){var d=c.split(" ");return this.each(function(g){d.forEach(function(h){if(P(g,h)===false)g.className=M(g.className+" "+h)})})},hasClass:function(c,d){var g=this,h=c.split(" ");return this.length&&function(){var l=true;g.each(function(k){h.forEach(function(r){if(P(k,r))d&&d(k);else l=false})});return l}()},removeClass:function(c){if(c===E)this.each(function(g){g.className=
  15 +""});else{var d=c.split(" ");this.each(function(g){d.forEach(function(h){g.className=M(g.className.replace(Q(h),"$1"))})})}return this},toggleClass:function(c){var d=c.split(" ");return this.each(function(g){d.forEach(function(h){g.className=P(g,h)?M(g.className.replace(Q(h),"$1")):M(g.className+" "+h)})})},css:function(c){for(var d in c)this.setStyle(d,c[d]);return this}});var S={},Q=function(c){var d=S[c];if(!d){d=new RegExp("(^|\\s+)"+c+"(?:\\s+|$)");S[c]=d}return d};u.extend({xhr:function(c,d,
  16 +g){function h(){if(r.readyState==4){delete k.xmlHttpRequest;if(r.status===0||r.status==200)r.handleResp();/^[45]/.test(r.status)&&r.handleError()}}if(!/^(inner|outer|top|bottom|before|after)$/.test(c)){g=d;d=c;c="inner"}var l=g?g:{};if(typeof g=="function"){l={};l.callback=g}var k=this,r=new XMLHttpRequest;g=l.method||"get";var m=typeof l.async!="undefined"?l.async:true,o=l.data||null,q;r.queryString=o;r.open(g,d,m);r.setRequestHeader("X-Requested-With","XMLHttpRequest");g.toLowerCase()=="post"&&
  17 +r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(q in l.headers)l.headers.hasOwnProperty(q)&&r.setRequestHeader(q,l.headers[q]);r.handleResp=l.callback!=null?l.callback:function(){k.html(c,r.responseText)};r.handleError=l.error&&typeof l.error=="function"?l.error:function(){};if(m){r.onreadystatechange=h;this.xmlHttpRequest=r}r.send(o);m||h();return this}});(function(c,d){function g(q,z,x){return(q+(z-q)*x).toFixed(3)}function h(q,z,x){return q.substr(z,x||1)}function l(q,
  18 +z,x){for(var y=2,A,v,C=[],a=[];A=3,v=arguments[y-1],y--;)if(h(v,0)=="r")for(v=v.match(/\d+/g);A--;)C.push(~~v[A]);else{if(v.length==4)v="#"+h(v,1)+h(v,1)+h(v,2)+h(v,2)+h(v,3)+h(v,3);for(;A--;)C.push(parseInt(h(v,1+A*2,2),16))}for(;A--;){y=~~(C[A+3]+(C[A]-C[A+3])*x);a.push(y<0?0:y>255?255:y)}return"rgb("+a.join(",")+")"}function k(q){var z=parseFloat(q);q=q.replace(/^[\-\d\.]+/,"");return isNaN(z)?{v:q,f:l,u:""}:{v:z,f:g,u:q}}function r(q){var z={},x=o.length,y;m.innerHTML='<div style="'+q+'"></div>';
  19 +for(q=m.childNodes[0].style;x--;)if(y=q[o[x]])z[o[x]]=k(y);return z}var m=t.createElement("div"),o="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
19 20 d[c]=function(q,z,x,y){q=typeof q=="string"?t.getElementById(q):q;x=x||{};var A=r(z);z=q.currentStyle?q.currentStyle:getComputedStyle(q,null);var v,C={},a=+new Date,b=x.duration||200,e=a+b,f,j=x.easing||function(i){return-Math.cos(i*Math.PI)/2+0.5};for(v in A)C[v]=k(z[v]);f=setInterval(function(){var i=+new Date,p=i>e?1:(i-a)/b;for(v in A)q.style[v]=A[v].f(C[v].v,A[v].v,j(p))+A[v].u;if(i>e){clearInterval(f);x.after&&x.after();y&&setTimeout(y,1)}},10)}})("emile",this);(function(){function c(a,b,e,
20 21 f,j,i){j=0;for(var p=f.length;j<p;j++){var n=f[j];if(n){n=n[a];for(var s=false;n;){if(n.sizcache===e){s=f[n.sizset];break}if(n.nodeType===1&&!i){n.sizcache=e;n.sizset=j}if(n.nodeName.toLowerCase()===b){s=n;break}n=n[a]}f[j]=s}}}function d(a,b,e,f,j,i){j=0;for(var p=f.length;j<p;j++){var n=f[j];if(n){n=n[a];for(var s=false;n;){if(n.sizcache===e){s=f[n.sizset];break}if(n.nodeType===1){if(!i){n.sizcache=e;n.sizset=j}if(typeof b!=="string"){if(n===b){s=true;break}}else if(m.filter(b,[n]).length>0){s=
21 22 n;break}}n=n[a]}f[j]=s}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,l=Object.prototype.toString,k=false,r=true;[0,0].sort(function(){r=false;return 0});var m=function(a,b,e,f){e=e||[];var j=b=b||t;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return e;var i=[],p,n,s,K,F=true,J=m.isXML(b),G=a,B;do{g.exec("");if(p=g.exec(G)){G=p[3];i.push(p[1]);if(p[2]){K=p[3];break}}}while(p);
55 public/downloads/xui-ie-2.3.0.js → public/downloads/xui-ie-2.3.1.js
@@ -507,7 +507,7 @@ xui.extend({
507 507 xhr
508 508 ---
509 509
510   - The classic `XMLHttpRequest` sometimes also known as the Greek God: _Ajax_. Not to be confused with _AJAX_ the cleaning agent.
  510 + The classic `XMLHttpRequest` sometimes also known as the Greek hero: _Ajax_. Not to be confused with _AJAX_ the cleaning agent.
511 511
512 512 ### detail ###
513 513
@@ -1112,10 +1112,13 @@ xui.extend({
1112 1112 *
1113 1113 */
1114 1114 addClass: function(className) {
  1115 + var cs = className.split(' ');
1115 1116 return this.each(function(el) {
1116   - if (hasClass(el, className) === false) {
1117   - el.className = trim(el.className + ' ' + className);
1118   - }
  1117 + cs.forEach(function(clazz) {
  1118 + if (hasClass(el, clazz) === false) {
  1119 + el.className = trim(el.className + ' ' + clazz);
  1120 + }
  1121 + });
1119 1122 });
1120 1123 },
1121 1124 /**
@@ -1145,18 +1148,20 @@ xui.extend({
1145 1148 *
1146 1149 */
1147 1150 hasClass: function(className, callback) {
1148   - var self = this;
1149   - return this.length && (function() {
1150   - var hasIt = true;
1151   - self.each(function(el) {
1152   - if (hasClass(el, className)) {
1153   - if (callback) callback(el);
1154   - } else hasIt = false;
  1151 + var self = this,
  1152 + cs = className.split(' ');
  1153 + return this.length && (function() {
  1154 + var hasIt = true;
  1155 + self.each(function(el) {
  1156 + cs.forEach(function(clazz) {
  1157 + if (hasClass(el, clazz)) {
  1158 + if (callback) callback(el);
  1159 + } else hasIt = false;
1155 1160 });
1156   - return hasIt;
1157   - })();
  1161 + });
  1162 + return hasIt;
  1163 + })();
1158 1164 },
1159   -
1160 1165 /**
1161 1166 *
1162 1167 * Removes the classname from all the elements in the collection.
@@ -1181,22 +1186,24 @@ xui.extend({
1181 1186 *
1182 1187 */
1183 1188 removeClass: function(className) {
1184   - if (className === undefined) {
1185   - this.each(function(el) {
1186   - el.className = '';
1187   - });
1188   - } else {
1189   - var re = getClassRegEx(className);
1190   - this.each(function(el) {
1191   - el.className = el.className.replace(re, '$1');
  1189 + if (className === undefined) this.each(function(el) { el.className = ''; });
  1190 + else {
  1191 + var cs = className.split(' ');
  1192 + this.each(function(el) {
  1193 + cs.forEach(function(clazz) {
  1194 + el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
1192 1195 });
  1196 + });
1193 1197 }
1194 1198 return this;
1195 1199 },
1196 1200 toggleClass: function(className) {
  1201 + var cs = className.split(' ');
1197 1202 return this.each(function(el) {
1198   - if (hasClass(el, className)) el.className = trim(el.className.replace(getClassRegEx(className), '$1'));
1199   - else el.className = trim(el.className + ' ' + className);
  1203 + cs.forEach(function(clazz) {
  1204 + if (hasClass(el, clazz)) el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
  1205 + else el.className = trim(el.className + ' ' + clazz);
  1206 + });
1200 1207 });
1201 1208 },
1202 1209
16 public/downloads/xui-ie-2.3.0.min.js → public/downloads/xui-ie-2.3.1.min.js
... ... @@ -1,6 +1,6 @@
1 1 (function(){function W(c,d,f){f=c.slice((f||d)+1||c.length);c.length=d<0?c.length+d:d;return c.push.apply(c,f)}function X(c){return c.replace(/\-[a-z]/g,function(d){return d[1].toUpperCase()})}function Y(c){return c.replace(/[A-Z]/g,function(d){return"-"+d.toLowerCase()})}function Z(c){return c.firstChild===null?{UL:"LI",DL:"DT",TR:"TD"}[c.tagName]||c.tagName:c.firstChild.tagName}function $(c,d){if(typeof c==M)return aa(c,Z(d));else{d=t.createElement("div");d.appendChild(c);return d}}function aa(c){var d=
2   -t.createElement("div");d.innerHTML=c;return d}function ba(c){var d=/\S/;c.each(function(f){for(var h=f.firstChild,m=-1,k;h;){k=h.nextSibling;if(h.nodeType==3&&!d.test(h.nodeValue))f.removeChild(h);else h.nodeIndex=++m;h=k}})}function I(c){if(c._xuiEventID)return c._xuiEventID;return c._xuiEventID=++I.id}function O(c,d){c=H[c]=H[c]||{};return c[d]=c[d]||[]}function ca(c,d,f){var h=I(c);d=O(h,d);h=function(m){if(f.call(c,m)===false){m.preventDefault();m.stopPropagation()}};h.guid=f.guid=f.guid||++I.id;
3   -h.handler=f;d.push(h);return h}function P(c,d){return Q(d).test(c.className)}function R(c){return(c||"").replace(da,"")}function T(c,d){if(t.defaultView&&t.defaultView.getComputedStyle)return t.defaultView.getComputedStyle(c,"").getPropertyValue(d.replace(/[A-Z]/g,function(f){return"-"+f.toLowerCase()}));else if(c.currentStyle){d=d.replace(/\-(\w)/g,function(f,h){return h.toUpperCase()});return c.currentStyle[d]}}var B,v,J=this,M=new String("string"),t=J.document,ea=/^#?([\w-]+)$/,fa=/^#/,ga=/<([\w:]+)/,
  2 +t.createElement("div");d.innerHTML=c;return d}function ba(c){var d=/\S/;c.each(function(f){for(var h=f.firstChild,m=-1,k;h;){k=h.nextSibling;if(h.nodeType==3&&!d.test(h.nodeValue))f.removeChild(h);else h.nodeIndex=++m;h=k}})}function I(c){if(c._xuiEventID)return c._xuiEventID;return c._xuiEventID=++I.id}function P(c,d){c=H[c]=H[c]||{};return c[d]=c[d]||[]}function ca(c,d,f){var h=I(c);d=P(h,d);h=function(m){if(f.call(c,m)===false){m.preventDefault();m.stopPropagation()}};h.guid=f.guid=f.guid||++I.id;
  3 +h.handler=f;d.push(h);return h}function Q(c,d){return R(d).test(c.className)}function N(c){return(c||"").replace(da,"")}function T(c,d){if(t.defaultView&&t.defaultView.getComputedStyle)return t.defaultView.getComputedStyle(c,"").getPropertyValue(d.replace(/[A-Z]/g,function(f){return"-"+f.toLowerCase()}));else if(c.currentStyle){d=d.replace(/\-(\w)/g,function(f,h){return h.toUpperCase()});return c.currentStyle[d]}}var B,v,J=this,M=new String("string"),t=J.document,ea=/^#?([\w-]+)$/,fa=/^#/,ga=/<([\w:]+)/,
4 4 D=function(c){return[].slice.call(c,0)};try{var S=D(t.documentElement.childNodes)[0].nodeType}catch(ia){D=function(c){for(var d=[],f=0;c[f];f++)d.push(c[f]);return d}}J.x$=J.xui=v=function(c,d){return new v.fn.find(c,d)};if(![].forEach)Array.prototype.forEach=function(c,d){var f=this.length||0,h=0;if(typeof c=="function")for(;h<f;h++)c.call(d,this[h],h,this)};v.fn=v.prototype={extend:function(c){for(var d in c)v.fn[d]=c[d]},find:function(c,d){var f=[];if(c)if(d==B&&this.length)f=this.each(function(h){f=
5 5 f.concat(D(v(c,h)))}).reduce(f);else{d=d||t;if(typeof c==M){if(ea.test(c)&&d.getElementById&&d.getElementsByTagName){f=fa.test(c)?[d.getElementById(c.substr(1))]:d.getElementsByTagName(c);if(f[0]==null)f=[]}else if(ga.test(c)){d=t.createElement("i");d.innerHTML=c;D(d.childNodes).forEach(function(h){f.push(h)})}else f=J.Sizzle!==B?Sizzle(c,d):d.querySelectorAll(c);f=D(f)}else if(c instanceof Array)f=c;else if(c.toString()=="[object NodeList]"||c.toString()=="[object HTMLCollection]"||typeof c.length==
6 6 "number")f=D(c);else if(c.nodeName||c===J)f=[c]}else return this;return this.set(f)},set:function(c){var d=v();d.cache=D(this.length?this:[]);d.length=0;[].push.apply(d,c);return d},reduce:function(c,d){var f=[];c=c||D(this);c.forEach(function(h){f.indexOf(h,0,d)<0&&f.push(h)});return f},has:function(c){var d=v(c);return this.filter(function(){var f=this,h=null;d.each(function(m){h=h||m==f});return h})},filter:function(c){var d=[];return this.each(function(f,h){c.call(f,h)&&d.push(f)}).set(d)},not:function(c){var d=
@@ -11,18 +11,18 @@ v.extend({html:function(c,d){ba(this);if(arguments.length==0){var f=[];this.each
11 11 d;k=k.getElementsByTagName("SCRIPT");for(r=k.length;l<r;l++)eval(k[l].text)}else{k.innerHTML="";k.appendChild(d)}else if(c=="remove")k.parentNode.removeChild(k);else{l=$(d,["outer","top","bottom"].indexOf(c)>-1?k:k.parentNode);r=l.childNodes;if(c=="outer")k.parentNode.replaceChild(l,k);else if(c=="top")k.insertBefore(l,k.firstChild);else if(c=="bottom")k.insertBefore(l,null);else if(c=="before")k.parentNode.insertBefore(l,k);else c=="after"&&k.parentNode.insertBefore(l,k.nextSibling);for(k=l.parentNode;r.length;)k.insertBefore(r[0],
12 12 l);k.removeChild(l)}})},attr:function(c,d){if(arguments.length==2)return this.each(function(h){if(h.tagName&&h.tagName.toLowerCase()=="input"&&c=="value")h.value=d;else if(h.setAttribute)c=="checked"&&(d==""||d==false||typeof d=="undefined")?h.removeAttribute(c):h.setAttribute(c,d)});else{var f=[];this.each(function(h){if(h.tagName&&h.tagName.toLowerCase()=="input"&&c=="value")f.push(h.value);else h.getAttribute&&h.getAttribute(c)&&f.push(h.getAttribute(c))});return f}}});"inner outer top bottom remove before after".split(" ").forEach(function(c){v.fn[c]=
13 13 function(d){return function(f){return this.html(d,f)}}(c)});v.events={};var H={};S="click load submit touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend orientationchange".split(" ");var ha="click load submit blur change focus keydown keypress keyup mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup mousewheel resize scroll select unload".split(" ");v.extend({on:function(c,d){return this.each(function(f){f.attachEvent("on"+c,ca(f,c,d))})},un:function(c,
14   -d){return this.each(function(f){for(var h=I(f),m=O(h,c),k=m.length;k--;)if(d===B||d.guid===m[k].guid){f.detachEvent("on"+c,m[k]);W(H[h][c],k,1)}H[h][c].length===0&&delete H[h][c];for(var r in H[h])return;delete H[h]})},fire:function(c,d){return this.each(function(f){if(f==t&&!f.fireEvent)f=t.documentElement;var h=t.createEventObject();h.data=d||{};h.eventName=c;ha.indexOf(c)>-1?f.fireEvent("on"+c,h):O(I(f),c).forEach(function(m){m.call(f)})})}});S.forEach(function(c){v.fn[c]=function(d){return function(f){return f?
15   -this.on(d,f):this.fire(d)}}(c)});v.ready=function(c){domReady(c)};I.id=1;var da=/^(\s|\u00A0)+|(\s|\u00A0)+$/g;v.extend({setStyle:function(c,d){c=X(c);return this.each(function(f){f.style[c]=d})},getStyle:function(c,d){if(d===B){var f=[];this.each(function(h){f.push(T(h,c))});return f}else return this.each(function(h){d(T(h,c))})},addClass:function(c){return this.each(function(d){if(P(d,c)===false)d.className=R(d.className+" "+c)})},hasClass:function(c,d){var f=this;return this.length&&function(){var h=
16   -true;f.each(function(m){if(P(m,c))d&&d(m);else h=false});return h}()},removeClass:function(c){if(c===B)this.each(function(f){f.className=""});else{var d=Q(c);this.each(function(f){f.className=f.className.replace(d,"$1")})}return this},toggleClass:function(c){return this.each(function(d){d.className=P(d,c)?R(d.className.replace(Q(c),"$1")):R(d.className+" "+c)})},css:function(c){for(var d in c)this.setStyle(d,c[d]);return this}});var U={},Q=function(c){var d=U[c];if(!d){d=new RegExp("(^|\\s+)"+c+"(?:\\s+|$)");
17   -U[c]=d}return d};(function(c,d){function f(q,y,w){return(q+(y-q)*w).toFixed(3)}function h(q,y,w){return q.substr(y,w||1)}function m(q,y,w){for(var x=2,z,u,C=[],a=[];z=3,u=arguments[x-1],x--;)if(h(u,0)=="r")for(u=u.match(/\d+/g);z--;)C.push(~~u[z]);else{if(u.length==4)u="#"+h(u,1)+h(u,1)+h(u,2)+h(u,2)+h(u,3)+h(u,3);for(;z--;)C.push(parseInt(h(u,1+z*2,2),16))}for(;z--;){x=~~(C[z+3]+(C[z]-C[z+3])*w);a.push(x<0?0:x>255?255:x)}return"rgb("+a.join(",")+")"}function k(q){var y=parseFloat(q);q=q.replace(/^[\-\d\.]+/,
18   -"");return isNaN(y)?{v:q,f:m,u:""}:{v:y,f:f,u:q}}function r(q){var y={},w=o.length,x;l.innerHTML='<div style="'+q+'"></div>';for(q=l.childNodes[0].style;w--;)if(x=q[o[w]])y[o[w]]=k(x);return y}var l=t.createElement("div"),o="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
  14 +d){return this.each(function(f){for(var h=I(f),m=P(h,c),k=m.length;k--;)if(d===B||d.guid===m[k].guid){f.detachEvent("on"+c,m[k]);W(H[h][c],k,1)}H[h][c].length===0&&delete H[h][c];for(var r in H[h])return;delete H[h]})},fire:function(c,d){return this.each(function(f){if(f==t&&!f.fireEvent)f=t.documentElement;var h=t.createEventObject();h.data=d||{};h.eventName=c;ha.indexOf(c)>-1?f.fireEvent("on"+c,h):P(I(f),c).forEach(function(m){m.call(f)})})}});S.forEach(function(c){v.fn[c]=function(d){return function(f){return f?
  15 +this.on(d,f):this.fire(d)}}(c)});v.ready=function(c){domReady(c)};I.id=1;var da=/^(\s|\u00A0)+|(\s|\u00A0)+$/g;v.extend({setStyle:function(c,d){c=X(c);return this.each(function(f){f.style[c]=d})},getStyle:function(c,d){if(d===B){var f=[];this.each(function(h){f.push(T(h,c))});return f}else return this.each(function(h){d(T(h,c))})},addClass:function(c){var d=c.split(" ");return this.each(function(f){d.forEach(function(h){if(Q(f,h)===false)f.className=N(f.className+" "+h)})})},hasClass:function(c,d){var f=
  16 +this,h=c.split(" ");return this.length&&function(){var m=true;f.each(function(k){h.forEach(function(r){if(Q(k,r))d&&d(k);else m=false})});return m}()},removeClass:function(c){if(c===B)this.each(function(f){f.className=""});else{var d=c.split(" ");this.each(function(f){d.forEach(function(h){f.className=N(f.className.replace(R(h),"$1"))})})}return this},toggleClass:function(c){var d=c.split(" ");return this.each(function(f){d.forEach(function(h){f.className=Q(f,h)?N(f.className.replace(R(h),"$1")):
  17 +N(f.className+" "+h)})})},css:function(c){for(var d in c)this.setStyle(d,c[d]);return this}});var U={},R=function(c){var d=U[c];if(!d){d=new RegExp("(^|\\s+)"+c+"(?:\\s+|$)");U[c]=d}return d};(function(c,d){function f(q,y,w){return(q+(y-q)*w).toFixed(3)}function h(q,y,w){return q.substr(y,w||1)}function m(q,y,w){for(var x=2,z,u,C=[],a=[];z=3,u=arguments[x-1],x--;)if(h(u,0)=="r")for(u=u.match(/\d+/g);z--;)C.push(~~u[z]);else{if(u.length==4)u="#"+h(u,1)+h(u,1)+h(u,2)+h(u,2)+h(u,3)+h(u,3);for(;z--;)C.push(parseInt(h(u,
  18 +1+z*2,2),16))}for(;z--;){x=~~(C[z+3]+(C[z]-C[z+3])*w);a.push(x<0?0:x>255?255:x)}return"rgb("+a.join(",")+")"}function k(q){var y=parseFloat(q);q=q.replace(/^[\-\d\.]+/,"");return isNaN(y)?{v:q,f:m,u:""}:{v:y,f:f,u:q}}function r(q){var y={},w=o.length,x;l.innerHTML='<div style="'+q+'"></div>';for(q=l.childNodes[0].style;w--;)if(x=q[o[w]])y[o[w]]=k(x);return y}var l=t.createElement("div"),o="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
19 19 d[c]=function(q,y,w,x){q=typeof q=="string"?t.getElementById(q):q;w=w||{};var z=r(y);y=q.currentStyle?q.currentStyle:getComputedStyle(q,null);var u,C={},a=+new Date,b=w.duration||200,e=a+b,g,j=w.easing||function(i){return-Math.cos(i*Math.PI)/2+0.5};for(u in z)C[u]=k(y[u]);g=setInterval(function(){var i=+new Date,p=i>e?1:(i-a)/b;for(u in z)q.style[u]=z[u].f(C[u].v,z[u].v,j(p))+z[u].u;if(i>e){clearInterval(g);w.after&&w.after();x&&setTimeout(x,1)}},10)}})("emile",this);(function(){function c(a,b,e,
20 20 g,j,i){j=0;for(var p=g.length;j<p;j++){var n=g[j];if(n){n=n[a];for(var s=false;n;){if(n.sizcache===e){s=g[n.sizset];break}if(n.nodeType===1&&!i){n.sizcache=e;n.sizset=j}if(n.nodeName.toLowerCase()===b){s=n;break}n=n[a]}g[j]=s}}}function d(a,b,e,g,j,i){j=0;for(var p=g.length;j<p;j++){var n=g[j];if(n){n=n[a];for(var s=false;n;){if(n.sizcache===e){s=g[n.sizset];break}if(n.nodeType===1){if(!i){n.sizcache=e;n.sizset=j}if(typeof b!=="string"){if(n===b){s=true;break}}else if(l.filter(b,[n]).length>0){s=
21 21 n;break}}n=n[a]}g[j]=s}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,m=Object.prototype.toString,k=false,r=true;[0,0].sort(function(){r=false;return 0});var l=function(a,b,e,g){e=e||[];var j=b=b||t;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return e;var i=[],p,n,s,L,E=true,K=l.isXML(b),F=a,A;do{f.exec("");if(p=f.exec(F)){F=p[3];i.push(p[1]);if(p[2]){L=p[3];break}}}while(p);
22 22 if(i.length>1&&q.exec(a))if(i.length===2&&o.relative[i[0]])n=C(i[0]+i[1],b);else for(n=o.relative[i[0]]?[b]:l(i.shift(),b);i.length;){a=i.shift();if(o.relative[a])a+=i.shift();n=C(a,n)}else{if(!g&&i.length>1&&b.nodeType===9&&!K&&o.match.ID.test(i[0])&&!o.match.ID.test(i[i.length-1])){p=l.find(i.shift(),b,K);b=p.expr?l.filter(p.expr,p.set)[0]:p.set[0]}if(b){p=g?{expr:i.pop(),set:x(g)}:l.find(i.pop(),i.length===1&&(i[0]==="~"||i[0]==="+")&&b.parentNode?b.parentNode:b,K);n=p.expr?l.filter(p.expr,p.set):
23 23 p.set;if(i.length>0)s=x(n);else E=false;for(;i.length;){p=A=i.pop();if(o.relative[A])p=i.pop();else A="";if(p==null)p=b;o.relative[A](s,p,K)}}else s=[]}s||(s=n);s||l.error(A||a);if(m.call(s)==="[object Array]")if(E)if(b&&b.nodeType===1)for(a=0;s[a]!=null;a++){if(s[a]&&(s[a]===true||s[a].nodeType===1&&l.contains(b,s[a])))e.push(n[a])}else for(a=0;s[a]!=null;a++)s[a]&&s[a].nodeType===1&&e.push(n[a]);else e.push.apply(e,s);else x(s,e);if(L){l(L,j,e,g);l.uniqueSort(e)}return e};l.uniqueSort=function(a){if(u){k=
24 24 r;a.sort(u);if(k)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a};l.matches=function(a,b){return l(a,null,null,b)};l.find=function(a,b,e){var g;if(!a)return[];for(var j=0,i=o.order.length;j<i;j++){var p=o.order[j],n;if(n=o.leftMatch[p].exec(a)){var s=n[1];n.splice(1,1);if(s.substr(s.length-1)!=="\\"){n[1]=(n[1]||"").replace(/\\/g,"");g=o.find[p](n,b,e);if(g!=null){a=a.replace(o.match[p],"");break}}}}g||(g=b.getElementsByTagName("*"));return{set:g,expr:a}};l.filter=function(a,b,
25   -e,g){for(var j=a,i=[],p=b,n,s,L=b&&b[0]&&l.isXML(b[0]);a&&b.length;){for(var E in o.filter)if((n=o.leftMatch[E].exec(a))!=null&&n[2]){var K=o.filter[E],F,A;A=n[1];s=false;n.splice(1,1);if(A.substr(A.length-1)!=="\\"){if(p===i)i=[];if(o.preFilter[E])if(n=o.preFilter[E](n,p,e,i,g,L)){if(n===true)continue}else s=F=true;if(n)for(var N=0;(A=p[N])!=null;N++)if(A){F=K(A,n,N,p);var V=g^!!F;if(e&&F!=null)if(V)s=true;else p[N]=false;else if(V){i.push(A);s=true}}if(F!==B){e||(p=i);a=a.replace(o.match[E],"");
  25 +e,g){for(var j=a,i=[],p=b,n,s,L=b&&b[0]&&l.isXML(b[0]);a&&b.length;){for(var E in o.filter)if((n=o.leftMatch[E].exec(a))!=null&&n[2]){var K=o.filter[E],F,A;A=n[1];s=false;n.splice(1,1);if(A.substr(A.length-1)!=="\\"){if(p===i)i=[];if(o.preFilter[E])if(n=o.preFilter[E](n,p,e,i,g,L)){if(n===true)continue}else s=F=true;if(n)for(var O=0;(A=p[O])!=null;O++)if(A){F=K(A,n,O,p);var V=g^!!F;if(e&&F!=null)if(V)s=true;else p[O]=false;else if(V){i.push(A);s=true}}if(F!==B){e||(p=i);a=a.replace(o.match[E],"");
26 26 if(!s)return[];break}}}if(a===j)if(s==null)l.error(a);else break;j=a}return p};l.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var o=l.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
27 27 POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var e=typeof b==="string",g=e&&!/\W/.test(b);e=e&&!g;if(g)b=b.toLowerCase();g=0;for(var j=a.length,i;g<j;g++)if(i=a[g]){for(;(i=i.previousSibling)&&i.nodeType!==1;);a[g]=e||i&&i.nodeName.toLowerCase()===
28 28 b?i||false:i===b}e&&l.filter(b,a,true)},">":function(a,b){var e=typeof b==="string",g,j=0,i=a.length;if(e&&!/\W/.test(b))for(b=b.toLowerCase();j<i;j++){if(g=a[j]){e=g.parentNode;a[j]=e.nodeName.toLowerCase()===b?e:false}}else{for(;j<i;j++)if(g=a[j])a[j]=e?g.parentNode:g.parentNode===b;e&&l.filter(b,a,true)}},"":function(a,b,e){var g=h++,j=d,i;if(typeof b==="string"&&!/\W/.test(b)){i=b=b.toLowerCase();j=c}j("parentNode",b,g,a,i,e)},"~":function(a,b,e){var g=h++,j=d,i;if(typeof b==="string"&&!/\W/.test(b)){i=

0 comments on commit a12f382

Please sign in to comment.
Something went wrong with that request. Please try again.