Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: tools/SourceMap.js

Issue 1179173009: Add support for running the profiler output processing scripts with node. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Passed a missing type arg through to CodeEntry Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/codemap.js » ('j') | tools/profile.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+}
« no previous file with comments | « no previous file | tools/codemap.js » ('j') | tools/profile.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698