Commit 0ea146e6 authored by Kushal Pandya's avatar Kushal Pandya

Export class instead of assigning to `gl`

parent bcb447bf
...@@ -71,7 +71,7 @@ const conditions = [{ ...@@ -71,7 +71,7 @@ const conditions = [{
value: 'none', value: 'none',
}]; }];
class FilteredSearchTokenKeys { export default class FilteredSearchTokenKeys {
static get() { static get() {
return tokenKeys; return tokenKeys;
} }
...@@ -121,6 +121,3 @@ class FilteredSearchTokenKeys { ...@@ -121,6 +121,3 @@ class FilteredSearchTokenKeys {
.find(condition => condition.tokenKey === key && condition.value === value) || null; .find(condition => condition.tokenKey === key && condition.value === value) || null;
} }
} }
window.gl = window.gl || {};
gl.FilteredSearchTokenKeys = FilteredSearchTokenKeys;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment