lib/packages/core.js
function(path) {

		var class_body = this.classes[path],
			i = 0,
			count;

		if (Lava.schema.DEBUG && !class_body) Lava.t("[Lava::_loadClass] Class does not exists: " + path);

		if ('Extends' in class_body) {
			if (!this.ClassManager.hasClass(class_body.Extends)) {
				this._loadClass(class_body.Extends);
			}
		}

		if ('Implements' in class_body) {
			if (typeof(class_body.Implements) == 'string') {
				if (!this.ClassManager.hasClass(class_body.Implements)) {
					this._loadClass(class_body.Implements);
				}
			} else {
				for (count = class_body.Implements.length; i < count; i++) {
					if (!this.ClassManager.hasClass(class_body.Implements[i])) {
						this._loadClass(class_body.Implements[i]);
					}
				}
			}
		}

		this.ClassManager.define(path, class_body);

	}
function(path) {

		var class_body = this.classes[path],
			i = 0,
			count;

		if (Lava.schema.DEBUG && !class_body) Lava.t("[Lava::_loadClass] Class does not exists: " + path);

		if ('Extends' in class_body) {
			if (!this.ClassManager.hasClass(class_body.Extends)) {
				this._loadClass(class_body.Extends);
			}
		}

		if ('Implements' in class_body) {
			if (typeof(class_body.Implements) == 'string') {
				if (!this.ClassManager.hasClass(class_body.Implements)) {
					this._loadClass(class_body.Implements);
				}
			} else {
				for (count = class_body.Implements.length; i < count; i++) {
					if (!this.ClassManager.hasClass(class_body.Implements[i])) {
						this._loadClass(class_body.Implements[i]);
					}
				}
			}
		}

		this.ClassManager.define(path, class_body);

	}
function ( path ) { var class_body = this . classes [ path ] , i = 0 , count ; if ( Lava . schema . DEBUG && ! class_body ) Lava . t ( "[Lava::_loadClass] Class does not exists: " + path ) ; if ( 'Extends' in class_body ) { if ( ! this . ClassManager . hasClass ( class_body . Extends ) ) { this . _loadClass ( class_body . Extends ) ; } } if ( 'Implements' in class_body ) { if ( typeof ( class_body . Implements ) == 'string' ) { if ( ! this . ClassManager . hasClass ( class_body . Implements ) ) { this . _loadClass ( class_body . Implements ) ; } } else { for ( count = class_body . Implements . length ; i < count ; i ++ ) { if ( ! this . ClassManager . hasClass ( class_body . Implements [ i ] ) ) { this . _loadClass ( class_body . Implements [ i ] ) ; } } } } this . ClassManager . define ( path , class_body ) ; }
Recursively define a class, stored in `this.classes`
@param {string} path
Recursively define a class stored in this . classes