aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Bernstein2012-06-23 23:05:33 -0400
committerNikita Bernstein2012-06-23 23:05:37 -0400
commite7927e6ac5f1ef096c39360889d6e7fe353e2d2f (patch)
tree57434dbbaf2a556447f2e4e411b27b68c73b41b4
parent559a5d40bc676a5def004196834625e76ad6182a (diff)
downloadLikeFeed-e7927e6ac5f1ef096c39360889d6e7fe353e2d2f.tar.bz2
Whaa
-rw-r--r--.DS_Storebin0 -> 6148 bytes
-rw-r--r--Resources/app.js2
-rw-r--r--Resources/friendship/ui/ApplicationWindow.js2
3 files changed, 3 insertions, 1 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..5008ddf
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/Resources/app.js b/Resources/app.js
index 3835b41..fb6d46e 100644
--- a/Resources/app.js
+++ b/Resources/app.js
@@ -1,5 +1,7 @@
Ti.include('/friendship/friendship.js');
+Ti.API.info("Running the app - app.js");
+
fs.app.mainTabGroup = fs.ui.createApplicationTabGroup();
// Login switch
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js
index fae78d4..14444a2 100644
--- a/Resources/friendship/ui/ApplicationWindow.js
+++ b/Resources/friendship/ui/ApplicationWindow.js
@@ -1,7 +1,6 @@
(function() {
fs.ui.createApplicationTabGroup = function() {
var tab_group = Ti.UI.createTabGroup();
- Ti.UI.currentTabGroup = tab_group;
var login_button = Ti.Facebook.createLoginButton({
top: 50,
@@ -10,6 +9,7 @@
var debug_button = Ti.UI.createButton({title: 'Debug'});
debug_button.addEventListener('click', function(e) {
+
Ti.API.info('Logged in: ' + JSON.stringify(Ti.Facebook.loggedIn));
if (Ti.Facebook.loggedIn) {
fs.core.queryAllFriendPostsFQL();