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

remove bind polyfill from project_new.js

parent 4a0e2d28
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11187Remove needless bind and indexOf polyfills
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, no-unused-vars, one-var, no-underscore-dangle, prefer-template, no-else-return, prefer-arrow-callback, max-len */
 
(function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.ProjectNew = (function() {
function ProjectNew() {
this.toggleSettings = bind(this.toggleSettings, this);
this.toggleSettings = this.toggleSettings.bind(this);
this.$selects = $('.features select');
this.$repoSelects = this.$selects.filter('.js-repo-select');
 
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