123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458 |
- /*******************************************************************************
- * Copyright (c) 2008, 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- ******************************************************************************
- * Please see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
- /**
- * Object Object()
- * @constructor
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Object(){};
- /**
- * function toString()
- * @memberOf Object
- * @returns {String}
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.toString = function(){return "";};
- /**
- * function toLocaleString()
- * @memberOf Object
- * @returns {String}
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.toLocaleString = function(){return "";};
- /**
- * function valueOf()
- * @memberOf Object
- * @returns {Object}
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.valueOf = function(){return new Object();};
- /**
- * function hasOwnProperty(name)
- * @memberOf Object
- * @param {String} name
- * @returns {Boolean}
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.hasOwnProperty = function(name){return true;};
- /**
- * function isPrototypeOf(o)
- * @memberOf Object
- * @param {Object} o
- * @returns {Boolean}
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.isPrototypeOf = function(o){return true;};
- /**
- * function propertyIsEnumerable(name)
- * @memberOf Object
- * @param {Object} name
- * @returns {Boolean}
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.propertyIsEnumerable = function(name){return true;};
- /**
- * Property constructor
- * @type Function
- * @memberOf Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Object.prototype.constructor = new Function();
- /**
- * Object String()
- * @constructor
- * @extends Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function String(){}
- String.prototype = new Object();
- /**
- * static function fromCharCode(charCode1, ...)
- * @memberOf String
- * @param {Number} charCode
- * @returns {String}
- * @static
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.fromCharCode = function(charCode){return "";};
- /**
- * Property length
- * @type Number
- * @memberOf String
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.length = 1;
- /**
- * function charAt(position)
- * @memberOf String
- * @param {Number} position
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.charAt = function(position){return "";};
- /**
- * function charCodeAt(position)
- * @memberOf String
- * @param {Number} position
- * @returns {Number}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.charCodeAt = function(position){return 0;};
- /**
- * function concat(value1, ...)
- * @memberOf String
- * @param {String} value
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.concat = function(value){return "";};
- /**
- * function indexOf(searchString, startPosition)
- * @memberOf String
- * @param {String} searchString
- * @param {Number} startPosition
- * @returns {Number}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.indexOf = function(searchString, startPosition){return 1;};
- /**
- * function lastIndexOf(searchString, startPosition)
- * @memberOf String
- * @param {String} searchString
- * @param {Number} startPosition
- * @returns {Number}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.lastIndexOf = function(searchString, startPosition){return 1;};
- /**
- * function localeCompare(otherString)
- * @memberOf String
- * @param {String} otherString
- * @returns {Number}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.localeCompare = function(otherString){return 0;};
- /**
- * function match(regexp)
- * @memberOf String
- * @param {RegExp} regexp
- * @returns {Array}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.match = function(regexp){return [];};
- /**
- * function replace(regexp, replaceValue)
- * @memberOf String
- * @param {RegExp} regexp
- * @param {String} replaceValue
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.replace = function(regexp, replaceValue){return "";};
- /**
- * function search(regexp)
- * @memberOf String
- * @param {RegExp} regexp
- * @returns {Number}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.search = function(regexp){return 1;};
- /**
- * function slice(start, end)
- * @memberOf String
- * @param {Number} start
- * @param {Number} end
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.slice = function(start, end){return "";};
- /**
- * function split(separator, limit)
- * @memberOf String
- * @param {String} separator
- * @param {Number} limit
- * @returns {Array}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.split = function(separator, limit){return [];};
- /**
- * function substring(start, end)
- * @memberOf String
- * @param {Number} start
- * @param {Number} end
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.substring = function(start, end){return "";};
- /**
- * function toLowerCase()
- * @memberOf String
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.toLowerCase = function(){return "";};
- /**
- * function toLocaleLowerCase()
- * @memberOf String
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.toLocaleLowerCase = function(){return "";};
- /**
- * function toUpperCase()
- * @memberOf String
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.toUpperCase= function (){return "";};
- /**
- * function toLocaleUpperCase()
- * @memberOf String
- * @returns {String}
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- String.prototype.toLocaleUpperCase = function(){return "";};
- /**
- * Object Number()
- * @constructor
- * @extends Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Number(){}
- Number.prototype = new Object();
- /**
- * property MIN_VALUE
- * @type Number
- * @memberOf Number
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.MIN_VALUE = 0;
- /**
- * property MAX_VALUE
- * @type Number
- * @memberOf Number
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.MAX_VALUE = 0 ;
- /**
- * property NaN
- * @type Number
- * @memberOf Number
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.NaN = 0;
- /**
- * property NEGATIVE_INFINITY
- * @type Number
- * @memberOf Number
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.NEGATIVE_INFINITY = 0;
- /**
- * property POSITIVE_INFINITY
- * @type Number
- * @memberOf Number
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.POSITIVE_INFINITY = 0;
- /**
- * function toFixed(fractionDigits)
- * @memberOf Number
- * @param {Number} fractionDigits
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.prototype.toFixed = function(fractionDigits){return "";};
- /**
- * function toExponential(fractionDigits)
- * @memberOf Number
- * @param {Number} fractionDigits
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.prototype.toExponential = function(fractionDigits){return "";};
- /**
- * function toPrecision(precision)
- * @memberOf Number
- * @param {Number} fractionDigits
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Number.prototype.toPrecision = function(fractionDigits){return "";};
- /**
- * Object Boolean()
- * @constructor
- * @extends Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Boolean(){};
- Boolean.prototype = new Object();
- /**
- * Object Array()
- * @constructor
- * @extends Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Array(){};
- Array.prototype = new Object();
- /**
- * Property length
- * @type Number
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.length = 1;
- /**
- * function concat(args)
- * @param {Array} args
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.concat = function(args){return [];};
- /**
- * function join(seperator)
- * @param {String} seperator
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.join = function(seperator){return [];};
- /**
- * function pop()
- * @returns {Object}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.pop = function(){return new Object();};
- /**
- * function push(args)
- * @param {Array} args
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.push = function(args){};
- /**
- * function reverse()
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.reverse = function(){return [];};
- /**
- * function shift()
- * @returns {Object}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.shift = function(){return new Object();};
- /**
- * function slice(start, end)
- * @param {Number} start
- * @param {Number} end
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.slice = function(start, end){return [];};
- /**
- * function sort(funct)
- * @param {Function} funct
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.sort = function(funct){return [];};
- /**
- * function splice(start, deletecount, items)
- * @param {Number} start
- * @param {Number} deletecount
- * @param {Array} items
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.splice = function(start, deletecount, items){return [];};
- /**
- * function unshift(items)
- * @param {Array} start
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Array.prototype.unshift = function(start){return [];};
- /**
- * Object Function()
- * @constructor
- * @extends Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Function(){};
- Function.prototype = new Object();
- /**
- * function apply (thisObject, argArray)
- * @param {Object} thisObject
- * @param {Array} argArray
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Function.prototype.apply = function(thisArg, argArray){return new Object();};
- /**
- * function call (thisObject, args)
- * @param {Object} thisObject
- * @param {Object} args
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Function.prototype.call = function(thisObject, args){return new Object();};
- /**
- * property length
- * @type Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Function.prototype.length = 0;
- /**
- * Object Date(s)
- * @constructor
- * @param {String} s
- * @extends Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Date(s){};
- Date.prototype = new Object();
- /**
- * function UTC(hour, min, sec, ms)
- * @memberOf Date
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @returns {Number}
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.UTC = function(hour, min, sec, ms){return 0;};
- /**
- * function parse(string)
- * @memberOf Date
- * @param {String} string
- * @returns {Number}
- * @static
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.parse = function(string){return 0;};
- /**
- * function toDateString()
- * @memberOf Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.toDateString = function(){return "";};
- /**
- * function toTimeString()
- * @memberOf Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.toTimeString = function(){return "";};
- /**
- * function toLocaleString()
- * @memberOf Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.toLocaleString = function(){return "";};
- /**
- * function toLocaleDateString()
- * @memberOf Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.toLocaleDateString = function(){return "";};
- /**
- * function toLocaleTimeString()
- * @memberOf Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.toLocaleTimeString = function(){return "";};
- /**
- * function valueOf()
- * @memberOf Date
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.valueOf = function(){return new Object();};
- /**
- * function getFullYear()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getFullYear = function(){return 0;};
- /**
- * function getTime()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getTime = function(){return 0;};
- /**
- * function getUTCFullYear()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCFullYear = function(){return 0;};
- /**
- * function getMonth()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getMonth = function(){return 0;};
- /**
- * function getUTCMonth()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCMonth = function(){return 0;};
- /**
- * function getDate()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getDate = function(){return 0;};
- /**
- * function getUTCDate()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCDate = function(){return 0;};
- /**
- * function getDay()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getDay = function(){return 0;};
- /**
- * function getUTCDay()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
- Date.prototype.getUTCDay=function(){return 0;};
- /**
- * function getHours()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getHours = function(){return 0;};
- /**
- * function getUTCHours()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCHours = function(){return 0;};
- /**
- * function getMinutes()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getMinutes = function(){return 0;};
- /**
- * function getUTCMinutes()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCMinutes = function(){return 0;};
- /**
- * function getSeconds()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getSeconds = function(){return 0;};
- /**
- * function getUTCSeconds()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCSeconds = function(){return 0;};
- /**
- * function getMilliseconds()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getMilliseconds = function(){return 0;};
- /**
- * function getUTCMilliseconds()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getUTCMilliseconds = function(){return 0;};
- /**
- * function getTimezoneOffset()
- * @memberOf Date
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.getTimezoneOffset = function(){return 0;};
- /**
- * function setTime(value)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} value
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setTime = function(value){return 0;};
- /**
- * function setMilliseconds(value)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} value
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setMilliseconds = function(value){return 0;};
- /**
- * function setUTCMilliseconds(ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCMilliseconds = function(ms){return 0;};
- /**
- * function setSeconds(sec,ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setSeconds = function(sec,ms){return 0;};
- /**
- * function setUTCSeconds(sec,ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCSeconds=function(sec,ms){return 0;};
- /**
- * function setMinutes(min,sec,ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setMinutes=function(min,sec,ms){return 0;};
- /**
- * function setUTCMinute(min,sec,ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCMinute = function(min,sec,ms){return 0;};
- /**
- * function setHours(hour, min,sec,ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setHours = function(hour,min,sec,ms){return 0;};
- /**
- * function setUTCHours(hour, min,sec,ms)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCHours = function(hour,min,sec,ms){return 0;};
- /**
- * function setDate(date)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} date
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setDate = function(date){return 0;};
- /**
- * function setUTCDate(date)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} date
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCDate = function(date){return 0;};
- /**
- * function setMonth(month,date)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} date
- * @param {Number} month
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setMonth = function(month,date){return 1;};
- /**
- * function setUTCMonth(month,date)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} date
- * @param {Number} month
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCMonth = function(month,date){return 1;};
- /**
- * function setFullYear(month,date)
- * @memberOf Date
- * @returns {Number}
- * @param {Number} date
- * @param {Number} month
- * @param {Number} year
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setFullYear = function(year, month,date){return 0;};
- /**
- * function setUTCFullYear(month,date)
- * @memberOf Date
- * @returns {Date}
- * @param {Number} date
- * @param {Number} month
- * @param {Number} year
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.setUTCFullYear = function(year, month,date){};
- /**
- * function toUTCString()
- * @memberOf Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Date.prototype.toUTCString = function(){return "";};
- /**
- * Property NaN
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- var NaN=0;
- /**
- * Property Infinity
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- var Infinity=0;
- /**
- * function eval(s)
- * @param {String} s
- * @type Object
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function eval(s){return new Object();};
- //@GINO: Bug 197987 (Temp Fix)
- /**
- * Property debugger
- * @description Debugger keyword
- */
- var debugger=null;
- /**
- * Property undefined
- * @description undefined
- */
- var undefined=null;
- /**
- * function parseInt(s,radix)
- * @param {String} s
- * @param {Number} radix
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function parseInt(s,radix){return 0;};
- /**
- * function parseFloat(s)
- * @param {String} s
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function parseFloat(s){return 0;};
- /**
- * function escape(s)
- * @param {String} s
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function escape(s){return "";};
- /**
- * function unescape(s)
- * @param {String} s
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function unescape(s){return "";};
- /**
- * function isNaN(number)
- * @param {String} number
- * @type Boolean
- * @returns {Boolean}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function isNaN(number){return false;};
- /**
- * function isFinite(number)
- * @param {String} number
- * @type Boolean
- * @returns {Boolean}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function isFinite(number){return false;};
- /**
- * function decodeURI(encodedURI)
- * @param {String} encodedURI
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function decodeURI(encodedURI){return "";};
- /**
- * @param {String} uriComponent
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function decodeURIComponent(uriComponent){return "";};
- /**
- * function encodeURIComponent(uriComponent)
- * @param {String} uriComponent
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function encodeURIComponent(uriComponent){return "";};
- /**
- * function encodeURIComponent(URI)
- * @param {String} URI
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function encodeURI(URI){return "";};
- /**
- * Object Math(\s)
- * @super Object
- * @constructor
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
- function Math(){};
- Math.prototype=new Object();
- /**
- * Property E
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.E=0;
- /**
- * Property LN10
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.LN10=0;
- /**
- * Property LN2
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.LN2=0;
- /**
- * Property LOG2E
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.LOG2E=0;
- /**
- * Property LOG10E
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.LOG10E=0;
- /**
- * Property PI
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.PI=0;
- /**
- * Property SQRT1_2
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.SQRT1_2=0;
- /**
- * Property SQRT2
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.SQRT2=0;
- /**
- * function abs(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.abs=function(x){return 0;};
- /**
- * function acos(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.acos=function(x){return 0;};
- /**
- * function asin(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.asin=function(x){return 0;};
- /**
- * function atan(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.atan=function(x){return 0;};
- /**
- * function atan2(x,y)
- * @memberOf Math
- * @param {Number} x
- * @param {Number} y
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.atan2=function(x,y){return 0;};
- /**
- * function ceil(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.ceil=function(x){return 0;};
- /**
- * function cos(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.cos=function(x){return 0;};
- /**
- * function exp(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.exp=function(x){return 0;};
- /**
- * function floor(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.floor=function(x){return 0;};
- /**
- * function log(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.log=function(x){return 0;};
- /**
- * function max(arg)
- * @memberOf Math
- * @param {Number} args
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.max=function(args){return 0;};
- /**
- * function min(arg)
- * @memberOf Math
- * @param {Number} args
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.min=function(args){return 0;};
- /**
- * function pow(x,y)
- * @memberOf Math
- * @param {Number} x
- * @param {Number} y
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.pow=function(x,y){return 0;};
- /**
- * function pow()
- * @memberOf Math
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.random=function(){return 0;};
- /**
- * function round(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.round=function(x){return 0;};
- /**
- * function sin(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.sin=function(x){return 0;};
- /**
- * function sqrt(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.sqrt=function(x){return 0;};
- /**
- * function tan(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Math.tan=function(x){return 0;};
- /**
- * Object RegExp()
- * @super Object
- * @constructor
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function RegExp(){};
- RegExp.prototype=new Object();
- /**
- * function exec(string)
- * @param {String} string
- * @returns {Array}
- * @type Array
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.exec=function(string){return [];};
- /**
- * function test(string)
- * @param {String} string
- * @returns {Boolean}
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.test=function(string){return false;};
- /**
- * property source
- * @type String
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.source="";
- /**
- * property global
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.global=false;
- /**
- * property ignoreCase
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.ignoreCase=false;
- /**
- * property multiline
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.multiline=false;
- /**
- * property lastIndex
- * @type Number
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- RegExp.prototype.lastIndex=0;
- /**
- * Object Error(message)
- * @super Object
- * @constructor
- * @param {String} message
- * @memberOf Error
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function Error(message){};
- Error.prototype=new Object();
- /**
- * property name
- * @type String
- * @memberOf Error
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Error.prototype.name="";
- /**
- * property message
- * @type String
- * @memberOf Error
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- Error.prototype.message="";
- /**
- * Object EvalError()
- * @super Error
- * @constructor
- *
- * @memberOf EvalError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function EvalError(){};
- EvalError.prototype=new Error("");
- /**
- * Object RangeError()
- * @super Error
- * @constructor
- *
- * @memberOf RangeError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function RangeError(){};
- RangeError.prototype=new Error("");
- /**
- * Object ReferenceError()
- * @super Error
- * @constructor
- *
- * @memberOf ReferenceError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function ReferenceError(){};
- ReferenceError.prototype=new Error("");
- /**
- * Object SyntaxError()
- * @super Error
- * @constructor
- *
- * @memberOf SyntaxError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function SyntaxError(){};
- SyntaxError.prototype=new Error("");
- /**
- * Object TypeError()
- * @super Error
- * @constructor
- *
- * @memberOf TypeError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function TypeError(){};
- TypeError.prototype=new Error("");
- /**
- * Object URIError()
- * @super Error
- * @constructor
- *
- * @memberOf URIError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
- function URIError(){};
- URIError.prototype=new Error("");
- //support for debugger keyword
- var debugger = null;
|