Skip to content

Commit

Permalink
Se optimiza y ordena codigo
Browse files Browse the repository at this point in the history
  • Loading branch information
avidueira committed Jan 18, 2019
1 parent 824aa1e commit c6056b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions www/FirebaseAnalyticsPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit c6056b2

Please sign in to comment.