You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/06 04:08:23 UTC

[1/3] cordova-app-hello-world git commit: Remove self-closing slashes from `` since this isn't xhtml

Repository: cordova-app-hello-world
Updated Branches:
  refs/heads/master 7383e09fc -> fc2b29ef4


Remove self-closing slashes from `<meta>` since this isn't xhtml


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/commit/70858d13
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/tree/70858d13
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/diff/70858d13

Branch: refs/heads/master
Commit: 70858d1380ada7e4b811471a8deae62eab90e37f
Parents: 7383e09
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 5 22:03:59 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 5 22:03:59 2015 -0500

----------------------------------------------------------------------
 www/index.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/blob/70858d13/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 1ec4720..4987880 100644
--- a/www/index.html
+++ b/www/index.html
@@ -20,11 +20,11 @@
 <html>
     <head>
         <meta charset="utf-8" />
-        <meta name="format-detection" content="telephone=no" />
-        <meta name="msapplication-tap-highlight" content="no" />
+        <meta name="format-detection" content="telephone=no">
+        <meta name="msapplication-tap-highlight" content="no">
         <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
-        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
-        <link rel="stylesheet" type="text/css" href="css/index.css" />
+        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi">
+        <link rel="stylesheet" type="text/css" href="css/index.css">
         <title>Hello World</title>
     </head>
     <body>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[3/3] cordova-app-hello-world git commit: CB-8295 Add content-security-policy `` to template

Posted by ag...@apache.org.
CB-8295 Add content-security-policy `<meta>` to template


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/commit/fc2b29ef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/tree/fc2b29ef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/diff/fc2b29ef

Branch: refs/heads/master
Commit: fc2b29ef4fc0fb01ce0985799b8d1370ca122456
Parents: 96cd752
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 5 22:06:10 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 5 22:08:00 2015 -0500

----------------------------------------------------------------------
 www/index.html | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/blob/fc2b29ef/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 2e9b253..af4f11c 100644
--- a/www/index.html
+++ b/www/index.html
@@ -19,6 +19,7 @@
 -->
 <html>
     <head>
+        <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: blob: https://ssl.gstatic.com/accessibility/javascript/android/; style-src 'self' 'unsafe-inline'">
         <meta name="format-detection" content="telephone=no">
         <meta name="msapplication-tap-highlight" content="no">
         <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/3] cordova-app-hello-world git commit: Remove target-density and height=device-height from ``

Posted by ag...@apache.org.
Remove target-density and height=device-height from `<viewport>`

These are known to cause more problems than they solve. Shouldn't be in
the default template


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/commit/96cd7529
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/tree/96cd7529
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/diff/96cd7529

Branch: refs/heads/master
Commit: 96cd7529063f28c24559d03a69694450c74b1291
Parents: 70858d1
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 5 22:04:56 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 5 22:04:56 2015 -0500

----------------------------------------------------------------------
 www/index.html | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/blob/96cd7529/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 4987880..2e9b253 100644
--- a/www/index.html
+++ b/www/index.html
@@ -19,11 +19,9 @@
 -->
 <html>
     <head>
-        <meta charset="utf-8" />
         <meta name="format-detection" content="telephone=no">
         <meta name="msapplication-tap-highlight" content="no">
-        <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
-        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi">
+        <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 World</title>
     </head>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org