You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
378 B
12 lines
378 B
var Module = require('module').Module;
|
|
var fallback = Module._resolveFilename;
|
|
module.exports = require('./dist/imba.node.js');
|
|
|
|
// To make sure that once this is loaded - calls to
|
|
// require imba will always return this version
|
|
Module._resolveFilename = function (name, from) {
|
|
if (name == "imba") {
|
|
return __filename;
|
|
};
|
|
return fallback.apply(Module, arguments);
|
|
};
|
|
|