mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
Make L10n.js requireable
This commit is contained in:
parent
ed3020c729
commit
993d501943
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue