incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [1/2] mac commit: Removed phonegap-docs. Added sample index.html demo. Added navigator.notification.alert and console.log
Date Sat, 28 Apr 2012 00:56:13 GMT
Updated Branches:
  refs/heads/master 38ee66c7d -> 34e0362c8


Removed phonegap-docs. Added sample index.html demo. Added navigator.notification.alert and console.log


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/commit/34e0362c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/tree/34e0362c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/diff/34e0362c

Branch: refs/heads/master
Commit: 34e0362c825399ccdd2be7e3e42cbe9618ffb6a0
Parents: 38ee66c
Author: shazron <shazron@gmail.com>
Authored: Fri Apr 27 17:56:03 2012 -0700
Committer: shazron <shazron@gmail.com>
Committed: Fri Apr 27 17:56:03 2012 -0700

----------------------------------------------------------------------
 CordovaMac/CordovaMac.xcodeproj/project.pbxproj    |   30 +-
 CordovaMac/CordovaMac/AppDelegate.m                |   57 +--
 CordovaMac/CordovaMac/Commands/CDVConsole.h        |   29 ++
 CordovaMac/CordovaMac/Commands/CDVConsole.m        |   75 +++
 CordovaMac/CordovaMac/Commands/CDVNotification.h   |   29 ++
 CordovaMac/CordovaMac/Commands/CDVNotification.m   |   78 +++
 CordovaMac/CordovaMac/Commands/CDVSound.h          |   29 ++
 CordovaMac/CordovaMac/Commands/CDVSound.m          |   79 +++
 CordovaMac/CordovaMac/Constants.h                  |    7 +-
 CordovaMac/CordovaMac/ContentView.m                |   26 +-
 CordovaMac/CordovaMac/Sound.h                      |   29 --
 CordovaMac/CordovaMac/Sound.m                      |   79 ---
 CordovaMac/CordovaMac/Utils.m                      |    2 +-
 CordovaMac/CordovaMac/WebViewDelegate.h            |    9 +-
 CordovaMac/CordovaMac/WebViewDelegate.m            |   24 +-
 CordovaMac/CordovaMac/en.lproj/MainMenu.xib        |   82 ++--
 CordovaMac/www/index.html                          |   68 +++
 .../www/phonegap-docs/template/joDoc/doc.css       |  325 ------------
 .../www/phonegap-docs/template/joDoc/docbody.css   |   11 -
 .../www/phonegap-docs/template/joDoc/index.html    |    4 -
 .../www/phonegap-docs/template/phonegap/arrow.png  |  Bin 6285 -> 0 bytes
 .../www/phonegap-docs/template/phonegap/index.css  |  384 ---------------
 .../www/phonegap-docs/template/phonegap/index.html |  145 ------
 .../www/phonegap-docs/template/phonegap/line.png   |  Bin 2795 -> 0 bytes
 .../www/phonegap-docs/template/phonegap/mobile.css |  120 -----
 .../template/phonegap/prettify/lang-apollo.js      |    2 -
 .../template/phonegap/prettify/lang-css.js         |    2 -
 .../template/phonegap/prettify/lang-hs.js          |    2 -
 .../template/phonegap/prettify/lang-lisp.js        |    2 -
 .../template/phonegap/prettify/lang-lua.js         |    2 -
 .../template/phonegap/prettify/lang-ml.js          |    2 -
 .../template/phonegap/prettify/lang-proto.js       |    1 -
 .../template/phonegap/prettify/lang-scala.js       |    2 -
 .../template/phonegap/prettify/lang-sql.js         |    2 -
 .../template/phonegap/prettify/lang-vb.js          |    2 -
 .../template/phonegap/prettify/lang-vhdl.js        |    3 -
 .../template/phonegap/prettify/lang-wiki.js        |    2 -
 .../template/phonegap/prettify/lang-yaml.js        |    2 -
 .../template/phonegap/prettify/prettify.css        |   44 --
 .../template/phonegap/prettify/prettify.js         |   33 --
 40 files changed, 519 insertions(+), 1305 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac.xcodeproj/project.pbxproj b/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
index 0fc7977..7243033 100644
--- a/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
+++ b/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
@@ -7,6 +7,9 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		30513C05154B6DED002B79B6 /* CDVNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = 30513C02154B6DED002B79B6 /* CDVNotification.m */; };
+		30513C06154B6DED002B79B6 /* CDVSound.m in Sources */ = {isa = PBXBuildFile; fileRef = 30513C04154B6DED002B79B6 /* CDVSound.m */; };
+		30513C09154B6F56002B79B6 /* CDVConsole.m in Sources */ = {isa = PBXBuildFile; fileRef = 30513C08154B6F56002B79B6 /* CDVConsole.m */; };
 		488B21E7152F6242007056D6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 488B21E6152F6242007056D6 /* AppDelegate.m */; };
 		488B21EC152F742C007056D6 /* Cordova.icns in Resources */ = {isa = PBXBuildFile; fileRef = 488B21EB152F742C007056D6 /* Cordova.icns */; };
 		48B43519152E5E3500906A36 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48B43518152E5E3500906A36 /* Cocoa.framework */; };
@@ -18,11 +21,16 @@
 		48B43538152E5E6B00906A36 /* www in Resources */ = {isa = PBXBuildFile; fileRef = 48B43537152E5E6B00906A36 /* www */; };
 		48B4353B152E5EC300906A36 /* ContentView.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B4353A152E5EC300906A36 /* ContentView.m */; };
 		48B4353E152E5FE200906A36 /* WebViewDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B4353D152E5FE200906A36 /* WebViewDelegate.m */; };
-		48B43541152E603C00906A36 /* Sound.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B43540152E603C00906A36 /* Sound.m */; };
 		48B43544152E60A300906A36 /* Utils.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B43543152E60A300906A36 /* Utils.m */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXFileReference section */
