You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/08/25 01:46:48 UTC
[4/4] Updated VERSION and cordova-js to 2.1.0rc1,
updated hello-world-app to latest
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/css/index.css
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/css/index.css b/bin/templates/project/www/css/index.css
index c869f87..ffb7ba8 100644
--- a/bin/templates/project/www/css/index.css
+++ b/bin/templates/project/www/css/index.css
@@ -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,
body {
height:100%;
@@ -5,12 +23,8 @@ body {
width:100%;
}
-html {
- display:table;
-}
-
body {
- background-color:#A7A7A7;
+ background-color:#E4E4E4;
background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
@@ -21,22 +35,38 @@ body {
color-stop(0, #A7A7A7),
color-stop(0.51, #E4E4E4)
);
- display:table-cell;
+ background-attachment:fixed;
font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
text-transform:uppercase;
- vertical-align:middle;
}
+/* portrait layout for the app (default) */
.app {
- background-image:url(../img/cordova.png);
- background-repeat:no-repeat;
- margin:0px auto;
- width:275px;
+ background:url(../img/logo.png) no-repeat;
+ position:absolute;
+ left:50%;
+ top:50%;
+ margin:-120px 0 0 -110px; /* shift container to top-left by half its width and height */
+ background-position:center top;
+ height:100px; /* add enough room for text */
+ padding:180px 0px 0px 0px; /* background-image height - image's shadow */
+ text-align:center;
+}
+
+/* lanscape layout for the app (when wide enough) */
+@media screen and (min-aspect-ratio: 1/1) and (min-width:445px) {
+ .app {
+ background-position:left center;
+ height:140px; /* height + padding = background image size */
+ padding-left:170px; /* background width */
+ padding-top:60px; /* vertically center the text to background image */
+ margin:-90px 0 0 -200px; /* shift container to top left by half its width and height */
+ }
}
h1 {
- font-size:2em;
- font-weight:300;
+ font-size:24px;
+ font-weight:normal;
margin:0px;
overflow:visible;
padding:0px;
@@ -48,12 +78,9 @@ h1 {
border-radius:4px;
-webkit-border-radius:4px;
color:#FFFFFF;
- font-size:1em;
- margin:0px auto;
- padding:2px 10px;
- text-align:center;
- width:100%;
- max-width:175px;
+ font-size:12px;
+ margin:0px 20px;
+ padding:2px 20px;
}
.status.complete {
@@ -80,21 +107,3 @@ h1 {
animation:fade 3000ms infinite;
-webkit-animation:fade 3000ms infinite;
}
-
-/* portrait */
-/* @media screen and (max-aspect-ratio: 1/1) */
-.app {
- background-position:center top;
- height:100px; /* adds enough room for text */
- padding:180px 0px 0px 0px; /* background height - shadow offset */
-}
-
-/* lanscape (when wide enough) */
-@media screen and (min-aspect-ratio: 1/1) and (min-width:445px) {
- .app {
- background-position:left center;
- height:140px; /* height + padding = background image size */
- padding-left:170px; /* background width */
- padding-top:60px; /* center the text */
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/img/cordova.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/img/cordova.png b/bin/templates/project/www/img/cordova.png
deleted file mode 100644
index e8169cf..0000000
Binary files a/bin/templates/project/www/img/cordova.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/img/logo.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/img/logo.png b/bin/templates/project/www/img/logo.png
new file mode 100644
index 0000000..e8169cf
Binary files /dev/null and b/bin/templates/project/www/img/logo.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/index.html
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/index.html b/bin/templates/project/www/index.html
index 346c684..92b21e3 100644
--- a/bin/templates/project/www/index.html
+++ b/bin/templates/project/www/index.html
@@ -1,31 +1,29 @@
<!DOCTYPE html>
-<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.
-#
+ 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" />
- <meta name = "format-detection" content = "telephone=no"/>
+ <meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
- <title>Hello Cordova</title>
+ <title>Hello World</title>
</head>
<body>
<div class="app">
@@ -35,7 +33,7 @@
<p class="status complete blink hide">Device is Ready</p>
</div>
</div>
- <script type="text/javascript" src="cordova-2.0.0.js"></script>
+ <script type="text/javascript" src="cordova-2.1.0rc1.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/js/index.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/js/index.js b/bin/templates/project/www/js/index.js
index 6140331..7223130 100644
--- a/bin/templates/project/www/js/index.js
+++ b/bin/templates/project/www/js/index.js
@@ -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.
+ */
var app = {
initialize: function() {
this.bind();
@@ -6,13 +24,17 @@ var app = {
document.addEventListener('deviceready', this.deviceready, false);
},
deviceready: function() {
- // note that this is an event handler so the scope is that of the event
- // so we need to call app.report(), and not this.report()
+ // This is an event handler function, which means the scope is the event.
+ // So, we must explicitly called `app.report()` instead of `this.report()`.
app.report('deviceready');
},
- report: function(id) {
- console.log("report:" + id);
- // hide the .pending <p> and show the .complete <p>
+ report: function(id) {
+ // Report the event in the console
+ console.log("Report: " + id);
+
+ // Toggle the state from "pending" to "complete" for the reported ID.
+ // Accomplished by adding .hide to the pending element and removing
+ // .hide from the complete element.
document.querySelector('#' + id + ' .pending').className += ' hide';
var completeElem = document.querySelector('#' + id + ' .complete');
completeElem.className = completeElem.className.split('hide').join('');
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_128.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_128.png b/bin/templates/project/www/res/icon/cordova_128.png
deleted file mode 100644
index 3516df3..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_128.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_16.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_16.png b/bin/templates/project/www/res/icon/cordova_16.png
deleted file mode 100644
index 54e19c5..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_16.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_24.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_24.png b/bin/templates/project/www/res/icon/cordova_24.png
deleted file mode 100644
index c7d43ad..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_24.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_256.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_256.png b/bin/templates/project/www/res/icon/cordova_256.png
deleted file mode 100644
index e1cd0e6..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_256.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_32.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_32.png b/bin/templates/project/www/res/icon/cordova_32.png
deleted file mode 100644
index 734fffc..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_32.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_48.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_48.png b/bin/templates/project/www/res/icon/cordova_48.png
deleted file mode 100644
index 8ad8bac..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_48.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_512.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_512.png b/bin/templates/project/www/res/icon/cordova_512.png
deleted file mode 100644
index c9465f3..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_512.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_64.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_64.png b/bin/templates/project/www/res/icon/cordova_64.png
deleted file mode 100644
index 03b3849..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_64.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_android_36.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_android_36.png b/bin/templates/project/www/res/icon/cordova_android_36.png
deleted file mode 100644
index cd5032a..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_android_36.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_android_48.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_android_48.png b/bin/templates/project/www/res/icon/cordova_android_48.png
deleted file mode 100644
index e79c606..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_android_48.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_android_72.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_android_72.png b/bin/templates/project/www/res/icon/cordova_android_72.png
deleted file mode 100644
index 4d27634..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_android_72.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_android_96.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_android_96.png b/bin/templates/project/www/res/icon/cordova_android_96.png
deleted file mode 100644
index ec7ffbf..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_android_96.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_bb_80.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_bb_80.png b/bin/templates/project/www/res/icon/cordova_bb_80.png
deleted file mode 100644
index f86a27a..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_bb_80.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_ios_114.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_ios_114.png b/bin/templates/project/www/res/icon/cordova_ios_114.png
deleted file mode 100644
index efd9c37..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_ios_114.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_ios_144.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_ios_144.png b/bin/templates/project/www/res/icon/cordova_ios_144.png
deleted file mode 100644
index dd819da..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_ios_144.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_ios_57.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_ios_57.png b/bin/templates/project/www/res/icon/cordova_ios_57.png
deleted file mode 100644
index c795fc4..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_ios_57.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/cordova_ios_72.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/cordova_ios_72.png b/bin/templates/project/www/res/icon/cordova_ios_72.png
deleted file mode 100644
index b1cfde7..0000000
Binary files a/bin/templates/project/www/res/icon/cordova_ios_72.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/ios/icon-57-2x.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/ios/icon-57-2x.png b/bin/templates/project/www/res/icon/ios/icon-57-2x.png
new file mode 100644
index 0000000..efd9c37
Binary files /dev/null and b/bin/templates/project/www/res/icon/ios/icon-57-2x.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/ios/icon-57.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/ios/icon-57.png b/bin/templates/project/www/res/icon/ios/icon-57.png
new file mode 100644
index 0000000..c795fc4
Binary files /dev/null and b/bin/templates/project/www/res/icon/ios/icon-57.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/ios/icon-72-2x.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/ios/icon-72-2x.png b/bin/templates/project/www/res/icon/ios/icon-72-2x.png
new file mode 100644
index 0000000..dd819da
Binary files /dev/null and b/bin/templates/project/www/res/icon/ios/icon-72-2x.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/icon/ios/icon-72.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/icon/ios/icon-72.png b/bin/templates/project/www/res/icon/ios/icon-72.png
new file mode 100644
index 0000000..b1cfde7
Binary files /dev/null and b/bin/templates/project/www/res/icon/ios/icon-72.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_hdpi_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_hdpi_landscape.png b/bin/templates/project/www/res/screen/android_hdpi_landscape.png
deleted file mode 100644
index a61e2b1..0000000
Binary files a/bin/templates/project/www/res/screen/android_hdpi_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_hdpi_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_hdpi_portrait.png b/bin/templates/project/www/res/screen/android_hdpi_portrait.png
deleted file mode 100644
index 5d6a28a..0000000
Binary files a/bin/templates/project/www/res/screen/android_hdpi_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_ldpi_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_ldpi_landscape.png b/bin/templates/project/www/res/screen/android_ldpi_landscape.png
deleted file mode 100644
index f3934cd..0000000
Binary files a/bin/templates/project/www/res/screen/android_ldpi_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_ldpi_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_ldpi_portrait.png b/bin/templates/project/www/res/screen/android_ldpi_portrait.png
deleted file mode 100644
index 65ad163..0000000
Binary files a/bin/templates/project/www/res/screen/android_ldpi_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_mdpi_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_mdpi_landscape.png b/bin/templates/project/www/res/screen/android_mdpi_landscape.png
deleted file mode 100644
index a1b697c..0000000
Binary files a/bin/templates/project/www/res/screen/android_mdpi_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_mdpi_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_mdpi_portrait.png b/bin/templates/project/www/res/screen/android_mdpi_portrait.png
deleted file mode 100644
index ea15693..0000000
Binary files a/bin/templates/project/www/res/screen/android_mdpi_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_xhdpi_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_xhdpi_landscape.png b/bin/templates/project/www/res/screen/android_xhdpi_landscape.png
deleted file mode 100644
index 79f2f09..0000000
Binary files a/bin/templates/project/www/res/screen/android_xhdpi_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/android_xhdpi_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/android_xhdpi_portrait.png b/bin/templates/project/www/res/screen/android_xhdpi_portrait.png
deleted file mode 100644
index c2e8042..0000000
Binary files a/bin/templates/project/www/res/screen/android_xhdpi_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/blackberry_transparent_300.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/blackberry_transparent_300.png b/bin/templates/project/www/res/screen/blackberry_transparent_300.png
deleted file mode 100644
index b548bdc..0000000
Binary files a/bin/templates/project/www/res/screen/blackberry_transparent_300.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/blackberry_transparent_400.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/blackberry_transparent_400.png b/bin/templates/project/www/res/screen/blackberry_transparent_400.png
deleted file mode 100644
index 3facdf9..0000000
Binary files a/bin/templates/project/www/res/screen/blackberry_transparent_400.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-ipad-landscape-2x.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-ipad-landscape-2x.png b/bin/templates/project/www/res/screen/ios/screen-ipad-landscape-2x.png
new file mode 100644
index 0000000..95c542d
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-ipad-landscape-2x.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-ipad-landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-ipad-landscape.png b/bin/templates/project/www/res/screen/ios/screen-ipad-landscape.png
new file mode 100644
index 0000000..04be5ac
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-ipad-landscape.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-ipad-portrait-2x.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-ipad-portrait-2x.png b/bin/templates/project/www/res/screen/ios/screen-ipad-portrait-2x.png
new file mode 100644
index 0000000..aae1862
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-ipad-portrait-2x.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-ipad-portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-ipad-portrait.png b/bin/templates/project/www/res/screen/ios/screen-ipad-portrait.png
new file mode 100644
index 0000000..41e839d
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-ipad-portrait.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-iphone-landscape-2x.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-iphone-landscape-2x.png b/bin/templates/project/www/res/screen/ios/screen-iphone-landscape-2x.png
new file mode 100644
index 0000000..0165669
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-iphone-landscape-2x.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-iphone-landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-iphone-landscape.png b/bin/templates/project/www/res/screen/ios/screen-iphone-landscape.png
new file mode 100644
index 0000000..d154883
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-iphone-landscape.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-iphone-portrait-2x.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-iphone-portrait-2x.png b/bin/templates/project/www/res/screen/ios/screen-iphone-portrait-2x.png
new file mode 100644
index 0000000..bd24886
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-iphone-portrait-2x.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ios/screen-iphone-portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ios/screen-iphone-portrait.png b/bin/templates/project/www/res/screen/ios/screen-iphone-portrait.png
new file mode 100644
index 0000000..6fcba56
Binary files /dev/null and b/bin/templates/project/www/res/screen/ios/screen-iphone-portrait.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ipad_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ipad_landscape.png b/bin/templates/project/www/res/screen/ipad_landscape.png
deleted file mode 100644
index 04be5ac..0000000
Binary files a/bin/templates/project/www/res/screen/ipad_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ipad_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ipad_portrait.png b/bin/templates/project/www/res/screen/ipad_portrait.png
deleted file mode 100644
index 41e839d..0000000
Binary files a/bin/templates/project/www/res/screen/ipad_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ipad_retina_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ipad_retina_landscape.png b/bin/templates/project/www/res/screen/ipad_retina_landscape.png
deleted file mode 100644
index 95c542d..0000000
Binary files a/bin/templates/project/www/res/screen/ipad_retina_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/ipad_retina_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/ipad_retina_portrait.png b/bin/templates/project/www/res/screen/ipad_retina_portrait.png
deleted file mode 100644
index aae1862..0000000
Binary files a/bin/templates/project/www/res/screen/ipad_retina_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/iphone_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/iphone_landscape.png b/bin/templates/project/www/res/screen/iphone_landscape.png
deleted file mode 100644
index d154883..0000000
Binary files a/bin/templates/project/www/res/screen/iphone_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/iphone_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/iphone_portrait.png b/bin/templates/project/www/res/screen/iphone_portrait.png
deleted file mode 100644
index 6fcba56..0000000
Binary files a/bin/templates/project/www/res/screen/iphone_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/iphone_retina_landscape.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/iphone_retina_landscape.png b/bin/templates/project/www/res/screen/iphone_retina_landscape.png
deleted file mode 100644
index 0165669..0000000
Binary files a/bin/templates/project/www/res/screen/iphone_retina_landscape.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/iphone_retina_portrait.png
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/iphone_retina_portrait.png b/bin/templates/project/www/res/screen/iphone_retina_portrait.png
deleted file mode 100644
index bd24886..0000000
Binary files a/bin/templates/project/www/res/screen/iphone_retina_portrait.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/res/screen/windows_phone_portrait.jpg
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/res/screen/windows_phone_portrait.jpg b/bin/templates/project/www/res/screen/windows_phone_portrait.jpg
deleted file mode 100644
index 9f95387..0000000
Binary files a/bin/templates/project/www/res/screen/windows_phone_portrait.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/spec.html
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/spec.html b/bin/templates/project/www/spec.html
index 83d7d2e..71f00de 100644
--- a/bin/templates/project/www/spec.html
+++ b/bin/templates/project/www/spec.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>
<title>Jasmine Spec Runner</title>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/spec/helper.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/spec/helper.js b/bin/templates/project/www/spec/helper.js
index 9f99445..821604b 100644
--- a/bin/templates/project/www/spec/helper.js
+++ b/bin/templates/project/www/spec/helper.js
@@ -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.
+ */
afterEach(function() {
document.getElementById('stage').innerHTML = '';
});
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/f1fd9d2d/bin/templates/project/www/spec/index.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/spec/index.js b/bin/templates/project/www/spec/index.js
index 121cf63..b43fefa 100644
--- a/bin/templates/project/www/spec/index.js
+++ b/bin/templates/project/www/spec/index.js
@@ -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.
+ */
describe('app', function() {
describe('initialize', function() {
it('should bind deviceready', function() {