-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
duwen
committed
Feb 23, 2018
1 parent
cce93cd
commit 18400f4
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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") | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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和原生之间同步或异步的调用彼此的函数. | ||
### 注意 | ||
|
@@ -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") | ||
``` | ||
|
||
|