optimize code & update doc

rename some functions name.
format doc & make some instructions more clearer.
This commit is contained in:
Hevin
2016-04-11 15:21:59 +08:00
parent 46b2a5ab1a
commit b515caf1e4
6 changed files with 107 additions and 107 deletions
+2 -2
View File
@@ -295,9 +295,9 @@ JPushPlugin.prototype.setDebugMode = function(mode) {
}
JPushPlugin.prototype.addLocalNotification = function(builderId, content, title,
notificaitonID, broadcastTime, extras) {
notificationID, broadcastTime, extras) {
if(device.platform == "Android") {
data = [builderId, content, title, notificaitonID, broadcastTime, extras];
data = [builderId, content, title, notificationID, broadcastTime, extras];
this.call_native("addLocalNotification", data, null);
}
}