enhanced-require
Advanced tools
Comparing version 0.4.0-beta11 to 0.4.0-beta12
@@ -0,0 +0,0 @@ # simple-server |
@@ -0,0 +0,0 @@ var pageTemplate = require("./page.jade"); |
@@ -0,0 +0,0 @@ var http = require("http"); |
@@ -0,0 +0,0 @@ require("../../")(module, { |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ var RequireContext = require("./RequireContext"); |
@@ -0,0 +0,0 @@ var fs = require("fs"); |
@@ -0,0 +0,0 @@ var runInThisContext = require("vm").runInThisContext; |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -61,3 +61,3 @@ var fs = require("fs"); | ||
this.module = parent; | ||
this.context = (!parent) ? "" : parent.id === "." ? process.cwd() : path.dirname(parent.id.split("!").pop()); | ||
this.context = (!parent) ? "" : path.dirname(parent.id === "." ? process.argv[1] : parent.id.split("!").pop()); | ||
} | ||
@@ -64,0 +64,0 @@ |
@@ -0,0 +0,0 @@ var RequireContext = require("./RequireContext"); |
{ | ||
"name": "enhanced-require", | ||
"version": "0.4.0-beta11", | ||
"version": "0.4.0-beta12", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.", |
@@ -0,0 +0,0 @@ # enhanced-require |
@@ -0,0 +0,0 @@ var should = require("should"); |
module.exports = 1; | ||
module.exports = { two: require("./circular2") }; |
module.exports = 2; | ||
module.exports = { one: require("./circular1") }; |
exports.module = module; | ||
exports.a = require("./graph/a.js"); | ||
exports.b = require("./graph/b.js"); |
module.exports = module; | ||
require("./b"); |
@@ -0,0 +0,0 @@ var list = []; |
@@ -0,0 +0,0 @@ var list = []; |
@@ -0,0 +0,0 @@ var list = []; |
@@ -0,0 +0,0 @@ var should = require("should"); |
@@ -0,0 +0,0 @@ var should = require("should"); |
@@ -0,0 +0,0 @@ var should = require("should"); |
@@ -0,0 +0,0 @@ var should = require("should"); |
@@ -0,0 +0,0 @@ var should = require("should"); |
@@ -0,0 +0,0 @@ var should = require("should"); |
@@ -0,0 +0,0 @@ var should = require("should"); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
69981