This file contains hidden or 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
Ti.include( | |
'notify.js', | |
'settings.js', | |
'subscribe.js', | |
'unsubscribe.js' | |
); | |
windowFunctions['Push Notifications'] = function () { | |
var win = createWindow(); | |
var offset = addBackButton(win); |
This file contains hidden or 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
/** | |
* Open the login window for user to get access key! | |
* Once user has access key, will be redirect to the Active tab | |
* | |
* @param tabGroup | |
*/ | |
function showLoginWindow() | |
{ | |
purgeAll(); | |
OF.mobile.UI.TabGroup.closeAllWindows(); |
This file contains hidden or 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
[INFO] Here On Biz/1.0.1 (2.0.2.GA.2ff31a3) | |
[DEBUG] loading: /var/mobile/Applications/7863E8CA-4A99-4431-8079-57F1EC245E69/Here On Biz.app/app.js, resource: app_js | |
[DEBUG] loading: /var/mobile/Applications/7863E8CA-4A99-4431-8079-57F1EC245E69/Here On Biz.app/helperDebugger.js, resource: helperDebugger_js | |
[INFO] LOG [ total time (ms) 28 mem use 0.015625 ] >>>> START <<<< | |
[TIMESTAMP] 365565821.493912 0. LOG [ total time (ms) 28 mem use 0.015625 ] >>>> START <<<< | |
[TIMESTAMP] 365565821.495050 >>>> START <<<< | |
[INFO] LOG [ total time (ms) 99 mem use -2.4453125 ] Configure Defaults | |
[TIMESTAMP] 365565821.561562 0. LOG [ total time (ms) 99 mem use -2.4453125 ] Configure Defaults | |
[TIMESTAMP] 365565821.562647 app.js > Configure Defaults | |
[INFO] LOG [ total time (ms) 143 mem use -1.94921875 ] PostCheckins |
This file contains hidden or 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
Ti.include('mylogin_window.js'); | |
Notifications.registerDevice(); |
This file contains hidden or 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
Ti.UI.setBackgroundColor("#eee"); | |
// Boot the app | |
require('core').init(); |
This file contains hidden or 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
/*global Ti, alert */ | |
var SECS = 5; | |
var URL = 'testservice.js'; | |
var win = Ti.UI.createWindow({ | |
fullscreen: false, | |
navBarHidden: true, | |
exitOnClose: true | |
}); |
This file contains hidden or 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
var MyWindow = require('somewindow'); | |
MyWindow().open(); |
This file contains hidden or 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
// B.js | |
Ti.API.info(' <<< B.JS >>>'); | |
require('C'); |
This file contains hidden or 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
//Run test 1 | |
var gced = require('create_gced'); | |
var win = gced.create_gced(); | |
win.open(); | |
/* | |
//When running by second time enable this: | |
setTimeout( | |
function(){ |
This file contains hidden or 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
//contacts.js | |
//OF.mobile.UI.update_contacts = function(window){ | |
//window.subHeader.descriptionView.layout = 'vertical'; | |
var win = Ti.UI.createWindow({ | |
layout : 'vertical' | |
}); | |
//ui/window.js | |
// this.scrollView = OF.mobile.UI.createScrollView({ |