Skip to content
Permalink
Browse files
Merge branch 'FixMarkup' of https://github.com/purplecabbage/incubato…
  • Loading branch information
infil00p committed Apr 5, 2012
2 parents 278c11e + 2ca11d8 commit 434bdbcf5ec5ec3695451ac3a15f6cf6fefb68ed
Show file tree
Hide file tree
Showing 33 changed files with 131 additions and 128 deletions.
@@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
<title>PhoneGap</title>
<title>Cordova Mobile Spec</title>
<link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>

@@ -122,17 +122,17 @@
<h1>Acceleration</h1>
<div id="info">
<div id="accel_status">Stopped</div>
<div><table width="100%">
<tr><td width="20%">X:</td><td id="x">&nbsp;</td></tr>
<tr><td width="20%">Y:</td><td id="y">&nbsp;</td></tr>
<tr><td width="20%">Z:</td><td id="z">&nbsp;</td></tr>
<div ><table width="100%">
<tr><td width="20%">X:</td><td id="x"> </td></tr>
<tr><td width="20%">Y:</td><td id="y"> </td></tr>
<tr><td width="20%">Z:</td><td id="z"> </td></tr>
</table></div>
</div>

<h2>Action</h2>
<a href="javascript:" class="btn large"onclick="getAccel();">Get Acceleration</a>
<a href="javascript:" class="btn large"onclick="watchAccel();">Start Watch</a>
<a href="javascript:" class="btn large"onclick="stopAccel();">Clear Watch</a>
<h2>&nbsp</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="btn large" onclick="getAccel();">Get Acceleration</div>
<div class="btn large" onclick="watchAccel();">Start Watch</div>
<div class="btn large" onclick="stopAccel();">Clear Watch</div>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
</body>
</html>
@@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0" />
@@ -257,7 +257,7 @@
<h1>Audio</h1>
<div id="info">
<table width="100%">
<tr><td><b>Status:</b></td><td id="audio_status">&nbsp;</td></tr>
<tr><td><b>Status:</b></td><td id="audio_status"> </td></tr>
<tr><td><b>Duration:</b></td><td id="audio_duration"></td></tr>
<tr><td><b>Position:</b></td><td id="audio_position"></td></tr>
</table>
@@ -268,24 +268,24 @@ <h2>Action</h2>
<th colspan=3>Play Sample Audio</th>
</tr>
<tr>
<td><a href="javascript:" class="btn large" style="width:100%;" onclick="playAudio();">Play</a></td>
<td><a href="javascript:" class="btn large" style="width:100%;" onclick="pauseAudio();">Pause</a></td>
<td><a href="javascript:" class="btn large" style="width:100%;" onclick="stopAudio();">Stop</a></td>
<td><div class="btn large" style="width:100%;" onclick="playAudio();">Play</div></td>
<td><div class="btn large" style="width:100%;" onclick="pauseAudio();">Pause</div></td>
<td><div class="btn large" style="width:100%;" onclick="stopAudio();">Stop</div></td>
</tr>
<tr>
<th colspan=3><br><br>Record Audio</th>
</tr>
<tr>
<td colspan=3><a href="javascript:" class="btn large" onclick="recordAudio();">Record Audio for 10 sec</a></td>
<td colspan=3><div class="btn large" onclick="recordAudio();">Record Audio for 10 sec</a></td>
</tr>
<tr>
<td><a href="javascript:" class="btn large" style="width:100%;" onclick="playRecording();">Play</a></td>
<td><a href="javascript:" class="btn large" style="width:100%;" onclick="pauseAudio();">Pause</a></td>
<td><a href="javascript:" class="btn large" style="width:100%;" onclick="stopAudio();">Stop</a></td>
<td><div class="btn large" style="width:100%;" onclick="playRecording();">Play</div></td>
<td><div class="btn large" style="width:100%;" onclick="pauseAudio();">Pause</div></td>
<td><div class="btn large" style="width:100%;" onclick="stopAudio();">Stop</div></td>
</tr>
</table>

<h2>&nbsp;</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>

</body>
</html>
@@ -28,6 +28,6 @@ <h1>Cordova API Specs</h1>
<a href="pages/platform.html" class="btn large" style="width:100%;">Run Platform Tests</a>
<a href="pages/storage.html" class="btn large" style="width:100%;">Run Storage Tests</a>

<h2>&nbsp;</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
</body>
</html>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Accelerometer API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -52,7 +52,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: All API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Battery API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Camera API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Capture API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Compass API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Contacts API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Device API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: File API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Geolocation API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Media API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Network API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Notification API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Platform API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -39,7 +39,7 @@
</script>
</head>
<body>
<a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="backBtn" onclick="backHome();">Back</div>
<h1 id="qunit-header">Cordova: Storage API Specs</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
@@ -519,7 +519,7 @@ extend(QUnit, {
result.id = "qunit-testresult";
result.className = "result";
tests.parentNode.insertBefore( result, tests );
result.innerHTML = 'Running...<br/>&nbsp;';
result.innerHTML = 'Running...<br/> ';
}
},

