nl_tokens: Utility to load settings from an object
pl_tokens: function ( data ) { // We iterate over data rather than keys so we don't forget values // which don't have a setting yet. for ( var key in data ) { if ( data . hasOwnProperty ( key ) ) { var setting = this . _settings [ key ] ; if ( <mask> ) { var value = setting . type . parse ( data [ key ] ) ; this . set ( key , value ) ; } else { this . set ( key , data [ key ] ) ; } } } }