mootools-1.2-core.js File Reference

Go to the source code of this file.

Functions

function $chk (A)
 
function $clear (A)
 
function $defined (A)
 
function $empty ()
 
function $arguments (A)
 
function $lambda (A)
 
function $extend (C, A)
 
function $unlink (C)
 
function $merge ()
 
function $pick ()
 
function $random (B, A)
 
function $splat (B)
 
function $try ()
 
function $type (A)
 
Hash implement ({getLength:function(){var B=0;for(var A in this){if(this.hasOwnProperty(A)){B++;}}return B;}, forEach:function(B, C){for(var A in this){if(this.hasOwnProperty(A)){B.call(C, this[A], A, this);}}}, getClean:function(){var B={};for(var A in this){if(this.hasOwnProperty(A)){B[A]=this[A];}}return B;}})
 
Hash alias ("forEach","each")
 
function $H (A)
 
function $A (C)
 
function $each (C, B, D)
 
 if (window.opera)
 
 if (window.orientation!=undefined)
 
function $exec (B)
 
new Window (window)
 
new Document (document)
 
B each (function(C){if(!Number[C]){A[C]=function(){return Math[C].apply(null,[this].concat($A(arguments)));};}})
 
Hash alias ({keyOf:"indexOf", hasValue:"contains"})
 
Hash extend (Hash.combine(B.Props, C), A.associate(A.map(function(D){return D.toLowerCase();})))
 
B erase ("Camels")
 
window addListener ("unload", function(){window.removeListener("unload", arguments.callee);document.purge();if(Browser.Engine.trident){CollectGarbage();}})
 
function E (H, I)
 
function F (H)
 
function G (H)
 
function C (H)
 
function B (H)
 
function A (H)
 
function switch (Browser.Engine.name)
 
Fx Transitions extend ({Pow:function(B, A){return Math.pow(B, A[0]||6);}, Expo:function(A){return Math.pow(2, 8 *(A-1));}, Circ:function(A){return 1-Math.sin(Math.acos(A));}, Sine:function(A){return 1-Math.sin((1-A)*Math.PI/2);}, Back:function(B, A){A=A[0]||1.618;return Math.pow(B, 2)*((A+1)*B-A);}, Bounce:function(D){var C;for(var B=0, A=1;1;B+=A, A/=2){if(D >=(7-4 *B)/11){C=-Math.pow((11-6 *B-11 *D)/4, 2)+A *A;break;}}return C;}, Elastic:function(B, A){return Math.pow(2, 10 *--B)*Math.cos(20 *B *Math.PI *(A[0]||1)/3);}})
 

Variables

var MooTools ={version:"1.2.0",build:""}
 
var Native
 
Native implement
 
Native genericize
 
Native typize =function(A,B){if(!A.type){A.type=function(C){return($type(C)===B);};}}
 
Native alias
 
function B {for(var A in B){Native.typize(B[A],A);}})({"boolean":Boolean,"native":Native,object:Object})
 
function A
 
 Array
 
 String
 
var $time =Date.now||function(){return new Date().getTime();}
 
var Hash
 
