Skip to content
Snippets Groups Projects
Commit e3b19c83 authored by Mike Greiling's avatar Mike Greiling
Browse files

remove bind polyfill from shortcuts.js

parent 4c256706
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,11 +4,9 @@
import findAndFollowLink from './shortcuts_dashboard_navigation';
 
(function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.Shortcuts = (function() {
function Shortcuts(skipResetBindings) {
this.onToggleHelp = bind(this.onToggleHelp, this);
this.onToggleHelp = this.onToggleHelp.bind(this);
this.enabledHelp = [];
if (!skipResetBindings) {
Mousetrap.reset();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment