Permalink
Browse files

Added Dojo Mobile to the list, easily the sexiest of them all. Made j…

…Query Mobile available on iPad.
  • Loading branch information...
1 parent af912aa commit 06c189d4e16570cebfe239281c3aab64664caab9 @Mindelusions Mindelusions committed Apr 16, 2012
@@ -50,19 +50,18 @@ function ApplicationTabGroup() {
});
platformWin.containingTab = platformTab;
+ self.addTab(phoneTab);
+ self.addTab(platformTab);
+
var mashupsTab = Ti.UI.createTab({
title:L('mashups_win_title'),
icon:'/images/tabs/KS_nav_mashup.png',
window:mashupsWin
});
mashupsWin.containingTab = mashupsTab;
-
- self.addTab(phoneTab);
- self.addTab(platformTab);
self.addTab(mashupsTab);
}
-
self.addEventListener('open',function() {
Titanium.UI.setBackgroundColor('#fff');
});
@@ -9,6 +9,7 @@ function MashupsWindow(title) {
{title:'Twitter', hasChild:true, test:'ui/common/mashups/twitter', title_image:'/images/twitter_logo_header.png'},
{title:'Foursquare', hasChild:true, test:'ui/common/mashups/foursquare', title_image:'/images/light-poweredby-foursquare.png'},
{title:'Facebook', hasChild:true, test:'ui/common/mashups/facebook'},
+ {title:'Dojo Mobile', hasChild:true, test:'ui/common/mashups/dojomobile'},
{title:'Sencha Touch', hasChild:true, test:'ui/common/mashups/senchatouch'},
{title:'jQuery mobile', hasChild:true, test:'ui/common/mashups/jquery_mobile'},
{title:'YQL', hasChild:true, test:'ui/common/mashups/yql'}
@@ -0,0 +1,15 @@
+function DojoMobile() {
+ var self = Ti.UI.createWindow({
+ backgroundColor:'#fff'
+ });
+
+ var wview = Ti.UI.createWebView({
+ url:'http://demos.dojotoolkit.org/demos/mobileGallery/demo-iphone.html'
+ });
+
+ self.add(wview);
+
+ return self;
+};
+
+module.exports = DojoMobile;
@@ -8,6 +8,10 @@ function ApplicationWindow(title) {
base+'3298.js',
base+'split_view_features.js'
);
+
+ var jQueryMobile = require('ui/common/mashups/jquery_mobile'),
+ jqMobile = new jQueryMobile();
+
/*
var SVNav = require('ui/tablet/ios/baseui/split_view_nav.js'),
SVNav = require('ui/tablet/ios/baseui/split_view_nav.js'),
@@ -122,6 +126,17 @@ function ApplicationWindow(title) {
SplitFeatures.open();
});
self.add(b7);
+
+ var b8 = Ti.UI.createButton({
+ title:'jQuery Mobile',
+ width:300,
+ height:50,
+ top:590
+ });
+ b8.addEventListener('click', function() {
+ jqMobile.open();
+ });
+ self.add(b8);
if (Ti.App.Properties.getBool('showNotice', true)){
var alertNotice = Ti.UI.createAlertDialog({

0 comments on commit 06c189d

Please sign in to comment.