diff options
author | Marcel Klehr <mklehr@gmx.net> | 2012-11-12 17:42:07 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2012-11-12 17:42:07 +0100 |
commit | 993d50194372bea8bd2db18a0f93cc67440a2906 (patch) | |
tree | 84c64e68fee510811e5a68f1f938402a9d8f4c9e /src/static | |
parent | ed3020c7296719da99c3bbdd038866c452a323fa (diff) | |
download | etherpad-lite-993d50194372bea8bd2db18a0f93cc67440a2906.zip |
Make L10n.js requireable
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/l10n.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/js/l10n.js b/src/static/js/l10n.js index 63061af7..e2584cc4 100644 --- a/src/static/js/l10n.js +++ b/src/static/js/l10n.js @@ -1022,3 +1022,7 @@ document.webL10n = (function(window, document, undefined) { if (window._ === undefined) var _ = document.webL10n.get; +// CommonJS +try { + exports = document.webL10n; +}catch(e){}
\ No newline at end of file |