From c6056b2cf93fbf657586951a695edafe6ec79059 Mon Sep 17 00:00:00 2001 From: Alfredo Vidueira Date: Fri, 18 Jan 2019 14:05:26 -0300 Subject: [PATCH] Se optimiza y ordena codigo --- www/FirebaseAnalyticsPlugin.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/FirebaseAnalyticsPlugin.js b/www/FirebaseAnalyticsPlugin.js index 50ee152..2839b63 100644 --- a/www/FirebaseAnalyticsPlugin.js +++ b/www/FirebaseAnalyticsPlugin.js @@ -6,8 +6,6 @@ exports.registerEvent = function (eventName, eventParams) { } var pluginParams = [eventName, eventParams || {}]; - var successCallback = function() { }; - var errorCallback = function() { }; - cordova.exec(successCallback, errorCallback, "FirebaseAnalyticsPlugin", "logEvent", pluginParams); + cordova.exec(function() { }, function() { }, "FirebaseAnalyticsPlugin", "logEvent", pluginParams); };