Fix eslint
This commit is contained in:
parent
bb38940ee4
commit
300c862244
|
@ -52,7 +52,7 @@ export default Ember.Component.extend({
|
|||
Ember.run.throttle(this, mousemove, event, 20);
|
||||
}).bind(this);
|
||||
|
||||
const mouseup = (e => {
|
||||
const mouseup = (() => {
|
||||
$document.off("mousemove", throttledMousemove);
|
||||
$document.off("mouseup", mouseup);
|
||||
this.setProperties({
|
||||
|
|
|
@ -4,8 +4,8 @@ export default {
|
|||
container.lookup("store:main").addPluralization("query", "queries");
|
||||
|
||||
if (!String.prototype.endsWith) {
|
||||
// eslint-disable-next-line no-extend-native
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue