nl_tokens: Parses a number or string representing margin sizes into an object . Supports CSS - style margin declarations ( e . g . 10 10 10 10 10 10 10 and 10 10 10 10 are all valid options and would return the same result )
pl_tokens: function ( box ) { if ( typeof box != 'string' ) { box = box . toString ( ) ; } var parts = box . split ( ' ' ) , ln = parts . length ; if ( ln == 1 ) { parts [ 1 ] = parts [ 2 ] = parts [ 3 ] = parts [ 0 ] ; } else if ( ln == 2 ) { parts [ 2 ] = parts [ 0 ] ; parts [ 3 ] = parts [ 1 ] ; } else if ( ln == 3 ) { <mask> [ 3 ] = parts [ 1 ] ; } return { top : parts [ 0 ] || 0 , right : parts [ 1 ] || 0 , bottom : parts [ 2 ] || 0 , left : parts [ 3 ] || 0 } ; }