Permalink
Browse files

fix a small bug: attributes like xma:data-attr were not delete correctly

  • Loading branch information...
1 parent 68a9c47 commit d9f56feb47424c9ce15568a76e9869bb87dadd0a @pure committed Sep 27, 2010
Showing with 9 additions and 9 deletions.
  1. +5 −5 index.html
  2. +2 −2 libs/pure.js
  3. +2 −2 libs/pure_packed.js
View
10 index.html
@@ -8,7 +8,7 @@
<!--JSON needed to show the source code only -->
<script src="libs/json2.js"></script>
- <script src="libs/pure_packed.js"></script>
+ <script src="libs/pure.js"></script>
<!-- Example page files -->
<script src="js/index.js"></script>
@@ -30,13 +30,13 @@
<p>Or look at the source code of the tutorials:<br/>
<ul>
<li>Automatic rendering(autoRender):
- <ul>
+ <ol>
<li><a href="tutorial/tuto1.html">Set the value of an HTML node</a>
<li><a href="tutorial/tuto2.html">Set the value to an HTML attribute</a>
<li><a href="tutorial/tuto3.html">Repeat a HTML node (loop)</a>
- </ul>
+ </ol>
<li>Render with directives:
- <ul>
+ <ol>
<li><a href="tutorial/tuto4.html">Set the value of an HTML node and attribute</a>
<li><a href="tutorial/tuto5.html">Repeat an HTML node (loop)</a>
<li><a href="tutorial/tuto5b.html">Use sort and filter on loops</a>
@@ -45,7 +45,7 @@
<li><a href="tutorial/tuto6.html">Using function as directive for more complex needs</a>
<li><a href="tutorial/tuto8.html">Recursion example</a>
<li><a href="tutorial/tuto7.html">Extend PURE with a plugin. Here an post rendering animation.</a> </p>
- </ul>
+ </ol>
</div>
<div id="examples">
View
4 libs/pure.js
@@ -7,7 +7,7 @@
Copyright (c) 2010 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
- revision: 2.50
+ revision: 2.51
*/
var $p, pure = $p = function(){
@@ -153,7 +153,7 @@ $p.core = function(sel, ctxt, plugins){
// if the value is empty and attribute, remove it
if(fnVal === ''){
attLine = strs[ strs.length - 1 ];
- if( ( pos = attLine.search( /[\w]+=\"?$/ ) ) > -1){
+ if( ( pos = attLine.search( /[^\s]+=\"?$/ ) ) > -1){
strs[ strs.length - 1 ] = attLine.substring( 0, pos );
pVal = pVal.substr( 1 );
}
View
4 libs/pure_packed.js
@@ -7,6 +7,6 @@
Copyright (c) 2010 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
- revision: 2.50
+ revision: 2.51
*/
-eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 $p,3n=$p=6(){9 a=3g[0],2C=I;7(y a===\'14\'){2C=3g[1]||I}8 $p.38(a,2C)};$p.38=6(q,r,t){9 t=36(),1g=[];35(y q){16\'14\':1g=t.M(r||E,q);7(1g.x===0){G(\'2v 2u "\'+q+\'" 30 2p 2R\')}1d;16\'A\':G(\'2v 2u 2P 2n A, 40 2l V\');1d;3M:1g=[q]}F(9 i=0,N=1g.x;i<N;i++){t[i]=1g[i]}t.x=N;9 u=\'3J\'+1T.32(1T.2Z()*2U)+\'27\',26=\'4C\'+1T.32(1T.2Z()*2U)+\'27\',2x=/^(\\+)?([^\\@\\+]+)?\\@?([^\\+]+)?(\\+)?$/,3b={4r:\'4q\',4p:\'39\'},1n=2t.1n?6(o){8 2t.1n(o)}:6(o){8 47.U.46.1Q(o)==="[41 2t]"};8 t;6 G(e){7(y 2S!==\'A\'){2S.3N(e);3L}48(\'3n G: \'+e);}6 36(){9 a=$p.11,f=6(){};f.U=a;f.U.H=a.H||H;f.U.P=a.P||P;f.U.Q=a.Q||Q;f.U.M=a.M||M;f.U.3w=1H;f.U.3t=G;8 3s f()}6 24(b){8 b.24||(6(n){9 a=E.2Q(\'4v\'),h;a.1L(n.37(15));h=a.34;a=1b;8 h})(b)}6 1D(b,f){8 6(a){8 b(\'\'+f.1Q(a.19,a))}}6 M(n,a){7(y n===\'14\'){a=n;n=I}7(y E.2Y!==\'A\'){8(n||E).2Y(a)}B{G(\'3z 3y 1c 2F 3K 2y: 3v, 3x.5+, 3A+ 3G 3Z+\\n\\43 45 2F 2j 2l 4g, 4k 4o a 4u 4F/4S 2y a 3q V 3r\')}}6 2c(c,d){8 6(a){9 b=[c[0]],n=c.x,1V,1v,1K,Y;F(9 i=1;i<n;i++){1V=d[i](a);1v=c[i];7(1V===\'\'){1K=b[b.x-1];7((Y=1K.3I(/[\\w]+=\\"?$/))>-1){b[b.x-1]=1K.25(0,Y);1v=1v.44(1)}}b[b.x]=1V;b[b.x]=1v}8 b.2b(\'\')}}6 33(p){9 m=p.1z(/^(\\w+)\\s*<-\\s*(\\S+)?$/);7(m===1b){G(\'2h 18 4E: "\'+p+\'"\')}7(m[1]===\'12\'){G(\'"12<-..." 2n a 4J 4Q F 1M 4W 4Y 4Z.\\n\\52 3o 3p 2s F 2l 18.\')}7(!m[2]||(m[2]&&(/19/i).1c(m[2]))){m[2]=6(a){8 a.19}}8{2s:m[1],17:m[2]}}6 1a(c){7(y(c)===\'6\'){8 c}9 m=c.1z(/^[a-3u-Z\\$27\\@][\\w\\$:-]*(\\.[\\w\\$:-]*[^\\.])*$/);7(m===1b){9 d=I,s=c,1N=[],1i=[],i=0,29;7(/\\\'|\\"/.1c(s.2E(0))){7(/\\\'|\\"/.1c(s.2E(s.x-1))){29=s.25(1,s.x-1);8 6(){8 29}}}B{1O((m=s.1z(/#\\{([^{}]+)\\}/))!==1b){d=15;1N[i++]=s.2L(0,m.2N);1i[i]=1a(m[1]);s=s.2L(m.2N+m[0].x,s.x)}}7(!d){G(\'2h 3B V 2O: \'+c)}1N[i]=s;8 2c(1N,1i)}m=c.1P(\'.\');8 6(a){9 b=a.19||a,v=a[m[0]],i=0;7(v&&v.12){i+=1;7(m[i]===\'Y\'){8 v.Y}B{b=v.12}}9 n=m.x;F(;i<n;i++){7(!b){1d}b=b[m[i]]}8(!b&&b!==0)?\'\':b}}6 1y(c,d,e){9 f,R,V,D,O,K=[];7(y d===\'14\'){f=d;9 m=d.1z(2x);7(!m){G(\'2h V 2O: \'+d)}R=m[1];V=m[2];D=m[3];O=m[4];7(V===\'.\'||(!V&&D)){K[0]=c}B{K=t.M(c,V)}7(!K||K.x===0){8 G(\'2v 1I "\'+d+\'" 30 2p 2R 1k 1M 2u\')}}B{R=d.R;D=d.D;O=d.O;K=[c]}7(R||O){7(R&&O){G(\'O/R 2q 49 4a 4b 1M 4c 4e\')}B 7(e){G(\'4f O/R/1l 4h 4i F 18 K\')}B 7(O&&e){G(\'2q O 2y 18 (17: \'+f+\')\')}}9 g,1q,T,1A,1x,1w,X;7(D){1A=(/^2B$/i).1c(D);1x=(/^4y$/i).1c(D);1w=1x?\'1r\':D;g=6(a,s){a.4D(26+D,s);7(1w 1k a&&!1A){a[1w]=\'\'}7(a.2G===1){a.2H(D);1x&&a.2H(1w)}};7(1A||1x){7(1A){1q=6(n){8 n.2B.4H}}B{1q=6(n){8 n.1r}}T=6(s){8 s.1l(/\\"/g,\'&2I;\')}}B{1q=6(n){8 n.4M(D)};T=6(s){8 s.1l(/\\"/g,\'&2I;\').1l(/\\s/g,\'&4N;\')}}7(R){X=6(a,s){g(a,s+1q(a))}}B 7(O){X=6(a,s){g(a,1q(a)+s)}}B{X=6(a,s){g(a,s)}}}B{7(e){X=6(a,s){9 b=a.2J;7(b){b.23(E.1R(s),a.4X);b.1S(a)}}}B{7(R){X=6(a,s){a.23(E.1R(s),a.1t)}}B 7(O){X=6(a,s){a.1L(E.1R(s))}}B{X=6(a,s){1O(a.1t){a.1S(a.1t)}a.1L(E.1R(s))}}}T=6(s){8 s}}8{D:D,L:K,2T:X,17:f,T:T}}6 1G(a,n){9 b=u+n+\':\';F(9 i=0;i<a.L.x;i++){a.2T(a.L[i],b)}}6 28(j,k,l,m,n){8 6(g){9 a=k(g),2a=g[j],1U={1J:a},2d=0,x,2e=[],2f=6(b,c,d,e){9 f=g.Y,3c=g.12,2D=g.1J;g.Y=c.Y=b;g.12=c.12=a[b];g.1J=a;y e!==\'A\'&&(g.x=e);7(y d===\'6\'&&d.1Q(g.12,g)===I){2d++;8}2e.2g(l.1Q(c,g));g.Y=f;g.12=3c;g.1J=2D};g[j]=1U;7(1n(a)){x=a.x||0;7(y m===\'6\'){a.1W(m)}F(9 i=0,N=x;i<N;i++){2f(i,1U,n,x-2d)}}B{7(a&&y m!==\'A\'){G(\'1W 2n 3C 3D 2j 3E, 2p 3F\')}F(9 h 1k a){a.2i(h)&&2f(h,1U,n)}}y 2a!==\'A\'?g[j]=2a:3H g[j];8 2e.2b(\'\')}}6 2o(a,b,c,d){9 e=I,1p,2k,1s,J;F(J 1k c){7(c.2i(J)){7(J===\'1W\'){2k=c.1W;2K}B 7(J===\'1s\'){1s=c.1s;2K}7(e){G(\'2q 3O 3P 3Q 3R 18 2j a K\')}1p=J;e=15}}7(!1p){G(\'3S 1k 1M V: \'+b+\'\\3T 3U 3V 3W 3X a 14, a 6 3Y a 18(<-)\')}9 f=c[1p];7(y(f)===\'14\'||y(f)===\'6\'){c={};c[1p]={2P:f};8 2o(a,b,c,d)}9 g=33(1p),1E=1a(g.17),K=1y(a,b,15),L=K.L;F(i=0;i<L.x;i++){9 h=L[i],1C=1H(h,f);d[d.x]=1D(K.T,28(g.2s,1E,1C,2k,1s));K.L=[h];1G(K,d.x-1)}}6 2M(n,d){9 e=n.42(\'*\'),2m=[],1j={a:[],l:{}},z,1X,i,N,j,1h,13,1Y,2r;F(i=-1,N=e.x;i<N;i++){13=i>-1?e[i]:n;7(13.2G===1&&13.1r!==\'\'){1Y=13.1r.1P(\' \');F(j=0,1h=1Y.x;j<1h;j++){2r=1Y[j];z=2V(2r,13.2W);7(z!==I){1X=(/4d/i).1c(z.D);7(z.17.2X(\'@\')>-1||1X){13.1r=13.1r.1l(\'@\'+z.D,\'\');7(1X){z.D=I}}2m.2g({n:13,z:z})}}}}8 2m;6 2V(c,a){9 b=c.1z(2x),D=b[3]||3b[a],z={R:!!b[1],J:b[2],D:D,O:!!b[4],17:c},i,N,1Z,20,W;F(i=1j.a.x-1;i>=0;i--){1Z=1j.a[i];20=1Z.l[0];W=20&&20[z.J];7(y W!==\'A\'){z.J=1Z.p+\'.\'+z.J;7(1j.l[z.J]===15){W=W[0]}1d}}7(y W===\'A\'){W=1a(z.J)(1n(d)?d[0]:d);7(W===\'\'){8 I}}7(1n(W)){1j.a.2g({l:W,p:z.J});1j.l[z.J]=15;z.t=\'18\'}B{z.t=\'31\'}8 z}}6 1H(a,b,c,d){9 e=[];d=d||c&&2M(a,c);7(c){9 j,1h,z,n,f,L,1E,1I,1C;1O(d.x>0){z=d[0].z;n=d[0].n;d.4j(0,1);7(z.t===\'31\'){f=1y(n,z,I);1G(f,e.x);e[e.x]=1D(f.T,1a(z.J))}B{1E=1a(z.17);f=1y(n,z,15);L=f.L;F(j=0,1h=L.x;j<1h;j++){1I=L[j];1C=1H(1I,I,c,d);e[e.x]=1D(f.T,28(z.17,1E,1C));f.L=[1I];1G(f,e.x-1)}}}}9 f,1f;F(9 g 1k b){7(b.2i(g)){1f=b[g];7(y(1f)===\'6\'||y(1f)===\'14\'){f=1y(a,g,I);1G(f,e.x);e[e.x]=1D(f.T,1a(1f))}B{2o(a,g,1f,e)}}}9 h=24(a),1i=[];h=h.1l(/<([^>]+)\\s(39\\=""|4l)\\s?([^>]*)>/4m,"<$1 $3>");h=h.1P(26).2b(\'\');9 k=h.1P(u),p;F(9 i=1;i<k.x;i++){p=k[i];1i[i]=e[4n(p,10)];k[i]=p.25(p.2X(\':\')+1)}8 2c(k,1i)}6 H(b,c,d){9 e=1H((d||C[0]).37(15),b,c);8 6(a){8 e({19:a})}}6 P(a,b){9 c=y b===\'6\'?b:t.H(b,I,C[0]);F(9 i=0,N=C.x;i<N;i++){C[i]=2w(C[i],c(a,I))}19=1b;8 C}6 Q(a,b){9 c=t.H(b,a,C[0]);F(9 i=0,N=C.x;i<N;i++){C[i]=2w(C[i],c(a,I))}19=1b;8 C}6 2w(a,b){9 c,21=a.2J,1B=0;35(a.2W){16\'1u\':16\'4s\':16\'4t\':b=\'<1m>\'+b+\'</1m>\';1B=1;1d;16\'2z\':b=\'<1m><1u>\'+b+\'</1u></1m>\';1B=2;1d;16\'4w\':16\'4x\':b=\'<1m><1u><2z>\'+b+\'</2z></1u></1m>\';1B=3;1d}1o=E.2Q(\'4z\');1o.2B.4A=\'4B\';E.2A.1L(1o);1o.34=b;c=1o.1t;1O(1B--){c=c.1t}21.23(c,a);21.1S(a);E.2A.1S(1o);a=c;c=21=1b;8 a}};$p.11={};$p.3a={22:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){8 22.4G(a,n)}}},3d:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){8 $(n).4I(a)}}3e.4K({4L:[\'H\',\'P\',\'Q\'],H:6(a,b){8 $p(C).H(a,b)},P:6(a,b){8 $($p(C).P(a,b))[0]},Q:6(a,b){8 $($p(C).Q(a,b))[0]}})},3f:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){8 1F(n).M(a)}}1F.4O.4P({H:6(a,b){8 $p(C[0]).H(a,b)},P:6(a,b){8 1F($p(C[0]).P(a,b))},Q:6(a,b){8 1F($p(C[0]).Q(a,b))}})},3h:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){8 $(n).4R(a)}}3i.4T({H:6(a,b){8 $p(C).H(a,b)},P:6(a,b){8 $p(C).P(a,b)},Q:6(a,b){8 $p(C).Q(a,b)}})},U:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){n=n===E?n.2A:n;8 y n===\'14\'?$$(n):$(n).4U(a)}}3i.4V({H:6(a,b,c){8 $p(a).H(b,c)},P:6(a,b,c){8 $p(a).P(b,c)},Q:6(a,b,c){8 $p(a).Q(b,c)}})},3j:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){8 3k(a,n)}}},3l:6(){7(y E.1e===\'A\'){$p.11.M=6(n,a){8 3m(a,n)}}}};(6(){9 a=y 22!==\'A\'&&\'22\'||y 3e!==\'A\'&&\'3d\'||y 1F!==\'A\'&&\'3f\'||y 50!==\'A\'&&\'3h\'||y 51!==\'A\'&&\'U\'||y 3k!==\'A\'&&\'3j\'||y 3m!==\'A\'&&\'3l\';a&&$p.3a[a]()})();',62,313,'||||||function|if|return|var||||||||||||||||||||||||length|typeof|cspec|undefined|else|this|attr|document|for|error|compile|false|prop|target|nodes|find|ii|append|render|autoRender|prepend||quotefn|prototype|selector|val|setfn|pos|||plugins|item|ni|string|true|case|sel|loop|context|dataselectfn|null|test|break|querySelector|dsel|templates|jj|pfns|openLoops|in|replace|TABLE|isArray|tmp|ls|getstr|className|filter|firstChild|TBODY|pVal|attName|isClass|gettarget|match|isStyle|depth|inner|wrapquote|itersel|jQuery|setsig|compiler|node|items|attLine|appendChild|the|parts|while|split|call|createTextNode|removeChild|Math|temp|fnVal|sort|isNodeValue|cs|loopi|loopil|ep|dojo|insertBefore|outerHTML|substring|attPfx|_|loopfn|retStr|old|join|concatenator|filtered|strs|buildArg|push|bad|hasOwnProperty|on|sorter|your|an|is|loopgen|not|cannot|cj|name|Array|template|The|replaceWith|selRx|with|TR|body|style|ctxt|save_items|charAt|PURE|nodeType|removeAttribute|quot|parentNode|continue|slice|getAutoNodes|index|syntax|root|createElement|found|console|set|1000000|checkClass|tagName|indexOf|querySelectorAll|random|was|str|floor|parseloopspec|innerHTML|switch|getPlugins|cloneNode|core|value|libs|autoAttr|save_item|domassistant|DOMAssistant|jquery|arguments|mootools|Element|sizzle|Sizzle|sly|Sly|pure|choose|another|CSS|engine|new|_error|zA|iPhone|_compiler|FF3|can|You|Safari4|data|only|available|arrays|objects|and|delete|search|_s|standalone|debugger|default|log|have|more|than|one|Error|nA|directive|action|must|be|or|IE8|check|object|getElementsByTagName|nTo|substr|run|toString|Object|throw|take|place|at|same|nodevalue|time|no|browser|modifiers|allowed|splice|you|selected|ig|parseInt|need|INPUT|src|IMG|THEAD|TFOOT|JS|div|TD|TH|class|SPAN|display|none|_a|setAttribute|spec|library|query|cssText|cssSelect|reserved|attach|publicMethods|getAttribute|nbsp|fn|extend|word|getElements|framework|implement|select|addMethods|current|nextSibling|running|iteration|MooTools|Prototype|nPlease'.split('|'),0,{}))
+eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9 $p,2H=$p=6(){9 a=31[0],2r=H;7(y a===\'16\'){2r=31[1]||H}8 $p.2Z(a,2r)};$p.2Z=6(q,r,t){9 t=2G(),1g=[];2M(y q){15\'16\':1g=t.K(r||F,q);7(1g.x===0){G(\'2u 2v "\'+q+\'" 37 2s 34\')}1b;15\'A\':G(\'2u 2v 2F 2C A, 4q 2k W\');1b;4s:1g=[q]}E(9 i=0,Q=1g.x;i<Q;i++){t[i]=1g[i]}t.x=Q;9 u=\'4T\'+1T.3a(1T.3h()*2E)+\'2c\',2d=\'4t\'+1T.3a(1T.3h()*2E)+\'2c\',2e=/^(\\+)?([^\\@\\+]+)?\\@?([^\\+]+)?(\\+)?$/,2I={45:\'47\',49:\'2J\'},1o=2q.1o?6(o){8 2q.1o(o)}:6(o){8 4x.U.3J.1L(o)==="[46 2q]"};8 t;6 G(e){7(y 38!==\'A\'){38.4g(e);4h}4p(\'2H G: \'+e);}6 2G(){9 a=$p.12,f=6(){};f.U=a;f.U.J=a.J||J;f.U.O=a.O||O;f.U.N=a.N||N;f.U.K=a.K||K;f.U.4E=1I;f.U.50=G;8 3v f()}6 2l(b){8 b.2l||(6(n){9 a=F.2V(\'48\'),h;a.1R(n.33(14));h=a.36;a=18;8 h})(b)}6 1C(b,f){8 6(a){8 b(\'\'+f.1L(a.1a,a))}}6 K(n,a){7(y n===\'16\'){a=n;n=H}7(y F.39!==\'A\'){8(n||F).39(a)}D{G(\'4G 4K 1c 2D 3u 2h: 3w, 3x.5+, 3z+ 3A 3B+\\n\\3C 3H 2D 2i 2k 3L, 3M 3N a 3O 40/41 2h a 42 W 44\')}}6 2j(c,d){8 6(a){9 b=[c[0]],n=c.x,1S,1A,1X,Y;E(9 i=1;i<n;i++){1S=d[i](a);1A=c[i];7(1S===\'\'){1X=b[b.x-1];7((Y=1X.4l(/[^\\s]+=\\"?$/))>-1){b[b.x-1]=1X.2x(0,Y);1A=1A.4r(1)}}b[b.x]=1S;b[b.x]=1A}8 b.2z(\'\')}}6 35(p){9 m=p.1G(/^(\\w+)\\s*<-\\s*(\\S+)?$/);7(m===18){G(\'27 1e 4R: "\'+p+\'"\')}7(m[1]===\'11\'){G(\'"11<-..." 2C a 4X 4Z E 1Y 3o 3p 3q.\\n\\3r 3s 3t 2f E 2k 1e.\')}7(!m[2]||(m[2]&&(/1a/i).1c(m[2]))){m[2]=6(a){8 a.1a}}8{2f:m[1],17:m[2]}}6 19(c){7(y(c)===\'6\'){8 c}9 m=c.1G(/^[a-3y-Z\\$2c\\@][\\w\\$:-]*(\\.[\\w\\$:-]*[^\\.])*$/);7(m===18){9 d=H,s=c,20=[],1f=[],i=0,2o;7(/\\\'|\\"/.1c(s.2L(0))){7(/\\\'|\\"/.1c(s.2L(s.x-1))){2o=s.2x(1,s.x-1);8 6(){8 2o}}}D{21((m=s.1G(/#\\{([^{}]+)\\}/))!==18){d=14;20[i++]=s.2S(0,m.2T);1f[i]=19(m[1]);s=s.2S(m.2T+m[0].x,s.x)}}7(!d){G(\'27 3K W 2U: \'+c)}20[i]=s;8 2j(20,1f)}m=c.22(\'.\');8 6(a){9 b=a.1a||a,v=a[m[0]],i=0;7(v&&v.11){i+=1;7(m[i]===\'Y\'){8 v.Y}D{b=v.11}}9 n=m.x;E(;i<n;i++){7(!b){1b}b=b[m[i]]}8(!b&&b!==0)?\'\':b}}6 1w(c,d,e){9 f,R,W,B,P,M=[];7(y d===\'16\'){f=d;9 m=d.1G(2e);7(!m){G(\'27 W 2U: \'+d)}R=m[1];W=m[2];B=m[3];P=m[4];7(W===\'.\'||(!W&&B)){M[0]=c}D{M=t.K(c,W)}7(!M||M.x===0){8 G(\'2u 1D "\'+d+\'" 37 2s 34 1h 1Y 2v\')}}D{R=d.R;B=d.B;P=d.P;M=[c]}7(R||P){7(R&&P){G(\'P/R 2a 4a 4b 4c 1Y 4d 4f\')}D 7(e){G(\'4w P/R/1j 4i 4j E 1e M\')}D 7(P&&e){G(\'2a P 2h 1e (17: \'+f+\')\')}}9 g,1l,T,1s,1t,1u,X;7(B){1s=(/^2m$/i).1c(B);1t=(/^4A$/i).1c(B);1u=1t?\'1m\':B;g=6(a,s){a.4F(2d+B,s);7(1u 1h a&&!1s){a[1u]=\'\'}7(a.2O===1){a.2P(B);1t&&a.2P(1u)}};7(1s||1t){7(1s){1l=6(n){8 n.2m.4I}}D{1l=6(n){8 n.1m}}T=6(s){8 s.1j(/\\"/g,\'&2Q;\')}}D{1l=6(n){8 n.4N(B)};T=6(s){8 s.1j(/\\"/g,\'&2Q;\').1j(/\\s/g,\'&4O;\')}}7(R){X=6(a,s){g(a,s+1l(a))}}D 7(P){X=6(a,s){g(a,1l(a)+s)}}D{X=6(a,s){g(a,s)}}}D{7(e){X=6(a,s){9 b=a.2R;7(b){b.2p(F.1W(s),a.4Y);b.1V(a)}}}D{7(R){X=6(a,s){a.2p(F.1W(s),a.1z)}}D 7(P){X=6(a,s){a.1R(F.1W(s))}}D{X=6(a,s){21(a.1z){a.1V(a.1z)}a.1R(F.1W(s))}}}T=6(s){8 s}}8{B:B,L:M,30:X,17:f,T:T}}6 1B(a,n){9 b=u+n+\':\';E(9 i=0;i<a.L.x;i++){a.30(a.L[i],b)}}6 2w(j,k,l,m,n){8 6(g){9 a=k(g),2B=g[j],1N={1K:a},23=0,x,24=[],25=6(b,c,d,e){9 f=g.Y,3c=g.11,3d=g.1K;g.Y=c.Y=b;g.11=c.11=a[b];g.1K=a;y e!==\'A\'&&(g.x=e);7(y d===\'6\'&&d.1L(g.11,g)===H){23++;8}24.26(l.1L(c,g));g.Y=f;g.11=3c;g.1K=3d};g[j]=1N;7(1o(a)){x=a.x||0;7(y m===\'6\'){a.1J(m)}E(9 i=0,Q=x;i<Q;i++){25(i,1N,n,x-23)}}D{7(a&&y m!==\'A\'){G(\'1J 2C 3D 3E 2i 3F, 2s 3G\')}E(9 h 1h a){a.28(h)&&25(h,1N,n)}}y 2B!==\'A\'?g[j]=2B:3I g[j];8 24.2z(\'\')}}6 29(a,b,c,d){9 e=H,1r,2b,1H,I;E(I 1h c){7(c.28(I)){7(I===\'1J\'){2b=c.1J;2K}D 7(I===\'1H\'){1H=c.1H;2K}7(e){G(\'2a 3P 3Q 3R 3S 1e 2i a M\')}1r=I;e=14}}7(!1r){G(\'3T 1h 1Y W: \'+b+\'\\3U 3V 3W 3X 3Y a 16, a 6 3Z a 1e(<-)\')}9 f=c[1r];7(y(f)===\'16\'||y(f)===\'6\'){c={};c[1r]={2F:f};8 29(a,b,c,d)}9 g=35(1r),1F=19(g.17),M=1w(a,b,14),L=M.L;E(i=0;i<L.x;i++){9 h=L[i],1E=1I(h,f);d[d.x]=1C(M.T,2w(g.2f,1F,1E,2b,1H));M.L=[h];1B(M,d.x-1)}}6 2N(n,d){9 e=n.43(\'*\'),2g=[],1q={a:[],l:{}},z,1M,i,Q,j,1p,13,1O,2n;E(i=-1,Q=e.x;i<Q;i++){13=i>-1?e[i]:n;7(13.2O===1&&13.1m!==\'\'){1O=13.1m.22(\' \');E(j=0,1p=1O.x;j<1p;j++){2n=1O[j];z=2W(2n,13.2X);7(z!==H){1M=(/4e/i).1c(z.B);7(z.17.2Y(\'@\')>-1||1M){13.1m=13.1m.1j(\'@\'+z.B,\'\');7(1M){z.B=H}}2g.26({n:13,z:z})}}}}8 2g;6 2W(c,a){9 b=c.1G(2e),B=b[3]||2I[a],z={R:!!b[1],I:b[2],B:B,P:!!b[4],17:c},i,Q,1P,1Q,V;E(i=1q.a.x-1;i>=0;i--){1P=1q.a[i];1Q=1P.l[0];V=1Q&&1Q[z.I];7(y V!==\'A\'){z.I=1P.p+\'.\'+z.I;7(1q.l[z.I]===14){V=V[0]}1b}}7(y V===\'A\'){V=19(z.I)(1o(d)?d[0]:d);7(V===\'\'){8 H}}7(1o(V)){1q.a.26({l:V,p:z.I});1q.l[z.I]=14;z.t=\'1e\'}D{z.t=\'32\'}8 z}}6 1I(a,b,c,d){9 e=[];d=d||c&&2N(a,c);7(c){9 j,1p,z,n,f,L,1F,1D,1E;21(d.x>0){z=d[0].z;n=d[0].n;d.4k(0,1);7(z.t===\'32\'){f=1w(n,z,H);1B(f,e.x);e[e.x]=1C(f.T,19(z.I))}D{1F=19(z.17);f=1w(n,z,14);L=f.L;E(j=0,1p=L.x;j<1p;j++){1D=L[j];1E=1I(1D,H,c,d);e[e.x]=1C(f.T,2w(z.17,1F,1E));f.L=[1D];1B(f,e.x-1)}}}}9 f,1n;E(9 g 1h b){7(b.28(g)){1n=b[g];7(y(1n)===\'6\'||y(1n)===\'16\'){f=1w(a,g,H);1B(f,e.x);e[e.x]=1C(f.T,19(1n))}D{29(a,g,1n,e)}}}9 h=2l(a),1f=[];h=h.1j(/<([^>]+)\\s(2J\\=""|4m)\\s?([^>]*)>/4n,"<$1 $3>");h=h.22(2d).2z(\'\');9 k=h.22(u),p;E(9 i=1;i<k.x;i++){p=k[i];1f[i]=e[4o(p,10)];k[i]=p.2x(p.2Y(\':\')+1)}8 2j(k,1f)}6 J(b,c,d){9 e=1I((d||C[0]).33(14),b,c);8 6(a){8 e({1a:a})}}6 O(a,b){9 c=y b===\'6\'?b:t.J(b,H,C[0]);E(9 i=0,Q=C.x;i<Q;i++){C[i]=2t(C[i],c(a,H))}1a=18;8 C}6 N(a,b){9 c=t.J(b,a,C[0]);E(9 i=0,Q=C.x;i<Q;i++){C[i]=2t(C[i],c(a,H))}1a=18;8 C}6 2t(a,b){9 c,1U=a.2R,1x=0;2M(a.2X){15\'1v\':15\'4u\':15\'4v\':b=\'<1k>\'+b+\'</1k>\';1x=1;1b;15\'2y\':b=\'<1k><1v>\'+b+\'</1v></1k>\';1x=2;1b;15\'4y\':15\'4z\':b=\'<1k><1v><2y>\'+b+\'</2y></1v></1k>\';1x=3;1b}1i=F.2V(\'4B\');1i.2m.4C=\'4D\';F.2A.1R(1i);1i.36=b;c=1i.1z;21(1x--){c=c.1z}1U.2p(c,a);1U.1V(a);F.2A.1V(1i);a=c;c=1U=18;8 a}};$p.12={};$p.3b={1Z:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){8 1Z.4H(a,n)}}},3e:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){8 $(n).4J(a)}}3f.4L({4M:[\'J\',\'O\',\'N\'],J:6(a,b){8 $p(C).J(a,b)},O:6(a,b){8 $($p(C).O(a,b))[0]},N:6(a,b){8 $($p(C).N(a,b))[0]}})},3g:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){8 1y(n).K(a)}}1y.4P.4Q({J:6(a,b){8 $p(C[0]).J(a,b)},O:6(a,b){8 1y($p(C[0]).O(a,b))},N:6(a,b){8 1y($p(C[0]).N(a,b))}})},3i:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){8 $(n).4S(a)}}3j.4U({J:6(a,b){8 $p(C).J(a,b)},O:6(a,b){8 $p(C).O(a,b)},N:6(a,b){8 $p(C).N(a,b)}})},U:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){n=n===F?n.2A:n;8 y n===\'16\'?$$(n):$(n).4V(a)}}3j.4W({J:6(a,b,c){8 $p(a).J(b,c)},O:6(a,b,c){8 $p(a).O(b,c)},N:6(a,b,c){8 $p(a).N(b,c)}})},3k:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){8 3l(a,n)}}},3m:6(){7(y F.1d===\'A\'){$p.12.K=6(n,a){8 3n(a,n)}}}};(6(){9 a=y 1Z!==\'A\'&&\'1Z\'||y 3f!==\'A\'&&\'3e\'||y 1y!==\'A\'&&\'3g\'||y 51!==\'A\'&&\'3i\'||y 52!==\'A\'&&\'U\'||y 3l!==\'A\'&&\'3k\'||y 3n!==\'A\'&&\'3m\';a&&$p.3b[a]()})();',62,313,'||||||function|if|return|var||||||||||||||||||||||||length|typeof|cspec|undefined|attr|this|else|for|document|error|false|prop|compile|find|nodes|target|autoRender|render|append|ii|prepend||quotefn|prototype|val|selector|setfn|pos|||item|plugins|ni|true|case|string|sel|null|dataselectfn|context|break|test|querySelector|loop|pfns|templates|in|tmp|replace|TABLE|getstr|className|dsel|isArray|jj|openLoops|ls|isStyle|isClass|attName|TBODY|gettarget|depth|jQuery|firstChild|pVal|setsig|wrapquote|node|inner|itersel|match|filter|compiler|sort|items|call|isNodeValue|temp|cs|loopi|loopil|appendChild|fnVal|Math|ep|removeChild|createTextNode|attLine|the|dojo|parts|while|split|filtered|strs|buildArg|push|bad|hasOwnProperty|loopgen|cannot|sorter|_|attPfx|selRx|name|an|with|on|concatenator|your|outerHTML|style|cj|retStr|insertBefore|Array|ctxt|not|replaceWith|The|template|loopfn|substring|TR|join|body|old|is|PURE|1000000|root|getPlugins|pure|autoAttr|value|continue|charAt|switch|getAutoNodes|nodeType|removeAttribute|quot|parentNode|slice|index|syntax|createElement|checkClass|tagName|indexOf|core|set|arguments|str|cloneNode|found|parseloopspec|innerHTML|was|console|querySelectorAll|floor|libs|save_item|save_items|domassistant|DOMAssistant|jquery|random|mootools|Element|sizzle|Sizzle|sly|Sly|current|running|iteration|nPlease|choose|another|standalone|new|iPhone|FF3|zA|Safari4|and|IE8|nTo|only|available|arrays|objects|run|delete|toString|data|browser|you|need|JS|have|more|than|one|Error|nA|directive|action|must|be|or|library|framework|CSS|getElementsByTagName|engine|IMG|object|src|div|INPUT|take|place|at|same|nodevalue|time|log|debugger|modifiers|allowed|splice|search|selected|ig|parseInt|throw|check|substr|default|_a|THEAD|TFOOT|no|Object|TD|TH|class|SPAN|display|none|_compiler|setAttribute|You|query|cssText|cssSelect|can|attach|publicMethods|getAttribute|nbsp|fn|extend|spec|getElements|_s|implement|select|addMethods|reserved|nextSibling|word|_error|MooTools|Prototype'.split('|'),0,{}))

0 comments on commit d9f56fe

Please sign in to comment.