Make eslint happy.

This commit is contained in:
Guo Xiang Tan
2017-08-02 18:05:33 +09:00
parent 1ec43ffce7
commit bcdff915dc
6 changed files with 6 additions and 10 deletions
@@ -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;