remove bind polyfill from right_sidebar.js

This commit is contained in:
Mike Greiling 2017-05-08 14:11:19 -05:00
parent bf9dd2d71f
commit 4c25670656
1 changed files with 1 additions and 3 deletions

View File

@ -3,11 +3,9 @@
import Cookies from 'js-cookie';
(function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.Sidebar = (function() {
function Sidebar(currentUser) {
this.toggleTodo = bind(this.toggleTodo, this);
this.toggleTodo = this.toggleTodo.bind(this);
this.sidebar = $('aside');
this.removeListeners();
this.addEventListeners();