var Browser =new Hash({Engine:{name:"unknown",version:""},Platform:{name:(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase()},Features:{xpath:!!(document.evaluate),air:!!(window.runtime)},Plugins:{}})
 
 else
 
Browser Platform [Browser.Platform.name] =true
 
Browser Request
 
Browser Features xhr =!!(Browser.Request())
 
Browser Plugins Flash
 
Native UID =1
 
var $uid
 
var Window
 
Window Prototype ={$family:{name:"window"}}
 
var Document
 
var Event
 
Event Keys =new Hash({enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46})
 
var Class
 
Class Mutators
 
var Chain
 
var Events
 
Events removeOn
 
var Options
 
var Element
 
Element Constructors =new Hash
 
var IFrame
 
var Elements
 
Elements multi
 
 string =function(C,B,A){C=A.getElementById(C);return(C)?$.element(C,B):null;}
 
 element
 
 object =function(B,C,A){if(B.toElement){return $.element(B.toElement(A),C);}return null;}
 
 textnode =$.whitespace=$.window=$.document=$arguments(0)
 
Element Storage ={get:function(A){return(this[A]||(this[A]={}));}}
 
Element Inserters
 
Element Inserters inside =Element.Inserters.bottom
 
Element Properties =new Hash
 
Element Properties style
 
Element Properties tag
 
Element Properties href
 
Element Properties html ={set:function(){return this.innerHTML=Array.flatten(arguments).join("");}}
 
Element Attributes =new Hash({Props:{html:"innerHTML","class":"className","for":"htmlFor",text:(Browser.Engine.trident)?"innerText":"textContent"},Bools:["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"],Camels:["value","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"]})
 
Browser freeMem
 
B Bools =C=C.associate(C)
 
Element Properties events ={set:function(A){this.addEvents(A);}}
 
Element NativeEvents ={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:1,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1}
 
Element Properties styles ={set:function(A){this.setStyles(A);}}
 
Element Properties opacity
 
Element Styles =new Hash({left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"})
 
Element ShortStyles ={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}}
 
var D =Element.getComputedStyle
 
var Selectors ={Cache:{nth:{},parsed:{}}}
 
Selectors RegExps ={id:(/#([\w-]+)/),tag:(/^(\w+|\*)/),quick:(/^(\w+|\*)$/),splitter:(/\s*([+>~\s])\s*([a-zA-Z#.*:\[])/g),combined:(/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)["']?(.*?)["']?)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g)}
 
Selectors Utils
 
Selectors Getters
 
Selectors Filters
 
Selectors Pseudo
 
Element Events domready ={onAdd:function(A){if(Browser.loaded){A.call(this);}}}
 
var JSON
 
var Fx
 
Fx compute
 
Fx Durations ={"short":250,normal:500,"long":1000}
 
Fx CSS
 
Fx CSS Cache ={}
 
Fx CSS Parsers
 
Fx Tween
 
Element Properties tween
 
Fx Morph
 
Element Properties morph
 
function Fx prototype initialize
 
Fx Transition
 
Fx Transitions =new Hash({linear:$arguments(0)})
 
Fx Transitions extend =function(A){for(var B in A){Fx.Transitions[B]=new Fx.Transition(A[B]);}}
 
Element Properties send
 
Request HTML
 
Element Properties load
 

Function Documentation

function $A (   C)

Definition at line 26 of file mootools-1.2-core.js.

function $arguments (   A)

Definition at line 13 of file mootools-1.2-core.js.

function $chk (   A)

Definition at line 13 of file mootools-1.2-core.js.

function $clear (   A)

Definition at line 13 of file mootools-1.2-core.js.

function $defined (   A)

Definition at line 13 of file mootools-1.2-core.js.

function $each (   C,
  B,
  D 
)

Definition at line 27 of file mootools-1.2-core.js.

function $empty ( )

Definition at line 13 of file mootools-1.2-core.js.

function $exec (   B)

Definition at line 34 of file mootools-1.2-core.js.

function $extend (   C,
  A 
)

Definition at line 14 of file mootools-1.2-core.js.

function $H (   A)

Definition at line 25 of file mootools-1.2-core.js.

function $lambda (   A)

Definition at line 14 of file mootools-1.2-core.js.

function $merge ( )

Definition at line 16 of file mootools-1.2-core.js.

Here is the call graph for this function:

function $pick ( )

Definition at line 17 of file mootools-1.2-core.js.

function $random (   B,
  A 
)

Definition at line 18 of file mootools-1.2-core.js.

function $splat (   B)

Definition at line 18 of file mootools-1.2-core.js.

function $try ( )

Definition at line 19 of file mootools-1.2-core.js.

function $type (   A)

Definition at line 20 of file mootools-1.2-core.js.

function $unlink (   C)

Definition at line 14 of file mootools-1.2-core.js.

Here is the caller graph for this function:

function A (   H)

Definition at line 208 of file mootools-1.2-core.js.

window addListener ( "unload"  ,
function(){window.removeListener("unload", arguments.callee);document.purge();if(Browser.Engine.trident){CollectGarbage();}}   
)
Hash alias ( "forEach"  ,
"each"   
)
Hash alias ( {keyOf:"indexOf", hasValue:"contains"}  )
function B (   H)

Definition at line 208 of file mootools-1.2-core.js.

function C (   H)

Definition at line 208 of file mootools-1.2-core.js.

Here is the caller graph for this function:

new Document ( document  )
function E (   H,
  I 
)

Definition at line 207 of file mootools-1.2-core.js.

B each ( function(C){if(!Number[C]){A[C]=function(){return Math[C].apply(null,[this].concat($A(arguments)));};}}  )
B erase ( "Camels"  )
Hash extend ( Hash.  combineB.Props, C,
A.  associateA.map(function(D){return D.toLowerCase();}) 
)
Fx Transitions extend ( {Pow:function(B, A){return Math.pow(B, A[0]||6);}, Expo:function(A){return Math.pow(2, 8 *(A-1));}, Circ:function(A){return 1-Math.sin(Math.acos(A));}, Sine:function(A){return 1-Math.sin((1-A)*Math.PI/2);}, Back:function(B, A){A=A[0]||1.618;return Math.pow(B, 2)*((A+1)*B-A);}, Bounce:function(D){var C;for(var B=0, A=1;1;B+=A, A/=2){if(D >=(7-4 *B)/11){C=-Math.pow((11-6 *B-11 *D)/4, 2)+A *A;break;}}return C;}, Elastic:function(B, A){return Math.pow(2, 10 *--B)*Math.cos(20 *B *Math.PI *(A[0]||1)/3);}}  )
function F (   H)

Definition at line 207 of file mootools-1.2-core.js.

function G (   H)

Definition at line 207 of file mootools-1.2-core.js.

if ( window.  opera)

Definition at line 28 of file mootools-1.2-core.js.

Here is the call graph for this function:

if (   window.orientation! = undefined)

Definition at line 30 of file mootools-1.2-core.js.

Hash implement ( {getLength:function(){var B=0;for(var A in this){if(this.hasOwnProperty(A)){B++;}}return B;}, forEach:function(B, C){for(var A in this){if(this.hasOwnProperty(A)){B.call(C, this[A], A, this);}}}, getClean:function(){var B={};for(var A in this){if(this.hasOwnProperty(A)){B[A]=this[A];}}return B;}}  )
function switch ( Browser.Engine.  name)

Definition at line 248 of file mootools-1.2-core.js.

new Window ( window  )

Definition at line 110 of file fuelApplication.js.

Variable Documentation

var $time =Date.now||function(){return new Date().getTime();}

Definition at line 19 of file mootools-1.2-core.js.

var $uid
Initial value:
=(Browser.Engine.trident)?function(A){return(A.uid||(A.uid=[Native.UID++]))[0];
}:function(A){return A.uid||(A.uid=Native.UID++);}
function A
var Browser
var Native

Definition at line 35 of file mootools-1.2-core.js.

function A
Initial value:
{for(var C=A.length;C--;C){Native.genericize(B,A[C],true);
}return arguments.callee
function A
function C(H)
function B
return!aWindow arguments!aWindow arguments[0]
var Native

Definition at line 11 of file mootools-1.2-core.js.

Number alias
Initial value:
=function(E,B,A,F){for(var D=0,C=E.length;D<C;D++){E[D].alias(B,A,F);
}}
var D
function A
function E(H, I)
function C(H)
function B
function F(H)

Definition at line 9 of file mootools-1.2-core.js.

Array

Definition at line 12 of file mootools-1.2-core.js.

Element Attributes =new Hash({Props:{html:"innerHTML","class":"className","for":"htmlFor",text:(Browser.Engine.trident)?"innerText":"textContent"},Bools:["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"],Camels:["value","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"]})

Definition at line 162 of file mootools-1.2-core.js.

function B {for(var A in B){Native.typize(B[A],A);}})({"boolean":Boolean,"native":Native,object:Object})

Definition at line 10 of file mootools-1.2-core.js.

B Bools =C=C.associate(C)

Definition at line 164 of file mootools-1.2-core.js.

var Browser =new Hash({Engine:{name:"unknown",version:""},Platform:{name:(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase()},Features:{xpath:!!(document.evaluate),air:!!(window.runtime)},Plugins:{}})

Definition at line 27 of file mootools-1.2-core.js.

Fx CSS Cache ={}

Definition at line 273 of file mootools-1.2-core.js.

var Chain
Initial value:
=new Class({chain:function(){this.$chain=(this.$chain||[]).extend(arguments);
return this;},callChain:function(){return(this.$chain&&this.$chain.length)?this.$chain.shift().apply(this,arguments):false;},clearChain:function(){if(this.$chain){this.$chain.empty();
}return this;}})
Fx Transitions extend
var Class
return!aWindow arguments!aWindow arguments[0]

Definition at line 96 of file mootools-1.2-core.js.

var Class
Initial value:
=new Native({name:"Class",initialize:function(B){B=B||{};var A=function(E){for(var D in this){this[D]=$unlink(this[D]);
}for(var F in Class.Mutators){if(!this[F]){continue;}Class.Mutators[F](this,this[F]);delete this[F];}this.constructor=A;if(E===$empty){return this;}var C=(this.initialize)?this.initialize.apply(this,arguments):this;
if(this.options&&this.options.initialize){this.options.initialize.call(this);}return C;};$extend(A,this);A.constructor=Class;A.prototype=B;return A;}})
var D
function A
function Fx prototype initialize
function E(H, I)
function C(H)
function $unlink(C)
DataRemote prototype constructor
function B
var Class
return!aWindow arguments!aWindow arguments[0]
var Native
function F(H)
foldersync options
Definition: options.js:13
function $extend(C, A)
function $empty()

Definition at line 89 of file mootools-1.2-core.js.

Fx compute
Initial value:
=function(C,B,A){return(B-C)*A+C;
}
function A
function C(H)
function B

Definition at line 264 of file mootools-1.2-core.js.

Element Constructors =new Hash

Definition at line 109 of file mootools-1.2-core.js.

Fx CSS
Initial value:
=new Class({Extends:Fx,prepare:function(D,E,B){B=$splat(B);var C=B[1];if(!$chk(C)){B[1]=B[0];
B[0]=D.getStyle(E);}var A=B.map(this.parse);return{from:A[0],to:A[1]};},parse:function(A){A=$lambda(A)();A=(typeof A=="string")?A.split(" "):$splat(A);
return A.map(function(C){C=String(C);var B=false;Fx.CSS.Parsers.each(function(F,E){if(B){return ;}var D=F.parse(C);if($chk(D)){B={value:D,parser:F};}});
B=B||{value:C,parser:Fx.CSS.Parsers.String};return B;});},compute:function(D,C,B){var A=[];(Math.min(D.length,C.length)).times(function(E){A.push({value:D[E].parser.compute(D[E].value,C[E].value,B),parser:D[E].parser});
});A.$family={name:"fx:css:value"};return A;},serve:function(C,B){if($type(C)!="fx:css:value"){C=this.parse(C);}var A=[];C.each(function(D){A=A.concat(D.parser.serve(D.value,B));
});return A;},render:function(A,D,C,B){A.setStyle(D,this.serve(C,B));},search:function(A){if(Fx.CSS.Cache[A]){return Fx.CSS.Cache[A];}var B={};Array.each(document.styleSheets,function(E,D){var C=E.href;
if(C&&C.contains("://")&&!C.contains(document.domain)){return ;}var F=E.rules||E.cssRules;Array.each(F,function(I,G){if(!I.style){return ;}var H=(I.selectorText)?I.selectorText.replace(/^\w+/,function(J){return J.toLowerCase();
}):null;if(!H||!H.test("^"+A+"$")){return ;}Element.Styles.each(function(K,J){if(!I.style[J]||Element.ShortStyles[J]){return ;}K=String(I.style[J]);B[J]=(K.test(/^rgb/))?K.rgbToHex():K;
});});});return Fx.CSS.Cache[A]=B;}})
var D
function A
function $splat(B)
function $chk(A)
function $lambda(A)
function G(H)
var Element
Fx compute
function E(H, I)
function C(H)
const PRInt32 K
function search(aFolderId, aSearchStr, aExpectedScopeButtonId)
function $type(A)
function B
return null
Definition: FeedWriter.js:1143
var Fx
var Class
return
Definition: FeedWriter.js:850
countRef value
Definition: FeedWriter.js:1423
function F(H)

Definition at line 265 of file mootools-1.2-core.js.

var D =Element.getComputedStyle

Definition at line 207 of file mootools-1.2-core.js.

var Document
Initial value:
=new Native({name:"Document",legacy:(Browser.Engine.trident)?null:window.Document,initialize:function(A){$uid(A);A.head=A.getElementsByTagName("head")[0];
A.html=A.getElementsByTagName("html")[0];A.window=A.defaultView||A.parentWindow;if(Browser.Engine.trident4){$try(function(){A.execCommand("BackgroundImageCache",false,true);
});}return $extend(A,Document.Prototype);},afterImplement:function(B,A){document[B]=Document.Prototype[B]=A;}})
function A
function Fx prototype initialize
let window
var Browser
function B
return null
Definition: FeedWriter.js:1143
var Native
var $uid
function $try()
var Document
function $extend(C, A)

Definition at line 39 of file mootools-1.2-core.js.

Element Events domready ={onAdd:function(A){if(Browser.loaded){A.call(this);}}}

Definition at line 247 of file mootools-1.2-core.js.

Fx Durations ={"short":250,normal:500,"long":1000}

Definition at line 265 of file mootools-1.2-core.js.

var Element
Initial value:
=new Native({name:"Element",legacy:window.Element,initialize:function(A,B){var C=Element.Constructors.get(A);
if(C){return C(B);}if(typeof A=="string"){return document.newElement(A,B);}return $(A).set(B);},afterImplement:function(A,B){if(!Array[A]){Elements.implement(A,Elements.multi(A));
}Element.Prototype[A]=B;}})
function A
function Fx prototype initialize
var Element
let window
function C(H)
function B
var Elements
var Native

Definition at line 107 of file mootools-1.2-core.js.

element
Initial value:
=function(A,D){$uid(A);if(!D&&!A.$family&&!(/^object|embed$/i).test(A.tagName)){var B=Element.Prototype;
for(var C in B){A[C]=B[C];}}return A;}
var D
function A
var Element
function C(H)
function B
var $uid
_getSelectedPageStyle s i

Definition at line 120 of file mootools-1.2-core.js.

var Elements
Initial value:
=new Native({initialize:function(F,B){B=$extend({ddup:true,cash:true},B);F=F||[];if(B.ddup||B.cash){var G={},E=[];for(var C=0,A=F.length;
C<A;C++){var D=$.element(F[C],!B.cash);if(B.ddup){if(G[D.uid]){continue;}G[D.uid]=true;}E.push(D);}F=E;}return(B.cash)?$extend(F,this):F;}})
var D
function A
function Fx prototype initialize
function G(H)
function E(H, I)
function C(H)
function B
var Native
function F(H)
function $extend(C, A)

Definition at line 113 of file mootools-1.2-core.js.

else
Initial value:
{if(window.ActiveXObject){Browser.Engine={name:"trident",version:(window.XMLHttpRequest)?5:4};
}else{if(!navigator.taintEnabled){Browser.Engine={name:"webkit",version:(Browser.Features.xpath)?420:419};}else{if(document.getBoxObjectFor!=null){Browser.Engine={name:"gecko",version:(document.getElementsByClassName)?19:18};
}}}}Browser.Engine[Browser.Engine.name]=Browser.Engine[Browser.Engine.name+Browser.Engine.version]=true
version(170)
let window
var Browser
return null
Definition: FeedWriter.js:1143

Definition at line 28 of file mootools-1.2-core.js.

var Event
Initial value:
=new Native({name:"Event",initialize:function(A,F){F=F||window;var K=F.document;A=A||F.event;if(A.$extended){return A;}this.$extended=true;var J=A.type;
var G=A.target||A.srcElement;while(G&&G.nodeType==3){G=G.parentNode;}if(J.test(/key/)){var B=A.which||A.keyCode;var M=Event.Keys.keyOf(B);if(J=="keydown"){var D=B-111;
if(D>0&&D<13){M="f"+D;}}M=M||String.fromCharCode(B).toLowerCase();}else{if(J.match(/(click|mouse|menu)/i)){K=(!K.compatMode||K.compatMode=="CSS1Compat")?K.html:K.body;
var I={x:A.pageX||A.clientX+K.scrollLeft,y:A.pageY||A.clientY+K.scrollTop};var C={x:(A.pageX)?A.pageX-F.pageXOffset:A.clientX,y:(A.pageY)?A.pageY-F.pageYOffset:A.clientY};
if(J.match(/DOMMouseScroll|mousewheel/)){var H=(A.wheelDelta)?A.wheelDelta/120:-(A.detail||0)/3;}var E=(A.which==3)||(A.button==2);var L=null;if(J.match(/over|out/)){switch(J){case"mouseover":L=A.relatedTarget||A.fromElement;
break;case"mouseout":L=A.relatedTarget||A.toElement;}if(!(function(){while(L&&L.nodeType==3){L=L.parentNode;}return true;}).create({attempt:Browser.Engine.gecko})()){L=false;
}}}}return $extend(this,{event:A,type:J,page:I,client:C,rightClick:E,wheel:H,relatedTarget:L,target:G,code:B,key:M,shift:A.shiftKey,control:A.ctrlKey,alt:A.altKey,meta:A.metaKey});
}})
var D
function A
function Fx prototype initialize
function G(H)
var menu
gProfD create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755)
var Event
function E(H, I)
let window
function C(H)
const PRInt32 K
var Browser
function B
return null
Definition: FeedWriter.js:1143
var Native
function F(H)
function $extend(C, A)
_getSelectedPageStyle s i

Definition at line 80 of file mootools-1.2-core.js.

function Element Events
Initial value:
=new Class({addEvent:function(C,B,A){C=Events.removeOn(C);if(B!=$empty){this.$events=this.$events||{};this.$events[C]=this.$events[C]||[];
this.$events[C].include(B);if(A){B.internal=true;}}return this;},addEvents:function(A){for(var B in A){this.addEvent(B,A[B]);}return this;},fireEvent:function(C,B,A){C=Events.removeOn(C);
if(!this.$events||!this.$events[C]){return this;}this.$events[C].each(function(D){D.create({bind:this,delay:A,"arguments":B})();},this);return this;},removeEvent:function(B,A){B=Events.removeOn(B);
if(!this.$events||!this.$events[B]){return this;}if(!A.internal){this.$events[B].erase(A);}return this;},removeEvents:function(C){for(var D in this.$events){if(C&&C!=D){continue;
}var B=this.$events[D];for(var A=B.length;A--;A){this.removeEvent(D,B[A]);}}return this;}})
var D
function A
function C(H)
window addEvent('domready', function(){var strings=window.parent.mashTape.strings;var bioText=$('bio-text');var bioToggleLabel=$('bio-toggle-text');var discoText=$('discography-text');var discoToggleLabel=$('discography-toggle-text');document.getElementById("header-bio").innerHTML=strings.GetStringFromName("extensions.mashTape.info.bio");document.getElementById("header-discography").innerHTML=strings.GetStringFromName("extensions.mashTape.info.discography");document.getElementById("header-members").innerHTML=strings.GetStringFromName("extensions.mashTape.info.members");document.getElementById("header-tags").innerHTML=strings.GetStringFromName("extensions.mashTape.info.tags");document.getElementById("header-links").innerHTML=strings.GetStringFromName("extensions.mashTape.info.links");bioToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.readmore");discoToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.viewmore");$('bio-toggle-text').addEvent('click', function(e){e.stop();if(bioText.getAttribute("mashTape-collapsed")=="true"){var fullHeight=bioText.getAttribute("mashTape-full-height");bioText.tween("height", fullHeight);bioToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.readless");bioText.setAttribute("mashTape-collapsed", false);}else{window.scrollTo(0, 0);bioText.tween("height","93px");bioToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.readmore");bioText.setAttribute("mashTape-collapsed", true);}});$('discography-toggle-text').addEvent('click', function(e){e.stop();if(discoText.getAttribute("mashTape-collapsed")=="true"){var fullHeight=discoText.getAttribute("mashTape-full-height");discoText.tween("height", fullHeight);discoToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.viewless");discoText.setAttribute("mashTape-collapsed", false);}else{discoText.tween("height","70px");discoToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.viewmore");discoText.setAttribute("mashTape-collapsed", true);}});})
function B
var Class
var Events
bind("getData.datepicker", function(event, key){return this._get(inst, key);})
function $empty()

Definition at line 98 of file mootools-1.2-core.js.

Element Properties events ={set:function(A){this.addEvents(A);}}

Definition at line 166 of file mootools-1.2-core.js.

Fx Transitions extend =function(A){for(var B in A){Fx.Transitions[B]=new Fx.Transition(A[B]);}}

Definition at line 294 of file mootools-1.2-core.js.

Selectors Filters
Initial value:
={byTag:function(B,A){return(A=="*"||(B.tagName&&B.tagName.toLowerCase()==A));},byID:function(A,B){return(!B||(A.id&&A.id==B));
},byClass:function(B,A){return(B.className&&B.className.contains(A," "));},byPseudo:function(A,D,C,B){return D.call(A,C,B);},byAttribute:function(C,D,B,E){var A=Element.prototype.getProperty.call(C,D);
if(!A){return false;}if(!B||E==undefined){return true;}switch(B){case"=":return(A==E);case"*=":return(A.contains(E));case"^=":return(A.substr(0,E.length)==E);
case"$=":return(A.substr(A.length-E.length)==E);case"!=":return(A!=E);case"~=":return A.contains(E," ");case"|=":return A.contains(E,"-");}return false;
}}
var D
function A
var Element
function E(H, I)
function C(H)
function B

Definition at line 236 of file mootools-1.2-core.js.

Browser Plugins Flash
Initial value:
=(function(){var A=($try(function(){return navigator.plugins["Shockwave Flash"].description;
},function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version");})||"0 r0").match(/\d+/g);return{version:parseInt(A[0]||0+"."+A[1]||0),build:parseInt(A[2]||0)};
})()
function A
version(170)
function d(s)
function $try()

Definition at line 32 of file mootools-1.2-core.js.

Browser freeMem
Initial value:
=function(A){if(!A){return ;}if(Browser.Engine.trident&&(/object/i).test(A.tagName)){for(var B in A){if(typeof A[B]=="function"){A[B]=$empty;
}}Element.dispose(A);}if(A.uid&&A.removeEvents){A.removeEvents();}}
function A
var Element
var Browser
function B
return
Definition: FeedWriter.js:850
_getSelectedPageStyle s i
function $empty()

Definition at line 163 of file mootools-1.2-core.js.

var Fx
Initial value:
=new Class({Implements:[Chain,Events,Options],options:{fps:50,unit:false,duration:500,link:"ignore",transition:function(A){return -(Math.cos(Math.PI*A)-1)/2;
}},initialize:function(A){this.subject=this.subject||this;this.setOptions(A);this.options.duration=Fx.Durations[this.options.duration]||this.options.duration.toInt();
var B=this.options.wait;if(B===false){this.options.link="cancel";}},step:function(){var A=$time();if(A<this.time+this.options.duration){var B=this.options.transition((A-this.time)/this.options.duration);
this.set(this.compute(this.from,this.to,B));}else{this.set(this.compute(this.from,this.to,1));this.complete();}},set:function(A){return A;},compute:function(C,B,A){return Fx.compute(C,B,A);
},check:function(A){if(!this.timer){return true;}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(A.bind(this,Array.slice(arguments,1)));
return false;}return false;},start:function(B,A){if(!this.check(arguments.callee,B,A)){return this;}this.from=B;this.to=A;this.time=0;this.startTimer();
this.onStart();return this;},complete:function(){if(this.stopTimer()){this.onComplete();}return this;},cancel:function(){if(this.stopTimer()){this.onCancel();
}return this;},onStart:function(){this.fireEvent("start",this.subject);},onComplete:function(){this.fireEvent("complete",this.subject);if(!this.callChain()){this.fireEvent("chainComplete",this.subject);
}},onCancel:function(){this.fireEvent("cancel",this.subject).clearChain();},pause:function(){this.stopTimer();return this;},resume:function(){this.startTimer();
return this;},stopTimer:function(){if(!this.timer){return false;}this.time=$time()-this.time;this.timer=$clear(this.timer);return true;},startTimer:function(){if(this.timer){return false;
}this.time=$time()-this.time;this.timer=this.step.periodical(Math.round(1000/this.options.fps),this);return true;}})
function start(ch)
var $time
function A
function Fx prototype initialize
function onComplete(job)
Definition: test_bug7406.js:85
function onStart(ch, cx)
var Options
Fx compute
function C(H)
_hideDatepicker duration
function B
function onCancel()
Definition: safeMode.js:129
var Chain
var Fx
var Class
function check(ch, cx)
return!aWindow arguments!aWindow arguments[0]
var Events
function $clear(A)
foldersync options
Definition: options.js:13

Definition at line 254 of file mootools-1.2-core.js.

Native genericize
Initial value:
=function(B,C,A){if((!A||!B[C])&&typeof B.prototype[C]=="function"){B[C]=function(){var D=Array.prototype.slice.call(arguments);return B.prototype[C].apply(D.shift(),D);
};}}
var D
function A
function C(H)
function B
return!aWindow arguments!aWindow arguments[0]

Definition at line 8 of file mootools-1.2-core.js.

Selectors Getters
Initial value:
={" ":function(H,G,I,A,E){var D=Selectors.Utils.getByTagAndID(G,I,A);for(var C=0,B=D.length;C<B;C++){var F=D[C];if(Selectors.Utils.chk(F,E)){H.push(F);
}}return H;},">":function(H,G,I,A,F){var C=Selectors.Utils.getByTagAndID(G,I,A);for(var E=0,D=C.length;E<D;E++){var B=C[E];if(B.parentNode==G&&Selectors.Utils.chk(B,F)){H.push(B);
}}return H;},"+":function(C,B,A,E,D){while((B=B.nextSibling)){if(B.nodeType==1){if(Selectors.Utils.chk(B,D)&&Selectors.Filters.byTag(B,A)&&Selectors.Filters.byID(B,E)){C.push(B);
}break;}}return C;},"~":function(C,B,A,E,D){while((B=B.nextSibling)){if(B.nodeType==1){if(!Selectors.Utils.chk(B,D)){break;}if(Selectors.Filters.byTag(B,A)&&Selectors.Filters.byID(B,E)){C.push(B);
}}}return C;}}
var D
function A
function G(H)
var Selectors
function E(H, I)
function C(H)
function B
function F(H)

Definition at line 232 of file mootools-1.2-core.js.

var Hash
Initial value:
=new Native({name:"Hash",initialize:function(A){if($type(A)=="hash"){A=$unlink(A.getClean());
}for(var B in A){this[B]=A[B];}return this;}})
function A
function Fx prototype initialize
function $unlink(C)
function $type(A)
function B
var Native

Definition at line 22 of file mootools-1.2-core.js.

Initial value:
={get:function(){return(!this.href)?null:this.href.replace(new RegExp("^"+document.location.protocol+"//"+document.location.host),"");
}}
Element Properties href
return null
Definition: FeedWriter.js:1143

Definition at line 158 of file mootools-1.2-core.js.

Element Properties html ={set:function(){return this.innerHTML=Array.flatten(arguments).join("");}}

Definition at line 159 of file mootools-1.2-core.js.

Request HTML
Initial value:
=new Class({Extends:Request,options:{update:false,evalScripts:true,filter:false},processHTML:function(C){var B=C.match(/<body[^>]*>([\s\S]*?)<\/body>/i);
C=(B)?B[1]:C;var A=new Element("div");return $try(function(){var D="<root>"+C+"</root>",G;if(Browser.Engine.trident){G=new ActiveXObject("Microsoft.XMLDOM");
G.async=false;G.loadXML(D);}else{G=new DOMParser().parseFromString(D,"text/xml");}D=G.getElementsByTagName("root")[0];for(var F=0,E=D.childNodes.length;
F<E;F++){var H=Element.clone(D.childNodes[F],true,true);if(H){A.grab(H);}}return A;})||A.set("html",C);},success:function(D){var C=this.options,B=this.response;
B.html=D.stripScripts(function(E){B.javascript=E;});var A=this.processHTML(B.html);B.tree=A.childNodes;B.elements=A.getElements("*");if(C.filter){B.tree=B.elements.filter(C.filter);
}if(C.update){$(C.update).empty().adopt(B.tree);}if(C.evalScripts){$exec(B.javascript);}this.onSuccess(B.tree,B.elements,B.html,B.javascript);}})
var D
function A
function G(H)
var Element
function E(H, I)
function C(H)
Browser Request
var Browser
function $exec(B)
function B
var Class
inst dpDiv empty().append(this._generateHTML(inst)).find('iframe.ui-datepicker-cover').css(
function $try()
function F(H)
foldersync options
Definition: options.js:13
_getSelectedPageStyle s i
Array filter(tab.attributes, function(aAttr){return(_this.xulAttributes.indexOf(aAttr.name) >-1);}).forEach(tab.removeAttribute

Definition at line 319 of file mootools-1.2-core.js.

var IFrame
Initial value:
=new Native({name:"IFrame",generics:false,initialize:function(){var E=Array.link(arguments,{properties:Object.type,iframe:$defined});
var C=E.properties||{};var B=$(E.iframe)||false;var D=C.onload||$empty;delete C.onload;C.id=C.name=$pick(C.id,C.name,B.id,B.name,"IFrame_"+$time());B=new Element(B||"iframe",C);
var A=function(){var F=$try(function(){return B.contentWindow.location.host;});if(F&&F==window.location.host){var H=new Window(B.contentWindow);var G=new Document(B.contentWindow.document);
$extend(H.Element.prototype,Element.Prototype);}D.call(B.contentWindow,B.contentWindow.document);};(!window.frames[C.id])?B.addListener("load",A):A();return B;
}})
var D
var $time
function A
function Fx prototype initialize
function G(H)
var Element
function E(H, I)
let window
function C(H)
function B
var Window
return!aWindow arguments!aWindow arguments[0]
var Native
function $try()
function F(H)
var Document
function $extend(C, A)
function $defined(A)
function $pick()
function $empty()

Definition at line 109 of file mootools-1.2-core.js.

Element implement
Initial value:
=function(D,C){for(var B=0,A=D.length;B<A;B++){D[B].implement(C);
}}
var D
function A
function C(H)
function B

Definition at line 7 of file mootools-1.2-core.js.

function Fx prototype initialize
Initial value:
=function(B){A.call(this,B);var C=this.options.transition;if(typeof C=="string"&&(C=C.split(":"))){var D=Fx.Transitions;D=D[C[0]]||D[C[0].capitalize()];
if(C[1]){D=D["ease"+C[1].capitalize()+(C[2]?C[2].capitalize():"")];}this.options.transition=D;}}
var D
function A
function C(H)
function B
var Fx
foldersync options
Definition: options.js:13

Definition at line 291 of file mootools-1.2-core.js.

Element Inserters
Initial value:
=new Hash({before:function(B,A){if(A.parentNode){A.parentNode.insertBefore(B,A);
}},after:function(B,A){if(!A.parentNode){return ;}var C=A.nextSibling;(C)?A.parentNode.insertBefore(B,C):A.parentNode.appendChild(B);},bottom:function(B,A){A.appendChild(B);
},top:function(B,A){var C=A.firstChild;(C)?A.insertBefore(B,C):A.appendChild(B);}})
function A
function C(H)
function B
return
Definition: FeedWriter.js:850
var Hash

Definition at line 124 of file mootools-1.2-core.js.

Element Inserters inside =Element.Inserters.bottom

Definition at line 126 of file mootools-1.2-core.js.

Request JSON
Initial value:
=new Hash({encode:function(B){switch($type(B)){case"string":return'"'+B.replace(/[\x00-\x1f\\"]/g,JSON.$replaceChars)+'"';
case"array":return"["+String(B.map(JSON.encode).filter($defined))+"]";case"object":case"hash":var A=[];Hash.each(B,function(E,D){var C=JSON.encode(E);if(C){A.push(JSON.encode(D)+":"+C);
}});return"{"+A+"}";case"number":case"boolean":return String(B);case false:return"null";}return null;},$specialChars:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},$replaceChars:function(A){return JSON.$specialChars[A]||"\\u00"+Math.floor(A.charCodeAt()/16).toString(16)+(A.charCodeAt()%16).toString(16);
},decode:function(string,secure){if($type(string)!="string"||!string.length){return null;}if(secure&&!(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(string.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,""))){return null;
}return eval("("+string+")")
function $type(A)
function B
var Hash

Definition at line 250 of file mootools-1.2-core.js.

Event Keys =new Hash({enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46})

Definition at line 87 of file mootools-1.2-core.js.

Initial value:
={set:function(A){var B=this.retrieve("load");
if(B){send.cancel();}return this.eliminate("load").store("load:options",$extend({data:this,link:"cancel",update:this,method:"get"},A));},get:function(A){if(A||!this.retrieve("load")){if(A||!this.retrieve("load:options")){this.set("load",A);
}this.store("load",new Request.HTML(this.retrieve("load:options")));}return this.retrieve("load");}}
function A
Element Properties send
Browser Request
function B
function $extend(C, A)
observe data
Definition: FeedWriter.js:1329

Definition at line 324 of file mootools-1.2-core.js.

var MooTools ={version:"1.2.0",build:""}

Definition at line 3 of file mootools-1.2-core.js.

Fx Morph
Initial value:
=new Class({Extends:Fx.CSS,initialize:function(B,A){this.element=this.subject=$(B);this.parent(A);},set:function(A){if(typeof A=="string"){A=this.search(A);
}for(var B in A){this.render(this.element,B,A[B],this.options.unit);}return this;},compute:function(E,D,C){var A={};for(var B in E){A[B]=this.parent(E[B],D[B],C);
}return A;},start:function(B){if(!this.check(arguments.callee,B)){return this;}if(typeof B=="string"){B=this.search(B);}var E={},D={};for(var C in B){var A=this.prepare(this.element,C,B[C]);
E[C]=A.from;D[C]=A.to;}return this.parent(E,D);}})
function start(ch)
var D
function A
function Fx prototype initialize
Fx compute
function E(H, I)
function C(H)
function search(aFolderId, aSearchStr, aExpectedScopeButtonId)
function B
var Fx
var Class
function check(ch, cx)
return!aWindow arguments!aWindow arguments[0]
foldersync options
Definition: options.js:13

Definition at line 285 of file mootools-1.2-core.js.

Initial value:
={set:function(A){var B=this.retrieve("morph");if(B){B.cancel();}return this.eliminate("morph").store("morph:options",$extend({link:"cancel"},A));
},get:function(A){if(A||!this.retrieve("morph")){if(A||!this.retrieve("morph:options")){this.set("morph",A);}this.store("morph",new Fx.Morph(this,this.retrieve("morph:options")));
}return this.retrieve("morph");}}
function A
function B
var Fx
function $extend(C, A)

Definition at line 288 of file mootools-1.2-core.js.

Elements multi
Initial value:
=function(A){return function(){var B=[];
var F=true;for(var D=0,C=this.length;D<C;D++){var E=this[D][A].apply(this[D],arguments);B.push(E);if(F){F=($type(E)=="element");}}return(F)?new Elements(B):B;
};}
var D
function A
function E(H, I)
function C(H)
function $type(A)
function B
return!aWindow arguments!aWindow arguments[0]
var Elements
function F(H)

Definition at line 115 of file mootools-1.2-core.js.

Class Mutators
Initial value:
={Implements:function(A,B){$splat(B).each(function(C){$extend(A,($type(C)=="class")?new C($empty):C);
});},Extends:function(self,klass){var instance=new klass($empty);delete instance.parent;delete instance.parentOf;for(var key in instance){var current=self[key],previous=instance[key];
if(current==undefined){self[key]=previous;continue;}var ctype=$type(current),ptype=$type(previous);if(ctype!=ptype){continue;}switch(ctype){case"function":if(!arguments.callee.caller){self[key]=eval("("+String(current).replace(/\bthis\.parent\(\s*(\))?/g,function(full,close){return"arguments.callee._parent_.call(this"+(close||", ");
})+")");}self[key]._parent_=previous;break;case"object":self[key]=$merge(previous,current);}}self.parent=function(){return arguments.callee.caller._parent_.apply(this,arguments);
};self.parentOf=function(descendant){return descendant._parent_.apply(this,Array.slice(arguments,1));};}}
function A
function $splat(B)
function C(H)
function $type(A)
function B
function $merge()
return!aWindow arguments!aWindow arguments[0]
function $extend(C, A)
function $empty()

Definition at line 92 of file mootools-1.2-core.js.

var Native
Initial value:
=function(J){J=J||{};var F=J.afterImplement||function(){};var G=J.generics;G=(G!==false);var H=J.legacy;
var E=J.initialize;var B=J.protect;var A=J.name;var C=E||H;C.constructor=Native;C.$family={name:"native"};if(H&&E){C.prototype=H.prototype;}C.prototype.constructor=C;
if(A){var D=A.toLowerCase();C.prototype.$family={name:D};Native.typize(C,D);}var I=function(M,K,N,L){if(!B||L||!M.prototype[K]){M.prototype[K]=N;}if(G){Native.genericize(M,K,B);
}F.call(M,K,N);return M;};C.implement=function(L,K,N){if(typeof L=="string"){return I(this,L,K,N);}for(var M in L){I(this,M,L[M],K);}return this;};C.alias=function(M,K,N){if(typeof M=="string"){M=this.prototype[M];
if(M){I(this,K,M,N);}}else{for(var L in M){this.alias(L,M[L],K);}}return this;};return C;}
var D
function A
function G(H)
function E(H, I)
function C(H)
const PRInt32 K
Native alias
function B
AddonMetadata prototype
var Native
function F(H)

Definition at line 3 of file mootools-1.2-core.js.

Element NativeEvents ={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:1,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1}

Definition at line 175 of file mootools-1.2-core.js.

object =function(B,C,A){if(B.toElement){return $.element(B.toElement(A),C);}return null;}

Definition at line 121 of file mootools-1.2-core.js.

Initial value:
={set:function(A,B){if(!B){if(A==0){if(this.style.visibility!="hidden"){this.style.visibility="hidden";
}}else{if(this.style.visibility!="visible"){this.style.visibility="visible";}}}if(!this.currentStyle||!this.currentStyle.hasLayout){this.style.zoom=1;}if(Browser.Engine.trident){this.style.filter=(A==1)?"":"alpha(opacity="+A*100+")";
}this.style.opacity=A;this.store("opacity",A);},get:function(){return this.retrieve("opacity",1);}}
function A
var Browser
function B
Element Properties style

Definition at line 178 of file mootools-1.2-core.js.

var Options
Initial value:
=new Class({setOptions:function(){this.options=$merge.run([this.options].extend(arguments));if(!this.addEvent){return this;}for(var A in this.options){if($type(this.options[A])!="function"||!(/^on[A-Z]/).test(A)){continue;
}this.addEvent(A,this.options[A]);delete this.options[A];}return this;}})
function A
Fx Transitions extend
function $type(A)
window addEvent('domready', function(){var strings=window.parent.mashTape.strings;var bioText=$('bio-text');var bioToggleLabel=$('bio-toggle-text');var discoText=$('discography-text');var discoToggleLabel=$('discography-toggle-text');document.getElementById("header-bio").innerHTML=strings.GetStringFromName("extensions.mashTape.info.bio");document.getElementById("header-discography").innerHTML=strings.GetStringFromName("extensions.mashTape.info.discography");document.getElementById("header-members").innerHTML=strings.GetStringFromName("extensions.mashTape.info.members");document.getElementById("header-tags").innerHTML=strings.GetStringFromName("extensions.mashTape.info.tags");document.getElementById("header-links").innerHTML=strings.GetStringFromName("extensions.mashTape.info.links");bioToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.readmore");discoToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.viewmore");$('bio-toggle-text').addEvent('click', function(e){e.stop();if(bioText.getAttribute("mashTape-collapsed")=="true"){var fullHeight=bioText.getAttribute("mashTape-full-height");bioText.tween("height", fullHeight);bioToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.readless");bioText.setAttribute("mashTape-collapsed", false);}else{window.scrollTo(0, 0);bioText.tween("height","93px");bioToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.readmore");bioText.setAttribute("mashTape-collapsed", true);}});$('discography-toggle-text').addEvent('click', function(e){e.stop();if(discoText.getAttribute("mashTape-collapsed")=="true"){var fullHeight=discoText.getAttribute("mashTape-full-height");discoText.tween("height", fullHeight);discoToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.viewless");discoText.setAttribute("mashTape-collapsed", false);}else{discoText.tween("height","70px");discoToggleLabel.innerHTML=strings.GetStringFromName("extensions.mashTape.msg.viewmore");discoText.setAttribute("mashTape-collapsed", true);}});})
var Class
function $merge()
return!aWindow arguments!aWindow arguments[0]
foldersync options
Definition: options.js:13

Definition at line 103 of file mootools-1.2-core.js.

Fx CSS Parsers
Initial value:
=new Hash({Color:{parse:function(A){if(A.match(/^#[0-9a-f]{3,6}$/i)){return A.hexToRgb(true);
}return((A=A.match(/(\d+),\s*(\d+),\s*(\d+)/)))?[A[1],A[2],A[3]]:false;},compute:function(C,B,A){return C.map(function(E,D){return Math.round(Fx.compute(C[D],B[D],A));
});},serve:function(A){return A.map(Number);}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(B,A){return(A)?B+A:B;}},String:{parse:$lambda(false),compute:$arguments(1),serve:$arguments(0)}})
var D
function A
function $lambda(A)
function $arguments(A)
Fx compute
function E(H, I)
function C(H)
function d(s)
function B
var Fx
var Hash
_getSelectedPageStyle s i

Definition at line 273 of file mootools-1.2-core.js.

Definition at line 31 of file mootools-1.2-core.js.

Element Properties =new Hash

Definition at line 156 of file mootools-1.2-core.js.

Element Prototype ={$family:{name:"window"}}

Definition at line 38 of file mootools-1.2-core.js.

Selectors Pseudo
Initial value:
=new Hash({empty:function(){return !(this.innerText||this.textContent||"").length;},not:function(A){return !Element.match(this,A);},contains:function(A){return(this.innerText||this.textContent||"").contains(A);
},"first-child":function(){return Selectors.Pseudo.index.call(this,0);},"last-child":function(){var A=this;while((A=A.nextSibling)){if(A.nodeType==1){return false;
}}return true;},"only-child":function(){var B=this;while((B=B.previousSibling)){if(B.nodeType==1){return false;}}var A=this;while((A=A.nextSibling)){if(A.nodeType==1){return false;
}}return true;},"nth-child":function(G,E){G=(G==undefined)?"n":G;var C=Selectors.Utils.parseNthArgument(G);if(C.special!="n"){return Selectors.Pseudo[C.special].call(this,C.a,E);
}var F=0;E.positions=E.positions||{};var D=$uid(this);if(!E.positions[D]){var B=this;while((B=B.previousSibling)){if(B.nodeType!=1){continue;}F++;var A=E.positions[$uid(B)];
if(A!=undefined){F=A+F;break;}}E.positions[D]=F;}return(E.positions[D]%C.a==C.b);},index:function(A){var B=this,C=0;while((B=B.previousSibling)){if(B.nodeType==1&&++C>A){return false;
}}return(C==A);},even:function(B,A){return Selectors.Pseudo["nth-child"].call(this,"2n+1",A);},odd:function(B,A){return Selectors.Pseudo["nth-child"].call(this,"2n",A);
}})
var D
function A
function G(H)
var Selectors
var Element
function E(H, I)
function C(H)
function B
inst dpDiv empty().append(this._generateHTML(inst)).find('iframe.ui-datepicker-cover').css(
var $uid
function F(H)
var Hash

Definition at line 240 of file mootools-1.2-core.js.

Selectors RegExps ={id:(/#([\w-]+)/),tag:(/^(\w+|\*)/),quick:(/^(\w+|\*)$/),splitter:(/\s*([+>~\s])\s*([a-zA-Z#.*:\[])/g),combined:(/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)["']?(.*?)["']?)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g)}

Definition at line 215 of file mootools-1.2-core.js.

Events removeOn
Initial value:
=function(A){return A.replace(/^on([A-Z])/,function(B,C){return C.toLowerCase();
});}
function A
function C(H)
function B

Definition at line 102 of file mootools-1.2-core.js.

var Request
Initial value:
=function(){return $try(function(){return new XMLHttpRequest();},function(){return new ActiveXObject("MSXML2.XMLHTTP");
});}
function $try()

Definition at line 31 of file mootools-1.2-core.js.

var Selectors ={Cache:{nth:{},parsed:{}}}

Definition at line 215 of file mootools-1.2-core.js.

Initial value:
={set:function(A){var B=this.retrieve("send");
if(B){B.cancel();}return this.eliminate("send").store("send:options",$extend({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")},A));
},get:function(A){if(A||!this.retrieve("send")){if(A||!this.retrieve("send:options")){this.set("send",A);}this.store("send",new Request(this.retrieve("send:options")));
}return this.retrieve("send");}}
function A
Browser Request
function B
function url(spec)
function $extend(C, A)
observe data
Definition: FeedWriter.js:1329

Definition at line 316 of file mootools-1.2-core.js.

Element ShortStyles ={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}}

Definition at line 190 of file mootools-1.2-core.js.

Element Storage ={get:function(A){return(this[A]||(this[A]={}));}}

Definition at line 124 of file mootools-1.2-core.js.

String

Definition at line 12 of file mootools-1.2-core.js.

string =function(C,B,A){C=A.getElementById(C);return(C)?$.element(C,B):null;}

Definition at line 120 of file mootools-1.2-core.js.

Initial value:
={set:function(A){this.style.cssText=A;
},get:function(){return this.style.cssText;},erase:function(){this.style.cssText="";}}
function A
B erase("Camels")
Element Properties style

Definition at line 156 of file mootools-1.2-core.js.

Element Properties styles ={set:function(A){this.setStyles(A);}}

Definition at line 178 of file mootools-1.2-core.js.

Element Styles =new Hash({left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"})

Definition at line 189 of file mootools-1.2-core.js.

Initial value:
={get:function(){return this.tagName.toLowerCase();
}}

Definition at line 157 of file mootools-1.2-core.js.

textnode =$.whitespace=$.window=$.document=$arguments(0)

Definition at line 121 of file mootools-1.2-core.js.

Fx Transition
Initial value:
=function(B,A){A=$splat(A);return $extend(B,{easeIn:function(C){return B(C,A);
},easeOut:function(C){return 1-B(1-C,A);},easeInOut:function(C){return(C<=0.5)?B(2*C,A)/2:(2-B(2*(1-C),A))/2;}});}
function A
function $splat(B)
function C(H)
function B
function $extend(C, A)

Definition at line 292 of file mootools-1.2-core.js.

Fx Transitions =new Hash({linear:$arguments(0)})

Definition at line 293 of file mootools-1.2-core.js.

Fx Tween
Initial value:
=new Class({Extends:Fx.CSS,initialize:function(B,A){this.element=this.subject=$(B);this.parent(A);},set:function(B,A){if(arguments.length==1){A=B;
B=this.property||this.options.property;}this.render(this.element,B,A,this.options.unit);return this;},start:function(C,E,D){if(!this.check(arguments.callee,C,E,D)){return this;
}var B=Array.flatten(arguments);this.property=this.options.property||B.shift();var A=this.prepare(this.element,this.property,B);return this.parent(A.from,A.to);
}})
function start(ch)
var D
function A
function Fx prototype initialize
function E(H, I)
function C(H)
function B
var Fx
var Class
function check(ch, cx)
return!aWindow arguments!aWindow arguments[0]
foldersync options
Definition: options.js:13

Definition at line 276 of file mootools-1.2-core.js.

Initial value:
={set:function(A){var B=this.retrieve("tween");if(B){B.cancel();}return this.eliminate("tween").store("tween:options",$extend({link:"cancel"},A));
},get:function(A){if(A||!this.retrieve("tween")){if(A||!this.retrieve("tween:options")){this.set("tween",A);}this.store("tween",new Fx.Tween(this,this.retrieve("tween:options")));
}return this.retrieve("tween");}}
function A
function B
var Fx
function $extend(C, A)

Definition at line 279 of file mootools-1.2-core.js.

Native typize =function(A,B){if(!A.type){A.type=function(C){return($type(C)===B);};}}

Definition at line 9 of file mootools-1.2-core.js.

Native UID =1

Definition at line 35 of file mootools-1.2-core.js.

Selectors Utils
Initial value:
={chk:function(B,C){if(!C){return true;}var A=$uid(B);if(!C[A]){return C[A]=true;}return false;},parseNthArgument:function(F){if(Selectors.Cache.nth[F]){return Selectors.Cache.nth[F];
}var C=F.match(/^([+-]?\d*)?([a-z]+)?([+-]?\d*)?$/);if(!C){return false;}var E=parseInt(C[1]);var B=(E||E===0)?E:1;var D=C[2]||false;var A=parseInt(C[3])||0;
if(B!=0){A--;while(A<1){A+=B;}while(A>=B){A-=B;}}else{B=A;D="index";}switch(D){case"n":C={a:B,b:A,special:"n"};break;case"odd":C={a:2,b:0,special:"n"};
break;case"even":C={a:2,b:1,special:"n"};break;case"first":C={a:0,special:"index"};break;case"last":C={special:"last-child"};break;case"only":C={special:"only-child"};
break;default:C={a:(B-1),special:"index"};}return Selectors.Cache.nth[F]=C;},parseSelector:function(E){if(Selectors.Cache.parsed[E]){return Selectors.Cache.parsed[E];
}var D,H={classes:[],pseudos:[],attributes:[]};while((D=Selectors.RegExps.combined.exec(E))){var I=D[1],G=D[2],F=D[3],B=D[4],C=D[5],J=D[6];if(I){H.classes.push(I);
}else{if(C){var A=Selectors.Pseudo.get(C);if(A){H.pseudos.push({parser:A,argument:J});}else{H.attributes.push({name:C,operator:"=",value:J});}}else{if(G){H.attributes.push({name:G,operator:F,value:B});
}}}}if(!H.classes.length){delete H.classes;}if(!H.attributes.length){delete H.attributes;}if(!H.pseudos.length){delete H.pseudos;}if(!H.classes&&!H.attributes&&!H.pseudos){H=null;
}return Selectors.Cache.parsed[E]=H;},parseTagAndID:function(B){var A=B.match(Selectors.RegExps.tag);var C=B.match(Selectors.RegExps.id);return[(A)?A[1]:"*",(C)?C[1]:false];
},filter:function(F,C,E){var D;if(C.classes){for(D=C.classes.length;D--;D){var G=C.classes[D];if(!Selectors.Filters.byClass(F,G)){return false;}}}if(C.attributes){for(D=C.attributes.length;
D--;D){var B=C.attributes[D];if(!Selectors.Filters.byAttribute(F,B.name,B.operator,B.value)){return false;}}}if(C.pseudos){for(D=C.pseudos.length;D--;D){var A=C.pseudos[D];
if(!Selectors.Filters.byPseudo(F,A.parser,A.argument,E)){return false;}}}return true;},getByTagAndID:function(B,A,D){if(D){var C=(B.getElementById)?B.getElementById(D,true):Element.getElementById(B,D,true);
return(C&&Selectors.Filters.byTag(C,A))?[C]:[];}else{return B.getElementsByTagName(A);}},search:function(J,I,O){var B=[];var C=I.trim().replace(Selectors.RegExps.splitter,function(Z,Y,X){B.push(Y);
return":)"+X;}).split(":)");var K,F,E,V;for(var U=0,Q=C.length;U<Q;U++){var T=C[U];if(U==0&&Selectors.RegExps.quick.test(T)){K=J.getElementsByTagName(T);
continue;}var A=B[U-1];var L=Selectors.Utils.parseTagAndID(T);var W=L[0],M=L[1];if(U==0){K=Selectors.Utils.getByTagAndID(J,W,M);}else{var D={},H=[];for(var S=0,R=K.length;
S<R;S++){H=Selectors.Getters[A](H,K[S],W,M,D);}K=H;}var G=Selectors.Utils.parseSelector(T);if(G){E=[];for(var P=0,N=K.length;P<N;P++){V=K[P];if(Selectors.Utils.filter(V,G,O)){E.push(V);
}}K=E;}}return K;}}
var D
function A
tabData attributes[name]
function G(H)
var Selectors
var Element
function E(H, I)
function C(H)
const PRInt32 K
function d(s)
function search(aFolderId, aSearchStr, aExpectedScopeButtonId)
function B
return null
Definition: FeedWriter.js:1143
countRef value
Definition: FeedWriter.js:1423
var $uid
function F(H)
Array filter(tab.attributes, function(aAttr){return(_this.xulAttributes.indexOf(aAttr.name) >-1);}).forEach(tab.removeAttribute

Definition at line 216 of file mootools-1.2-core.js.

var Window
Initial value:
=new Native({name:"Window",legacy:(Browser.Engine.trident)?null:window.Window,initialize:function(A){$uid(A);
if(!A.Element){A.Element=$empty;if(Browser.Engine.webkit){A.document.createElement("iframe");}A.Element.prototype=(Browser.Engine.webkit)?window["[[DOMElement.prototype]]"]:{};
}return $extend(A,Window.Prototype);},afterImplement:function(B,A){window[B]=Window.Prototype[B]=A;}})
function A
function Fx prototype initialize
let window
var Browser
function B
var Window
return null
Definition: FeedWriter.js:1143
var Native
var $uid
function $extend(C, A)
function $empty()

Definition at line 36 of file mootools-1.2-core.js.

Browser Features xhr =!!(Browser.Request())

Definition at line 32 of file mootools-1.2-core.js.