From 7c1c29a7ece1f4b23836bd37dd32eaa3ec338fdc Mon Sep 17 00:00:00 2001 From: zhangqinghe Date: Mon, 19 Jan 2015 17:48:41 +0800 Subject: [PATCH] add interface init and setDebugMode in example --- example/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/index.html b/example/index.html index e4c3cf5..0d80ef0 100644 --- a/example/index.html +++ b/example/index.html @@ -39,6 +39,8 @@ var initiateUI = function(){ try{ + window.plugins.jPushPlugin.init(); + window.plugins.jPushPlugin.setDebugMode(true); window.plugins.jPushPlugin.getRegistrationID(onGetRegistradionID); // var extras={"name":"json"}; // window.plugins.jPushPlugin.addLocalNotification(1,"hh","ln",1111,1000*60,extras);