@@ -1175,14 +1175,14 @@ QUnit.jsDump = (function() {
return type;
},
separator:function() {
return this.multiline ? this.HTML ? '<br />' : '\n' : this.HTML ? '&nbsp;' : ' ';
return this.multiline ? this.HTML ? '<br />' : '\n' : this.HTML ? ' ' : ' ';
},
indent:function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing
if ( !this.multiline )
return '';
var chr = this.indentChar;
if ( this.HTML )
chr = chr.replace(/\t/g,' ').replace(/ /g,'&nbsp;');
chr = chr.replace(/\t/g,' ').replace(/ /g,' ');
return Array( this._depth_ + (extra||0) ).join(chr);
},
up:function( a ) {
@@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
<title>PhoneGap</title>
<title>Cordova Mobile Spec</title>
<link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>

@@ -85,12 +85,12 @@ <h1>Battery</h1>
Critical: <span id="crit"></span><br/>
</div>
<h2>Action</h2>
<a href="javascript:" class="btn large" onclick="addBattery();">Add "batterystatus" listener</a>
<a href="javascript:" class="btn large" onclick="removeBattery();">Remove "batterystatus" listener</a>
<a href="javascript:" class="btn large" onclick="addLow();">Add "batterylow" listener</a>
<a href="javascript:" class="btn large" onclick="removeLow();">Remove "batterylow" listener</a>
<a href="javascript:" class="btn large" onclick="addCritical();">Add "batterycritical" listener</a>
<a href="javascript:" class="btn large" onclick="removeCritical();">Remove "batterycritical" listener</a>
<h2>&nbsp</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="btn large" onclick="addBattery();">Add "batterystatus" listener</div>
<div class="btn large" onclick="removeBattery();">Remove "batterystatus" listener</div>
<div class="btn large" onclick="addLow();">Add "batterylow" listener</div>
<div class="btn large" onclick="removeLow();">Remove "batterylow" listener</div>
<div class="btn large" onclick="addCritical();">Add "batterycritical" listener</div>
<div class="btn large" onclick="removeCritical();">Remove "batterycritical" listener</div>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
</body>
</html>
@@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
<title>PhoneGap</title>
<title>Cordova Mobile Spec</title>
<link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>

@@ -89,8 +89,8 @@ <h1>Camera</h1>
<img style="width:120px;height:120px;visibility:hidden;display:none;" id="camera_image" src="" />
</div>
<h2>Action</h2>
<a href="javascript:" class="btn large" onclick="getPicture();">Take Picture</a>
<a href="javascript:" class="btn large" onclick="getImage();">Select Image from Library</a>
<h2>&nbsp;</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="btn large" onclick="getPicture();">Take Picture</div>
<div class="btn large" onclick="getImage();">Select Image from Library</div>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
</body>
</html>
@@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
<title>PhoneGap</title>
<title>Cordova Mobile Spec</title>
<link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>

@@ -116,13 +116,13 @@ <h1>Compass</h1>
<div id="info">
<b>Status:</b> <span id="compass_status">Stopped</span>
<table width="100%"><tr>
<td width="33%">Heading: <span id="compassHeading">&nbsp;</span></td>
<td width="33%">Heading: <span id="compassHeading"> </span></td>
</tr></table>
</div>
<h2>Action</h2>
<a href="javascript:" class="btn large" onclick="getCompass();">Get Compass</a>
<a href="javascript:" class="btn large" onclick="watchCompass();">Start Watching Compass</a>
<a href="javascript:" class="btn large" onclick="stopCompass();">Stop Watching Compass</a>
<h2>&nbsp;</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="btn large" onclick="getCompass();">Get Compass</div>
<div class="btn large" onclick="watchCompass();">Start Watching Compass</div>
<div class="btn large" onclick="stopCompass();">Stop Watching Compass</div>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
</body>
</html>
@@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
<title>PhoneGap</title>
<title>Cordova Mobile Spec</title>
<link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>

@@ -102,11 +102,11 @@
<h1>Contacts</h1>
<div id="info">
<b>Results:</b><br>
<span id="contacts_results">&nbsp;</span>
<span id="contacts_results"> </span>
</div>
<h2>Action</h2>
<a href="javascript:" class="btn large" onclick="getContacts();">Get phone's contacts</a>
<a href="javascript:" class="btn large" onclick="addContact();">Add a new contact 'Dooney Evans'</a>
<h2>&nbsp</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
<div class="btn large" onclick="getContacts();">Get phone's contacts</div>
<div class="btn large" onclick="addContact();">Add a new contact 'Dooney Evans'</div>
<h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
</body>
</html>

0 comments on commit 434bdbc

Please sign in to comment.