remove bind polyfill from right_sidebar.js
This commit is contained in:
parent
bf9dd2d71f
commit
4c25670656
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue