Skip to content

Commit bc8de7c

Browse files
committed
Hotfix for TrakerrClient
Fixes the class import and a logical check fix.
1 parent 05f74a1 commit bc8de7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// CommonJS-like environments that support module.exports, like Node.
2929
module.exports = factory(require('./generated/src/trakerr/index'), require('stacktrace-js'), require('error-stack-parser'));
3030
}
31-
}(function (TrakerrApi, StackTrace, ErrorStackParser) {
31+
}(function (TrakerrApi, StackTrace) {
3232
'use strict';
3333

3434
/**
@@ -51,7 +51,7 @@
5151
_this.contextEnvName = "JavaScript";
5252

5353

54-
if (typeof navigator !== undefined) {
54+
if (typeof navigator !== 'undefined') {
5555
//from http://stackoverflow.com/questions/9514179/how-to-find-the-operating-system-version-using-javascript
5656

5757
// browser

0 commit comments

Comments
 (0)