Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/compat.js

Issue 29399577: Issue 5077 - Update buildtools dependency to 1ed9c0c32f78 (Closed)
Patch Set: Update revision Created April 3, 2017, 7:35 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dependencies ('k') | metadata.common » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compat.js
diff --git a/lib/compat.js b/lib/compat.js
index f919671bda88047214e8382fc4bac65710c1e76e..105ce7569301298e5d20febeca9531020063ca71 100644
--- a/lib/compat.js
+++ b/lib/compat.js
@@ -17,22 +17,6 @@
"use strict";
-//
-// Module framework stuff
-//
-
-function require(module)
-{
- if (!(module in require.scopes))
- {
- let scope = {exports: {}};
- require.scopes[module] = require.modules[module](scope, scope.exports);
- }
- return require.scopes[module];
-}
-require.modules = Object.create(null);
-require.scopes = Object.create(null);
-
let onShutdown = {
done: false,
add() {},
« no previous file with comments | « dependencies ('k') | metadata.common » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld