aboutsummaryrefslogtreecommitdiff
path: root/client/js/util/search.js
diff options
context:
space:
mode:
authorrr-2016-09-29 11:16:55 +0200
committerrr-2016-09-29 11:16:55 +0200
commita69bdba63f94ef78d6919b119b6f6536a4826777 (patch)
treea6b3bf61a57b4c37282a03a143726f7a4144d775 /client/js/util/search.js
parent0df3ceb439f0147764cade77b0ff7498d502a305 (diff)
client/build: ditch arrayToObject
UglifyJS seems to have troubles using it, I didn't want to investigate it too much as it's just a syntactic sugar used in about 4 places so I just removed it altogether
Diffstat (limited to 'client/js/util/search.js')
-rw-r--r--client/js/util/search.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/js/util/search.js b/client/js/util/search.js
index ba5c2f7..8d5fca4 100644
--- a/client/js/util/search.js
+++ b/client/js/util/search.js
@@ -12,6 +12,6 @@ function searchInputNodeFocusHelper(inputNode) {
});
}
-module.exports = misc.arrayToObject([
- searchInputNodeFocusHelper,
-], func => func.name);
+module.exports = {
+ searchInputNodeFocusHelper: searchInputNodeFocusHelper,
+};

© 2015 - 2026 Jakob L. Kreuze