nl_tokens: Scopes the url to the tournament or flight
pl_tokens: function scopeUrl ( options , inst ) { options = _ . extend ( { } , inst , options ) if ( ! options . season_id && ! options . team_id && ! ( options . flight_stage_id && options . flight_id ) ) throw new Error ( 'flight_stage_id+flight_id, season_id and/or team_id required to make team instance api calls' ) if ( options . flight_stage_id && options . flight_id ) { var url = ngin . Flight . urlRoot ( ) + '/' + <mask> . flight_id + '/flight_stages/' + options . flight_stage_id + '/teams' return options . team_id ? url + '/' + options . team_id : url } else if ( options . season_id ) { var url = ngin . Season . urlRoot ( ) + '/' + options . season_id + '/teams' return options . team_id ? url + '/' + options . team_id : url } else { return ngin . Team . urlRoot ( ) + '/' + options . team_id + ngin . TeamInstance . urlRoot ( ) } }