diff --git a/README.md b/README.md index eccd59d..26a33ea 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,7 @@ [![gzip size: JS](http://img.badgesize.io/https://unpkg.com/xe-clipboard/dist/xe-clipboard.min.js?compression=gzip&label=gzip%20size:%20JS)](https://unpkg.com/xe-clipboard/dist/xe-clipboard.min.js) [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/xuliangzhan/xe-clipboard/blob/master/LICENSE) -It depends on the [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) APIs, support commonly used H5 browser IE, Chrome, Firefox, Opera, Safari, IOS, Android. -compressed by gzip: < 0.5KB +基于 [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) API 实现复制内容到剪贴板,支持主流的 H5 浏览器 IE, Chrome, Firefox, Opera, Safari, IOS, Android,压缩大小 < 0.5KB ## Browser Support diff --git a/package.json b/package.json index 45bf6a4..07e8747 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "xe-clipboard", - "version": "1.7.0", - "description": "Copy the contents to the clipboard, support commonly used H5 browser IE, Chrome, Firefox, Opera, Safari, IOS, Android.", + "version": "1.7.1", + "description": "纯 Javascript 实现复制文本到剪贴板,支持IE、Chrome、Firefox、Opera、Safari、IOS、Android", "main": "index.js", "unpkg": "dist/xe-clipboard.js", "jsdelivr": "dist/xe-clipboard.js",