Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit bf01b09

Browse files
author
Arnaud Valensi
committed
Fix a bug with locale and browserify
See: angular-translate/angular-translate#1325
1 parent 9f6f943 commit bf01b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular-translate-interpolation-messageformat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Node. Does not work with strict CommonJS, but
1414
// only CommonJS-like environments that support module.exports,
1515
// like Node.
16-
module.exports = factory(require("messageformat"));
16+
module.exports = factory(MessageFormat || require("messageformat"));
1717
} else {
1818
factory(MessageFormat);
1919
}

0 commit comments

Comments
 (0)