.metadata/.plugins/org.eclipse.wst.jsdt.core/libraries/xhr.js
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*******************************************************************************
* Copyright (c) 2009, 2011 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
******************************************************************************
*
* Based on information from https://developer.mozilla.org/En/XMLHttpRequest
* and http://msdn2.microsoft.com/en-us/library/ms533062.aspx
**/
/**
* function createRequest
* @type XMLHttpRequest
* @memberOf Window
*/
Window.prototype.createRequest= function(){return new XMLHttpRequest();};
/**
* Object XMLHttpRequest
* @type constructor
*/
XMLHttpRequest.prototype=new Object();
function XMLHttpRequest(){};
/**
* function onreadystatechange
* @memberOf XMLHttpRequest
*/
XMLHttpRequest.prototype.onreadystatechange=function(){};
/**
* property readyState
* @type Number
* @memberOf XMLHttpRequest
*/
XMLHttpRequest.prototype.readyState=0;
/**
* property responseText
* @type String
* @memberOf XMLHttpRequest
*/
XMLHttpRequest.prototype.responseText="";
/**
* property responseXML
* @type Document
* @memberOf XMLHttpRequest
*/
XMLHttpRequest.prototype.responseXML=new Document();
/**
* property status
* @type Number
* @memberOf XMLHttpRequest
*/
XMLHttpRequest.prototype.status=0;
/**
* property statusText
* @type String
后面还有 44 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
