Export class instead of assigning to `gl`

This commit is contained in:
Kushal Pandya 2018-02-05 00:54:03 +05:30
parent bcb447bf31
commit 0ea146e6d2
1 changed files with 1 additions and 4 deletions

View File

@ -71,7 +71,7 @@ const conditions = [{
value: 'none',
}];
class FilteredSearchTokenKeys {
export default class FilteredSearchTokenKeys {
static get() {
return tokenKeys;
}
@ -121,6 +121,3 @@ class FilteredSearchTokenKeys {
.find(condition => condition.tokenKey === key && condition.value === value) || null;
}
}
window.gl = window.gl || {};
gl.FilteredSearchTokenKeys = FilteredSearchTokenKeys;