npm配置

This commit is contained in:
Donal 2020-09-23 14:19:34 +08:00
parent 7ecead2f80
commit cd63577068
2 changed files with 5 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import {parseOfdDocument, renderOfd} from "ofd.js";
```
```
其中ofd传入的file支持本地文件或二进制、screenWidth为屏幕宽度
其中ofd传入的file支持本地文件、二进制或者url、screenWidth为屏幕宽度
parseOfdDocument({
ofd: file,
success(res) {

View File

@ -1,11 +1,13 @@
{
"name": "ofd.js",
"version": "0.1.4",
"version": "0.1.5",
"main": "lib/ofd.umd.min.js",
"author": "dltech21",
"description": "ofd渲染",
"keywords": [
"ofd"
"ofd",
"ofd.js",
"ofd渲染"
],
"private": false,
"scripts": {