mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Some snapshot-specific fixes/improvements.
This commit is contained in:
@ -83,6 +83,11 @@ function _generateAmpMap(): any {
|
||||
return ampCodes;
|
||||
}
|
||||
|
||||
// android-specific implementation, which pre-populates the map to get it saved into the heap blob
|
||||
if (global.__snapshot) {
|
||||
_ampCodes = _generateAmpMap();
|
||||
}
|
||||
|
||||
function _HandleAmpEntities(found: string, decimalValue: string, hexValue: string, wordValue: string): string {
|
||||
|
||||
if (wordValue) {
|
||||
|
Reference in New Issue
Block a user