mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
optimize code & update doc
rename some functions name. format doc & make some instructions more clearer.
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user