Make eslint happy.
This commit is contained in:
@@ -5,7 +5,7 @@ export default {
|
||||
container.lookup('store:main').addPluralization('query', 'queries');
|
||||
|
||||
if (!String.prototype.endsWith) {
|
||||
String.prototype.endsWith = function(searchString, position) {
|
||||
String.prototype.endsWith = function(searchString, position) { // eslint-disable-line no-extend-native
|
||||
var subjectString = this.toString();
|
||||
if (position === undefined || position > subjectString.length) {
|
||||
position = subjectString.length;
|
||||
|
||||
Reference in New Issue
Block a user