⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 object.js

📁 在Web的脚本上专门处理一些通用的 JavaScript对象
💻 JS
字号:
// Description:	js.lang.Object
// Author:	HuangYiGang
// Version:	2005.11.04.01

_import("js.lang.Class");

function js.lang.Object() {}
/*
	this.window = window;
	
	var _classPath = null;
	this.getClassPath = function() {
		if (_classPath == null) _classPath = $js_classpath + this.className.replace(/\./gi, "\/");
		return _classPath;
	};
	var _codeBase = null;
	this.getCodeBase = function() {
		if (_codeBase == null) {
			_classPath = this.getClassPath();
			var idx = _classPath.lastIndexOf("\/");
			_codeBase = _classPath.substring(0, idx);
		}
		return _codeBase;
	};
	this._toString = function() {
		return("[jclass/object]:" + this.className);
	};
	this.getClass = function() {
		return Class.forName(this.className);
	};
	this.instanceOf = function(c) {
		return Class.forName("js.lang.Class").instanceOf(this, c);
	};
	this.getUID = function() {
		if (typeof(this.uniqueID) == "undefined") {
			this.uniqueID = "obj_" + (new Date()).getTime() + Math.round(Math.random() * 1000);
			eval("window." + this.uniqueID + " = this;");
		}
		return this.uniqueID;
	};
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -