remove bind polyfill from notifications_form.js
This commit is contained in:
parent
8d865f62b7
commit
f71a03728a
|
@ -1,10 +1,8 @@
|
|||
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, one-var, one-var-declaration-per-line, newline-per-chained-call, comma-dangle, consistent-return, prefer-arrow-callback, max-len */
|
||||
(function() {
|
||||
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
|
||||
|
||||
this.NotificationsForm = (function() {
|
||||
function NotificationsForm() {
|
||||
this.toggleCheckbox = bind(this.toggleCheckbox, this);
|
||||
this.toggleCheckbox = this.toggleCheckbox.bind(this);
|
||||
this.removeEventListeners();
|
||||
this.initEventListeners();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue