This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Barebones example of how we do sidemenu in NirvanaHQ iOS app. | |
//You use this window as the container for your navGroup. | |
var rootWin = Titanium.UI.createWindow({ | |
zIndex: 2, | |
width: '100%', | |
backgroundColor: '#f00', | |
listPanelVisible: false //Custom prop | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geoloqi.init({ | |
clientId: "xxxxxxx", | |
clientSecret: "xxxxxxx", | |
trackingProfile: "OFF", // Don't automatically start tracking | |
allowAnonymousUsers:false, // Don't automatically create a user when starting up the first time | |
pushAccount: "example@gmail.com", // Sets the push account to use for Android notifications | |
pushIcon: "push_icon" // Also required for Android push notifications | |
}, { | |
onSuccess:function(e) { | |
if (geoloqi.session==null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir temp | |
cd temp | |
git clone git@yourDomain.unfuddle.com:yourDomain/yourRepoName.git | |
cd yourRepoName/ | |
git remote rm origin | |
git remote add origin https://yourUsername@bitbucket.org/yourUsername/yourNewRepoName.git | |
git remote show origin | |
git push origin master | |
cd ../.. | |
rm -rf temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @preserve | |
* Titanium Cloud Module | |
* | |
* This module is used across three distinct platforms (iOS, Android, and Mobile Web), each with their own architectural | |
* demands upon it. | |
* | |
* Appcelerator Titanium is Copyright (c) 2009-2010 by Appcelerator, Inc. | |
* and licensed under the Apache Public License (version 2) | |
*/ |