Spade
Mini Shell
index.html000064400000000054151172257450006551 0ustar00<html><body
bgcolor="#FFFFFF"></body></html>jquery.ba-bbq.min.js000064400000007220151172257460010341
0ustar00/*!
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
!function(e,n){"$:nomunge";var
t,r,o,a,i,c,u,f,s=Array.prototype.slice,l=decodeURIComponent,p=e.param,h=e.bbq=e.bbq||{},d=e.event.special,m="hashchange",g="querystring",v="fragment",y="elemUrlAttr",$="location",b="href",x="src",j=/^.*\?|#.*$/g,A=/^.*\#/,N={};function
w(e){return"string"==typeof e}function S(e){var
n=s.call(arguments,1);return function(){return
e.apply(this,n.concat(s.call(arguments)))}}function q(r,a,i,c,u){var
s,h,d,m,y;return
c!==t?(y=(d=i.match(r?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===u&&w(c)?h=c.replace(r?A:j,""):(m=o(d[2]),c=w(c)?o[r?v:g](c):c,h=2===u?c:1===u?e.extend({},c,m):e.extend({},m,c),h=p(h),r&&(h=h.replace(f,l))),s=d[1]+(r?"#":h||!d[1]?"?":"")+h+y):s=a(i!==t?i:n[$][b]),s}function
C(e,n,r){return n===t||"boolean"==typeof
n?(r=n,n=p[e?v:g]()):n=w(n)?n.replace(e?A:j,""):n,o(n,r)}function
E(n,r,o,a){return w(o)||"object"==typeof
o||(a=o,o=r,r=t),this.each(function(){var
t=e(this),i=r||u()[(this.nodeName||"").toLowerCase()]||"",c=i&&t.attr(i)||"";t.attr(i,p[n](c,o,a))})}p[g]=S(q,0,function(e){return
e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),p[v]=r=S(q,1,function(e){return
e.replace(/^[^#]*#?(.*)$/,"$1")}),r.noEscape=function(n){n=n||"";var
t=e.map(n.split(""),encodeURIComponent);f=new
RegExp(t.join("|"),"g")},r.noEscape(",/"),e.deparam=o=function(n,r){var
o={},a={true:!0,false:!1,null:null};return e.each(n.replace(/\+/g,"
").split("&"),function(n,i){var
c,u=i.split("="),f=l(u[0]),s=o,p=0,h=f.split("]["),d=h.length-1;if(/\[/.test(h[0])&&/\]$/.test(h[d])?(h[d]=h[d].replace(/\]$/,""),d=(h=h.shift().split("[").concat(h)).length-1):d=0,2===u.length)if(c=l(u[1]),r&&(c=c&&!isNaN(c)?+c:"undefined"===c?t:a[c]!==t?a[c]:c),d)for(;p<=d;p++)s=s[f=""===h[p]?s.length:h[p]]=p<d?s[f]||(h[p+1]&&isNaN(h[p+1])?{}:[]):c;else
e.isArray(o[f])?o[f].push(c):o[f]!==t?o[f]=[o[f],c]:o[f]=c;else
f&&(o[f]=r?t:"")}),o},o[g]=S(C,0),o[v]=a=S(C,1),e[y]||(e[y]=function(n){return
e.extend(N,n)})({a:b,base:b,iframe:x,img:x,input:x,form:"action",link:b,script:x}),u=e[y],e.fn[g]=S(E,g),e.fn[v]=S(E,v),h.pushState=i=function(e,o){w(e)&&/^#/.test(e)&&o===t&&(o=2);var
a=e!==t,i=r(n[$][b],a?e:{},a?o:2);n[$][b]=i+(/#/.test(i)?"":"#")},h.getState=c=function(e,n){return
e===t||"boolean"==typeof
e?a(e):a(n)[e]},h.removeState=function(n){var
r={};n!==t&&(r=c(),e.each(e.isArray(n)?n:arguments,function(e,n){delete
r[n]})),i(r,2)},d[m]=e.extend(d[m],{add:function(n){var a;function i(e){var
n=e[v]=r();e.getState=function(e,r){return
e===t||"boolean"==typeof
e?o(n,e):o(n,r)[e]},a.apply(this,arguments)}if(e.isFunction(n))return
a=n,i;a=n.handler,n.handler=i}})}(jQuery,this),function(e,n,t){"$:nomunge";var
r,o=e.event.special,a="location",i="hashchange",c="href",u=(document.documentMode,!1),f="on"+i
in n&&!u;function
s(e){return(e=e||n[a][c]).replace(/^[^#]*#?(.*)$/,"$1")}e[i+"Delay"]=100,o[i]=e.extend(o[i],{setup:function(){if(f)return!1;e(r.start)},teardown:function(){if(f)return!1;e(r.stop)}}),r=function(){var
t,r,o,f,l={};return l.start=function(){if(!t){var
l=s();o||(o=f=function(e){return e},u&&(r=e('<iframe
src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow,f=function(){return
s(r.document[a][c])},(o=function(e,n){if(e!==n){var
t=r.document;t.open().close(),t[a].hash="#"+e}})(s()))),function
r(){var
u=s(),p=f(l);u!==l?(o(l=u,p),e(n).trigger(i)):p!==l&&(n[a][c]=n[a][c].replace(/#.*/,"")+"#"+p),t=setTimeout(r,e[i+"Delay"])}()}},l.stop=function(){r||(t&&clearTimeout(t),t=0)},l}()}(jQuery,this);jquery.ba-bbq.min.short.js000064400000002735151172257460011505
0ustar00!function(s,u){var
h,p,n=Array.prototype.slice,g=decodeURIComponent,f=s.param,d=(s.bbq=s.bbq||{},s.event.special,"querystring"),y="fragment",$=/^.*\?|#.*$/g,v=/^.*\#/;function
b(e){return"string"==typeof e}function e(e){var
t=n.call(arguments,1);return function(){return
e.apply(this,t.concat(n.call(arguments)))}}function t(e,t,n,r,a){var
l,c,i,o;return
r!==h?(o=(c=n.match(e?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/))[3]||"",2===a&&b(r)?l=r.replace(e?v:$,""):(i=p(c[2]),r=b(r)?p[e?y:d](r):r,l=2===a?r:1===a?s.extend({},r,i):s.extend({},i,r),l=f(l),e&&(l=l.replace(void
0,g))),c[1]+(e?"#":l||!c[1]?"?":"")+l+o):t(n!==h?n:u.location.href)}function
r(e,t,n){return t=t===h||"boolean"==typeof
t?(n=t,f[e?y:d]()):b(t)?t.replace(e?v:$,""):t,p(t,n)}f[d]=e(t,0,function(e){return
e.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}),f[y]=e(t,1,function(e){return
e.replace(/^[^#]*#?(.*)$/,"$1")}),s.deparam=p=function(e,u){var
p={},f={true:!0,false:!1,null:null};return s.each(e.replace(/\+/g,"
").split("&"),function(e,t){var
n,r=t.split("="),a=g(r[0]),l=p,c=0,i=a.split("]["),o=i.length-1;if(o=/\[/.test(i[0])&&/\]$/.test(i[o])?(i[o]=i[o].replace(/\]$/,""),(i=i.shift().split("[").concat(i)).length-1):0,2===r.length)if(n=g(r[1]),u&&(n=n&&!isNaN(n)?+n:"undefined"===n?h:f[n]!==h?f[n]:n),o)for(;c<=o;c++)l=l[a=""===i[c]?l.length:i[c]]=c<o?l[a]||(i[c+1]&&isNaN(i[c+1])?{}:[]):n;else
s.isArray(p[a])?p[a].push(n):p[a]!==h?p[a]=[p[a],n]:p[a]=n;else
a&&(p[a]=u?h:"")}),p},p[d]=e(r,0),p[y]=e(r,1)}(jQuery,this);