nl_tokens: @module BaseJS managed Crisp Namespace
pl_tokens: function ( name , obj ) { var parts = name . split ( '.' ) , parent = this , length ; length = parts . length - 1 ; for ( var i = 0 , m = length ; i < m ; i += 1 ) { parent [ parts [ i ] ] = parent [ parts [ i ] ] || { } ; parent = parent [ parts [ i ] ] ; } if ( obj ) { if ( ! isType ( parent [ parts [ length ] ] , typeNameUndefined ) ) { throw new Error ( "Can't overwrite '" + name + "' of defined!" ) ; } parent [ parts [ length ] ] = obj ; } else if ( isType ( parent [ parts [ length ] ] , typeNameUndefined ) ) { parent [ parts [ length ] ] = { } ; } return parent [ <mask> [ length ] ] ; }