Skip to content

Commit

Permalink
Merge pull request yeoman#322 from manojlds/chromeframeremoval
Browse files Browse the repository at this point in the history
fix(app) remove chromeframe
  • Loading branch information
addyosmani committed Aug 18, 2013
2 parents 17ae9e6 + 6e4c49d commit c5625ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/common/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
</head>
<body ng-app="<%= _.camelize(appname) %>App">
<!--[if lt IE 7]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<!--[if lt IE 9]>
Expand Down
3 changes: 1 addition & 2 deletions templates/common/root/app/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ ErrorDocument 404 /404.html

# Force IE to render pages in the highest available mode in the various
# cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf.
# Use, if installed, Google Chrome Frame.

<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=edge,chrome=1"
Header set X-UA-Compatible "IE=edge"
# `mod_headers` can't match based on the content-type, however, we only
# want to send this header for HTML pages and not for the other resources
<FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
Expand Down

0 comments on commit c5625ef

Please sign in to comment.