+		30513C01154B6DED002B79B6 /* CDVNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDVNotification.h; sourceTree = "<group>"; };
+		30513C02154B6DED002B79B6 /* CDVNotification.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDVNotification.m; sourceTree = "<group>"; };
+		30513C03154B6DED002B79B6 /* CDVSound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDVSound.h; sourceTree = "<group>"; };
+		30513C04154B6DED002B79B6 /* CDVSound.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDVSound.m; sourceTree = "<group>"; };
+		30513C07154B6F56002B79B6 /* CDVConsole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDVConsole.h; sourceTree = "<group>"; };
+		30513C08154B6F56002B79B6 /* CDVConsole.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDVConsole.m; sourceTree = "<group>"; };
 		488B21E5152F6242007056D6 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
 		488B21E6152F6242007056D6 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
 		488B21EB152F742C007056D6 /* Cordova.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = Cordova.icns; path = ../Cordova.icns; sourceTree = "<group>"; };
@@ -43,8 +51,6 @@
 		48B4353A152E5EC300906A36 /* ContentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ContentView.m; sourceTree = "<group>"; };
 		48B4353C152E5FE200906A36 /* WebViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebViewDelegate.h; sourceTree = "<group>"; };
 		48B4353D152E5FE200906A36 /* WebViewDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebViewDelegate.m; sourceTree = "<group>"; };
-		48B4353F152E603C00906A36 /* Sound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sound.h; sourceTree = "<group>"; };
-		48B43540152E603C00906A36 /* Sound.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Sound.m; sourceTree = "<group>"; };
 		48B43542152E60A300906A36 /* Utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Utils.h; sourceTree = "<group>"; };
 		48B43543152E60A300906A36 /* Utils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Utils.m; sourceTree = "<group>"; };
 		48B43545152E60E500906A36 /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
@@ -63,13 +69,17 @@
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
-		488B21E3152F61A9007056D6 /* Commands */ = {
+		30513C00154B6DED002B79B6 /* Commands */ = {
 			isa = PBXGroup;
 			children = (
-				48B4353F152E603C00906A36 /* Sound.h */,
-				48B43540152E603C00906A36 /* Sound.m */,
+				30513C07154B6F56002B79B6 /* CDVConsole.h */,
+				30513C08154B6F56002B79B6 /* CDVConsole.m */,
+				30513C01154B6DED002B79B6 /* CDVNotification.h */,
+				30513C02154B6DED002B79B6 /* CDVNotification.m */,
+				30513C03154B6DED002B79B6 /* CDVSound.h */,
+				30513C04154B6DED002B79B6 /* CDVSound.m */,
 			);
-			name = Commands;
+			path = Commands;
 			sourceTree = "<group>";
 		};
 		48B43509152E5E3500906A36 = {
@@ -113,9 +123,9 @@
 		48B4351E152E5E3500906A36 /* CordovaMac */ = {
 			isa = PBXGroup;
 			children = (
+				30513C00154B6DED002B79B6 /* Commands */,
 				48B43542152E60A300906A36 /* Utils.h */,
 				48B43543152E60A300906A36 /* Utils.m */,
-				488B21E3152F61A9007056D6 /* Commands */,
 				488B21E5152F6242007056D6 /* AppDelegate.h */,
 				488B21E6152F6242007056D6 /* AppDelegate.m */,
 				48B43545152E60E500906A36 /* Constants.h */,
@@ -212,9 +222,11 @@
 				48B43525152E5E3500906A36 /* main.m in Sources */,
 				48B4353B152E5EC300906A36 /* ContentView.m in Sources */,
 				48B4353E152E5FE200906A36 /* WebViewDelegate.m in Sources */,
-				48B43541152E603C00906A36 /* Sound.m in Sources */,
 				48B43544152E60A300906A36 /* Utils.m in Sources */,
 				488B21E7152F6242007056D6 /* AppDelegate.m in Sources */,
+				30513C05154B6DED002B79B6 /* CDVNotification.m in Sources */,
+				30513C06154B6DED002B79B6 /* CDVSound.m in Sources */,
+				30513C09154B6F56002B79B6 /* CDVConsole.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/AppDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/AppDelegate.m b/CordovaMac/CordovaMac/AppDelegate.m
index 5574803..3ce0fc2 100644
--- a/CordovaMac/CordovaMac/AppDelegate.m
+++ b/CordovaMac/CordovaMac/AppDelegate.m
@@ -24,51 +24,26 @@
 
 @synthesize window, contentView;
 
-- (void) applicationDidStartLaunching:(NSNotification *)aNotification {}
-
-- (void) applicationWillFinishLaunching:(NSNotification *)aNotification
+- (void) applicationDidStartLaunching:(NSNotification*) aNotification 
 {
-[[NSNotificationCenter defaultCenter] addObserver:self.contentView 
-										 selector:@selector(windowResized:) 
-											 name:NSWindowDidResizeNotification 
-										   object:[self window]];
-
-NSURL* fileUrl = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:kStartPage]];
-[self.contentView.webView setMainFrameURL:[fileUrl description]];
-
-/* useful colors
- NSColor *brown = [NSColor colorWithCalibratedRed:0.184 green:0.180 blue:0.176 alpha:1.000];
- NSColor *red = [NSColor colorWithCalibratedRed:0.918 green:0.000 blue:0.000 alpha:1.000];
- NSColor *orange = [NSColor colorWithCalibratedRed:0.918 green:0.518 blue:0.000 alpha:1.000];
- NSColor *yellow = [NSColor colorWithCalibratedRed:0.918 green:0.914 blue:0.000 alpha:1.000];
- NSColor *green = [NSColor colorWithCalibratedRed:0.000 green:0.918 blue:0.106 alpha:1.000];
- NSColor *skyBlue = [NSColor colorWithCalibratedRed:0.000 green:0.918 blue:0.906 alpha:1.000];
- NSColor *blue = [NSColor colorWithCalibratedRed:0.000 green:0.020 blue:0.918 alpha:1.000];
- NSColor *clearColor = [NSColor clearColor];
- */
-
-if (kStartFolder == @"www/phonegap-docs/template/phonegap/") {
-	
-    //NSColor *brown = [NSColor colorWithCalibratedRed:0.184 green:0.180 blue:0.176 alpha:1.000];
-    //[window setBackgroundColor:brown];
-    //[self.contentView.webView setBackgroundColor:brown]; //it ignores "WebView" may not respond to 'setBackGroundColor:' @RandyMcMillan
-    self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
-	
-}else{
-	
-    //NSColor *windowBackGroundColor = [NSColor colorWithCalibratedRed:0.918 green:0.918 blue:0.918 alpha:1.000];
-    //NSColor *webViewBackGroundColor = [NSColor colorWithCalibratedRed:0.082 green:0.133 blue:0.192 alpha:1.000];
-    //[window setBackgroundColor:windowBackGroundColor];
-    //[self.contentView.webView setBackgroundColor:webViewBackGroundColor]; //it ignores "WebView" may not respond to 'setBackGroundColor:' @RandyMcMillan
-    self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
-}//end else
-
 }
 
-- (void) applicationDidFinishLaunching:(NSNotification *)aNotification {
+- (void) applicationWillFinishLaunching:(NSNotification*)aNotification
+{
+    [[NSNotificationCenter defaultCenter] addObserver:self.contentView 
+                                             selector:@selector(windowResized:) 
+                                                 name:NSWindowDidResizeNotification 
+                                               object:[self window]];
+
+    NSURL* fileUrl = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:kStartPage]];
+        
+    [self.contentView.webView setMainFrameURL:[fileUrl description]];
+}
 
-self.contentView.webView.alphaValue = 1.0;
-self.contentView.alphaValue = 1.0;
+- (void) applicationDidFinishLaunching:(NSNotification*)aNotification 
+{
+    self.contentView.webView.alphaValue = 1.0;
+    self.contentView.alphaValue = 1.0;
 }
 
 @end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Commands/CDVConsole.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Commands/CDVConsole.h b/CordovaMac/CordovaMac/Commands/CDVConsole.h
new file mode 100644
index 0000000..bb44368
--- /dev/null
+++ b/CordovaMac/CordovaMac/Commands/CDVConsole.h
@@ -0,0 +1,29 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CDVConsole : NSObject {
+	
+}
+
+- (void) log:(NSString*)message;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Commands/CDVConsole.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Commands/CDVConsole.m b/CordovaMac/CordovaMac/Commands/CDVConsole.m
new file mode 100644
index 0000000..fc4b879
--- /dev/null
+++ b/CordovaMac/CordovaMac/Commands/CDVConsole.m
@@ -0,0 +1,75 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "CDVConsole.h"
+
+
+@implementation CDVConsole
+
+
+- (void) log:(NSString*)message
+{
+    NSLog(@"%@", message);
+}
+
+#pragma mark WebScripting Protocol
+
+/* checks whether a selector is acceptable to be called from JavaScript */
++ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
+{
+	BOOL	result = YES;
+	
+	int			i = 0;
+	static SEL	* acceptableList = NULL;
+	SEL			currentSelector;
+	
+	if (acceptableList == NULL && (acceptableList = calloc(256, sizeof(SEL))))	// up to 256 selectors
+	{
+		acceptableList[i++] = @selector(log:);
+	}
+	
+	i = 0;
+	while (result == YES && (currentSelector = acceptableList[i++]))
+	{
+		//checking for exclusions
+		result = !(selector == currentSelector);
+	}
+	
+	return result;
+}
+
+/* helper function so we don't have to have underscores and stuff in js to refer to the right method */
++ (NSString*) webScriptNameForSelector:(SEL)aSelector
+{
+	id	result = nil;
+	
+	if (aSelector == @selector(log:)) {
+		result = @"log";
+	}
+	
+	return result;
+}
+
+// right now exclude all properties (eg keys)
++ (BOOL) isKeyExcludedFromWebScript:(const char*)name
+{
+	return YES;
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Commands/CDVNotification.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Commands/CDVNotification.h b/CordovaMac/CordovaMac/Commands/CDVNotification.h
new file mode 100644
index 0000000..7cff59f
--- /dev/null
+++ b/CordovaMac/CordovaMac/Commands/CDVNotification.h
@@ -0,0 +1,29 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CDVNotification : NSObject {
+	
+}
+
+- (void) alert:(NSString*)message withTitle:(NSString*)title;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Commands/CDVNotification.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Commands/CDVNotification.m b/CordovaMac/CordovaMac/Commands/CDVNotification.m
new file mode 100644
index 0000000..e52aeed
--- /dev/null
+++ b/CordovaMac/CordovaMac/Commands/CDVNotification.m
@@ -0,0 +1,78 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "CDVNotification.h"
+#import <AppKit/AppKit.h>
+
+@implementation CDVNotification
+
+
+- (void) alert:(NSString*)message withTitle:(NSString*)title;
+{
+    NSAlert* alert = [NSAlert alertWithMessageText:title
+                                     defaultButton:@"OK" alternateButton:nil
+                                       otherButton:nil informativeTextWithFormat:message];
+    [alert runModal];
+}
+
+#pragma mark WebScripting Protocol
+
+/* checks whether a selector is acceptable to be called from JavaScript */
++ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
+{
+	BOOL	result = YES;
+	
+	int			i = 0;
+	static SEL	* acceptableList = NULL;
+	SEL			currentSelector;
+	
+	if (acceptableList == NULL && (acceptableList = calloc(256, sizeof(SEL))))	// up to 256 selectors
+	{
+		acceptableList[i++] = @selector(alert:withTitle:);
+	}
+	
+	i = 0;
+	while (result == YES && (currentSelector = acceptableList[i++]))
+	{
+		//checking for exclusions
+		result = !(selector == currentSelector);
+	}
+	
+	return result;
+}
+
+/* helper function so we don't have to have underscores and stuff in js to refer to the right method */
++ (NSString*) webScriptNameForSelector:(SEL)aSelector
+{
+	id	result = nil;
+	
+	if (aSelector == @selector(alert:withTitle:)) {
+		result = @"alert";
+	}
+	
+	return result;
+}
+
+// right now exclude all properties (eg keys)
++ (BOOL) isKeyExcludedFromWebScript:(const char*)name
+{
+	return YES;
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Commands/CDVSound.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Commands/CDVSound.h b/CordovaMac/CordovaMac/Commands/CDVSound.h
new file mode 100644
index 0000000..a277829
--- /dev/null
+++ b/CordovaMac/CordovaMac/Commands/CDVSound.h
@@ -0,0 +1,29 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CDVSound : NSObject {
+	
+}
+
+- (void) play:(NSString*)file;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Commands/CDVSound.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Commands/CDVSound.m b/CordovaMac/CordovaMac/Commands/CDVSound.m
new file mode 100644
index 0000000..8451a0c
--- /dev/null
+++ b/CordovaMac/CordovaMac/Commands/CDVSound.m
@@ -0,0 +1,79 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "CDVSound.h"
+
+
+@implementation CDVSound
+
+
+- (void) play:(NSString*)file
+{
+	NSURL* fileUrl  = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:file]];
+	//DebugNSLog(@"Sound file:%@", [fileUrl description]);
+	
+	NSSound* sound = [[[NSSound alloc] initWithContentsOfURL:fileUrl byReference:YES] autorelease];
+	[sound play];
+}
+
+#pragma mark WebScripting Protocol
+
+/* checks whether a selector is acceptable to be called from JavaScript */
++ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
+{
+	BOOL	result = YES;
+	
+	int			i = 0;
+	static SEL	* acceptableList = NULL;
+	SEL			currentSelector;
+	
+	if (acceptableList == NULL && (acceptableList = calloc(256, sizeof(SEL))))	// up to 256 selectors
+	{
+		acceptableList[i++] = @selector(play:);
+	}
+	
+	i = 0;
+	while (result == YES && (currentSelector = acceptableList[i++]))
+	{
+		//checking for exclusions
+		result = !(selector == currentSelector);
+	}
+	
+	return result;
+}
+
+/* helper function so we don't have to have underscores and stuff in js to refer to the right method */
++ (NSString*) webScriptNameForSelector:(SEL)aSelector
+{
+	id	result = nil;
+	
+	if (aSelector == @selector(play:)) {
+		result = @"play";
+	}
+	
+	return result;
+}
+
+// right now exclude all properties (eg keys)
++ (BOOL) isKeyExcludedFromWebScript:(const char*)name
+{
+	return YES;
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Constants.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Constants.h b/CordovaMac/CordovaMac/Constants.h
index aff04de..cffe4e6 100644
--- a/CordovaMac/CordovaMac/Constants.h
+++ b/CordovaMac/CordovaMac/Constants.h
@@ -17,9 +17,6 @@
  under the License.
  */
 
-#define kStartPage @"index.html"
-
-
-// PhoneGap Docs 
-#define kStartFolder @"www/phonegap-docs/template/phonegap/"
+#define kStartPage      @"index.html"
+#define kStartFolder    @"www"
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/ContentView.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/ContentView.m b/CordovaMac/CordovaMac/ContentView.m
index e8ed6a6..391812e 100644
--- a/CordovaMac/CordovaMac/ContentView.m
+++ b/CordovaMac/CordovaMac/ContentView.m
@@ -27,27 +27,27 @@
 
 - (void) awakeFromNib
 {
-self.delegate = [[[WebViewDelegate alloc] init] autorelease];
-[self.webView setFrameLoadDelegate:self.delegate];
-[self.webView setUIDelegate:self.delegate];
-[self.webView setResourceLoadDelegate:self.delegate];
-[self.webView setDownloadDelegate:self.delegate];
-[self.webView setPolicyDelegate:self.delegate];	
-//self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
+    self.delegate = [[[WebViewDelegate alloc] init] autorelease];
+    [self.webView setFrameLoadDelegate:self.delegate];
+    [self.webView setUIDelegate:self.delegate];
+    [self.webView setResourceLoadDelegate:self.delegate];
+    [self.webView setDownloadDelegate:self.delegate];
+    [self.webView setPolicyDelegate:self.delegate];	
+    //self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
 }
 
 - (id)initWithFrame:(NSRect)frame 
 {
-self = [super initWithFrame:frame];
-if (self) {
-	// init here
-}
-return self;
+    self = [super initWithFrame:frame];
+    if (self) {
+        // init here
+    }
+    return self;
 }
 
 - (void) drawRect:(NSRect)dirtyRect 
 {
-// Drawing code here.
+    // Drawing code here.
 }
 
 - (void) windowResized:(NSNotification*)notification;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Sound.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Sound.h b/CordovaMac/CordovaMac/Sound.h
deleted file mode 100644
index 7781742..0000000
--- a/CordovaMac/CordovaMac/Sound.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
- */
-
-#import <Cocoa/Cocoa.h>
-
-
-@interface Sound : NSObject {
-	
-}
-
-- (void) play:(NSString*)file;
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Sound.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Sound.m b/CordovaMac/CordovaMac/Sound.m
deleted file mode 100644
index b6359c6..0000000
--- a/CordovaMac/CordovaMac/Sound.m
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
- */
-
-#import "Sound.h"
-
-
-@implementation Sound
-
-
-- (void) play:(NSString*)file
-{
-	NSURL* fileUrl  = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:file]];
-	//DebugNSLog(@"Sound file:%@", [fileUrl description]);
-	
-	NSSound* sound = [[[NSSound alloc] initWithContentsOfURL:fileUrl byReference:YES] autorelease];
-	[sound play];
-}
-
-#pragma mark WebScripting Protocol
-
-/* checks whether a selector is acceptable to be called from JavaScript */
-+ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
-{
-	BOOL	result = YES;
-	
-	int			i = 0;
-	static SEL	* acceptableList = NULL;
-	SEL			currentSelector;
-	
-	if (acceptableList == NULL && (acceptableList = calloc(256, sizeof(SEL))))	// up to 256 selectors
-	{
-		acceptableList[i++] = @selector(play:);
-	}
-	
-	i = 0;
-	while (result == YES && (currentSelector = acceptableList[i++]))
-	{
-		//checking for exclusions
-		result = !(selector == currentSelector);
-	}
-	
-	return result;
-}
-
-/* helper function so we don't have to have underscores and stuff in js to refer to the right method */
-+ (NSString*) webScriptNameForSelector:(SEL)aSelector
-{
-	id	result = nil;
-	
-	if (aSelector == @selector(play:)) {
-		result = @"play";
-	}
-	
-	return result;
-}
-
-// right now exclude all properties (eg keys)
-+ (BOOL) isKeyExcludedFromWebScript:(const char*)name
-{
-	return YES;
-}
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/Utils.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Utils.m b/CordovaMac/CordovaMac/Utils.m
index 5ce2614..75f62c2 100644
--- a/CordovaMac/CordovaMac/Utils.m
+++ b/CordovaMac/CordovaMac/Utils.m
@@ -82,7 +82,7 @@ static Utils* sharedInstance = nil;
     return UINT_MAX;  // denotes an object that cannot be released
 }
 
