Commit f71a0372 authored by Mike Greiling's avatar Mike Greiling

remove bind polyfill from notifications_form.js

parent 8d865f62
/* 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 */ /* 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() { (function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.NotificationsForm = (function() { this.NotificationsForm = (function() {
function NotificationsForm() { function NotificationsForm() {
this.toggleCheckbox = bind(this.toggleCheckbox, this); this.toggleCheckbox = this.toggleCheckbox.bind(this);
this.removeEventListeners(); this.removeEventListeners();
this.initEventListeners(); this.initEventListeners();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment