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 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 /**
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
221221 break ;
222222 }
223223
224- document . getElementById ( "outputhook" ) . innerHTML = "I'm a browser!" ;
224+ // document.getElementById("outputhook").innerHTML = "I'm a browser!"; Debug statement. Commented out for hotfix
225225 _this . contextEnvVersion = navigator . userAgent ;
226226 _this . contextAppOS = os ;
227227 _this . contextAppOSVersion = osVersion ;
256256
257257 if ( typeof appEvent . contextAppVersion === 'undefined' ) appEvent . contextAppVersion = _this . contextAppVersion ;
258258
259- if ( typeof appEvent . deploymentStage === 'undefined' ) appEvent . deploymentStage = _this . deploymentStage ;
259+ if ( typeof appEvent . deploymentStage === 'undefined' ) appEvent . deploymentStage = _this . contextDeploymentStage ;
260260 if ( typeof appEvent . contextEnvLanguage === 'undefined' ) appEvent . contextEnvLanguage = _this . contextEnvLanguage ;
261261 if ( typeof appEvent . contextEnvName === 'undefined' ) appEvent . contextEnvName = _this . contextEnvName ;
262262 if ( typeof appEvent . contextEnvVersion === 'undefined' ) appEvent . contextEnvVersion = _this . contextEnvVersion ;
You can’t perform that action at this time.
0 commit comments