lib/class_manager.js
function(class_data) {

		var class_path = class_data.path,
			namespace_path,
			class_name,
			namespace;

		if ((class_path in this._sources) || (class_path in this.constructors)) Lava.t("Class is already defined: " + class_path);
		this._sources[class_path] = class_data;

		if (class_data.constructor) {

			namespace_path = class_path.split('.');
			class_name = namespace_path.pop();
			namespace = this._getNamespace(namespace_path);

			if ((class_name in namespace) && namespace[class_name] != null) Lava.t("Class name conflict: '" + class_path + "' property is already defined in namespace path");

			this.constructors[class_path] = class_data.constructor;
			namespace[class_name] = class_data.constructor;

		}

	}
function(class_data) {

		var class_path = class_data.path,
			namespace_path,
			class_name,
			namespace;

		if ((class_path in this._sources) || (class_path in this.constructors)) Lava.t("Class is already defined: " + class_path);
		this._sources[class_path] = class_data;

		if (class_data.constructor) {

			namespace_path = class_path.split('.');
			class_name = namespace_path.pop();
			namespace = this._getNamespace(namespace_path);

			if ((class_name in namespace) && namespace[class_name] != null) Lava.t("Class name conflict: '" + class_path + "' property is already defined in namespace path");

			this.constructors[class_path] = class_data.constructor;
			namespace[class_name] = class_data.constructor;

		}

	}
function ( class_data ) { var class_path = class_data . path , namespace_path , class_name , namespace ; if ( ( class_path in this . _sources ) || ( class_path in this . constructors ) ) Lava . t ( "Class is already defined: " + class_path ) ; this . _sources [ class_path ] = class_data ; if ( class_data . constructor ) { namespace_path = class_path . split ( '.' ) ; class_name = namespace_path . pop ( ) ; namespace = this . _getNamespace ( namespace_path ) ; if ( ( class_name in namespace ) && namespace [ class_name ] != null ) Lava . t ( "Class name conflict: '" + class_path + "' property is already defined in namespace path" ) ; this . constructors [ class_path ] = class_data . constructor ; namespace [ class_name ] = class_data . constructor ; } }
Put a newly built class constructor into it's namespace
@param {_cClassData} class_data
Put a newly built class constructor into it s namespace