nl_tokens: / * ---
pl_tokens: function ( tag , props ) { var konstructor = Element . Constructors [ tag ] ; if ( konstructor ) return konstructor ( props ) ; if ( typeof tag != 'string' ) return document . id ( tag ) . set ( props ) ; if ( ! props ) props = { } ; if ( ! ( / ^[\w-]+$ / ) . test ( tag ) ) { var parsed = Slick . parse ( tag ) . expressions [ 0 ] [ 0 ] ; tag = ( parsed . tag == '*' ) ? 'div' : parsed . tag ; if ( parsed . id && props . id == null ) props . id = parsed . id ; var attributes = parsed . attributes ; if ( attributes ) for ( var i = 0 , l = attributes . length ; i < l ; i ++ ) { var attr = attributes [ i ] ; if ( props [ attr . key ] != null ) continue ; if ( attr . value != null && attr . operator == '=' ) props [ attr . key ] = attr . value ; else if ( ! attr . <mask> && ! attr . operator ) props [ attr . key ] = true ; } if ( parsed . classList && props [ 'class' ] == null ) props [ 'class' ] = parsed . classList . join ( ' ' ) ; } return document . newElement ( tag , props ) ; }