nl_tokens: Transforms a HTML5 data - * attributes hash to a hash of Javascript properties .
pl_tokens: function dataAttributesToProperties ( dataAttributesHash ) { var transformed = { } ; $ . each ( dataAttributesHash , function ( key , value ) { // Drop the "data-" prefix, then convert to camelCase key = toCamelCase ( key . <mask> ( / ^data- / , "" ) ) ; try { value = $ . parseJSON ( value ) ; } catch ( err ) { } transformed [ key ] = value ; } ) ; return transformed ; }