Skip to content
Permalink
Browse files

[js] Update to passing the nqp runtime to loaded code

  • Loading branch information...
pmurias committed Dec 7, 2018
1 parent 1dd59f1 commit 52c2af5d8f542b678eceaee6012ed9db8d1904d5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/vm/js/rakudo-library.js
@@ -10,7 +10,7 @@ function fakeArgs(isMain) {


const code = function() {
require('./rakudo.js')(true);
require('./rakudo.js')(nqp, true);
};

const core = require('nqp-runtime/core.js');
@@ -57,7 +57,7 @@ module.exports.compile = function(source, options = {}) {
const deps = match[2] == '' ? [] : match[2].split(',');
loaded.push({id: match[1], deps: deps, path: match[3]});
} else {
console.warn('extra line', line);
// console.warn('extra line', line);
}
}

0 comments on commit 52c2af5

Please sign in to comment.
You can’t perform that action at this time.