We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ecc84c commit 2e02035Copy full SHA for 2e02035
1 file changed
api/WebApi.ts
@@ -42,8 +42,7 @@ import os = require('os');
42
import url = require('url');
43
import path = require('path');
44
45
-const isBrowser: boolean =(function(){return typeof window !== 'undefined' && this===window})();
46
-
+const isBrowser: boolean = typeof window !== 'undefined';
47
/**
48
* Methods to return handler objects (see handlers folder)
49
*/
0 commit comments