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
//Application Window Component Constructor | |
function ApplicationWindow() { | |
//load component dependencies | |
var FirstView = require('ui/common/FirstView'); | |
//create component instance | |
var self = Ti.UI.createWindow({ | |
backgroundColor : '#ffffff', | |
borderRadius : 6 | |
}); |
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
'use strict'; | |
var win = Ti.UI.createWindow({ | |
backgroundColor: 'white', | |
}); | |
//Generate some sample rows | |
var rows = []; | |
for (var iLoop=0;iLoop<100;iLoop++){ | |
rows.push({ title: 'demo row #'+iLoop}); |
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
Create a file in your lib folder, like **rootproject**/lib/routes.map.js | |
load the module in your file and initialize with the data: | |
var jsonCoordinates = { | |
'destination': dest.latitude + ',' + dest.longitude, | |
'origin': origin.latitude + ',' + origin.longitude, | |
}; | |
var routes = require("routes.map")(jsonCoordinates, mapview); |
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
cd ~ | |
wget http://packages.sw.be/git/git-1.7.3-1.el4.rf.i386.rpm | |
wget http://packages.sw.be/git/perl-Git-1.7.3-1.el4.rf.i386.rpm | |
rpm -ivh --nodeps git-1.7.3-1.el4.rf.i386.rpm perl-Git-1.7.3-1.el4.rf.i386.rpm | |
git --version |