File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
// CommonJS-like environments that support module.exports, like Node.
29
29
module . exports = factory ( require ( './generated/src/trakerr/index' ) , require ( 'stacktrace-js' ) , require ( 'error-stack-parser' ) ) ;
30
30
}
31
- } ( function ( TrakerrApi , StackTrace , ErrorStackParser ) {
31
+ } ( function ( TrakerrApi , StackTrace ) {
32
32
'use strict' ;
33
33
34
34
/**
51
51
_this . contextEnvName = "JavaScript" ;
52
52
53
53
54
- if ( typeof navigator !== undefined ) {
54
+ if ( typeof navigator !== ' undefined' ) {
55
55
//from http://stackoverflow.com/questions/9514179/how-to-find-the-operating-system-version-using-javascript
56
56
57
57
// browser
221
221
break ;
222
222
}
223
223
224
- document . getElementById ( "outputhook" ) . innerHTML = "I'm a browser!" ;
224
+ // document.getElementById("outputhook").innerHTML = "I'm a browser!"; Debug statement. Commented out for hotfix
225
225
_this . contextEnvVersion = navigator . userAgent ;
226
226
_this . contextAppOS = os ;
227
227
_this . contextAppOSVersion = osVersion ;
256
256
257
257
if ( typeof appEvent . contextAppVersion === 'undefined' ) appEvent . contextAppVersion = _this . contextAppVersion ;
258
258
259
- if ( typeof appEvent . deploymentStage === 'undefined' ) appEvent . deploymentStage = _this . deploymentStage ;
259
+ if ( typeof appEvent . deploymentStage === 'undefined' ) appEvent . deploymentStage = _this . contextDeploymentStage ;
260
260
if ( typeof appEvent . contextEnvLanguage === 'undefined' ) appEvent . contextEnvLanguage = _this . contextEnvLanguage ;
261
261
if ( typeof appEvent . contextEnvName === 'undefined' ) appEvent . contextEnvName = _this . contextEnvName ;
262
262
if ( typeof appEvent . contextEnvVersion === 'undefined' ) appEvent . contextEnvVersion = _this . contextEnvVersion ;
You can’t perform that action at this time.
0 commit comments