e15dc044d7
In loleaflet.html.m4, define a macro MOBILEAPP as true if either IOSAPP or GTKAPP is true. Set a window.ThisIsAMobileApp property in either case, and window.ThisIsTheGtkApp in the GTKAPP case. The checks for ThisIsTheiOSApp in the JS could in fact all be changed to check for ThisIsAMobileApp instead, as they were all equally valid for the gtk+ testbed app. For instance, sending WebKit messages to the app code works the same way in JavaScript both for iOS and webkit-gtk+. Which is not surprising, I guess, as the underlying WebKit is the same. |
||
---|---|---|
.. | ||
framed.html | ||
loading.html | ||
loleaflet-help.html | ||
loleaflet.html.m4 |