update readme

This commit is contained in:
张磊 2018-12-11 14:56:28 +08:00
parent 7e4100ec83
commit 555dc328f3
3 changed files with 12 additions and 0 deletions

View File

@ -731,6 +731,10 @@ Omi 4.0+ works in the latest two versions of all major browsers: Safari 10+, IE
[→ polyfills](https://github.com/webcomponents/webcomponentsjs)
```html
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.0.0/webcomponents-bundle.js"></script>
```
> 如果你想兼容IE11,使用[→ 这个项目](https://github.com/Tencent/omi/tree/master/packages/omi-ie11)的 Omi 文件,这个项目使用 JSON Diff 和 定时器 代替 Proxy。
> 你可以在 IE9 的环境动态加载这个项目的 js其他环境依旧使用 proxy 版本。

View File

@ -712,6 +712,10 @@ Omi 4.0+ 부터 주요 브라우저(Safari 10+, IE 11+, Chrome, Firefox, Edge)
[→ Polyfills](https://github.com/webcomponents/webcomponentsjs)
```html
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.0.0/webcomponents-bundle.js"></script>
```
> 만약 IE11과 호환하기를 원한다면, [→ this project](https://github.com/Tencent/omi/tree/master/packages/omi-ie11) 의 Omi 파일을 사용하세요. 이 프로젝트는 Proxy 대신에 JSON DIFF 와 Timer를 사용합니다.
> 당신은 IE11 환경에서 동적으로 이 프로젝트의 JS를 로드할 수 있습니다. 그리고 Proxy 버전은 여전히 다른 환경을 사용합니다.

View File

@ -730,6 +730,10 @@ Omi 4.0+ works in the latest two versions of all major browsers: Safari 10+, IE
[→ Polyfills](https://github.com/webcomponents/webcomponentsjs)
```html
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.0.0/webcomponents-bundle.js"></script>
```
> If you want to be compatible with IE11, use the Omi file of [→ this project](https://github.com/Tencent/omi/tree/master/packages/omi-ie11). This project uses JSON Diff + Timer instead of Proxy.
> You can dynamically load the JS of this project in the IE11 environment, and the proxy version is still used in other environments.