export default {
  name: "initialize-data-explorer",
  initialize(container) {
    container.lookup("store:main").addPluralization("query", "queries");

    if (!String.prototype.endsWith) {
      // eslint-disable-next-line no-extend-native
      String.prototype.endsWith = function (searchString, position) {
        const subjectString = this.toString();
        if (position === undefined || position > subjectString.length) {
          position = subjectString.length;
        }
        position -= searchString.length;
        const lastIndex = subjectString.indexOf(searchString, position);
        return lastIndex !== -1 && lastIndex === position;
      };
    }
  },
};

@@ -148,529 +148,8 @@
 s%22);
-%0A%0A    if (!String.prototype.endsWith) %7B%0A      // eslint-disable-next-line no-extend-native%0A      String.prototype.endsWith = function (searchString, position) %7B%0A        const subjectString = this.toString();%0A        if (position === undefined %7C%7C position %3E subjectString.length) %7B%0A          position = subjectString.length;%0A        %7D%0A        position -= searchString.length;%0A        const lastIndex = subjectString.indexOf(searchString, position);%0A        return lastIndex !== -1 && lastIndex === position;%0A      %7D;%0A    %7D
 %0A  %7D

Remove String.endsWith polyfill (#106)