lib/assets/preferences.js
function(json) {
			Object.keys(json).forEach(function(key) {
				this.set(key, json[key]);
			}, this);
		}
function(json) {
			Object.keys(json).forEach(function(key) {
				this.set(key, json[key]);
			}, this);
		}
function ( json ) { Object . keys ( json ) . forEach ( function ( key ) { this . set ( key , json [ key ] ) ; } , this ) ; }
Loads user-defined preferences from JSON
@param {Object} json
@returns
Loads user - defined preferences from JSON