Skip to content

Commit

Permalink
兼容IE8
Browse files Browse the repository at this point in the history
  • Loading branch information
aui committed Apr 23, 2017
2 parents ddb1813 + 849dcfc commit 1ab42c1
Show file tree
Hide file tree
Showing 9 changed files with 323 additions and 333 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v4.4.2

1. 兼容 IE8

## v4.4.1

1. 修正 `root` 配置的行为,如果 filename 为全局模块路径,会直接根据 `root` 来定位
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ var html = template.render('hi, <%=value%>.', {value: 'aui'});
## 兼容性

1. NodeJS v1.0+
2. IE9+(低版本浏览器兼容还需要等一段时间才能完成
2. IE8+(IE8 需要 [es5-shim](https://github.com/es-shims/es5-shim)[示例](./example/web-ie-compatible/index.html)

## 授权协议

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<html>
<head>
<meta charset="UTF-8">
<title>basic-demo</title>
<title>IE</title>

<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/json3/3.3.2/json3.min.js"></script>

<script src="../../lib/template-web.js"></script>
</head>

Expand Down
Loading

0 comments on commit 1ab42c1

Please sign in to comment.