Commit 9a89ce8e authored by Sergio Morstabilini's avatar Sergio Morstabilini
Browse files

added a missing comma after errorHanlder

parent 91e78781
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ In this example, be sure and substitute your own senderID. Get your senderID by
	if (device.platform == 'android' || device.platform == 'Android') {
		pushNotification.register(successHandler, errorHandler, {"senderID":"replace_with_sender_id", "ecb":"onNotificationGCM"});
	} else {
		pushNotification.register(tokenHandler, errorHandler {"badge":"true","sound":"true","alert":"true","ecb":"onNotificationAPN"});
		pushNotification.register(tokenHandler, errorHandler, {"badge":"true", "sound":"true", "alert":"true", "ecb":"onNotificationAPN"});
	}

**successHandler** - called when a plugin method returns without error