summaryrefslogtreecommitdiff
path: root/pages/upload_form_nojs.swig
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-09-28 20:35:32 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-09-28 20:47:18 +0200
commit2751811e56129b14a423e64a6d638ad466268202 (patch)
treeaec78a78949811c75a800da8af721c051e7ad193 /pages/upload_form_nojs.swig
parent043967a00987a840dffb3a5845246e5eef5a033b (diff)
Name and comment addEventListener functions
Using anonymous functions with event handlers is painfully slow according to benchmarks. Anonymous functions are up to 99% slower. It is also illegal to use anonymous functions in this way according to Airbnb ES5 style guide. Fixes some ESLint func-names errors using Airbnb ES5 config. Reference: https://jsperf.com/event-handler-vs-anonymous-function/3
Diffstat (limited to 'pages/upload_form_nojs.swig')
0 files changed, 0 insertions, 0 deletions