Turn code.js into a singleton
Otherwise we would create an instance of this JS file for every delegate.
The only contextual object it uses is i18n, so pass that in for the function call.
Differential Revision: https://phabricator.kde.org/D10507
broulik | Feb 15 2018, 12:39 PM |