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

remove bind polyfill from project_find_file.js

parent f71a0372
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11187Remove needless bind and indexOf polyfills
Loading
@@ -2,18 +2,16 @@
Loading
@@ -2,18 +2,16 @@
/* global fuzzaldrinPlus */ /* global fuzzaldrinPlus */
   
(function() { (function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.ProjectFindFile = (function() { this.ProjectFindFile = (function() {
var highlighter; var highlighter;
   
function ProjectFindFile(element1, options) { function ProjectFindFile(element1, options) {
this.element = element1; this.element = element1;
this.options = options; this.options = options;
this.goToBlob = bind(this.goToBlob, this); this.goToBlob = this.goToBlob.bind(this);
this.goToTree = bind(this.goToTree, this); this.goToTree = this.goToTree.bind(this);
this.selectRowDown = bind(this.selectRowDown, this); this.selectRowDown = this.selectRowDown.bind(this);
this.selectRowUp = bind(this.selectRowUp, this); this.selectRowUp = this.selectRowUp.bind(this);
this.filePaths = {}; this.filePaths = {};
this.inputElement = this.element.find(".file-finder-input"); this.inputElement = this.element.find(".file-finder-input");
// init event // init event
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