Run npm in a separate worker process

This commit is contained in:
Marcel Klehr 2013-12-27 16:02:54 +01:00
parent 44f817da01
commit b8870a7586
4 changed files with 47 additions and 3 deletions

View file

@ -1,6 +1,6 @@
var plugins = require("ep_etherpad-lite/static/js/pluginfw/plugins");
var hooks = require("ep_etherpad-lite/static/js/pluginfw/hooks");
var npm = require("npm");
var npm = require("./npm-master");
var npmIsLoaded = false;
var withNpm = function (npmfn) {