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

remove bind polyfill from labels.js

parent 417c7e09
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, vars-on-top, no-unused-vars, max-len */ /* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, vars-on-top, no-unused-vars, max-len */
(function() { (function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
this.Labels = (function() { this.Labels = (function() {
function Labels() { function Labels() {
this.setSuggestedColor = bind(this.setSuggestedColor, this); this.setSuggestedColor = this.setSuggestedColor.bind(this);
this.updateColorPreview = bind(this.updateColorPreview, this); this.updateColorPreview = this.updateColorPreview.bind(this);
var form; var form;
form = $('.label-form'); form = $('.label-form');
this.cleanBinding(); this.cleanBinding();
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