You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/05/07 20:41:54 UTC
[6/7] android commit: Adding Apache Header to Test Directory
Adding Apache Header to Test Directory
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/c33f7685
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/c33f7685
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/c33f7685
Branch: refs/heads/CordovaWebView
Commit: c33f768570c84c9e710917a2d4061d690d95c228
Parents: 20c7b51
Author: Joe Bowser <bo...@apache.org>
Authored: Fri May 4 15:22:15 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri May 4 15:22:15 2012 -0700
----------------------------------------------------------------------
test/assets/www/backbuttonmultipage/index.html | 20 ++++-
test/assets/www/backbuttonmultipage/sample2.html | 20 ++++-
test/assets/www/backbuttonmultipage/sample3.html | 18 ++++
test/assets/www/background/index.html | 18 ++++
test/assets/www/background/index2.html | 18 ++++
test/assets/www/cordova.js | 23 +++++-
test/assets/www/htmlnotfound/error.html | 20 ++++-
test/assets/www/iframe/index.html | 18 ++++
test/assets/www/iframe/index2.html | 18 ++++
test/assets/www/index.html | 40 ++++++---
test/assets/www/jqmtabbackbutton/index.html | 20 ++++-
test/assets/www/jqmtabbackbutton/tab1.html | 20 ++++-
test/assets/www/jqmtabbackbutton/tab2.html | 20 ++++-
test/assets/www/jqmtabbackbutton/tab3.html | 20 ++++-
test/assets/www/lifecycle/index.html | 18 ++++
test/assets/www/main.js | 19 ++++
test/assets/www/master.css | 79 ++++++++++------
test/assets/www/menus/index.html | 18 ++++
test/assets/www/splashscreen/index.html | 18 ++++
test/assets/www/userwebview/index.html | 18 ++++
test/assets/www/whitelist/index.html | 18 ++++
test/assets/www/whitelist/index2.html | 18 ++++
test/assets/www/xhr/index.html | 18 ++++
23 files changed, 467 insertions(+), 50 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/backbuttonmultipage/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/backbuttonmultipage/index.html b/test/assets/www/backbuttonmultipage/index.html
index 35f4bc8..afab731 100755
--- a/test/assets/www/backbuttonmultipage/index.html
+++ b/test/assets/www/backbuttonmultipage/index.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -20,4 +38,4 @@
</div>
<a href="sample2.html" class="btn large">Next page</a>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/backbuttonmultipage/sample2.html
----------------------------------------------------------------------
diff --git a/test/assets/www/backbuttonmultipage/sample2.html b/test/assets/www/backbuttonmultipage/sample2.html
index ad6f960..397ac70 100755
--- a/test/assets/www/backbuttonmultipage/sample2.html
+++ b/test/assets/www/backbuttonmultipage/sample2.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -20,4 +38,4 @@
</div>
<a href="sample3.html" class="btn large">Next page</a>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/backbuttonmultipage/sample3.html
----------------------------------------------------------------------
diff --git a/test/assets/www/backbuttonmultipage/sample3.html b/test/assets/www/backbuttonmultipage/sample3.html
index 2238536..ba2b464 100755
--- a/test/assets/www/backbuttonmultipage/sample3.html
+++ b/test/assets/www/backbuttonmultipage/sample3.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/background/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/background/index.html b/test/assets/www/background/index.html
index 62d7bbb..2a073a6 100755
--- a/test/assets/www/background/index.html
+++ b/test/assets/www/background/index.html
@@ -1,4 +1,22 @@
<!DOCTYPE HTML>
+<!--
+ 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.$
+-->
<html>
<head>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/background/index2.html
----------------------------------------------------------------------
diff --git a/test/assets/www/background/index2.html b/test/assets/www/background/index2.html
index f0dd2b9..addf6eb 100755
--- a/test/assets/www/background/index2.html
+++ b/test/assets/www/background/index2.html
@@ -1,4 +1,22 @@
<!DOCTYPE HTML>
+<!--
+ 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.$
+-->
<html>
<head>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/cordova.js
----------------------------------------------------------------------
diff --git a/test/assets/www/cordova.js b/test/assets/www/cordova.js
index 960b782..874ed18 100755
--- a/test/assets/www/cordova.js
+++ b/test/assets/www/cordova.js
@@ -1,2 +1,21 @@
-document.write('<script type="text/javascript" charset="utf-8" src="../cordova-1.6.0.js"></script>');
-document.write('<script type="text/javascript" charset="utf-8" src="cordova-1.6.0.js"></script>');
+/*
+ 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.
+*/
+
+document.write('<script type="text/javascript" charset="utf-8" src="../cordova-1.7.0.js"></script>');
+document.write('<script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>');
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/htmlnotfound/error.html
----------------------------------------------------------------------
diff --git a/test/assets/www/htmlnotfound/error.html b/test/assets/www/htmlnotfound/error.html
index 3e9a61a..c1f1329 100755
--- a/test/assets/www/htmlnotfound/error.html
+++ b/test/assets/www/htmlnotfound/error.html
@@ -1 +1,19 @@
-This is an error page.
\ No newline at end of file
+<!--
+ 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.$
+-->
+This is an error page.
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/iframe/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/iframe/index.html b/test/assets/www/iframe/index.html
index b98773c..0b3c3d7 100755
--- a/test/assets/www/iframe/index.html
+++ b/test/assets/www/iframe/index.html
@@ -1,4 +1,22 @@
<!DOCTYPE HTML>
+<!--
+ 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.$
+-->
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/iframe/index2.html
----------------------------------------------------------------------
diff --git a/test/assets/www/iframe/index2.html b/test/assets/www/iframe/index2.html
index ab0a430..abe692b 100755
--- a/test/assets/www/iframe/index2.html
+++ b/test/assets/www/iframe/index2.html
@@ -1,4 +1,22 @@
<!DOCTYPE HTML>
+<!--
+ 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.$
+-->
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/index.html b/test/assets/www/index.html
index 1fa149e..0fd4eaf 100755
--- a/test/assets/www/index.html
+++ b/test/assets/www/index.html
@@ -1,20 +1,38 @@
+<!--
+ 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.$
+-->
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Cordova Tests</title>
- <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
- <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
- <script type="text/javascript" charset="utf-8" src="main.js"></script>
- <script>
- function startActivity(className) {
- cordova.exec(function() {console.log("Success");}, function(e) {console.log("Error: "+e);}, "Activity", "start", [className]);
- };
-
- localStorage.lifecyclestatus = "";
- localStorage.backgroundstatus = "";
- </script>
+ <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
+ <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+ <script type="text/javascript" charset="utf-8" src="main.js"></script>
+ <script>
+ function startActivity(className) {
+ cordova.exec(function() {console.log("Success");}, function(e) {console.log("Error: "+e);}, "Activity", "start", [className]);
+ };
+
+ localStorage.lifecyclestatus = "";
+ localStorage.backgroundstatus = "";
+ </script>
</head>
<body onload="init();" id="stage" class="theme">
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/jqmtabbackbutton/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/jqmtabbackbutton/index.html b/test/assets/www/jqmtabbackbutton/index.html
index ee3bcfa..057cea7 100755
--- a/test/assets/www/jqmtabbackbutton/index.html
+++ b/test/assets/www/jqmtabbackbutton/index.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -46,4 +64,4 @@ function onDeviceReady() {
</ul>
</div>
</div>
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/jqmtabbackbutton/tab1.html
----------------------------------------------------------------------
diff --git a/test/assets/www/jqmtabbackbutton/tab1.html b/test/assets/www/jqmtabbackbutton/tab1.html
index 4d32142..ea7e3a9 100755
--- a/test/assets/www/jqmtabbackbutton/tab1.html
+++ b/test/assets/www/jqmtabbackbutton/tab1.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -26,4 +44,4 @@ Tab 1 content.
<!-- /navbar -->
</div>
<!-- /footer -->
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/jqmtabbackbutton/tab2.html
----------------------------------------------------------------------
diff --git a/test/assets/www/jqmtabbackbutton/tab2.html b/test/assets/www/jqmtabbackbutton/tab2.html
index a701b43..afd7c02 100755
--- a/test/assets/www/jqmtabbackbutton/tab2.html
+++ b/test/assets/www/jqmtabbackbutton/tab2.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -27,4 +45,4 @@ Tab 2 content.
<!-- /navbar -->
</div>
<!-- /footer -->
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/jqmtabbackbutton/tab3.html
----------------------------------------------------------------------
diff --git a/test/assets/www/jqmtabbackbutton/tab3.html b/test/assets/www/jqmtabbackbutton/tab3.html
index c07cd90..9ed47df 100755
--- a/test/assets/www/jqmtabbackbutton/tab3.html
+++ b/test/assets/www/jqmtabbackbutton/tab3.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@@ -27,4 +45,4 @@ Tab 3 content.
<!-- /navbar -->
</div>
<!-- /footer -->
-</div>
\ No newline at end of file
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/lifecycle/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/lifecycle/index.html b/test/assets/www/lifecycle/index.html
index cd06154..d965924 100755
--- a/test/assets/www/lifecycle/index.html
+++ b/test/assets/www/lifecycle/index.html
@@ -1,4 +1,22 @@
<!DOCTYPE HTML>
+<!--
+ 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.$
+-->
<html>
<head>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/main.js
----------------------------------------------------------------------
diff --git a/test/assets/www/main.js b/test/assets/www/main.js
index bfc89a0..aa1b226 100755
--- a/test/assets/www/main.js
+++ b/test/assets/www/main.js
@@ -1,3 +1,22 @@
+/*
+ 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.
+*/
+
var deviceInfo = function() {
document.getElementById("platform").innerHTML = device.platform;
document.getElementById("version").innerHTML = device.version;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/master.css
----------------------------------------------------------------------
diff --git a/test/assets/www/master.css b/test/assets/www/master.css
index 60a8451..c3e3c45 100755
--- a/test/assets/www/master.css
+++ b/test/assets/www/master.css
@@ -1,3 +1,22 @@
+/*
+ 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.
+*/
+
body {
background:#222 none repeat scroll 0 0;
color:#666;
@@ -23,32 +42,32 @@
font-size:.95em;
margin:5px 0;
}
-
+
#stage.theme{
padding-top:3px;
}
/* Definition List */
#stage.theme > dl{
- padding-top:10px;
- clear:both;
- margin:0;
- list-style-type:none;
- padding-left:10px;
- overflow:auto;
+ padding-top:10px;
+ clear:both;
+ margin:0;
+ list-style-type:none;
+ padding-left:10px;
+ overflow:auto;
}
#stage.theme > dl > dt{
- font-weight:bold;
- float:left;
- margin-left:5px;
+ font-weight:bold;
+ float:left;
+ margin-left:5px;
}
#stage.theme > dl > dd{
- width:45px;
- float:left;
- color:#a87;
- font-weight:bold;
+ width:45px;
+ float:left;
+ color:#a87;
+ font-weight:bold;
}
/* Content Styling */
@@ -66,7 +85,7 @@
}
#stage.theme > h2{
- clear:both;
+ clear:both;
margin:0;
padding:3px;
font-size:1em;
@@ -75,23 +94,23 @@
/* Stage Buttons */
#stage.theme a.btn{
- border: 1px solid #555;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- text-align:center;
- display:block;
- float:left;
- background:#444;
- width:150px;
- color:#9ab;
- font-size:1.1em;
- text-decoration:none;
- padding:1.2em 0;
- margin:3px 0px 3px 5px;
+ border: 1px solid #555;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ text-align:center;
+ display:block;
+ float:left;
+ background:#444;
+ width:150px;
+ color:#9ab;
+ font-size:1.1em;
+ text-decoration:none;
+ padding:1.2em 0;
+ margin:3px 0px 3px 5px;
}
#stage.theme a.btn.large{
- width:308px;
- padding:1.2em 0;
+ width:308px;
+ padding:1.2em 0;
}
/* Stage Buttons */
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/menus/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/menus/index.html b/test/assets/www/menus/index.html
index e79c731..38322bc 100755
--- a/test/assets/www/menus/index.html
+++ b/test/assets/www/menus/index.html
@@ -1,4 +1,22 @@
<!DOCTYPE HTML>
+<!--
+ 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.$
+-->
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/splashscreen/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/splashscreen/index.html b/test/assets/www/splashscreen/index.html
index b594c1e..8d2cd9f 100755
--- a/test/assets/www/splashscreen/index.html
+++ b/test/assets/www/splashscreen/index.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<!DOCTYPE HTML>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/userwebview/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/userwebview/index.html b/test/assets/www/userwebview/index.html
index 9e68f67..51eec6a 100755
--- a/test/assets/www/userwebview/index.html
+++ b/test/assets/www/userwebview/index.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<!DOCTYPE HTML>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/whitelist/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/whitelist/index.html b/test/assets/www/whitelist/index.html
index bab5231..cf09d4c 100755
--- a/test/assets/www/whitelist/index.html
+++ b/test/assets/www/whitelist/index.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<!DOCTYPE HTML>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/whitelist/index2.html
----------------------------------------------------------------------
diff --git a/test/assets/www/whitelist/index2.html b/test/assets/www/whitelist/index2.html
index ffd991e..1ba780b 100755
--- a/test/assets/www/whitelist/index2.html
+++ b/test/assets/www/whitelist/index2.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<!DOCTYPE HTML>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c33f7685/test/assets/www/xhr/index.html
----------------------------------------------------------------------
diff --git a/test/assets/www/xhr/index.html b/test/assets/www/xhr/index.html
index 37ac942..9eddb1d 100755
--- a/test/assets/www/xhr/index.html
+++ b/test/assets/www/xhr/index.html
@@ -1,3 +1,21 @@
+<!--
+ 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.$
+-->
<!DOCTYPE HTML>
<html>
<head>