nl_tokens: Loads files from a given map and places them in that map s loaded field
pl_tokens: function load ( map , options ) { var promises = [ ] ; var loaded = { } ; var filename ; options = options || { } ; for ( var key in map ) { if ( map . hasOwnProperty ( key ) ) { if ( ! map [ key ] || map [ key ] . length === 0 ) { continue ; } filename = map [ key ] ; if ( ! options . external ) { filename = path . resolve ( ROOT_DIR , filename ) ; } promises . push ( loadSingle ( filename ) . <mask> ( ( function ( _key ) { return function ( data ) { loaded [ _key ] = data ; } ; } ) ( key ) ) ) ; } } map . loaded = loaded ; return Q . all ( promises ) ; }