Skip to content
Commit 4bebb452 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

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.
parent d0998cf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment