remove bind polyfill from issuable_form.js
This commit is contained in:
parent
683cbc9883
commit
417c7e094b
1 changed files with 4 additions and 6 deletions
|
@ -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 @@
|
||||||
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();
|
||||||
|
|
Loading…
Reference in a new issue