Subversion Repository Public Repository

litesoft

Diff Revisions 706 vs 707 for /trunk/mobileGWT/mgwt.showcase/src/main/java/com/googlecode/mgwt/examples/showcase/client/ShowCaseEntryPoint.java

Diff revisions: vs.
  @@ -75,18 +75,18 @@
75 75 // Start PlaceHistoryHandler with our PlaceHistoryMapper
76 76 AppPlaceHistoryMapper historyMapper = GWT.create(AppPlaceHistoryMapper.class);
77 77
78 - if (MGWT.getOsDetection().isTablet()) {
79 -
80 - // very nasty workaround because GWT does not corretly support
81 - // @media
82 - StyleInjector.inject(AppBundle.INSTANCE.css().getText());
83 -
84 - createTabletDisplay(clientFactory);
85 - } else {
78 + // if (MGWT.getOsDetection().isTablet()) {
79 + //
80 + // // very nasty workaround because GWT does not corretly support
81 + // // @media
82 + // StyleInjector.inject(AppBundle.INSTANCE.css().getText());
83 + //
84 + // createTabletDisplay(clientFactory);
85 + // } else {
86 86
87 87 createPhoneDisplay(clientFactory);
88 88
89 - }
89 + // }
90 90
91 91 AppHistoryObserver historyObserver = new AppHistoryObserver();
92 92