📄 system.js
字号:
/******************************************************************************* * Copyright (c) 2008 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 *******************************************************************************//** * Object Object() * @constructor * @class Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */function Object(){} /** * function toString() * @type String * @class Object * @return String * @throws DOMException * @see Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.toString = function( ){return "";}; /** * function toLocaleString() * @type String * @class Object * @return String * @throws DOMException * @see Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.toLocaleString = function( ){return "";}; /** * function valueOf() * @type Object * @class Object * @return Object * @throws DOMException * @see Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.valueOf = function( ){;}; /** * function hasOwnProperty(V) * @type Boolean * @class Object * @param V Object * @return Boolean * @throws DOMException * @see Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.hasOwnProperty = function (V){return true;}; /** * function isPrototypeOf(V) * @type Boolean * @class Object * @param V Object * @return Boolean * @throws DOMException * @see Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.isPrototypeOf = function (V){return true;}; /** * function propertyIsEnumerable(V) * @type String * @class Object * @param V Object * @return String * @throws DOMException * @see Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.propertyIsEnumerable = function(V){return "";};/** * Property constructor * @type String * @class Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.constructor="";/** * Property Class * @type String * @class Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.Class="";/** * Property Value * @class Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.Value=0;/** * function Get(property) * @class Object * @type Object * @return Object * @param property String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.Get=function(property){};/** * function Put(property, value) * @class Object * @param property String * @param value String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.Put=function(property, value){};/** * function CanPut(property) * @class Object * @param property String * @type Boolean * @return Boolean * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.CanPut=function(property){};/** * function HasProperty(property) * @class Object * @param property String * @type Boolean * @return Boolean * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.HasProperty=function(property){};/** * function Delete(property) * @class Object * @param property String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.Delete=function(property){};/** * function DefaultValue() * @class Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.DefaultValue=function(){};/** * function Match(value,index) * @class Object * @param value String * @param index String * @type Object * @return Object * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Object.prototype.Match=function(value,index){};/** * Object String() * @super Object * @type constructor * @class String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */function String(){}String.prototype = new Object();/** * static function fromCharCode(chars) * @type String * @return String * @param chars Array * @class String * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.fromCharCode=function(chars){};/** * Property length * @type Number * @class String * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.length =1; /** * function charAt(pos) * @type String * @class String * @param pos Number * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.charAt = function(pos){return "";}; /** * function charCodeAt(pos) * @type String * @class String * @param pos Number * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.charCodeAt= function(pos){return "";}; /** * function concat() * @type String * @class String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.concat= function(){return "";}; /** * function indexOf(searchString, position) * @type Number * @class String * @param searchString String * @param position Number * @return Number * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.indexOf = function(searchString, position){return 1;}; /** * function lastIndexOf(pos) * @type Number * @class String * @param searchString String * @param position Number * @return Number * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.lastIndexOf = function(searchString, position){return 1;}; /** * function localeCompare(that) * @type Boolean * @class String * @param that String * @return Boolean * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.localeCompare = function(that){return true;}; /** * function match(regexp) * @type Boolean * @class String * @param regexp String * @return Boolean * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.match = function(regexp){return true;}; /** * function replace(searchValue, replaceValue) * @type String * @class String * @param searchValue String * @param replaceValue String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.replace = function(searchValue, replaceValue){return "";}; /** * function search(regexp) * @type Number * @class String * @param regexp String * @return Number * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.search = function(regexp){return 1;}; /** * function slice(start, end) * @type String * @class String * @param start String * @param end String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.slice = function(start, end){return "";}; /** * function split(separator, limit) * @type String * @class String * @param separator String * @param limit String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.split = function(separator, limit){return "";}; /** * function substring(start, end) * @type String * @class String * @param start String * @param end String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.substring = function(start, end){return "";}; /** * function toLowerCase() * @type String * @class String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.toLowerCase = function( ){return "";}; /** * function toLocaleLowerCase() * @type String * @class String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.toLocaleLowerCase = function( ){return "";}; /** * function toUpperCase() * @type String * @class String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.toUpperCase= function ( ){return "";}; /** * function toLocaleUpperCase() * @type String * @class String * @return String * @throws DOMException * @see String * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ String.prototype.toLocaleUpperCase = function( ){return "";};/** * Object Number() * @super Object * @constructor * @class Number * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Number.prototype = new Object();function Number(){}/** * property MIN_VALUE * @type Number * @class Number * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -