Skip to content

Commit

Permalink
updata README
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 3, 2015
1 parent 74223ed commit 4d4c94f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
```

### 设置轮询时间和地址
> time: 时间不设置默认2000
> url:不设置默认所有浏览器用 `online``offline`事件
```js
var net = onlinenetwork({
//time : 时间不设置默认2000
"time":1000,
//url:不设置默认所有浏览器用 `online` 和 `offline`事件
"url":"http://*******.com/ping.php"
})
```
Expand Down

0 comments on commit 4d4c94f

Please sign in to comment.