From 4d4c94fc22c775edef063400f3e13b3f2019ed12 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 4 Mar 2015 00:54:04 +0800 Subject: [PATCH] updata README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68bea4d..bb9f7f8 100644 --- a/README.md +++ b/README.md @@ -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" }) ```