This repository was archived by the owner on Jan 29, 2024. It is now read-only.
Commit fe47ae7
feat(*): support google closure compiler
Because of duplicate definitions of getTranslateNamespace in the same scope, google
closure compiler returns the following error when minifying the angular-translate.js library
with the SIMPLE compilation_level:
- Duplicate let / const / class / function declaration in the same scope is not allowed.
Change one of the getTranslateNamespace to be _getTranslateNamespace to avoid error.1 parent f2de0d0 commit fe47ae7
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments