source-map-support
Advanced tools
Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "source-map-support", | ||
"description": "Fixes stack traces for files with source maps", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"main": "./source-map-support.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -33,3 +33,3 @@ var SourceMapConsumer = require('source-map').SourceMapConsumer; | ||
return false; | ||
return ((typeof window !== 'undefined') && (typeof XMLHttpRequest === 'function')); | ||
return ((typeof window !== 'undefined') && (typeof XMLHttpRequest === 'function') && !(window.require && window.module && window.process && window.process.type === "renderer")); | ||
} | ||
@@ -36,0 +36,0 @@ |
153243