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