Sha256: 7ba0c1e2671bce31b827cbeaedb94bc803e4993d036490e88c35f36179dd09be

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

var _ns_ = "wisp.engine.node";
module.namespace = _ns_;
var readFileSync = (require("fs")).readFileSync;
var rest = (require("./../sequence")).rest;
var str = (require("./../runtime")).str;
var read_ = (require("./../reader")).read_;
var compile_ = (require("./../compiler")).compile_;;

global.__verbose__ = 0 <= process.argv.indexOf("--verbose");

(require.extensions || 0)[".wisp"] = function(module, uri) {
  return module._compile(compile_(read_(readFileSync(uri, "utf8"), uri)));
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-wisp-source-0.8.0 vendor/node_modules/wisp/engine/node.js
ruby-wisp-source-0.7.0 vendor/engine/node.js