* Creates a deep copy of the specified LocalizedStringBundle. * @param {!LocalizedStringBundleDef} localizedStringBundle * @return {!LocalizedStringBundleDef}
(localizedStringBundle)
| 154 | * @return {!LocalizedStringBundleDef} |
| 155 | */ |
| 156 | function cloneLocalizedStringBundle(localizedStringBundle) { |
| 157 | return /** @type {!LocalizedStringBundleDef} */ ( |
| 158 | parseJson( |
| 159 | JSON.stringify(/** @type {!JsonObject} */ (localizedStringBundle)) |
| 160 | ) |
| 161 | ); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Creates a pseudo locale by applying string transformations (specified by the |
no test coverage detected