mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-17 17:01:12 -05:00
Merge pull request #9 from tmickel/android-webpack-fixes
Fix JS incompatibilities in Android webview
This commit is contained in:
commit
65d81e66e8
2 changed files with 6 additions and 3 deletions
|
@ -196,7 +196,7 @@ export function inappBlocksGuide () {
|
|||
'BLOCKS_GO_TO_PAGE_DESCRIPTION'
|
||||
];
|
||||
|
||||
for (let key of blockDescriptionKeys) {
|
||||
gn(key).textContent = Localization.localize(key);
|
||||
for (let i = 0; i < blockDescriptionKeys.length; i++) {
|
||||
gn(blockDescriptionKeys[i]).textContent = Localization.localize(blockDescriptionKeys[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
import Cookie from './Cookie';
|
||||
import Intl from 'intl';
|
||||
import IO from '../iPad/IO';
|
||||
window.Intl = Intl;
|
||||
|
||||
if (!window.Intl) {
|
||||
window.Intl = Intl;
|
||||
}
|
||||
|
||||
require('intl/locale-data/jsonp/en.js');
|
||||
require('intl/locale-data/jsonp/es.js');
|
||||
|
|
Loading…
Reference in a new issue