remove bind polyfill from namespace_select.js

This commit is contained in:
Mike Greiling 2017-05-08 14:04:16 -05:00
parent 59d845f873
commit 06bf185078
1 changed files with 1 additions and 3 deletions

View File

@ -2,11 +2,9 @@
/* global Api */
(function() {
var bind = function(fn, me) { return function() { return fn.apply(me, arguments); }; };
window.NamespaceSelect = (function() {
function NamespaceSelect(opts) {
this.onSelectItem = bind(this.onSelectItem, this);
this.onSelectItem = this.onSelectItem.bind(this);
var fieldName, showAny;
this.dropdown = opts.dropdown;
showAny = true;