Skip to content

Commit 61d53da

Browse files
committed
removed extra function
1 parent 16a6ff1 commit 61d53da

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

amplitude.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,10 +521,6 @@ Amplitude.prototype._logEvent = function(eventType, eventProperties, apiProperti
521521
}
522522
};
523523

524-
Amplitude.prototype.logEvent = function(eventType, eventProperties) {
525-
return this._logEvent(eventType, eventProperties);
526-
};
527-
528524
Amplitude.prototype.logEvent = function(eventType, eventProperties, callback) {
529525
return this._logEvent(eventType, eventProperties, null, callback);
530526
};

amplitude.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/amplitude.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,6 @@ Amplitude.prototype._logEvent = function(eventType, eventProperties, apiProperti
409409
}
410410
};
411411

412-
Amplitude.prototype.logEvent = function(eventType, eventProperties) {
413-
return this._logEvent(eventType, eventProperties);
414-
};
415-
416412
Amplitude.prototype.logEvent = function(eventType, eventProperties, callback) {
417413
return this._logEvent(eventType, eventProperties, null, callback);
418414
};

test/amplitude.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ describe('Amplitude', function() {
604604
assert.equal(message, 'success');
605605
});
606606

607-
it ('should fire callback if server returns something other than 200 and 413', function () {
607+
it ('should run callback if server returns something other than 200 and 413', function () {
608608
var counter = 0;
609609
var value = -1;
610610
var message = '';

0 commit comments

Comments
 (0)