Index: tools/SourceMap.js |
diff --git a/tools/SourceMap.js b/tools/SourceMap.js |
index 9cbd37a73553245c90c05b39ea0c2100971f165f..e005fb676bab960cc388dbcbd4d4812b8757de4c 100644 |
--- a/tools/SourceMap.js |
+++ b/tools/SourceMap.js |
@@ -369,3 +369,8 @@ WebInspector.SourceMap.StringCharIterator.prototype = { |
return this._position < this._string.length; |
} |
} |
+ |
+// Node exports |
+if (typeof module !== 'undefined' && module.exports) { |
+ module.exports.WebInspector = WebInspector; |
+} |