-- (void) release {
+- (oneway void) release {
     //do nothing
 }
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/WebViewDelegate.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/WebViewDelegate.h b/CordovaMac/CordovaMac/WebViewDelegate.h
index 4acda1b..a7c5899 100644
--- a/CordovaMac/CordovaMac/WebViewDelegate.h
+++ b/CordovaMac/CordovaMac/WebViewDelegate.h
@@ -20,12 +20,15 @@
 #import <Cocoa/Cocoa.h>
 #import <WebKit/WebKit.h>
 
-@class Sound;
+@class CDVSound;
+@class CDVNotification;
+@class CDVConsole;
 
 @interface WebViewDelegate : NSObject {
-	Sound* sound;
 }
 
-@property (nonatomic, retain) Sound* sound;
+@property (nonatomic, retain) CDVSound* sound;
+@property (nonatomic, retain) CDVNotification* notification;
+@property (nonatomic, retain) CDVConsole* console;
 
 @end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/WebViewDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/WebViewDelegate.m b/CordovaMac/CordovaMac/WebViewDelegate.m
index 445e10b..a04cdfd 100644
--- a/CordovaMac/CordovaMac/WebViewDelegate.m
+++ b/CordovaMac/CordovaMac/WebViewDelegate.m
@@ -19,16 +19,24 @@
 
 
 #import "WebViewDelegate.h"
-#import "Sound.h"
+#import "CDVSound.h"
+#import "CDVNotification.h"
+#import "CDVConsole.h"
 
 @implementation WebViewDelegate
 
-@synthesize sound;
+@synthesize sound, notification, console;
 
 - (void) webView:(WebView*)webView windowScriptObjectAvailable:(WebScriptObject*)windowScriptObject
 {
-	if (self.sound == nil) { self.sound = [Sound new]; }
+	if (self.sound == nil) { self.sound = [CDVSound new]; }
 	[windowScriptObject setValue:self.sound forKey:@"sound"];
+	if (self.console == nil) { self.console = [CDVConsole new]; }
+	[windowScriptObject setValue:self.console forKey:@"console"];
+	if (self.notification == nil) { self.notification = [CDVNotification new]; }
+	[windowScriptObject setValue:self.notification forKey:@"notification"];
+    [windowScriptObject evaluateWebScript:@"navigator.notification = notification;"];
+    
 }
 
 /* This logs all errors from Javascript, nifty */
@@ -58,5 +66,15 @@
 	return YES;
 }
 
