<commit_before>import {BindingLanguage} from 'aurelia-templating';
import {TemplatingBindingLanguage} from './binding-language';
import {SyntaxInterpreter} from './syntax-interpreter';

function install(aurelia){
  var instance,
      getInstance = c => instance || instance = c.invoke(TemplatingBindingLanguage);

  if(aurelia.container.hasHandler(TemplatingBindingLanguage)){
    instance = aurelia.container.get(TemplatingBindingLanguage);
  }else{
    aurelia.container.registerHandler(TemplatingBindingLanguage, getInstance);
  }

  aurelia.container.registerHandler(BindingLanguage, getInstance);
}

export {
  TemplatingBindingLanguage,
  SyntaxInterpreter,
  install
};<commit_msg>fix(index): fix compiler error in plugin install function<commit_after>import {BindingLanguage} from 'aurelia-templating';
import {TemplatingBindingLanguage} from './binding-language';
import {SyntaxInterpreter} from './syntax-interpreter';

function install(aurelia){
  var instance,
      getInstance = function (c){
        return instance || (instance = c.invoke(TemplatingBindingLanguage));
      };

  if(aurelia.container.hasHandler(TemplatingBindingLanguage)){
    instance = aurelia.container.get(TemplatingBindingLanguage);
  }else{
    aurelia.container.registerHandler(TemplatingBindingLanguage, getInstance);
  }

  aurelia.container.registerHandler(BindingLanguage, getInstance);
}

export {
  TemplatingBindingLanguage,
  SyntaxInterpreter,
  install
};
{'fraction_non_alphanumeric': 0.10569663692518874, 'fraction_numerical': 0.0, 'mean_word_length': 6.077669902912621, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1010569', 'n_tokens_mistral': 416, 'n_tokens_neox': 411, 'n_words': 75}