lib/assets/resources.js
function(name) {
			if (!name)
				return null;

			if (!(name in cache)) {
				cache[name] = utils.deepMerge({}, systemSettings[name], userSettings[name]);
			}

			var data = cache[name], subsections = utils.toArray(arguments, 1), key;
			while (data && (key = subsections.shift())) {
				if (key in data) {
					data = data[key];
				} else {
					return null;
				}
			}

			return data;
		}
function(name) {
			if (!name)
				return null;

			if (!(name in cache)) {
				cache[name] = utils.deepMerge({}, systemSettings[name], userSettings[name]);
			}

			var data = cache[name], subsections = utils.toArray(arguments, 1), key;
			while (data && (key = subsections.shift())) {
				if (key in data) {
					data = data[key];
				} else {
					return null;
				}
			}

			return data;
		}
function ( name ) { if ( ! name ) return null ; if ( ! ( name in cache ) ) { cache [ name ] = utils . deepMerge ( { } , systemSettings [ name ] , userSettings [ name ] ) ; } var data = cache [ name ] , subsections = utils . toArray ( arguments , 1 ) , key ; while ( data && ( key = subsections . shift ( ) ) ) { if ( key in data ) { data = data [ key ] ; } else { return null ; } } return data ; }
Returns actual section data, merged from both
system and user data
@param {String} name Section name (syntax)
@param {String} ...args Subsections
@returns
Returns actual section data merged from both system and user data