[Python-modules-commits] [jupyter-notebook] 06/08: Nodejs binary and import names

Gordon Ball chronitis-guest at moszumanska.debian.org
Mon Oct 24 12:44:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

chronitis-guest pushed a commit to branch master
in repository jupyter-notebook.

commit 10f494574090f1cd92304d3c5949951f7c34f09a
Author: Gordon Ball <gordon at chronitis.net>
Date:   Mon Oct 24 14:38:07 2016 +0200

    Nodejs binary and import names
    
     * Binary node -> nodejs
     * Import requirejs -> r
---
 setupbase.py        | 2 +-
 tools/build-main.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/setupbase.py b/setupbase.py
index 62d4e63..a411c9b 100644
--- a/setupbase.py
+++ b/setupbase.py
@@ -476,7 +476,7 @@ class CompileJS(Command):
             log.info("%s up to date" % target)
             return
         log.info("Rebuilding %s" % target)
-        run(['node', 'tools/build-main.js', name])
+        run(['nodejs', 'tools/build-main.js', name])
 
     def run(self):
         self.run_command('jsdeps')
diff --git a/tools/build-main.js b/tools/build-main.js
index bd0316b..3336159 100644
--- a/tools/build-main.js
+++ b/tools/build-main.js
@@ -1,7 +1,7 @@
 // build main.min.js
 // spawned by gulp to allow parallelism
 
-var rjs = require('requirejs').optimize;
+var rjs = require('r').optimize;
 
 var name = process.argv[2];
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-notebook.git



More information about the Python-modules-commits mailing list