Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n proposal #1153

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
Make L10n.js requireable
  • Loading branch information
marcelklehr committed Nov 12, 2012
commit 993d50194372bea8bd2db18a0f93cc67440a2906
4 changes: 4 additions & 0 deletions src/static/js/l10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,3 +1022,7 @@ document.webL10n = (function(window, document, undefined) {
if (window._ === undefined)
var _ = document.webL10n.get;

// CommonJS
try {
exports = document.webL10n;
}catch(e){}