Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
duwen committed Feb 23, 2018
1 parent cce93cd commit 18400f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ To use a dsBridge in your own project:

```javascript
//cdn
//<script src="https://unpkg.com/[email protected].6/dist/dsbridge.js"> </script>
//<script src="https://unpkg.com/[email protected].7/dist/dsbridge.js"> </script>
//npm
//npm install [email protected].6
//npm install [email protected].7
var dsBridge=require("dsbridge")
```

Expand Down
7 changes: 3 additions & 4 deletions readme-chs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
![dsBridge](https://github.com/wendux/DSBridge-IOS/raw/master/img/dsbridge.png)


[![cocoapods](https://img.shields.io/cocoapods/v/dsBridge.svg?style=flat)](https://github.com/wendux/DSBridge-IOS) ![](https://img.shields.io/badge/language-object--c-yellow.svg) [![](https://travis-ci.org/wendux/DSBridge-IOS.svg?branch=master)](https://travis-ci.org/wendux/DSBridge-IOS) [![MIT Licence](https://img.shields.io/packagist/l/doctrine/orm.svg)](https://opensource.org/licenses/mit-license.php) ![support](https://img.shields.io/badge/support-IOS%208%2B-green.svg) ![platform](https://img.shields.io/badge/platform-ios|osx-ff69b4.svg) [![GitHub last commit](https://img.shields.io/github/last-commit/google/skia.svg?color=blue)]() ![latest](https://img.shields.io/badge/latest-v3.0.x-orange.svg)

[![cocoapods](https://img.shields.io/cocoapods/v/dsBridge.svg?style=flat)](https://github.com/wendux/DSBridge-IOS) ![](https://img.shields.io/badge/language-object--c-yellow.svg) [![](https://travis-ci.org/wendux/DSBridge-IOS.svg?branch=master)](https://travis-ci.org/wendux/DSBridge-IOS) [![MIT Licence](https://img.shields.io/packagist/l/doctrine/orm.svg)](https://opensource.org/licenses/mit-license.php) ![support](https://img.shields.io/badge/support-IOS%208%2B-green.svg) ![platform](https://img.shields.io/badge/platform-ios|osx-ff69b4.svg) [![GitHub last commit](https://img.shields.io/github/last-commit/google/skia.svg?color=blue)](https://github.com/wendux/DSBridge-IOS/)
> 三端易用的现代跨平台 Javascript bridge, 通过它,你可以在Javascript和原生之间同步或异步的调用彼此的函数.
### 注意
Expand Down Expand Up @@ -74,9 +73,9 @@ pod "dsBridge"

```javascript
//cdn方式引入初始化代码(中国地区慢,建议下载到本地工程)
//<script src="https://unpkg.com/[email protected].6/dist/dsbridge.js"> </script>
//<script src="https://unpkg.com/[email protected].7/dist/dsbridge.js"> </script>
//npm方式安装初始化代码
//npm install [email protected].6
//npm install [email protected].7
var dsBridge=require("dsbridge")
```

Expand Down

0 comments on commit 18400f4

Please sign in to comment.