Make L10n.js requireable
parent
ed3020c729
commit
993d501943
|
@ -1022,3 +1022,7 @@ document.webL10n = (function(window, document, undefined) {
|
||||||
if (window._ === undefined)
|
if (window._ === undefined)
|
||||||
var _ = document.webL10n.get;
|
var _ = document.webL10n.get;
|
||||||
|
|
||||||
|
// CommonJS
|
||||||
|
try {
|
||||||
|
exports = document.webL10n;
|
||||||
|
}catch(e){}
|
Loading…
Reference in New Issue