src/Source.js
function( config ) {
			!is_obj( config ) || Object.keys( config ).forEach( function( key ) {
				if ( typeof config[key] == 'function' && typeof this[key] == 'function' ) // this allows you to override a method for a
					this[__override__]( key, config[key] );         // specific instance of a Class, rather than require
				else                                                // you extend the Class for a few minor changes
					this[key] = config[key];                        // NB: can also be achieved by creating a `singleton`
			}, this );

			util.def( this, __config__, { value : config }, 'r', true );
		}
function( config ) {
			!is_obj( config ) || Object.keys( config ).forEach( function( key ) {
				if ( typeof config[key] == 'function' && typeof this[key] == 'function' ) // this allows you to override a method for a
					this[__override__]( key, config[key] );         // specific instance of a Class, rather than require
				else                                                // you extend the Class for a few minor changes
					this[key] = config[key];                        // NB: can also be achieved by creating a `singleton`
			}, this );

			util.def( this, __config__, { value : config }, 'r', true );
		}
function ( config ) { ! is_obj ( config ) || Object . keys ( config ) . forEach ( function ( key ) { if ( typeof config [ key ] == 'function' && typeof this [ key ] == 'function' ) // this allows you to override a method for a this [ __override__ ] ( key , config [ key ] ) ; // specific instance of a Class, rather than require else // you extend the Class for a few minor changes this [ key ] = config [ key ] ; // NB: can also be achieved by creating a `singleton` } , this ) ; util . def ( this , __config__ , { value : config } , 'r' , true ) ; }
this is set by `beforeinstance` to avoid weird behaviour constructor methods
this is set by beforeinstance to avoid weird behaviour constructor methods