lib/packages/core-classes.js
function(resource_name, locale) {

		locale = locale || Lava.schema.LOCALE;

		return ((locale in this._resources) && (resource_name in this._resources[locale]))
			? this._resources[locale][resource_name]
			: null;

	}
function(resource_name, locale) {

		locale = locale || Lava.schema.LOCALE;

		return ((locale in this._resources) && (resource_name in this._resources[locale]))
			? this._resources[locale][resource_name]
			: null;

	}
function ( resource_name , locale ) { locale = locale || Lava . schema . LOCALE ; return ( ( locale in this . _resources ) && ( resource_name in this . _resources [ locale ] ) ) ? this . _resources [ locale ] [ resource_name ] : null ; }
Get a resource object by it's name
@param {string} resource_name
@param {string} locale
@returns {*}
Get a resource object by it s name