/** 
 * Define statics and members on class creation, instead of calling statics() or members() afterwards.
 * @author Ariel Flesler
 */

// list must be a map, it's not possible to pass one key and value
Class.extensions({
	statics: function( data, list ){
		Class.copy( data.s, list );
	},
	members: function( data, list ){
		Class.copy( data.m, list );
	}
});