<commit_before>/**
 * Created by Kavi on 5/19/16.
 */
Template.surveyStatusRow.events({

    'click .survey_route': function (evt,tmpl) {

        var response_id = tmpl.data._id;
        var responseCollection = adminCollectionObject("responses");
        var response_records = responseCollection.find({_id:response_id}).fetch();

        for(var i in response_records){

            var id = response_records[i]._id;
			var audience=response_records[i].audience
            Router.go('LogSurveyView', {_id: id},{query: {
				'audience': audience
				}
			});

        }

    }

});<commit_msg>fixes EsLinst errors for events/surveyStatus.js<commit_after>/**
 * Created by Kavi on 5/19/16.
 */
Template.surveyStatusRow.events({
  'click .survey_route'(evt, tmpl) {
    const responseID = tmpl.data._id;
    const responseCollection = adminCollectionObject('responses');
    const responseRecords = responseCollection.find({ _id: responseID }).fetch();
    for (let i = 0; i < responseRecords.length; i++) {
      {
        const id = responseRecords[i]._id;
        const audience = responseRecords[i].audience;
        Router.go('LogSurveyView', { _id: id }, { query: { audience } });
      }
    }
  } });
{'fraction_non_alphanumeric': 0.14061207609594706, 'fraction_numerical': 0.009098428453267164, 'mean_word_length': 3.006622516556291, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5498823', 'n_tokens_mistral': 396, 'n_tokens_neox': 372, 'n_words': 78}