From 587454814f7757843b0466540c5e22834cc4a601 Mon Sep 17 00:00:00 2001 From: blackmood Date: Wed, 12 Dec 2018 10:55:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c0a440d..e4a7ee3 100644 --- a/README.md +++ b/README.md @@ -1469,11 +1469,11 @@ iscroll的闪动问题也与渲染有关系,可以参考 function onDeviceReady() { callFetchContacts(); - } + } function callFetchContacts(){ var options = new ContactFindOptions(); options.multiple = true; var fields = ["displayName", "name","phoneNumbers"]; navigator.contacts.find(fields, onSuccess, onError,options); - } + } From dc95ed3a9bfebafd02560071ae84c9c0e16059e2 Mon Sep 17 00:00:00 2001 From: blockmood Date: Mon, 24 Dec 2018 20:45:22 +0800 Subject: [PATCH 2/2] formatting style --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index e4a7ee3..75b65d5 100644 --- a/README.md +++ b/README.md @@ -1466,7 +1466,6 @@ iscroll的闪动问题也与渲染有关系,可以参考 注意使用 PhoneGap 的 API 时,一定要在 devicereay 事件的处理函数中使用 API document.addEventListener("deviceready", onDeviceReady, false); - function onDeviceReady() { callFetchContacts(); }