Remove outdated Reify runtime workarounds from modules/reify.js.

This commit is contained in:
Ben Newman
2018-05-16 15:19:51 -04:00
parent 538175116b
commit b6ac0acbf6
2 changed files with 4 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "modules",
version: "0.11.6",
version: "0.11.7",
summary: "CommonJS module system",
documentation: "README.md"
});

View File

@@ -1,5 +1,3 @@
var Module = module.constructor;
var Mp = Module.prototype;
require("reify/lib/runtime").enable(Mp);
Mp.importSync = Mp.importSync || Mp.import;
Mp.import = Mp.import || Mp.importSync;
require("reify/lib/runtime").enable(
module.constructor.prototype
);