From b15dbc0296cad4936e3927f1be2a1f9741cd6c1b Mon Sep 17 00:00:00 2001 From: Brock Whitten Date: Thu, 26 Feb 2009 15:22:51 -0800 Subject: [PATCH] tweaked settings --- .gitignore | 3 ++- iphone/.gitignore | 6 +++--- iphone/www/index.html | 8 +------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 496ee2ca..200a0fd3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +tmp/ \ No newline at end of file diff --git a/iphone/.gitignore b/iphone/.gitignore index 6a4f8f8d..85b415bc 100644 --- a/iphone/.gitignore +++ b/iphone/.gitignore @@ -1,4 +1,4 @@ build/* -PhoneGap.xcodeproj/*.pbxuser -PhoneGap.xcodeproj/*.perspectivev3 -*.mode1v3 \ No newline at end of file +*.pbxuser +*.perspectivev3 +*.mode1v3 diff --git a/iphone/www/index.html b/iphone/www/index.html index 0d697f07..a8102738 100644 --- a/iphone/www/index.html +++ b/iphone/www/index.html @@ -64,18 +64,12 @@ } var getContact = function() { - var suc = function(c){ - alert("Contact 4: " + c.contacts[3].name); - }; + var suc = function(c){ alert("Contact 4: " + c.contacts[3].name); }; var fail = function(){}; - navigator.ContactManager.get(suc, fail); - - } var playSound = function() { - new Media('beep.wav').play(); }