Skip to content
Browse files

updated to 1.6.1

  • Loading branch information...
1 parent 66780d6 commit 69298186bc8e22afd00d92a732fe55cfaf5a3c81 @stevengill stevengill committed
Showing with 3,525 additions and 7,799 deletions.
  1. +1 −1 VERSION
  2. +40 −6 changelog
  3. +2 −1 doc/_index.html
  4. +2 −1 doc/cordova_accelerometer_accelerometer.md.html
  5. +4 −3 doc/cordova_camera_camera.md.html
  6. +3 −2 doc/cordova_compass_compass.md.html
  7. +2 −1 doc/cordova_connection_connection.md.html
  8. +4 −3 doc/cordova_contacts_contacts.md.html
  9. +2 −1 doc/cordova_device_device.md.html
  10. +27 −1 doc/cordova_events_events.md.html
  11. +2 −1 doc/cordova_file_file.md.html
  12. +2 −1 doc/cordova_geolocation_geolocation.md.html
  13. +2 −1 doc/cordova_media_capture_capture.md.html
  14. +2 −1 doc/cordova_media_media.md.html
  15. +2 −1 doc/cordova_notification_notification.md.html
  16. +19 −14 doc/cordova_storage_storage.md.html
  17. +2 −1 doc/guide_getting-started_android_index.md.html
  18. +2 −1 doc/guide_getting-started_blackberry_index.md.html
  19. +2 −1 doc/guide_getting-started_index.md.html
  20. +2 −1 doc/guide_getting-started_ios_index.md.html
  21. +2 −1 doc/guide_getting-started_symbian_index.md.html
  22. +2 −1 doc/guide_getting-started_webos_index.md.html
  23. +2 −1 doc/guide_getting-started_windows-phone_index.md.html
  24. +2 −1 doc/index.html
  25. +1 −1 lib/android/VERSION
  26. BIN lib/android/{cordova-1.6.0.jar → cordova-1.6.1.jar}
  27. +46 −8 lib/android/{example/assets/www/cordova-1.6.0.js → cordova-1.6.1.js}
  28. BIN lib/android/example/{libs/cordova-1.6.0.jar → .cordova/android/cordova-1.6.1.jar}
  29. +46 −8 lib/android/{cordova-1.6.0.js → example/.cordova/android/cordova-1.6.1.js}
  30. +37 −0 lib/android/example/.cordova/android/cordova.xml
  31. +19 −1 lib/android/example/{cordova/templates/project/res/xml → .cordova/android}/plugins.xml
  32. +1 −1 lib/android/example/.cordova/config
  33. +46 −8 lib/android/example/{.cordova/android/cordova-1.6.0.js → assets/www/cordova-1.6.1.js}
  34. +5 −5 lib/android/example/assets/www/index.html
  35. +5 −0 lib/android/example/cordova/create
  36. +5 −5 lib/android/example/cordova/templates/project/assets/www/index.html
  37. +0 −5 lib/android/example/cordova/templates/project/res/xml/cordova.xml
  38. BIN lib/android/example/{.cordova/android/cordova-1.6.0.jar → libs/cordova-1.6.1.jar}
  39. +33 −1 lib/android/example/res/xml/cordova.xml
  40. +19 −1 lib/android/example/res/xml/plugins.xml
  41. +33 −1 lib/android/xml/cordova.xml
  42. +19 −1 lib/android/xml/plugins.xml
  43. BIN lib/bada/Icons/Cordova.png
  44. BIN lib/bada/Icons/Cordova_Splash.png
  45. BIN lib/bada/Icons/PhoneGap.png
  46. BIN lib/bada/Icons/Splash.png
  47. +5 −0 lib/bada/NOTICE
  48. +1,649 −0 lib/bada/Res/cordova/cordova.js
  49. BIN lib/bada/Res/images/cordova_logo_normal_dark.png
  50. +3 −3 lib/bada/Res/index.html
  51. +5 −4 lib/bada/Res/main.js
  52. +0 −21 lib/bada/Res/mobile-spec/LICENSE
  53. +0 −37 lib/bada/Res/mobile-spec/README.md
  54. +0 −39 lib/bada/Res/mobile-spec/index.html
  55. +0 −215 lib/bada/Res/mobile-spec/qunit.css
  56. +0 −1,434 lib/bada/Res/mobile-spec/qunit.js
  57. +0 −26 lib/bada/Res/mobile-spec/test-runner.js
  58. +0 −55 lib/bada/Res/mobile-spec/tests/accelerometer.tests.js
  59. +0 −12 lib/bada/Res/mobile-spec/tests/camera.tests.js
  60. +0 −76 lib/bada/Res/mobile-spec/tests/capture.tests.js
  61. +0 −180 lib/bada/Res/mobile-spec/tests/contacts.tests.js
  62. +0 −36 lib/bada/Res/mobile-spec/tests/device.tests.js
  63. +0 −2,379 lib/bada/Res/mobile-spec/tests/file.tests.js
  64. +0 −58 lib/bada/Res/mobile-spec/tests/geolocation.tests.js
  65. +0 −12 lib/bada/Res/mobile-spec/tests/map.tests.js
  66. +0 −31 lib/bada/Res/mobile-spec/tests/media.tests.js
  67. +0 −30 lib/bada/Res/mobile-spec/tests/network.tests.js
  68. +0 −22 lib/bada/Res/mobile-spec/tests/notification.tests.js
  69. +0 −34 lib/bada/Res/mobile-spec/tests/orientation.tests.js
  70. +0 −12 lib/bada/Res/mobile-spec/tests/sms.tests.js
  71. +0 −170 lib/bada/Res/mobile-spec/tests/storage.tests.js
  72. +0 −261 lib/bada/Res/mobile-spec/tests/system.tests.js
  73. +0 −12 lib/bada/Res/mobile-spec/tests/telephony.tests.js
  74. +5 −5 lib/bada/application.xml
  75. +18 −1 lib/bada/inc/Accelerometer.h
  76. +18 −1 lib/bada/inc/Compass.h
  77. +18 −1 lib/bada/inc/Contacts.h
  78. +18 −1 lib/bada/inc/CordovaCommand.h
  79. +18 −1 lib/bada/inc/DebugConsole.h
  80. +18 −1 lib/bada/inc/Device.h
  81. +18 −1 lib/bada/inc/GeoLocation.h
  82. +19 −1 lib/bada/inc/Kamera.h
  83. +18 −1 lib/bada/inc/Network.h
  84. +18 −1 lib/bada/inc/Notification.h
  85. +19 −0 lib/bada/inc/WebForm.h
  86. +21 −4 lib/bada/src/Accelerometer.cpp
  87. +21 −4 lib/bada/src/Compass.cpp
  88. +24 −7 lib/bada/src/Contacts.cpp
  89. +17 −5 lib/bada/src/Cordova.cpp
  90. +18 −1 lib/bada/src/CordovaCommand.cpp
  91. +17 −2 lib/bada/src/CordovaEntry.cpp
  92. +18 −1 lib/bada/src/DebugConsole.cpp
  93. +18 −1 lib/bada/src/Device.cpp
  94. +24 −7 lib/bada/src/GeoLocation.cpp
  95. +22 −5 lib/bada/src/Kamera.cpp
  96. +20 −3 lib/bada/src/Network.cpp
  97. +28 −11 lib/bada/src/Notification.cpp
  98. +25 −6 lib/bada/src/WebForm.cpp
  99. 0 lib/blackberry/sample/lib/{cordova.1.6.0 → cordova.1.6.1}/ext-air/Cordova_Network/library.xml
  100. 0 ...{cordova.1.6.0 → cordova.1.6.1}/ext-air/Cordova_Network/src/org/apache/cordova/network/Network.as
  101. BIN ...blackberry/sample/lib/{cordova.1.6.0/ext/cordova.1.6.0.jar → cordova.1.6.1/ext/cordova.1.6.1.jar}
  102. 0 lib/blackberry/{www/cordova-1.6.0.js → sample/lib/cordova.1.6.1/javascript/cordova-1.6.1.js}
  103. +2 −2 ...y/sample/{www/playbook/cordova-1.6.0.js → lib/cordova.1.6.1/javascript/playbook/cordova-1.6.1.js}
  104. 0 lib/blackberry/sample/www/{cordova-1.6.0.js → cordova-1.6.1.js}
  105. BIN lib/blackberry/sample/www/ext/{cordova.1.6.0.jar → cordova.1.6.1.jar}
  106. +1 −1 lib/blackberry/sample/www/index.html
  107. +2 −2 lib/blackberry/{www/playbook/cordova-1.6.0.js → sample/www/playbook/cordova-1.6.1.js}
  108. 0 lib/blackberry/{sample/lib/cordova.1.6.0/javascript/cordova-1.6.0.js → www/cordova-1.6.1.js}
  109. BIN lib/blackberry/www/ext/{cordova.1.6.0.jar → cordova.1.6.1.jar}
  110. +2 −2 ...y/{sample/lib/cordova.1.6.0/javascript/playbook/cordova-1.6.0.js → www/playbook/cordova-1.6.1.js}
  111. +0 −1 lib/ios/Cordova-1.6.0.dmg.SHA1
  112. BIN lib/ios/{Cordova-1.6.0.dmg → Cordova-1.6.1.dmg}
  113. +1 −0 lib/ios/Cordova-1.6.1.dmg.SHA1
  114. +1 −1 lib/webos/Makefile
  115. +1 −1 lib/webos/VERSION
  116. +0 −2,037 lib/webos/framework/cordova-1.6.0.js
  117. +1 −1 lib/webos/framework/index.html
  118. BIN lib/windows/CordovaStarter-1.6.0.zip
  119. BIN lib/windows/CordovaStarter-1.6.1.zip
  120. +1 −1 lib/windows/VERSION
  121. +454 −207 lib/windows/{templates/full/www/cordova-1.6.0.js → cordova-1.6.1.js}
  122. +1 −1 lib/windows/framework/Cordova/Commands/Device.cs
  123. +1 −4 lib/windows/framework/CordovaView.xaml.cs
  124. +2 −2 lib/windows/framework/Properties/AssemblyInfo.cs
  125. +1 −1 lib/windows/templates/description.txt
  126. +2 −2 lib/windows/templates/full/GapAppProj.csproj
  127. BIN lib/windows/templates/full/GapLib/WP7CordovaClassLib.dll
  128. +10 −1 lib/windows/templates/full/Properties/WMAppManifest.xml
  129. +454 −207 lib/windows/{cordova-1.6.0.js → templates/full/www/cordova-1.6.1.js}
  130. +1 −1 lib/windows/templates/full/www/index.html
