Skip to content
This repository was archived by the owner on Sep 5, 2018. It is now read-only.

Commit fb1ab95

Browse files
committed
Merge pull request #57 from neraliu/disable-ie-conditional-comment
disable ie conditional comment
2 parents 9615955 + 26915de commit fb1ab95

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "secure-handlebars",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "dist/secure-handlebars.min.js",
55
"authors": [
66
"Adonis Fung <adon@yahoo-inc.com>",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "secure-handlebars",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"licenses": [
55
{
66
"type": "BSD",

src/context-parser-handlebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var ContextParser = require('./strict-context-parser.js'),
1616
configContextParser = {
1717
enableInputPreProcessing: true,
1818
enableCanonicalization: true,
19-
enableIEConditionalComments: true,
19+
enableIEConditionalComments: false,
2020
enableStateTracking: true
2121
},
2222
handlebarsUtils = require('./handlebars-utils.js'),
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
7+
<title>{{title}}</title>
8+
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.13.0/build/cssbase/cssbase-min.css">
9+
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.13.0/build/cssreset/cssreset-min.css">
10+
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.13.0/build/cssfonts/cssfonts-min.css">
11+
<link rel="stylesheet" href="stylesheets/security.css" type="text/css" />
12+
13+
<!-- Bootstrap -->
14+
<link href="stylesheets/bootstrap.min.css" rel="stylesheet">
15+
16+
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
17+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
18+
<!--[if lt IE 9]>
19+
<script src="javascripts/html5shiv.min.js"></script>
20+
<script src="javascripts/respond.min.js"></script>
21+
<![endif]-->
22+
23+
<link href="stylesheets/blog.css" rel="stylesheet">
24+
<link href="stylesheets/carousel.css" rel="stylesheet">
25+
26+
<!-- jquery -->
27+
<script src="javascripts/jquery.min.js"></script>
28+
</head>

0 commit comments

Comments
 (0)