+#pragma mark WebPolicyDelegate
+
+- (void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener
+{	
+    NSString* url = [[request URL] description];
+    NSLog(@"navigating to %@", url);
+
+    [listener use];
+}
+
 
 @end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/CordovaMac/en.lproj/MainMenu.xib
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/en.lproj/MainMenu.xib b/CordovaMac/CordovaMac/en.lproj/MainMenu.xib
index 86e6d88..06ab253 100644
--- a/CordovaMac/CordovaMac/en.lproj/MainMenu.xib
+++ b/CordovaMac/CordovaMac/en.lproj/MainMenu.xib
@@ -1295,14 +1295,14 @@
 			<object class="NSWindowTemplate" id="972006081">
 				<int key="NSWindowStyleMask">15</int>
 				<int key="NSWindowBacking">2</int>
-				<string key="NSWindowRect">{{335, 390}, {1300, 800}}</string>
+				<string key="NSWindowRect">{{335, 299}, {640, 480}}</string>
 				<int key="NSWTFlags">1954021376</int>
 				<string key="NSWindowTitle">CordovaMac</string>
 				<string key="NSWindowClass">NSWindow</string>
 				<nil key="NSViewClass"/>
 				<nil key="NSUserInterfaceItemIdentifier"/>
-				<string key="NSWindowContentMaxSize">{1300, 800}</string>
-				<string key="NSWindowContentMinSize">{747, 748}</string>
+				<string key="NSWindowContentMaxSize">{1024, 768}</string>
+				<string key="NSWindowContentMinSize">{640, 480}</string>
 				<object class="NSView" key="NSWindowView" id="439893737">
 					<reference key="NSNextResponder"/>
 					<int key="NSvFlags">256</int>
@@ -1327,9 +1327,8 @@
 								<string>public.url</string>
 								<string>public.url-name</string>
 							</set>
-							<string key="NSFrameSize">{1300, 800}</string>
+							<string key="NSFrameSize">{640, 480}</string>
 							<reference key="NSSuperview" ref="439893737"/>
-							<reference key="NSWindow"/>
 							<reference key="NSNextKeyView"/>
 							<double key="NSViewAlphaValue">0.0</double>
 							<int key="NSViewLayerContentsRedrawPolicy">2</int>
@@ -1349,16 +1348,15 @@
 							<bool key="AllowsUndo">YES</bool>
 						</object>
 					</array>
-					<string key="NSFrameSize">{1300, 800}</string>
+					<string key="NSFrameSize">{640, 480}</string>
 					<reference key="NSSuperview"/>
-					<reference key="NSWindow"/>
 					<reference key="NSNextKeyView" ref="286545035"/>
 					<string key="NSHuggingPriority">{1000, 1000}</string>
 					<string key="NSAntiCompressionPriority">{1, 1}</string>
 				</object>
 				<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
-				<string key="NSMinSize">{747, 770}</string>
-				<string key="NSMaxSize">{1300, 822}</string>
+				<string key="NSMinSize">{640, 502}</string>
+				<string key="NSMaxSize">{1024, 790}</string>
 				<int key="NSWindowCollectionBehavior">128</int>
 				<bool key="NSWindowIsRestorable">YES</bool>
 			</object>
@@ -2067,6 +2065,30 @@
 					</object>
 					<int key="connectionID">561</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBOutletConnection" key="connection">
+						<string key="label">resourceLoadDelegate</string>
+						<reference key="source" ref="286545035"/>
+						<reference key="destination" ref="976324537"/>
+					</object>
+					<int key="connectionID">722</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBOutletConnection" key="connection">
+						<string key="label">policyDelegate</string>
+						<reference key="source" ref="286545035"/>
+						<reference key="destination" ref="976324537"/>
+					</object>
+					<int key="connectionID">723</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBOutletConnection" key="connection">
+						<string key="label">frameLoadDelegate</string>
+						<reference key="source" ref="286545035"/>
+						<reference key="destination" ref="976324537"/>
+					</object>
+					<int key="connectionID">724</int>
+				</object>
 			</array>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<array key="orderedObjects">
@@ -2625,12 +2647,12 @@
 								<int key="contentType">3</int>
 								<reference key="containingView" ref="439893737"/>
 							</object>
-							<object class="IBNSLayoutConstraint" id="1016678070">
+							<object class="IBNSLayoutConstraint" id="459110769">
 								<reference key="firstItem" ref="286545035"/>
-								<int key="firstAttribute">4</int>
+								<int key="firstAttribute">6</int>
 								<int key="relation">0</int>
 								<reference key="secondItem" ref="439893737"/>
-								<int key="secondAttribute">4</int>
+								<int key="secondAttribute">6</int>
 								<float key="multiplier">1</float>
 								<object class="IBLayoutConstant" key="constant">
 									<double key="value">0.0</double>
@@ -2641,12 +2663,12 @@
 								<int key="contentType">3</int>
 								<reference key="containingView" ref="439893737"/>
 							</object>
-							<object class="IBNSLayoutConstraint" id="459110769">
+							<object class="IBNSLayoutConstraint" id="1016678070">
 								<reference key="firstItem" ref="286545035"/>
-								<int key="firstAttribute">6</int>
+								<int key="firstAttribute">4</int>
 								<int key="relation">0</int>
 								<reference key="secondItem" ref="439893737"/>
-								<int key="secondAttribute">6</int>
+								<int key="secondAttribute">4</int>
 								<float key="multiplier">1</float>
 								<object class="IBLayoutConstant" key="constant">
 									<double key="value">0.0</double>
@@ -3226,23 +3248,23 @@
 						<reference key="parent" ref="286545035"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">715</int>
-						<reference key="object" ref="1016678070"/>
+						<int key="objectID">726</int>
+						<reference key="object" ref="456072447"/>
 						<reference key="parent" ref="439893737"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">719</int>
-						<reference key="object" ref="459110769"/>
+						<int key="objectID">727</int>
+						<reference key="object" ref="684866909"/>
 						<reference key="parent" ref="439893737"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">720</int>
-						<reference key="object" ref="456072447"/>
+						<int key="objectID">719</int>
+						<reference key="object" ref="459110769"/>
 						<reference key="parent" ref="439893737"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">721</int>
-						<reference key="object" ref="684866909"/>
+						<int key="objectID">725</int>
+						<reference key="object" ref="1016678070"/>
 						<reference key="parent" ref="439893737"/>
 					</object>
 				</array>
@@ -3314,13 +3336,13 @@
 				<string key="371.IBWindowTemplateEditedContentRect">{{380, 496}, {480, 360}}</string>
 				<integer value="1" key="371.NSWindowTemplate.visibleAtLaunch"/>
 				<string key="372.CustomClassName">ContentView</string>
-				<array key="372.IBNSViewMetadataConstraints">
-					<reference ref="1016678070"/>
+				<array class="NSMutableArray" key="372.IBNSViewMetadataConstraints">
 					<reference ref="580015066"/>
 					<reference ref="459110769"/>
+					<reference ref="524952465"/>
+					<reference ref="1016678070"/>
 					<reference ref="456072447"/>
 					<reference ref="684866909"/>
-					<reference ref="524952465"/>
 				</array>
 				<string key="372.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="375.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3419,11 +3441,11 @@
 				<string key="688.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="693.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="704.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-				<string key="715.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="719.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="72.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-				<string key="720.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-				<string key="721.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
+				<string key="725.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
+				<string key="726.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
+				<string key="727.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="74.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
 				<string key="75.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3439,7 +3461,7 @@
 			<nil key="activeLocalization"/>
 			<dictionary class="NSMutableDictionary" key="localizations"/>
 			<nil key="sourceID"/>
-			<int key="maxID">721</int>
+			<int key="maxID">730</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<array class="NSMutableArray" key="referencedPartialClassDescriptions">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/index.html
----------------------------------------------------------------------
diff --git a/CordovaMac/www/index.html b/CordovaMac/www/index.html
new file mode 100644
index 0000000..ecda47c
--- /dev/null
+++ b/CordovaMac/www/index.html
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<html>
+  <head>
+  <title></title>
+  
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
+	<meta charset="utf-8">
+    <style>
+    </style>
+
+
+	<!-- iPad/iPhone specific css below, add after your main css >
+	<link rel="stylesheet" media="only screen and (max-device-width: 1024px)" href="ipad.css" type="text/css" />		
+	<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="iphone.css" type="text/css" />		
+	-->
+	<!-- If your application is targeting iOS BEFORE 4.0 you MUST put json2.js from http://www.JSON.org/json2.js into your www directory and include it here -->
+	<script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
+    <script type="text/javascript">
+
+
+	// If you want to prevent dragging, uncomment this section
+	/*
+	function preventBehavior(e) 
+	{ 
+      e.preventDefault(); 
+    };
+	document.addEventListener("touchmove", preventBehavior, false);
+	*/
+	
+	/* If you are supporting your own protocol, the var invokeString will contain any arguments to the app launch.
+	see http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
+	for more details -jm */
+	/*
+	function handleOpenURL(url)
+	{
+		// TODO: do something with the url passed in.
+	}
+	*/
+	
+	function onBodyLoad()
+	{		
+		//document.addEventListener("deviceready", onDeviceReady, false);
+        
+        console.log("Cordova is working!");
+        navigator.notification.alert("Cordova is working!", "Apache Cordova");
+        
+        
+	}
+        
+    function onDeviceReady()
+    {
+		//navigator.notification.alert("Cordova is working!");
+    }
+        
+    </script>
+  </head>
+  <body onload="onBodyLoad()">
+	<h1>Hey, it's Cordova!</h1>
+	<p>Don't know how to get started? Check out our <em><a target="_blank" href="http://docs.phonegap.com/en/1.4.1/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS">Getting Started Guide</a></em>
+	<br />
+	<ol>
+		<li>Check your console log for any white-list rejection errors.</li>
+		<li>Add your allowed <strong>hosts</strong> in Cordova.plist/ExternalHosts (wildcards OK, don't enter the URL scheme)</li>
+	</ol>
+      
+      <img id="myImage" /> 
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/joDoc/doc.css
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/joDoc/doc.css b/CordovaMac/www/phonegap-docs/template/joDoc/doc.css
deleted file mode 100644
index dc4cb43..0000000
--- a/CordovaMac/www/phonegap-docs/template/joDoc/doc.css
+++ /dev/null
@@ -1,325 +0,0 @@
-/**
-	doc.css
-	=======
-
-	Requires `docbody.css`, which is split with the intention of using
-	documentation in a jo app without messing with the `body` definition
-	in the app.
-
-	Support for printed media is included for generating nice PDF files.
-*/
-p {
-	text-align: left;
-}
-
-.crunch p, .crunch ul, .crunch blockquote,
-.crunch h3, .crunch h2, .crunch hr, .crunch pre {
-	display: none;
-}
-
-.crunch h1 {
-	font-size: 20px;
-}
-
-/* using `<cite>` for pretty titles */
-cite {
-	position: relative;
-	line-height: .9;
-	background: #07c7c3;
-	display: block;
-	text-align: right;
-	font-size: 120px;
-	color: #fff;
-	font-style: normal;
-	margin: 0;
-	padding: 20px 30px 20px 20px;
-	letter-spacing: -10px;
-	overflow: hidden;
-}
-
-cite>cite {
-	letter-spacing: 0;
-	margin: 0;
-	padding: 0;
-	font-size: 25%;
-	margin-right: -10px;
-	font-style: italic;
-	background: transparent;
-	overflow: visible;
-}
-
-cite a[href] {
-	background: inherit;
-	padding: 0;
-}
-
-em {
-	font-weight: normal;
-	font-style: italic;
-}
-
-blockquote em {
-	font-weight: bold;
-}
-
-ul > li {
-	list-style: disc;
-}
-
-ul {
-	margin-right: 50px;
-}
-
-img {
-	display: block;
-	margin: 2em auto;
-	max-width: 100%;
-}
-
-blockquote {
-	font-style: italic;
-	color: #9e9fa3;
-	position: relative;
-	margin: 1.5em 30px;
-	padding: 10px 10px 0 10px;
-}
-blockquote:before {
-	font-style: normal;
-	content: '\201C';
-	font-size: 60px;
-	position: absolute;
-	top: -15px;
-	left: -35px;
-	color: #e5e6e7;
-}
-blockquote:after {
-	font-style: normal;
-	content: '\201E';
-	font-size: 60px;
-	position: absolute;
-	bottom: -20px;
-	right: -35px;
-	color: #e5e6e7;
-}
-
-blockquote p {
-	margin: 0 0 10px 0;
-}
-
-blockquote code {
-	font-style: normal;
-}
-
-h1 {
-	margin-top: 0;
-	color: #07c7c3;
-	font-size: 38px;
-	font-weight: normal;
-	margin-bottom: 0;
-	margin-left: -1px;
-	letter-spacing: -1px;
-}
-
-h2 {
-	margin-left: -1px;
-	margin-top: 1em;
-	color: #0d0d0d;
-	font-size: 18px;
-	font-weight: normal;
-}
-h2:after, h3:after {
-	content: ":";
-}
-
-h3 {
-	font-size: 16px;
-	font-weight: normal;
-}
-
-code {
-	color: #3b5998;
-	color: #314484;
-	font: normal 86% "Monaco", "Courier New", "Courier";
-}
-
-pre {
-	display: block;
-	background: #f5f6f7;
-	margin: 1.5em 20px;
-	padding: 10px 1.5em;
-	-webkit-border-radius: 4px;
-	-moz-border-radius: 4px;
-	border-radius: 4px;
-	white-space: pre-wrap;
-}
-
-pre code {
-	color: #3b5998;
-	color: #314484;
-	font: normal 70% "Monaco", "Courier New", "Courier";
-}
-
-a[href] {
-	white-space: nowrap;
-	text-decoration: none;
-	color: inherit;
-	padding: 1px .6em;
-	background: #f5f6f7;
-	background: rgba(0, 0, 0, .05);
-	-webkit-border-radius: .6em;
-	-moz-border-radius: .6em;
-	border-radius: .6em;
-	-webkit-transition: background .2s ease-out, -webkit-box-shadow .1s ease-out, color .15s ease-out;
-	-moz-transition: background .2s ease-out, -webkit-box-shadow .1s ease-out, color .15s ease-out;
-	-o-transition: background .2s ease-out, -webkit-box-shadow .1s ease-out, color .15s ease-out;
-}
-
-pre code a[href] {
-  background: none;
-  border-bottom:1px dotted;
-}
-
-/* puts an * after external links, jodoc designates with .external */
-a[href].external:after {
-	content: "*";
-	font-style: super;
-	opacity: .5;
-}
-
-a[href]:hover {
-	background: rgba(0, 0, 0, .6);
-	color: #fff;
-}
-
-pre code a[href], code a[href] {
-	padding: 1px 0;
-	-webkit-border-radius: 0;
-	-moz-border-radius: 0;
-	border-radius: 0;
-}
-
-/*
-	vanilla markdown doesn't support tables, but since you can
-	pass HTML through it, may as well put some nice styling for
-	them in the CSS.
-*/
-table {
-	width: 100%;
-	margin: 1em auto;
-	border-top: 1px solid #0d0d0d;
-	border-left: 1px solid #0d0d0d;
-	padding: 0;
-	border-spacing: 0;
-	text-align: center;
-}
-th {
-	background: #36D2CF;
-	background: #00a9a7;
-	background: #07c7c3;
-	padding: 5px;
-	color: #fff;
-	text-align: center;
-	border-right: 1px solid #0d0d0d;
-	border-bottom: 1px solid #0d0d0d;
-	font-weight: bold;
-}
-
-th:first {
-	border-left: 1px solid #0d0d0d;	
-}
-
-td {
-	padding: 5px;
-	border-right: 1px solid #0d0d0d;
-	border-bottom: 1px solid #0d0d0d;
-}
-
-td:first {
-	border-left: 1px solid #0d0d0d;
-}
-
-/* <hr> is used as a page separator in markdown */
-hr {
-	border: none;
-	height: 70px;
-}
-hr:before {
-	content: "\2026";
-	font-size: 50px;
-	color: #e5e6e7;
-	text-align: center;
-	display: block;
-}
-
-#index {
-	-webkit-column-width: 170px;
-	-webkit-column-rule-width: 10px;
-	-moz-column-width: 170px;
-	-moz-column-rule-width: 10px;
-	column-width: 170px;
-	column-rule-width: 10px;
-	column-width: 170px;
-	column-rule-width: 10px;
-}
-#index h2:after, #index h3:after { content:""; }
-#index h2 { margin-left: 0; }
-#index>h2 {
-	margin-top: 0;
-}
-#index { padding: 10px 1px; }
-#index ul {
-	padding: 0;
-}
-#index ul li {
-	list-style: none;
-}
-
-/* pretty printing */
-@media print {
-	body {
-		max-width: none;
-		margin: 0;
-		font-size: 89%;
-	}
-	
-	h1, h2 {
-		page-break-after: avoid;
-	}
-	
-	h1>p, h2>p{
-		page-break-before: avoid;
-	}
-	
-	pre {
-		page-break-before: auto;
-		page-break-inside: avoid;
-	}
-	
-	blockquote {
-		page-break-inside: avoid;
-	}
-	
-	hr {
-		page-break-before: always;
-		font-size: inherit;
-		height: auto;
-	}
-	hr:before {
-		height: auto;
-		content: "";
-		font-size: inherit;
-	}
-	
-	a[href] {
-		background: none;
-		padding: 0;
-		-webkit-border-radius: none;
-		-moz-border-radius: none;
-		border-radius: none;
-	}
-	
-	#index {
-		display: none;
-	}
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/joDoc/docbody.css
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/joDoc/docbody.css b/CordovaMac/www/phonegap-docs/template/joDoc/docbody.css
deleted file mode 100644
index c7ae692..0000000
--- a/CordovaMac/www/phonegap-docs/template/joDoc/docbody.css
+++ /dev/null
@@ -1,11 +0,0 @@
-body {
-	background: #fff;
-	font: normal 100% "Georgia", "Palatino", "Times New Roman", "Times";
-/*	font: normal 100% "Gill Sans", "Verdana", "Arial"; */
-	line-height: 1.6;
-	padding: 0 1em;
-	color: #383838;
-	font-size: 15px;
-	margin: 0 auto;
-	max-width: 700px;
-}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/joDoc/index.html
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/joDoc/index.html b/CordovaMac/www/phonegap-docs/template/joDoc/index.html
deleted file mode 100644
index 8faef2e..0000000
--- a/CordovaMac/www/phonegap-docs/template/joDoc/index.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<frameset cols="20%, 80%">
-	<frame name="toc" src="_content.html">
-	<frame name="content" src="introduction.md.html">
-</frameset>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/arrow.png
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/arrow.png b/CordovaMac/www/phonegap-docs/template/phonegap/arrow.png
deleted file mode 100644
index 0968c62..0000000
Binary files a/CordovaMac/www/phonegap-docs/template/phonegap/arrow.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/index.css
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/index.css b/CordovaMac/www/phonegap-docs/template/phonegap/index.css
deleted file mode 100644
index efa70ef..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/index.css
+++ /dev/null
@@ -1,384 +0,0 @@
-body {
-  background-color:#F6F4F2;
-  font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
-  font-size:16px;
-}
-
-h1, ul, li {
-  margin:0px;
-  padding:0px;
-}
-
-#header {
-  background-color:#515151;
-  background:#515151 -webkit-gradient(
-    linear,
-    left top,
-    left bottom,
-    color-stop(0.2, #515151),
-    color-stop(0.8, #302F2D)
-  );
-  background:-moz-linear-gradient(center bottom , #515151 20%, #747474 80%);
-  border-top:1px solid #919192;
-  height:32px;
-  left:0px;
-  position:fixed;
-  top:0px;
-  width:100%;
-  z-index:1;
-}
-#subheader {
-  background-color:#CBCBCB;
-  background:-webkit-gradient(linear,
-    left top,
-    left bottom,
-    color-stop(0.0, #F9F9F9),
-    color-stop(1.0, #CBCBCB)
-  );
-  background:-moz-linear-gradient(center bottom , #CBCBCB 0%, #F9F9F9 100%);
-  border-top:1px solid #383A3C;
-  border-bottom:1px solid #919395;
-  height:32px;
-  left:0px;
-  position:fixed;
-  top:32px;
-  width:100%;
-  z-index:1;
-}
-#sidebar {
-  background-color:#ECEAE7;
-  bottom:0px;
-  left:0px;
-  overflow:auto;
-  padding:20px 40px 0px 0px;
-  position:fixed;
-  text-align:right;
-  top:66px;
-  width:180px;
-  z-index:1;
-}
-#scrollable {
-  bottom:0px;
-  left:220px;
-  position:fixed;
-  overflow:auto;
-  right:0px;
-  top:64px;
-}
-#content {
-/*  top:64px;*/
-/*  bottom:0px;*/
-/*  right:0px;*/
-/*  left:220px;*/
-/*  margin:64px auto 0px 220px;*/
-  margin:20px 60px;
-/*  position:absolute;*/
-/*  overflow:auto;*/
-  z-index:0;
-}
-
-#header h1,
-#header h1 a,
-#subheader h1 {
-  color:#F6F4F2;
-  font-size:18px;
-  font-weight:normal;
-  line-height:32px;
-  margin:0px;
-  text-align:center;
-  text-shadow:0px -1px 1px #222222;
-}
-
-#header h1 a strong {
-  font-weight:bold;
-}
-
-#header h1 {
-  text-align:left;
-  margin-left:20px;
-}
-
-#subheader h1 {
-  color:#000000;
-  text-shadow:#FFFFFF 0px 1px 0px;
-}
-
-#subheader small {
-  color:#EFEFEF;
-  font-size:14px;
-  line-height:32px;
-  position:absolute;
-  top:0px;
-  right:20px;
-  text-shadow:-1px 1px 1px #666666;
-}
-
-#sidebar .vertical_divider {
-  background-color:#CCCCCC;
-  bottom:0px;
-  border-right:1px solid #FFFFFF;
-  position:absolute;
-  top:0px;
-  right:0px;
-  width:1px;
-}
-
-#sidebar h1 {
-  color:#000000;
-  font-size:18px;
-  padding:0px;
-  margin:30px 0px;
-  font-weight:normal;
-  text-shadow:#FFFFFF 0px 1px 0px;
-}
-
-#sidebar ul,
-#sidebar li {
-  margin:0px;
-  padding:0px;
-}
-#sidebar li,
-#sidebar li a {
-  color:#767573;
-  font-size:14px;
-  list-style:none;
-  margin:15px 0px;
-  text-shadow:#FFFFFF 0px 1px 1px;
-}
-#sidebar li a {
-  -webkit-transition:color .15s ease-out;
-  -moz-transition:color .15s ease-out;
-  -o-transition:color .15s ease-out;
-}
-#sidebar li a:hover {
-  color:#242220;
-  -webkit-transition:color .15s ease-in;
-  -moz-transition:color .15s ease-in;
-  -o-transition:color .15s ease-in;
-}
-
-
-#otherbar {
-  display:none;
-}
-
-#content {
-  font-size:13px;
-  line-height:160%;
-  max-width:750px;
-}
-
-#content h1 {
-  border-bottom:2px solid;
-  font-size:2em;
-  font-weight:normal;
-  margin:2.0em 0px 1.3em 0px;
-  padding-bottom:0.6em;
-}
-#content h2 {
-  color:#242220;
-  font-size:1.4em;
-  font-weight:bold;
-  margin:1.3em 0px 0.8em 0px;
-  text-shadow:#FFFFFF 0px 1px 1px;
-}
-#content h3 {
-  font-size:1em;
-  font-weight:bold;
-  margin:0.8em 0px 0.5em 0px;
-  text-shadow:#FFFFFF 0px 1px 1px;
-}
-
-hr {
-  display:none;
-  border:none;
-  margin:40px 0px;
-  border-top:1px solid #CCCCCC;
-  border-bottom:1px solid #FFFFFF;
-}
-
-p,blockquote,pre,ul {
-  margin:1em 0px;
-}
-
-h2:after,
-h3:after {
-	content: ":";
-}
-
-blockquote {
-  color:#767573;
-	font-style:normal;
-  margin-left:35px;
-  padding-left:20px;
-	position:relative;
-	text-shadow:#FFFFFF 0px 1px 0px;
-}
-blockquote code {
-	font-style: normal;
-}
-blockquote p {
-  padding:10px 0px;
-}
-blockquote::before {
-  font-style: normal;
-  content: '\201C';
-  font-size: 450%;
-  font-family:Georgia, Palatino, 'Times New Roman', Times;;
-  position: absolute;
-  left: -25px;
-  top:0.3em;
-  color: #E0E0E0;
-}
-
-ul {
-  margin-left:40px;
-}
-ul > li {
-	list-style:disc;
-	list-style-position:outside;
-}
-ul ul {
-  margin-bottom:0.5em;
-  margin-top:0.5em;
-}
-
-
-
-code {
-	font-family:"DejaVu", "Monaco", "Courier New", "Courier";
-	font-size:90%;
-	padding:2px 4px;
-	white-space:pre-wrap;;
-}
-
-pre {
-/*    border:1px solid #CCCCCC;*/
-    background:#F2F0EE;
-    -webkit-border-radius:11px;
-    -moz-border-radius:11px;
-    border-radius:11px;
-    display:block;
-    line-height:110%;
-    margin:1.5em 0px 3em 0px;
-    padding:15px 20px;
-    white-space:pre-wrap;
-}
-pre code {
-  background:none;
-	border:none;
-	font-size:11px;
-	padding:0px;
-}
-
-a[href] {
-/*  color:inherit;*/
-  color:#F06433;
-  text-decoration:none;
-  text-shadow:#FFF 0px 1px 0px;
-}
-a[href]:hover {
-  color:#d0410f;
-}
-
-.prettyprint a[href],
-.prettyprint a[href] span {
-  text-decoration:underline;
-  text-shadow:none;
-}
-.prettyprint a[href] :hover,
-.prettyprint a[href] span :hover {
-  text-decoration:none;
-}
-
-code a[href] {
-  color:inherit;
-/*  border-bottom:1px dotted #000000;*/
-  text-decoration:underline;
-}
-code a[href]:hover {
-  color:inherit;
-  text-decoration:none;
-}
-
-a[href].external:after {
-	content: "*";
-	font-style: super;
-	opacity: .5;
-}
-
-#index {
-	-webkit-column-width: 235px;
-	-webkit-column-rule-width: 5px;
-	-moz-column-width: 235px;
-	-moz-column-rule-width: 5px;
-	column-width: 235px;
-	column-rule-width: 5px;
-}
-
-#index h2:after,
-#index h3:after { 
-  content:"";
-}
-
-#index h2 { 
-  margin:0px;
-  padding:0px;
-}
-
-#index {
-  padding: 10px 1px;
-}
-
-#index ul {
-	margin:0px 0px 30px 0px;
-	padding:0;
-}
-
-#index ul li {
-	list-style: none;
-}
-
-#index ul li a {
-
-}
-
-#home h1 {
-  border-bottom:1px solid #919395;
-  padding-bottom:20px;
-  margin:30px 0px;
-}
-
-#home h2 {
-  font-weight:normal;
-  margin:0px 0px 10px 0px;
-  padding:0px;
-}
-
-#home h2:after {
-  content:'';
-}
-
-#home h2 a {
-  text-shadow:#FFFFFF 0px 1px 1px;
-}
-
-#home span {
-  color:#8B8078;
-  font-size:14px;
-  text-shadow:#FFFFFF 0px 1px 0px;
-}
-
-#home ul {
-  float:left;
-  margin:0px;
-  padding:0px;
-}
-#home ul li {
-  float:left;
-  height:120px;
-  list-style:none;
-  margin:0px;
-  padding:0px 20px;
-  width:200px;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/index.html
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/index.html b/CordovaMac/www/phonegap-docs/template/phonegap/index.html
deleted file mode 100644
index 2340f0d..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/index.html
+++ /dev/null
@@ -1,145 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
-		<meta name="generator" content="joDoc">
-
-		<title>Cordova API Documentation</title>
-
-		<link rel="stylesheet" type="text/css" href="index.css">
-		<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
-		<link rel="stylesheet" type="text/css" href="prettify/prettify.css" />
-
-		<script type="text/javascript" src="prettify/prettify.js"></script>
-		<script type="text/javascript">
-			var _gaq = _gaq || [];
-			_gaq.push(['_setAccount', 'UA-94271-11']);
-			_gaq.push(['_setDomainName', 'http://docs.phonegap.com/index.html']);
-			_gaq.push(['_trackPageview']);
-
-			(function() {
-				var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-				ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-				var s = document.getElementsByTagName('script')[0];
-				s.parentNode.insertBefore(ga, s);
-			})();
-
-			function moveToSection(dropdown) {
-				document.location="#" + dropdown.options[dropdown.selectedIndex].value;
-			}
-		</script>
-	</head>
-	<body onload="prettyPrint();">
-
-		<div id="header">
-			<h1><a href="index.html">Cordova<strong></strong> Documentation</a></h1>
-		</div>
-		<div id="subheader">
-			<h1>Geolocation</h1>
-			<small></small>
-		</div>
-
-		<div id="sidebar">
-			<div class="vertical_divider"></div>
-			<h1>API Reference</h1>
-			<ul>
-				<li><a href="http://docs.phonegap.com/phonegap_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a</li>
-				<li><a href="http://docs.phonegap.com/phonegap_camera_camera.md.html#Camera">Camera</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_media_capture_capture.md.html#Capture">Capture</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_compass_compass.md.html#Compass">Compass</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_connection_connection.md.html#Connection">Connection</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_contacts_contacts.md.html#Contacts">Contacts</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_device_device.md.html#Device">Device</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_events_events.md.html#Events">Events</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_file_file.md.html#File">File</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_media_media.md.html#Media">Media</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_network_network.md.html#Network">Network</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_notification_notification.md.html#Notification">Notification</a></li>
-				<li><a href="http://docs.phonegap.com/phonegap_storage_storage.md.html#Storage">Storage</a></li>
-			</ul>
-			<h1></h1>
-			<ul>
-				<li><a href="http://docs.phonegap.com/_index.html">Keyword Index</a></li>
-			</ul>
-		</div>
-
-		<div id="scrollable">
-    		<div id="content">
-				<div id="home">
-				    <h1><a name="API%20Reference">API Reference</a></h1>
-				    <ul>
-				<li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></h2>
-				            <span>Tap into the device's motion sensor.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_camera_camera.md.html#Camera">Camera</a></h2>
-				            <span><a href="phonegap_media_capture_capture.md.html#Capture">Capture</a> a photo using the device's camera.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_media_capture_capture.md.html#Capture">Capture</a></h2>
-				            <span><a href="phonegap_media_capture_capture.md.html#Capture">Capture</a> media files using device's media capture applications.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_compass_compass.md.html#Compass">Compass</a></h2>
-				            <span>Obtain the direction that the device is pointing.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_connection_connection.md.html#Connection">Connection</a></h2>
-				            <span>Quickly check the network state, and cellular network information.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_contacts_contacts.md.html#Contacts">Contacts</a></h2>
-				            <span>Work with the devices contact database.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_device_device.md.html#Device">Device</a></h2>
-				            <span>Gather device specific information.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_events_events.md.html#Events">Events</a></h2>
-				            <span>Hook into native events through JavaScript.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_file_file.md.html#File">File</a></h2>
-				            <span>Hook into native file system through JavaScript.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_geolocation_geolocation.md.html#Geolocation">Geolocation</a></h2>
-				            <span>Make your application location aware.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_media_media.md.html#Media">Media</a></h2>
-				            <span>Record and play back audio files.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_network_network.md.html#Network">Network</a></h2>
-				            <span>Quickly check the network state.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_notification_notification.md.html#Notification">Notification</a></h2>
-				            <span>Visual, audible, and tactile device notifications.</span>
-				        </li>
-				        <li>
-				            <h2><a href="http://docs.phonegap.com/phonegap_storage_storage.md.html#Storage">Storage</a></h2>
-				            <span>Hook into the devices native storage options.</span>
-				        </li>
-				    </ul>
-				<h1><a name="Guides">Guides</a></h1>
-				    <ul>
-				<li>
-				            <h2><a href="http://docs.phonegap.com/_index.html">Keyword Index</a></h2>
-				            <span>Full index of the PhoneGap Documentation.</span>
-				        </li>
-				    </ul>
-				</div>
-				    		</div>
-		</div>
-
-		<!-- KISSinsights -->
-		<script type="text/javascript">var _kiq = _kiq || [];</script>
-		<script type="text/javascript" src="//s3.amazonaws.com/ki.js/12652/2gs.js" async="true"></script>
-	</body>
-</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/line.png
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/line.png b/CordovaMac/www/phonegap-docs/template/phonegap/line.png
deleted file mode 100644
index 7ee528f..0000000
Binary files a/CordovaMac/www/phonegap-docs/template/phonegap/line.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/mobile.css
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/mobile.css b/CordovaMac/www/phonegap-docs/template/phonegap/mobile.css
deleted file mode 100644
index 541cb1b..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/mobile.css
+++ /dev/null
@@ -1,120 +0,0 @@
-body {
-  margin:0px;
-  padding:0px;
-}
-
-#header {
-  position:static;
-}
-
-#header h1 {
-  margin:0px;
-  text-align:center;
-}
-
-#subheader {
-  position:static;
-  text-align:center;
-}
-
-#subheader h1 {
-  display:none;
-}
-
-#subheader small {
-  position:static;
-}
-
-#sidebar {
-  display:none;
-}
-
-#scrollable {
-  position:static;
-}
-
-#content {
-  margin:0px;
-  max-width:none;
-  padding:10px;
-  position:static;
-}
-
-#home,
-#index {
-  margin:0px 10px;
-}
-
-#home h1,
-#index h2 {
-  border:none;
-  color:#CCCCCC;
-  font-size:20px;
-  font-weight:bold;
-  margin:10px 0px;
-  padding:0px;
-  text-shadow:#FFFFFF 0px 1px 0px;
-}
-
-#home h2 a,
-#index ul li a {
-  text-shadow:#FFFFFF 0px 1px 1px;
-}
-
-#home ul,
-#index ul {
-  background-color:#F9F9F9;
-  border:1px solid #CCCED0;
-  -moz-border-radius:6px;
-  -webkit-border-radius:6px;
-  border-radius:6px;
-  display:block;
-  margin:0px 0px 20px 0px;
-  padding:0px;
-  float:none;
-}
-
-#home ul li,
-#index ul li {
-  border-bottom:1px solid #CCCED0;
-  display:block;
-  float:none;
-  height:100%;
-  margin:0px;
-  padding:0px;
-  width:100%;
-}
-
-#home ul li:last-child,
-#index ul li:last-child {
-  border-bottom:none;
-}
-
-#home li h2 {
-  margin:0px;
-  padding:0px;
-}
-
-#home li h2 a,
-#index li a {
-  background:url(arrow.png) no-repeat 100% 50%;
-  color:#66686A;
-  display:block;
-  font-size:16px;
-  font-weight:normal;
-  margin:0px;
-  padding:10px 20px;
-}
-
-#home li span {
-  display:none;
-}
-
-#index {
-	-webkit-column-width: auto;
-	-webkit-column-rule-width: auto;
-	-moz-column-width: auto;
-	-moz-column-rule-width: auto;
-	column-width: auto;
-	column-rule-width: auto;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-apollo.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-apollo.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-apollo.js
deleted file mode 100755
index bfc0014..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-apollo.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["com",/^#[^\r\n]*/,null,"#"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,
-null],["typ",/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[!-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["apollo","agc","aea"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-css.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-css.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-css.js
deleted file mode 100755
index 61157f3..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-css.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[ \t\r\n\f]+/,null," \t\r\n\u000c"]],[["str",/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],["str",/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],["kwd",/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],
-["com",/^(?:<!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#(?:[0-9a-f]{3}){1,2}/i],["pln",/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],["pun",/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^\)\"\']+/]]),["css-str"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-hs.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-hs.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-hs.js
deleted file mode 100755
index 00cea7c..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-hs.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/,
-null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lisp.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lisp.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lisp.js
deleted file mode 100755
index fab992b..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lisp.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(/,null,"("],["clo",/^\)/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,
-null],["lit",/^[+\-]?(?:0x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["cl","el","lisp","scm"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lua.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lua.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lua.js
deleted file mode 100755
index 45d0ba2..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-lua.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],
-["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-ml.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-ml.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-ml.js
deleted file mode 100755
index 5879726..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-ml.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^#(?:if[\t\n\r \xA0]+(?:[a-z_$][\w\']*|``[^\r\n\t`]*(?:``|$))|else|endif|light)/i,null,"#"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\r\n]*|\(\*[\s\S]*?\*\))/],["kwd",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/],
-["lit",/^[+\-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],["pln",/^(?:[a-z_]\w*[!?#]?|``[^\r\n\t`]*(?:``|$))/i],["pun",/^[^\t\n\r \xA0\"\'\w]+/]]),["fs","ml"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-proto.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-proto.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-proto.js
deleted file mode 100755
index f713420..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-proto.js
+++ /dev/null
@@ -1 +0,0 @@
-PR.registerLangHandler(PR.sourceDecorator({keywords:"bool bytes default double enum extend extensions false fixed32 fixed64 float group import int32 int64 max message option optional package repeated required returns rpc service sfixed32 sfixed64 sint32 sint64 string syntax to true uint32 uint64",cStyleComments:true}),["proto"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-scala.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-scala.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-scala.js
deleted file mode 100755
index 00f4e0c..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-scala.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:"(?:(?:""(?:""?(?!")|[^\\"]|\\.)*"{0,3})|(?:[^"\r\n\\]|\\.)*"?))/,null,'"'],["lit",/^`(?:[^\r\n\\`]|\\.)*`?/,null,"`"],["pun",/^[!#%&()*+,\-:;<=>?@\[\\\]^{|}~]+/,null,"!#%&()*+,-:;<=>?@[\\]^{|}~"]],[["str",/^'(?:[^\r\n\\']|\\(?:'|[^\r\n']+))'/],["lit",/^'[a-zA-Z_$][\w$]*(?!['$\w])/],["kwd",/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/],
-["lit",/^(?:true|false|null|this)\b/],["lit",/^(?:(?:0(?:[0-7]+|X[0-9A-F]+))L?|(?:(?:0|[1-9][0-9]*)(?:(?:\.[0-9]+)?(?:E[+\-]?[0-9]+)?F?|L?))|\\.[0-9]+(?:E[+\-]?[0-9]+)?F?)/i],["typ",/^[$_]*[A-Z][_$A-Z0-9]*[a-z][\w$]*/],["pln",/^[$a-zA-Z_][\w$]*/],["com",/^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],["pun",/^(?:\.+|\/)/]]),["scala"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-sql.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-sql.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-sql.js
deleted file mode 100755
index 800b13e..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-sql.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:"(?:[^\"\\]|\\.)*"|'(?:[^\'\\]|\\.)*')/,null,"\"'"]],[["com",/^(?:--[^\r\n]*|\/\*[\s\S]*?(?:\*\/|$))/],["kwd",/^(?:ADD|ALL|ALTER|AND|ANY|AS|ASC|AUTHORIZATION|BACKUP|BEGIN|BETWEEN|BREAK|BROWSE|BULK|BY|CASCADE|CASE|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COMMIT|COMPUTE|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT|CURRENT_DATE|CURRENT_TIME|CURRENT_TIMESTAMP|CURRENT_USER|CURSOR|DATABASE|DBCC|DEALLOCATE|DECLARE|DEFAULT|DELETE|DENY|DESC|DISK|DISTINCT|DISTRIBUTED|DOUBLE|DROP|DUMMY|DUMP|ELSE|END|ERRLVL|ESCAPE|EXCEPT|EXEC|EXECUTE|EXISTS|EXIT|FETCH|FILE|FILLFACTOR|FOR|FOREIGN|FREETEXT|FREETEXTTABLE|FROM|FULL|FUNCTION|GOTO|GRANT|GROUP|HAVING|HOLDLOCK|IDENTITY|IDENTITYCOL|IDENTITY_INSERT|IF|IN|INDEX|INNER|INSERT|INTERSECT|INTO|IS|JOIN|KEY|KILL|LEFT|LIKE|LINENO|LOAD|NATIONAL|NOCHECK|NONCLUSTERED|NOT|NULL|NULLIF|OF|OFF|OFFSETS|ON|OPEN|OPENDATASOURCE|O
 PENQUERY|OPENROWSET|OPENXML|OPTION|OR|ORDER|OUTER|OVER|PERCENT|PLAN|PRECISION|PRIMARY|PRINT|PROC|PROCEDURE|PUBLIC|RAISERROR|READ|READTEXT|RECONFIGURE|REFERENCES|REPLICATION|RESTORE|RESTRICT|RETURN|REVOKE|RIGHT|ROLLBACK|ROWCOUNT|ROWGUIDCOL|RULE|SAVE|SCHEMA|SELECT|SESSION_USER|SET|SETUSER|SHUTDOWN|SOME|STATISTICS|SYSTEM_USER|TABLE|TEXTSIZE|THEN|TO|TOP|TRAN|TRANSACTION|TRIGGER|TRUNCATE|TSEQUAL|UNION|UNIQUE|UPDATE|UPDATETEXT|USE|USER|VALUES|VARYING|VIEW|WAITFOR|WHEN|WHERE|WHILE|WITH|WRITETEXT)(?=[^\w-]|$)/i,
-null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],["pln",/^[a-z_][\w-]*/i],["pun",/^[^\w\t\n\r \xA0\"\'][^\w\t\n\r \xA0+\-\"\']*/]]),["sql"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vb.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vb.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vb.js
deleted file mode 100755
index c479c11..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vb.js
+++ /dev/null
@@ -1,2 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0\u2028\u2029]+/,null,"\t\n\r \u00a0\u2028\u2029"],["str",/^(?:[\"\u201C\u201D](?:[^\"\u201C\u201D]|[\"\u201C\u201D]{2})(?:[\"\u201C\u201D]c|$)|[\"\u201C\u201D](?:[^\"\u201C\u201D]|[\"\u201C\u201D]{2})*(?:[\"\u201C\u201D]|$))/i,null,'"\u201c\u201d'],["com",/^[\'\u2018\u2019][^\r\n\u2028\u2029]*/,null,"'\u2018\u2019"]],[["kwd",/^(?:AddHandler|AddressOf|Alias|And|AndAlso|Ansi|As|Assembly|Auto|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|CBool|CByte|CChar|CDate|CDbl|CDec|Char|CInt|Class|CLng|CObj|Const|CShort|CSng|CStr|CType|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else|ElseIf|End|EndIf|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get|GetType|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|Let|Lib|Like|Long|Loop|Me|Mod|Module|MustInherit|MustOverride|MyBase|MyClass|Namespace|New|Next|Not|NotInheritable|NotOverridable|Object|On|Option|Optional|Or|OrElse|Overloads|
 Overridable|Overrides|ParamArray|Preserve|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|Select|Set|Shadows|Shared|Short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TypeOf|Unicode|Until|Variant|Wend|When|While|With|WithEvents|WriteOnly|Xor|EndIf|GoSub|Let|Variant|Wend)\b/i,
-null],["com",/^REM[^\r\n\u2028\u2029]*/i],["lit",/^(?:True\b|False\b|Nothing\b|\d+(?:E[+\-]?\d+[FRD]?|[FRDSIL])?|(?:&H[0-9A-F]+|&O[0-7]+)[SIL]?|\d*\.\d+(?:E[+\-]?\d+)?[FRD]?|#\s+(?:\d+[\-\/]\d+[\-\/]\d+(?:\s+\d+:\d+(?::\d+)?(\s*(?:AM|PM))?)?|\d+:\d+(?::\d+)?(\s*(?:AM|PM))?)\s+#)/i],["pln",/^(?:(?:[a-z]|_\w)\w*|\[(?:[a-z]|_\w)\w*\])/i],["pun",/^[^\w\t\n\r \"\'\[\]\xA0\u2018\u2019\u201C\u201D\u2028\u2029]+/],["pun",/^(?:\[|\])/]]),["vb","vbs"])
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/34e0362c/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vhdl.js
----------------------------------------------------------------------
diff --git a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vhdl.js b/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vhdl.js
deleted file mode 100755
index dc81a3f..0000000
--- a/CordovaMac/www/phonegap-docs/template/phonegap/prettify/lang-vhdl.js
+++ /dev/null
@@ -1,3 +0,0 @@
-PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"]],[["str",/^(?:[BOX]?"(?:[^\"]|"")*"|'.')/i],["com",/^--[^\r\n]*/],["kwd",/^(?:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)(?=[^\w-]|$)/i,
-null],["typ",/^(?:bit|bit_vector|character|boolean|integer|real|time|string|severity_level|positive|natural|signed|unsigned|line|text|std_u?logic(?:_vector)?)(?=[^\w-]|$)/i,null],["typ",/^\'(?:ACTIVE|ASCENDING|BASE|DELAYED|DRIVING|DRIVING_VALUE|EVENT|HIGH|IMAGE|INSTANCE_NAME|LAST_ACTIVE|LAST_EVENT|LAST_VALUE|LEFT|LEFTOF|LENGTH|LOW|PATH_NAME|POS|PRED|QUIET|RANGE|REVERSE_RANGE|RIGHT|RIGHTOF|SIMPLE_NAME|STABLE|SUCC|TRANSACTION|VAL|VALUE)(?=[^\w-]|$)/i,null],["lit",/^\d+(?:_\d+)*(?:#[\w\\.]+#(?:[+\-]?\d+(?:_\d+)*)?|(?:\.\d+(?:_\d+)*)?(?:E[+\-]?\d+(?:_\d+)*)?)/i],
-["pln",/^(?:[a-z]\w*|\\[^\\]*\\)/i],["pun",/^[^\w\t\n\r \xA0\"\'][^\w\t\n\r \xA0\-\"\']*/]]),["vhdl","vhd"])
\ No newline at end of file


Mime
View raw message