View
2 VERSION
@@ -1 +1 @@
-1.6.0
+1.6.1
View
46 changelog
@@ -42,7 +42,7 @@ Fil Maj (25):
Marcus Wu (1):
Change FileTransfer download to not use a blocking call
-Shazron Abdullah (68):
+Shazron Abdullah (80):
Fixed CB-260: Can't install Phonegap with new Xcode 4.3
Fixed clobbered {VERSION} parameter in release notes.
Fixed Xcode app detection (using Spotlight) in Makefile
@@ -111,6 +111,18 @@ Shazron Abdullah (68):
Updated to latest 1.6.0 cordova-js
Re-fix CB-475
Updated getting started guide link in sample index.html to edge
+ Fixed CB-496 - Camera.getPicture - will always return FILE_URI even though DATA_URL specified
+ Fixed CB-497 - online and offline events are not being fired in 1.6.0
+ Fixed CB-501 - orientationchange event is not being fired in 1.6.0
+ Re-fix CB-502, Fixed CB-302 - orientation change event fired off twice on iOS 5.x
+ Fixed CB-507 - Remove excessive debug logging in execute delegate method in CDVViewController
+ Improved the deprecation of appViewController in CDVPlugin.h
+ Added cordova-js (iOS) 1.6.1
+ Updated docs/guides for 1.6.1
+ Updated VERSION file to 1.6.1
+ Added 1.6.1 availability constants
+ Fixed pause and resume event firing to use cordova channels onPause and onResume
+ Re-fix CB-347 - don't apply .plist fix if the key does not exist
blackberry
Drew Walters (15):
@@ -130,6 +142,9 @@ Drew Walters (15):
Update javascript to 1.6.0 version.
Update version to 1.6.0.
+Fil Maj (1):
+ version 1.6.1
+
android
Bryce Curtis (6):
[CB-352] Support initializing DroidGap with existing WebView, WebViewClient and webViewChrome. [CB-353] Create PluginEntry object to use by PluginManager.
@@ -147,7 +162,7 @@ Fil Maj (6):
spacing fixes, null check in getPhoneType in contacts, returning error integers instead of objects in contacts
updating network status plugin label and updating cordova-js to latest
-Joe Bowser (14):
+Joe Bowser (18):
We show the default 404 on non-resolved domains
Fixing CB-210 with patch and adding fix for CB-210
Tweaked File Transfer to fix CB-74
@@ -162,8 +177,12 @@ Joe Bowser (14):
Starting Release Process
Updating the sample index.html
Updating with tagged JS
+ Copying new XML into the templates for 1.6.1. Turns out tags are broken
+ Getting setup to tag 1.6.1
+ CB-489 - Adding .js to the example, thought it was removed for a reason
+ Adding fix for CB-482
-macdonst (12):
+macdonst (15):
CB-383: Fixes issue with misspelled destinationType for Camera.getPicture()
Fix for CB-389: resolveLocalFileSystemURI does not work on a resized image captured from Camera.getPicture()
Fixing license header in com.phonegap.api.PluginManager
@@ -176,9 +195,12 @@ macdonst (12):
CB-446: Enhance setting data source for local files in AudioPlayer
CB-453: FileWriter.append - Chinese characters are not appended to the file correctly
CB-446: Enhance setting data source for local files in AudioPlayer
+ CB-472: FileWriter.seek(0) does not actually seek to the beginning of the file
+ Remove duplicate files from repository
+ Automatically update index.html in templates directory on version change
windows
-Jesse MacFadyen (26):
+Jesse MacFadyen (29):
file download API
CB-342 still had navigation to WP7GapClassLib
ignore DS_Store files
@@ -205,6 +227,9 @@ Jesse MacFadyen (26):
updated readme, added resource files to BuildStep
actual VS project parsing, to avoid including hidden files ex. .git folders
updated template to use new build script
+ cleanup console logging, toLower on OverrideBackButton
+ updated for 1.6.1
+ updated template, permissions, and js
filmaj (7):
Dispatching onNativeReady trigger from native side on separate patch with slight delay. Definitely need to tweak the delay
@@ -236,7 +261,7 @@ ghtomcat (2):
Added compassAPI function
Added mapping for compassAPI
-hermwong (15):
+hermwong (16):
update sample application to demo compass api
changes for https://issues.apache.org/jira/browse/CB-231
add LICENSE & NOTICE file, CB-356
@@ -252,11 +277,20 @@ hermwong (15):
added network connection api
added network connection type api
get compass api to pass mobile spec tests
+ update to 1.6.1
bada
-Anis Kadri (4):
+Anis Kadri (12):
tagging 1.6.0rc1
CB-405 updating README.rd
more renaming
changing VERSION to 1.6.0
+ adding NOTICE file
+ fixing callbacks
+ fixing sample app
+ adding cordova.js to avoid users generating it
+ updating bada project parameters
+ adding artwork and removing old phonegap references
+ CB-4 adding Apache Source Headers
+ fixing network problem
View
3 doc/_index.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/cordova_accelerometer_accelerometer.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
7 doc/cordova_camera_camera.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
@@ -263,7 +264,7 @@
function capturePhoto() {
// Take picture using device camera and retrieve image as base64-encoded string
navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onPhotoDataSuccess, onFail, { quality: 50,
- destinationType.DATA_URL });
+ destinationType: destinationType.DATA_URL });
}
// A button will call this function
@@ -271,7 +272,7 @@
function capturePhotoEdit() {
// Take picture using device camera, allow edit, and retrieve image as base64-encoded string
navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onPhotoDataSuccess, onFail, { quality: 20, allowEdit: true,
- destinationType.DATA_URL });
+ destinationType: destinationType.DATA_URL });
}
// A button will call this function
View
5 doc/cordova_compass_compass.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
@@ -175,7 +176,7 @@
};
function onError(error) {
- alert('<a href="cordova_compass_compass.md.html#CompassError">CompassError</a>: ' error.code);
+ alert('<a href="cordova_compass_compass.md.html#CompassError">CompassError</a>: ' + error.code);
};
navigator.<a href="cordova_compass_compass.md.html#compass.getCurrentHeading">compass.getCurrentHeading</a>(onSuccess, onError);
View
3 doc/cordova_connection_connection.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
7 doc/cordova_contacts_contacts.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
@@ -246,8 +247,8 @@
//
function onDeviceReady() {
var myContact = navigator.<a href="cordova_contacts_contacts.md.html#contacts.create">contacts.create</a>({"displayName": "Test User"});
- myContact.gender = "male";
- console.log("The contact, " + myContact.displayName + ", is of the " + myContact.gender + " gender");
+ myContact.note = "This contact has a note.";
+ console.log("The contact, " + myContact.displayName + ", note: " + myContact.note);
}
View
3 doc/cordova_device_device.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
28 doc/cordova_events_events.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
@@ -64,6 +65,7 @@
<option value="resume_supported_platforms">      - Supported Platforms</option>
<option value="resume_quick_example">      - Quick Example</option>
<option value="resume_full_example">      - Full Example</option>
+<option value="resume_ios_quirks">      - iOS Quirks</option>
<option value="online">online</option>
<option value="online_details">      - Details</option>
<option value="online_supported_platforms">      - Supported Platforms</option>
@@ -344,6 +346,15 @@
<p>In the <a href="cordova_events_events.md.html#pause">pause</a> handler, any calls that go through Objective-C will not work, nor will any calls that are interactive, like alerts. This means that you cannot call console.log (and its variants), or any calls from Plugins or the Cordova API. These will only be processed when the app resumes (processed on the next run-loop).</p>
+<ul>
+<li>
+<p><strong>resign</strong> event </p>
+
+<p>This iOS specific event is available as a variant of the <strong><a href="cordova_events_events.md.html#pause">pause</a></strong> event, and is often used to detect when the "Lock" button has been pressed to lock the device when your app is the foreground app. If your app (and device) is enabled for multi-tasking, this will be paired with a subsequent <strong><a href="cordova_events_events.md.html#pause">pause</a></strong> event, but only under iOS 5 (effectively all "locked" apps in iOS 5 that have multi-tasking enabled are put to the background). </p>
+
+<p>Under iOS 5, if you want your app to still run when the device is locked, you will have to disable multi-tasking (UIApplicationExitsOnSuspend - YES) for your app. This is different when you are on iOS 4 - to have your app run when the device is locked, the multi-tasking setting for your app does not matter.</p>
+</li>
+</ul>
<hr>
<h1><a name="resume">resume</a></h1>
@@ -421,6 +432,21 @@
&lt;/html&gt;
</code></pre>
+<h2>
+<a name="resume_ios_quirks">iOS Quirks</a>
+</h2>
+
+<p>Any calls to console.log during your <strong><a href="cordova_events_events.md.html#pause">pause</a></strong> event handler will be run now when the app resumes, see the iOS Quirks section for the <strong><a href="cordova_events_events.md.html#pause">pause</a></strong> event for an explanation. </p>
+
+<ul>
+<li>
+<p><strong>active</strong> event </p>
+
+<p>This iOS specific event is available as a variant of the <strong><a href="cordova_events_events.md.html#resume">resume</a></strong> event, and is often used to detect when the "Lock" button has been pressed to unlock the device when your app is the foreground app. If your app (and device) is enabled for multi-tasking, this will be paired with a subsequent <strong><a href="cordova_events_events.md.html#resume">resume</a></strong> event, but only under iOS 5 (effectively all "locked" apps in iOS 5 that have multi-tasking enabled are put to the background). </p>
+
+<p>Under iOS 5, if you want your app to still run when the device is locked, you will have to disable multi-tasking (UIApplicationExitsOnSuspend - YES) for your app. This is different when you are on iOS 4 - to have your app run when the device is locked, the multi-tasking setting for your app does not matter.</p>
+</li>
+</ul>
<hr>
<h1><a name="online">online</a></h1>
View
3 doc/cordova_file_file.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/cordova_geolocation_geolocation.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/cordova_media_capture_capture.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/cordova_media_media.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/cordova_notification_notification.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
33 doc/cordova_storage_storage.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
@@ -497,7 +498,7 @@
<a name="SQLResultSet_details">Details</a>
</h2>
-<p>When you call the <a href="cordova_storage_storage.md.html#SQLTransaction">SQLTransaction</a> executeSql method it's callback methods will be called with a <a href="cordova_storage_storage.md.html#SQLResultSet">SQLResultSet</a> object. The result object has three properties. The first is the <code>insertId</code> which will return the row number of a success SQL insert statement. If the SQL statement is not an insert then the <code>insertId</code> is not set. The <code>rowsAffected</code> is always 0 for a SQL select statement. For insert or update statements it returns the number of rows that have been modified. The final property is of type <a href="cordova_storage_storage.md.html#SQLResultSetList">SQLResultSetList</a> and it contains the data returned from a SQL select statement.</p>
+<p>When you call the <a href="cordova_storage_storage.md.html#SQLTransaction">SQLTransaction</a> executeSql method its callback methods will be called with a <a href="cordova_storage_storage.md.html#SQLResultSet">SQLResultSet</a> object. The result object has three properties. The first is the <code>insertId</code> which will return the row number of a success SQL insert statement. If the SQL statement is not an insert then the <code>insertId</code> is not set. The <code>rowsAffected</code> is always 0 for a SQL select statement. For insert or update statements it returns the number of rows that have been modified. The final property is of type <a href="cordova_storage_storage.md.html#SQLResultSetList">SQLResultSetList</a> and it contains the data returned from a SQL select statement.</p>
<h2>
<a name="SQLResultSet_supported_platforms">Supported Platforms</a>
@@ -517,12 +518,14 @@
}
function querySuccess(tx, results) {
- // this will be empty since no rows were inserted.
- console.log("Insert ID = " + results.insertId);
- // this will be 0 since it is a select statement
- console.log("Rows Affected = " + results.rowsAffected);
- // the number of rows returned by the select statement
- console.log("Insert ID = " + results.rows.length);
+console.log("Returned rows = " + results.rows.length);
+// this will be true since it was a select statement and so rowsAffected was 0
+if (!resultSet.rowsAffected) {
+ console.log('No rows affected!');
+ return false;
+}
+// for an insert statement, this property will return the ID of the last inserted row
+console.log("Last inserted row ID = " + results.insertId);
}
function errorCB(err) {
@@ -567,12 +570,14 @@
// Query the success callback
//
function querySuccess(tx, results) {
- // this will be empty since no rows were inserted.
- console.log("Insert ID = " + results.insertId);
- // this will be 0 since it is a select statement
- console.log("Rows Affected = " + results.rowsAffected);
- // the number of rows returned by the select statement
- console.log("Insert ID = " + results.rows.length);
+ console.log("Returned rows = " + results.rows.length);
+ // this will be true since it was a select statement and so rowsAffected was 0
+ if (!resultSet.rowsAffected) {
+ console.log('No rows affected!');
+ return false;
+ }
+ // for an insert statement, this property will return the ID of the last inserted row
+ console.log("Last inserted row ID = " + results.insertId);
}
// Transaction error callback
View
3 doc/guide_getting-started_android_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/guide_getting-started_blackberry_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/guide_getting-started_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/guide_getting-started_ios_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/guide_getting-started_symbian_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/guide_getting-started_webos_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/guide_getting-started_windows-phone_index.md.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
3 doc/index.html
@@ -15,8 +15,9 @@
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
-<option selected value="1.6.0">1.6.0</option>
+<option value="1.6.0">1.6.0</option>
<option value="1.5.0rc1">1.5.0rc1</option>
<option value="1.5.0">1.5.0</option>
<option value="1.4.1">1.4.1</option>
View
2 lib/android/VERSION
@@ -1 +1 @@
-1.6.0
+1.6.1
View
BIN lib/android/cordova-1.6.0.jar → lib/android/cordova-1.6.1.jar
Binary file not shown.
View
54 ...droid/example/assets/www/cordova-1.6.0.js → lib/android/cordova-1.6.1.js
@@ -1,4 +1,6 @@
-// File generated at :: Tue Apr 10 2012 11:22:35 GMT-0700 (PDT)
+// commit b2de4baa76a94ecb916619a536339ffee9ef6843
+
+// File generated at :: Tue Apr 17 2012 12:19:35 GMT-0700 (PDT)
/*
Licensed to the Apache Software Foundation (ASF) under one
@@ -416,7 +418,40 @@ module.exports = {
// file: lib/common/channel.js
define("cordova/channel", function(require, exports, module) {
/**
- * Custom pub-sub channel that can have functions subscribed to it
+ * Custom pub-sub "channel" that can have functions subscribed to it
+ * This object is used to define and control firing of events for
+ * cordova initialization.
+ *
+ * The order of events during page load and Cordova startup is as follows:
+ *
+ * onDOMContentLoaded Internal event that is received when the web page is loaded and parsed.
+ * onNativeReady Internal event that indicates the Cordova native side is ready.
+ * onCordovaReady Internal event fired when all Cordova JavaScript objects have been created.
+ * onCordovaInfoReady Internal event fired when device properties are available.
+ * onCordovaConnectionReady Internal event fired when the connection property has been set.
+ * onDeviceReady User event fired to indicate that Cordova is ready
+ * onResume User event fired to indicate a start/resume lifecycle event
+ * onPause User event fired to indicate a pause lifecycle event
+ * onDestroy Internal event fired when app is being destroyed (User should use window.onunload event, not this one).
+ *
+ * The only Cordova events that user code should register for are:
+ * deviceready Cordova native code is initialized and Cordova APIs can be called from JavaScript
+ * pause App has moved to background
+ * resume App has returned to foreground
+ *
+ * Listeners can be registered as:
+ * document.addEventListener("deviceready", myDeviceReadyListener, false);
+ * document.addEventListener("resume", myResumeListener, false);
+ * document.addEventListener("pause", myPauseListener, false);
+ *
+ * The DOM lifecycle events should be used for saving and restoring state
+ * window.onload
+ * window.onunload
+ *
+ */
+
+/**
+ * Channel
* @constructor
* @param type String the channel name
* @param opts Object options to pass into the channel, currently
@@ -586,8 +621,7 @@ Channel.prototype.fire = function(e) {
return true;
};
-//HACK: defining them here so they are ready super fast!
-
+// defining them here so they are ready super fast!
// DOM event that is received when the web page is loaded and parsed.
channel.create('onDOMContentLoaded');
@@ -971,7 +1005,11 @@ module.exports = {
db = originalOpenDatabase(name, version, desc, size);
}
catch (ex) {
- db = null;
+ if (ex.code === 18) {
+ db = null;
+ } else {
+ throw ex;
+ }
}
if (db === null) {
@@ -1044,11 +1082,11 @@ module.exports = {
// file: lib/common/plugin/Acceleration.js
define("cordova/plugin/Acceleration", function(require, exports, module) {
-var Acceleration = function(x, y, z) {
+var Acceleration = function(x, y, z, timestamp) {
this.x = x;
this.y = y;
this.z = z;
- this.timestamp = new Date().getTime();
+ this.timestamp = timestamp || (new Date()).getTime();
};
module.exports = Acceleration;
@@ -2739,7 +2777,7 @@ FileWriter.prototype.seek = function(offset) {
throw new FileError(FileError.INVALID_STATE_ERR);
}
- if (!offset) {
+ if (!offset && offset != 0) {
return;
}
View
BIN lib/android/example/libs/cordova-1.6.0.jar → ...xample/.cordova/android/cordova-1.6.1.jar
Binary file not shown.
View
54 lib/android/cordova-1.6.0.js → ...example/.cordova/android/cordova-1.6.1.js
@@ -1,4 +1,6 @@
-// File generated at :: Tue Apr 10 2012 11:22:35 GMT-0700 (PDT)
+// commit b2de4baa76a94ecb916619a536339ffee9ef6843
+
+// File generated at :: Tue Apr 17 2012 12:19:35 GMT-0700 (PDT)
/*
Licensed to the Apache Software Foundation (ASF) under one
@@ -416,7 +418,40 @@ module.exports = {
// file: lib/common/channel.js
define("cordova/channel", function(require, exports, module) {
/**
- * Custom pub-sub channel that can have functions subscribed to it
+ * Custom pub-sub "channel" that can have functions subscribed to it
+ * This object is used to define and control firing of events for
+ * cordova initialization.
+ *
+ * The order of events during page load and Cordova startup is as follows:
+ *
+ * onDOMContentLoaded Internal event that is received when the web page is loaded and parsed.
+ * onNativeReady Internal event that indicates the Cordova native side is ready.
+ * onCordovaReady Internal event fired when all Cordova JavaScript objects have been created.
+ * onCordovaInfoReady Internal event fired when device properties are available.
+ * onCordovaConnectionReady Internal event fired when the connection property has been set.
+ * onDeviceReady User event fired to indicate that Cordova is ready
+ * onResume User event fired to indicate a start/resume lifecycle event
+ * onPause User event fired to indicate a pause lifecycle event
+ * onDestroy Internal event fired when app is being destroyed (User should use window.onunload event, not this one).
+ *
+ * The only Cordova events that user code should register for are:
+ * deviceready Cordova native code is initialized and Cordova APIs can be called from JavaScript
+ * pause App has moved to background
+ * resume App has returned to foreground
+ *
+ * Listeners can be registered as:
+ * document.addEventListener("deviceready", myDeviceReadyListener, false);
+ * document.addEventListener("resume", myResumeListener, false);
+ * document.addEventListener("pause", myPauseListener, false);
+ *
+ * The DOM lifecycle events should be used for saving and restoring state
+ * window.onload
+ * window.onunload
+ *
+ */
+
+/**
+ * Channel
* @constructor
* @param type String the channel name
* @param opts Object options to pass into the channel, currently
@@ -586,8 +621,7 @@ Channel.prototype.fire = function(e) {
return true;
};
-//HACK: defining them here so they are ready super fast!
-
+// defining them here so they are ready super fast!
// DOM event that is received when the web page is loaded and parsed.
channel.create('onDOMContentLoaded');
@@ -971,7 +1005,11 @@ module.exports = {
db = originalOpenDatabase(name, version, desc, size);
}
catch (ex) {
- db = null;
+ if (ex.code === 18) {
+ db = null;
+ } else {
+ throw ex;
+ }
}
if (db === null) {
@@ -1044,11 +1082,11 @@ module.exports = {
// file: lib/common/plugin/Acceleration.js
define("cordova/plugin/Acceleration", function(require, exports, module) {
-var Acceleration = function(x, y, z) {
+var Acceleration = function(x, y, z, timestamp) {
this.x = x;
this.y = y;
this.z = z;
- this.timestamp = new Date().getTime();
+ this.timestamp = timestamp || (new Date()).getTime();
};
module.exports = Acceleration;
@@ -2739,7 +2777,7 @@ FileWriter.prototype.seek = function(offset) {
throw new FileError(FileError.INVALID_STATE_ERR);
}
- if (!offset) {
+ if (!offset && offset != 0) {
return;
}
View
37 lib/android/example/.cordova/android/cordova.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
+<cordova>
+ <!--
+ access elements control the Android whitelist.
+ Domains are assumed blocked unless set otherwise
+ -->
+
+ <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
+
+ <!-- <access origin="https://example.com" /> allow any secure requests to example.com -->
+ <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www -->
+ <!-- <access origin=".*"/> Allow all domains, suggested development use only -->
+
+ <log level="DEBUG"/>
+ <preference name="classicRender" value="true" />
+</cordova>
+
+
+
View
20 ...ova/templates/project/res/xml/plugins.xml → ...roid/example/.cordova/android/plugins.xml 100644 → 100755
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
<plugins>
<plugin name="App" value="org.apache.cordova.App"/>
<plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/>
@@ -9,7 +27,7 @@
<plugin name="Camera" value="org.apache.cordova.CameraLauncher"/>
<plugin name="Contacts" value="org.apache.cordova.ContactManager"/>
<plugin name="File" value="org.apache.cordova.FileUtils"/>
- <plugin name="Network Status" value="org.apache.cordova.NetworkManager"/>
+ <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/>
<plugin name="Notification" value="org.apache.cordova.Notification"/>
<plugin name="Storage" value="org.apache.cordova.Storage"/>
<plugin name="Temperature" value="org.apache.cordova.TempListener"/>
View
2 lib/android/example/.cordova/config
@@ -1,4 +1,4 @@
-VERSION=1.6.0
+VERSION=1.6.1
PROJECT_PATH=./example
PACKAGE=org.apache.cordova.example
ACTIVITY=cordovaExample
View
54 ...example/.cordova/android/cordova-1.6.0.js → ...droid/example/assets/www/cordova-1.6.1.js
@@ -1,4 +1,6 @@
-// File generated at :: Tue Apr 10 2012 11:22:35 GMT-0700 (PDT)
+// commit b2de4baa76a94ecb916619a536339ffee9ef6843
+
+// File generated at :: Tue Apr 17 2012 12:19:35 GMT-0700 (PDT)
/*
Licensed to the Apache Software Foundation (ASF) under one
@@ -416,7 +418,40 @@ module.exports = {
// file: lib/common/channel.js
define("cordova/channel", function(require, exports, module) {
/**
- * Custom pub-sub channel that can have functions subscribed to it
+ * Custom pub-sub "channel" that can have functions subscribed to it
+ * This object is used to define and control firing of events for
+ * cordova initialization.
+ *
+ * The order of events during page load and Cordova startup is as follows:
+ *
+ * onDOMContentLoaded Internal event that is received when the web page is loaded and parsed.
+ * onNativeReady Internal event that indicates the Cordova native side is ready.
+ * onCordovaReady Internal event fired when all Cordova JavaScript objects have been created.
+ * onCordovaInfoReady Internal event fired when device properties are available.
+ * onCordovaConnectionReady Internal event fired when the connection property has been set.
+ * onDeviceReady User event fired to indicate that Cordova is ready
+ * onResume User event fired to indicate a start/resume lifecycle event
+ * onPause User event fired to indicate a pause lifecycle event
+ * onDestroy Internal event fired when app is being destroyed (User should use window.onunload event, not this one).
+ *
+ * The only Cordova events that user code should register for are:
+ * deviceready Cordova native code is initialized and Cordova APIs can be called from JavaScript
+ * pause App has moved to background
+ * resume App has returned to foreground
+ *
+ * Listeners can be registered as:
+ * document.addEventListener("deviceready", myDeviceReadyListener, false);
+ * document.addEventListener("resume", myResumeListener, false);
+ * document.addEventListener("pause", myPauseListener, false);
+ *
+ * The DOM lifecycle events should be used for saving and restoring state
+ * window.onload
+ * window.onunload
+ *
+ */
+
+/**
+ * Channel
* @constructor
* @param type String the channel name
* @param opts Object options to pass into the channel, currently
@@ -586,8 +621,7 @@ Channel.prototype.fire = function(e) {
return true;
};
-//HACK: defining them here so they are ready super fast!
-
+// defining them here so they are ready super fast!
// DOM event that is received when the web page is loaded and parsed.
channel.create('onDOMContentLoaded');
@@ -971,7 +1005,11 @@ module.exports = {
db = originalOpenDatabase(name, version, desc, size);
}
catch (ex) {
- db = null;
+ if (ex.code === 18) {
+ db = null;
+ } else {
+ throw ex;
+ }
}
if (db === null) {
@@ -1044,11 +1082,11 @@ module.exports = {
// file: lib/common/plugin/Acceleration.js
define("cordova/plugin/Acceleration", function(require, exports, module) {
-var Acceleration = function(x, y, z) {
+var Acceleration = function(x, y, z, timestamp) {
this.x = x;
this.y = y;
this.z = z;
- this.timestamp = new Date().getTime();
+ this.timestamp = timestamp || (new Date()).getTime();
};
module.exports = Acceleration;
@@ -2739,7 +2777,7 @@ FileWriter.prototype.seek = function(offset) {
throw new FileError(FileError.INVALID_STATE_ERR);
}
- if (!offset) {
+ if (!offset && offset != 0) {
return;
}
View
10 lib/android/example/assets/www/index.html
@@ -4,9 +4,9 @@
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap</title>
- <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
- <script type="text/javascript" charset="utf-8" src="cordova-1.6.0"></script>
- <script type="text/javascript" charset="utf-8" src="main.js"></script>
+ <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
+ <script type="text/javascript" charset="utf-8" src="cordova-1.6.1.js"></script>
+ <script type="text/javascript" charset="utf-8" src="main.js"></script>
</head>
<body onload="init();" id="stage" class="theme">
@@ -25,14 +25,14 @@
</dl>
<a href="#" class="btn large" onclick="toggleAccel();">Toggle Accelerometer</a>
<a href="#" class="btn large" onclick="getLocation();">Get Location</a>
- <a href="tel:411" class="btn large">Call 411</a>
+ <a href="tel:411" class="btn large">Call 411</a>
<a href="#" class="btn large" onclick="beep();">Beep</a>
<a href="#" class="btn large" onclick="vibrate();">Vibrate</a>
<a href="#" class="btn large" onclick="show_pic();">Get a Picture</a>
<a href="#" class="btn large" onclick="get_contacts();return false;">Get Phone's Contacts</a>
<a href="#" class="btn large" onclick="check_network();return false;">Check Network</a>
<dl>
- <dt>Compass Heading:</dt><dd id="h">Off</dd>
+ <dt>Compass Heading:</dt><dd id="h">Off</dd>
</dl>
<a href="#" class="btn large" onclick="toggleCompass();return false;">Toggle Compass</a>
<div id="viewport" class="viewport" style="display: none;">
View
5 lib/android/example/cordova/create
@@ -25,6 +25,11 @@ cp ./.cordova/android/cordova-$VERSION.js ./assets/www
# copy in cordova.jar
cp ./.cordova/android/cordova-$VERSION.jar ./libs
+# copy in res/xml
+mkdir ./res/xml
+cp ./.cordova/android/cordova.xml ./res/xml
+cp ./.cordova/android/plugins.xml ./res/xml
+
# copy in default activity
cat ./cordova/templates/Activity.java > $ACTIVITY_PATH
View
10 lib/android/example/cordova/templates/project/assets/www/index.html
@@ -4,9 +4,9 @@
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap</title>
- <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
- <script type="text/javascript" charset="utf-8" src="cordova-1.6.0"></script>
- <script type="text/javascript" charset="utf-8" src="main.js"></script>
+ <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
+ <script type="text/javascript" charset="utf-8" src="cordova-1.6.1.js"></script>
+ <script type="text/javascript" charset="utf-8" src="main.js"></script>
</head>
<body onload="init();" id="stage" class="theme">
@@ -25,14 +25,14 @@
</dl>
<a href="#" class="btn large" onclick="toggleAccel();">Toggle Accelerometer</a>
<a href="#" class="btn large" onclick="getLocation();">Get Location</a>
- <a href="tel:411" class="btn large">Call 411</a>
+ <a href="tel:411" class="btn large">Call 411</a>
<a href="#" class="btn large" onclick="beep();">Beep</a>
<a href="#" class="btn large" onclick="vibrate();">Vibrate</a>
<a href="#" class="btn large" onclick="show_pic();">Get a Picture</a>
<a href="#" class="btn large" onclick="get_contacts();return false;">Get Phone's Contacts</a>
<a href="#" class="btn large" onclick="check_network();return false;">Check Network</a>
<dl>
- <dt>Compass Heading:</dt><dd id="h">Off</dd>
+ <dt>Compass Heading:</dt><dd id="h">Off</dd>
</dl>
<a href="#" class="btn large" onclick="toggleCompass();return false;">Toggle Compass</a>
<div id="viewport" class="viewport" style="display: none;">
View
5 lib/android/example/cordova/templates/project/res/xml/cordova.xml
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<cordova>
- <access origin="http://127.0.0.1*"/>
- <log level="DEBUG"/>
-</cordova>
View
BIN ...xample/.cordova/android/cordova-1.6.0.jar → lib/android/example/libs/cordova-1.6.1.jar
Binary file not shown.
View
34 lib/android/example/res/xml/cordova.xml 100755 → 100644
@@ -1,5 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
<cordova>
- <access origin="http://127.0.0.1*"/>
+ <!--
+ access elements control the Android whitelist.
+ Domains are assumed blocked unless set otherwise
+ -->
+
+ <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
+
+ <!-- <access origin="https://example.com" /> allow any secure requests to example.com -->
+ <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www -->
+ <!-- <access origin=".*"/> Allow all domains, suggested development use only -->
+
<log level="DEBUG"/>
+ <preference name="classicRender" value="true" />
</cordova>
+
+
+
View
20 lib/android/example/res/xml/plugins.xml 100644 → 100755
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
<plugins>
<plugin name="App" value="org.apache.cordova.App"/>
<plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/>
@@ -9,7 +27,7 @@
<plugin name="Camera" value="org.apache.cordova.CameraLauncher"/>
<plugin name="Contacts" value="org.apache.cordova.ContactManager"/>
<plugin name="File" value="org.apache.cordova.FileUtils"/>
- <plugin name="Network Status" value="org.apache.cordova.NetworkManager"/>
+ <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/>
<plugin name="Notification" value="org.apache.cordova.Notification"/>
<plugin name="Storage" value="org.apache.cordova.Storage"/>
<plugin name="Temperature" value="org.apache.cordova.TempListener"/>
View
34 lib/android/xml/cordova.xml 100755 → 100644
@@ -1,5 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
<cordova>
- <access origin="http://127.0.0.1*"/>
+ <!--
+ access elements control the Android whitelist.
+ Domains are assumed blocked unless set otherwise
+ -->
+
+ <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
+
+ <!-- <access origin="https://example.com" /> allow any secure requests to example.com -->
+ <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www -->
+ <!-- <access origin=".*"/> Allow all domains, suggested development use only -->
+
<log level="DEBUG"/>
+ <preference name="classicRender" value="true" />
</cordova>
+
+
+
View
20 lib/android/xml/plugins.xml 100644 → 100755
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
<plugins>
<plugin name="App" value="org.apache.cordova.App"/>
<plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/>
@@ -9,7 +27,7 @@
<plugin name="Camera" value="org.apache.cordova.CameraLauncher"/>
<plugin name="Contacts" value="org.apache.cordova.ContactManager"/>
<plugin name="File" value="org.apache.cordova.FileUtils"/>
- <plugin name="Network Status" value="org.apache.cordova.NetworkManager"/>
+ <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/>
<plugin name="Notification" value="org.apache.cordova.Notification"/>
<plugin name="Storage" value="org.apache.cordova.Storage"/>
<plugin name="Temperature" value="org.apache.cordova.TempListener"/>
View
BIN lib/bada/Icons/Cordova.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN lib/bada/Icons/Cordova_Splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN lib/bada/Icons/PhoneGap.png
Deleted file not rendered
View
BIN lib/bada/Icons/Splash.png
Deleted file not rendered
View
5 lib/bada/NOTICE
@@ -0,0 +1,5 @@
+Apache [Cordova Bada]
+Copyright [2012] The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
View
1,649 lib/bada/Res/cordova/cordova.js
1,649 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
BIN lib/bada/Res/images/cordova_logo_normal_dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
6 lib/bada/Res/index.html
@@ -1,13 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>PhoneGap Test App</title>
+ <title>Cordova Test App</title>
<style type="text/css">
div { text-align: "center"; display: "block"}
</style>
</head>
<body>
- <h2>PhoneGap Sample</h2>
+ <h2><img src="images/cordova_logo_normal_dark.png" /></h2>
<ul id="debuglist">Debug Output</ul>
<!-- Camera -->
<h3>Camera</h3>
@@ -82,6 +82,6 @@
<input onclick="notificationBeep()" type="submit" value="Notification.beep">
</div>
</body>
- <script type="text/javascript" src="phonegap/phonegap.js"></script>
+ <script type="text/javascript" src="cordova/cordova.js"></script>
<script type="text/javascript" src="main.js"></script>
</html>
View
9 lib/bada/Res/main.js
@@ -1,5 +1,5 @@
/*
-* PhoneGap Sample App
+* Cordova Sample App
*
*/
@@ -20,7 +20,7 @@ function onGeoLocationError(error) {
function getCurrentPosition() {
var geolocation = document.getElementById('geolocation');
try {
- Geolocation.usePhoneGap();
+ Geolocation.useCordova();
geolocation.style.display = 'block';
navigator.geolocation.getCurrentPosition(onGeoLocationSuccess, onGeoLocationError, { frequency: 3000 });
} catch(e) {
@@ -33,7 +33,7 @@ function toggleWatchPosition(em) {
em.value = "GeoLocation.StopWatching";
geolocation.style.display = 'block';
try {
- Geolocation.usePhoneGap();
+ Geolocation.useCordova();
watchLocationID = navigator.geolocation.watchPosition(onGeoLocationSuccess, onGeoLocationError, { frequency: 3000 });
} catch(e) {
alert(e.message);
@@ -124,6 +124,7 @@ function hostIsReachable() {
try {
var network = document.getElementById('network');
var callback = function(reachability) {
+ console.log(reachability);
var networkState = reachability.code;
var http_code = reachability.http_code;
var states = [];
@@ -145,7 +146,7 @@ function getSystemInfo() {
var system = document.getElementById("system");
system.style.display = "block";
system.innerHTML = 'Device Name: ' + device.name + '<br />' +
- 'Device PhoneGap: ' + device.phonegap + '<br />' +
+ 'Device Cordova: ' + device.cordova + '<br />' +
'Device Platform: ' + device.platform + '<br />' +
'Device UUID: ' + device.uuid + '<br />' +
'Device Version: ' + device.version + '<br />';
View
21 lib/bada/Res/mobile-spec/LICENSE
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 2009 Rob Ellis, Brock Whitten, Brian LeRoux
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
37 lib/bada/Res/mobile-spec/README.md
@@ -1,37 +0,0 @@
-## Mobile Spec Suite ##
-
-These specs are designed to run inside the mobile device that implements it - _it will fail in the DESKTOP browser_.
-
-These set of tests is designed to be used with PhoneGap. You should initialize a fresh PhoneGap repository (git clone
-git://github.com/phonegap/phonegap.git) and then toss these files into the www or assets folder, replacing the
-contents. Make sure you include phonegap.js - each platform directory in the PhoneGap repository has a build or make
-file, which will create a phonegap.js file for you (and in most cases copy it into the www or assets folder).
-
-The goal is to test mobile device functionality inside a mobile browser.
-Where possible, the PhoneGap API lines up with HTML 5 spec. Maybe down
-the road we could use this spec for parts of HTML 5, too :)
-
-
-LICENSE
----
-
-_Copyright (c) 2009 Rob Ellis, Brian LeRoux, Brock Whitten, Nitobi Software_
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
39 lib/bada/Res/mobile-spec/index.html
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
- <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
-
- <title>PhoneGap API Spec</title>
-
- <!-- Load QUnit -->
- <link rel="stylesheet" type="text/css" href="qunit.css" />
- <script type="text/javascript" src="qunit.js"></script>
-
- <!-- Load Test Runner -->
- <script type="text/javascript" src="test-runner.js"></script>
-
- <!-- Source -->
- <script type="text/javascript" src="../phonegap/phonegap.js"></script>
-
- <!-- Tests -->
- <script type="text/javascript" src="tests/accelerometer.tests.js"></script>
- <script type="text/javascript" src="tests/contacts.tests.js"></script>
- <script type="text/javascript" src="tests/device.tests.js"></script>
- <script type="text/javascript" src="tests/geolocation.tests.js"></script>
- <script type="text/javascript" src="tests/network.tests.js"></script>
- <script type="text/javascript" src="tests/notification.tests.js"></script>
- <script type="text/javascript" src="tests/camera.tests.js"></script>
- </head>
- <body>
- <ul id="debuglist">Debug Output</ul>
- <!--<ul id="debuglist">Debug Output</ul>-->
- <h1 id="qunit-header">PhoneGap API Spec</h1>
- <h2 id="qunit-banner"></h2>
- <h2 id="qunit-userAgent"></h2>
- <ol id="qunit-tests"></ol>
- <div id="qunit-fixture">
- <!-- Populated by tests -->
- </div>
- </body>
-</html>
View
215 lib/bada/Res/mobile-spec/qunit.css
@@ -1,215 +0,0 @@
-/** Font Family and Sizes */
-
-#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
- font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
-}
-
-#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
-#qunit-tests { font-size: smaller; }
-
-
-/** Resets */
-
-#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
- margin: 0;
- padding: 0;
-}
-
-
-/** Header */
-
-#qunit-header {
- padding: 0.5em 0 0.5em 1em;
-
- color: #8699a4;
- background-color: #0d3349;
-
- font-size: 1.5em;
- line-height: 1em;
- font-weight: normal;
-
- border-radius: 15px 15px 0 0;
- -moz-border-radius: 15px 15px 0 0;
- -webkit-border-top-right-radius: 15px;
- -webkit-border-top-left-radius: 15px;
-}
-
-#qunit-header a {
- text-decoration: none;
- color: #c2ccd1;
-}
-
-#qunit-header a:hover,
-#qunit-header a:focus {
- color: #fff;
-}
-
-#qunit-banner {
- height: 5px;
-}
-
-#qunit-testrunner-toolbar {
- padding: 0.5em 0 0.5em 2em;
- color: #5E740B;
- background-color: #eee;
-}
-
-#qunit-userAgent {
- padding: 0.5em 0 0.5em 2.5em;
- background-color: #2b81af;
- color: #fff;
- text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
-}
-
-
-/** Tests: Pass/Fail */
-
-#qunit-tests {
- list-style-position: inside;
-}
-
-#qunit-tests li {
- padding: 0.4em 0.5em 0.4em 2.5em;
- border-bottom: 1px solid #fff;
- list-style-position: inside;
-}
-
-#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
- display: none;
-}
-
-#qunit-tests li strong {
- cursor: pointer;
-}
-
-#qunit-tests li a {
- padding: 0.5em;
- color: #c2ccd1;
- text-decoration: none;
-}
-#qunit-tests li a:hover,
-#qunit-tests li a:focus {
- color: #000;
-}
-
-#qunit-tests ol {
- margin-top: 0.5em;
- padding: 0.5em;
-
- background-color: #fff;
-
- border-radius: 15px;
- -moz-border-radius: 15px;
- -webkit-border-radius: 15px;
-
- box-shadow: inset 0px 2px 13px #999;
- -moz-box-shadow: inset 0px 2px 13px #999;
- -webkit-box-shadow: inset 0px 2px 13px #999;
-}
-
-#qunit-tests table {
- border-collapse: collapse;
- margin-top: .2em;
-}
-
-#qunit-tests th {
- text-align: right;
- vertical-align: top;
- padding: 0 .5em 0 0;
-}
-
-#qunit-tests td {
- vertical-align: top;
-}
-
-#qunit-tests pre {
- margin: 0;
- white-space: pre-wrap;
- word-wrap: break-word;
-}
-
-#qunit-tests del {
- background-color: #e0f2be;
- color: #374e0c;
- text-decoration: none;
-}
-
-#qunit-tests ins {
- background-color: #ffcaca;
- color: #500;
- text-decoration: none;
-}
-
-/*** Test Counts */
-
-#qunit-tests b.counts { color: black; }
-#qunit-tests b.passed { color: #5E740B; }
-#qunit-tests b.failed { color: #710909; }
-
-#qunit-tests li li {
- margin: 0.5em;
- padding: 0.4em 0.5em 0.4em 0.5em;
- background-color: #fff;
- border-bottom: none;
- list-style-position: inside;
-}
-
-/*** Passing Styles */
-
-#qunit-tests li li.pass {
- color: #5E740B;
- background-color: #fff;
- border-left: 26px solid #C6E746;
-}
-
-#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
-#qunit-tests .pass .test-name { color: #366097; }
-
-#qunit-tests .pass .test-actual,
-#qunit-tests .pass .test-expected { color: #999999; }
-
-#qunit-banner.qunit-pass { background-color: #C6E746; }
-
-/*** Failing Styles */
-
-#qunit-tests li li.fail {
- color: #710909;
- background-color: #fff;
- border-left: 26px solid #EE5757;
-}
-
-#qunit-tests > li:last-child {
- border-radius: 0 0 15px 15px;
- -moz-border-radius: 0 0 15px 15px;
- -webkit-border-bottom-right-radius: 15px;
- -webkit-border-bottom-left-radius: 15px;
-}
-
-#qunit-tests .fail { color: #000000; background-color: #EE5757; }
-#qunit-tests .fail .test-name,
-#qunit-tests .fail .module-name { color: #000000; }
-
-#qunit-tests .fail .test-actual { color: #EE5757; }
-#qunit-tests .fail .test-expected { color: green; }
-
-#qunit-banner.qunit-fail { background-color: #EE5757; }
-
-
-/** Result */
-
-#qunit-testresult {
- padding: 0.5em 0.5em 0.5em 2.5em;
-
- color: #2b81af;
- background-color: #D2E0E6;
-
- border-bottom: 1px solid white;
-}
-
-/** Fixture */
-
-#qunit-fixture {
- position: absolute;
- top: -10000px;
- left: -10000px;
-}
View
1,434 lib/bada/Res/mobile-spec/qunit.js
@@ -1,1434 +0,0 @@
-/*
- * QUnit - A JavaScript Unit Testing Framework
- *
- * http://docs.jquery.com/QUnit
- *
- * Copyright (c) 2011 John Resig, Jörn Zaefferer
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * or GPL (GPL-LICENSE.txt) licenses.
- */