BigW Consortium Gitlab

Commit 417c7e09 by Mike Greiling

remove bind polyfill from issuable_form.js

parent 683cbc98
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
/* global Pikaday */ /* global Pikaday */
(function() { (function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.IssuableForm = (function() { this.IssuableForm = (function() {
IssuableForm.prototype.issueMoveConfirmMsg = 'Are you sure you want to move this issue to another project?'; IssuableForm.prototype.issueMoveConfirmMsg = 'Are you sure you want to move this issue to another project?';
...@@ -17,10 +15,10 @@ ...@@ -17,10 +15,10 @@
function IssuableForm(form) { function IssuableForm(form) {
var $issuableDueDate, calendar; var $issuableDueDate, calendar;
this.form = form; this.form = form;
this.toggleWip = bind(this.toggleWip, this); this.toggleWip = this.toggleWip.bind(this);
this.renderWipExplanation = bind(this.renderWipExplanation, this); this.renderWipExplanation = this.renderWipExplanation.bind(this);
this.resetAutosave = bind(this.resetAutosave, this); this.resetAutosave = this.resetAutosave.bind(this);
this.handleSubmit = bind(this.handleSubmit, this); this.handleSubmit = this.handleSubmit.bind(this);
gl.GfmAutoComplete.setup(); gl.GfmAutoComplete.setup();
new UsersSelect(); new UsersSelect();
new ZenMode(); new ZenMode();
......
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