nl_tokens: Normalized the parameters required for defineSubClassPure and defineSubClass to operate .
pl_tokens: function normalizeArgsForDefineSubClass ( superClass , constructor , methods , statics ) { superClass = superClass || Object . create ( Object . prototype ) ; // Snatched statics var _statics ; // Should extract statics? if ( isFunction ( superClass ) ) { // Extract statics _statics = <mask> . keys ( superClass ) . reduce ( function ( agg , key ) { if ( key === 'extend' || key === 'extendWith' ) { return agg ; } agg [ key ] = superClass [ key ] ; return agg ; } , { } ) ; } // Re-arrange args if constructor is object if ( isObject ( constructor ) ) { statics = methods ; methods = clone ( constructor ) ; constructor = ! isFunction ( methods . constructor ) ? standInConstructor ( superClass ) : methods . constructor ; unset ( methods , 'constructor' ) ; } // Ensure constructor constructor = isset ( constructor ) ? constructor : standInConstructor ( superClass ) ; // Returned normalized args return { constructor : constructor , methods : methods , statics : extend ( _statics || { } , statics || { } , true ) , superClass : superClass } ; }