Refactor Touch examples device/orientation changes.
Changing terminology: using "tablet" and "phone" instead of "iPad" and "iPhone". Changing default device to "phone". See also the updated examples.json in touch-2.0.0 where I added device info to each example. Move all the changeDevice and changeOrientation logic inside the view. The state of buttons is now also handled inside the view - the buttons now actually behave as expected. Also the example title gets now updated and the XTemplate is created inside initComponent.
Loading
Please register or sign in to comment