scratchjr/src/utils
Chris Garrity 1420a5947a Split iOS and Android interfaces
Refactor the native interface in preparation for switching iOS to use WKWebview.
* Finally rename the folder for device specific interfaces as `tablet` instead of `iPad`
* Update `import` statements to use the new name
* Create new `iOS.js` and `Android.js` based on previous `iPad/iOS.js` to separate the interfaces
* Add new `OS.js` class to manage the class variables, initialize the device interface delegate methods to the correct interface.
* refactor how  `utils/lib` detects the current platform based on `navigtor.userAgent` based on https://stackoverflow.com/questions/37591279/detect-if-user-is-using-webview-for-android-ios-or-a-regular-browser. previous method relied on the Android interface being loaded or not. It can be difficult to detect the difference between in a browser and in a webview, but for now ScratchJr doesn’t need to worry about running in a browser
2020-08-10 09:11:47 -04:00
..
AppUsage.js Address comments 2019-10-25 12:27:32 -04:00
Cookie.js Modules pass 2016-01-12 15:08:37 -05:00
DrawPath.js DrawPath module 2016-01-13 17:30:57 -05:00
Events.js Fixing value of Events.dragDiv 2016-01-21 16:49:58 -05:00
lib.js Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
Localization.js Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
ScratchAudio.js Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
Sound.js Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
SVG2Canvas.js SVG2Canvas.processXMLnode to not getElementById 2016-03-24 14:05:45 -04:00