From 993d50194372bea8bd2db18a0f93cc67440a2906 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 12 Nov 2012 17:42:07 +0100 Subject: Make L10n.js requireable --- src/static/js/l10n.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/static') 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 -- cgit v1.2.3