From 4e0e4c2b97389e58e4e28be1e1cdc1e090d771b3 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Sun, 23 Dec 2012 10:38:25 -0800 Subject: [PATCH] move Node.js shims to rhino/ --- jsdoc | 4 ++-- jsdoc.cmd | 4 ++-- {rhino_modules => rhino}/crypto.js | 0 {rhino_modules => rhino}/events.js | 0 {rhino_modules => rhino}/fs.js | 0 {rhino_modules => rhino}/os.js | 0 {rhino_modules => rhino}/path.js | 0 {rhino_modules => rhino}/querystring.js | 0 {rhino_modules => rhino}/util.js | 0 9 files changed, 4 insertions(+), 4 deletions(-) rename {rhino_modules => rhino}/crypto.js (100%) rename {rhino_modules => rhino}/events.js (100%) rename {rhino_modules => rhino}/fs.js (100%) rename {rhino_modules => rhino}/os.js (100%) rename {rhino_modules => rhino}/path.js (100%) rename {rhino_modules => rhino}/querystring.js (100%) rename {rhino_modules => rhino}/util.js (100%) diff --git a/jsdoc b/jsdoc index 73f0b24a..4e3e84d6 100755 --- a/jsdoc +++ b/jsdoc @@ -36,9 +36,9 @@ if test "$1" = "-T" then echo "Running Tests" cd -P "$(dirname "$SOURCE")" - java -classpath "${BASEPATH}/rhino/js.jar" ${CMD} -opt -1 -modules "${URLPATH}/node_modules" -modules "${URLPATH}/rhino_modules" -modules "${URLPATH}" "${BASEPATH}/jsdoc.js" $ARGS --dirname="${BASEPATH}/" + java -classpath "${BASEPATH}/rhino/js.jar" ${CMD} -opt -1 -modules "${URLPATH}/node_modules" -modules "${URLPATH}/rhino" -modules "${URLPATH}/rhino_modules" -modules "${URLPATH}" "${BASEPATH}/jsdoc.js" $ARGS --dirname="${BASEPATH}/" else # normal mode should be quiet - java -classpath "${BASEPATH}/rhino/js.jar" ${CMD} -modules "${URLPATH}/node_modules" -modules "${URLPATH}/rhino_modules" -modules "${URLPATH}" "${BASEPATH}/jsdoc.js" $ARGS --dirname="${BASEPATH}/" + java -classpath "${BASEPATH}/rhino/js.jar" ${CMD} -modules "${URLPATH}/node_modules" -modules "${URLPATH}/rhino" -modules "${URLPATH}/rhino_modules" -modules "${URLPATH}" "${BASEPATH}/jsdoc.js" $ARGS --dirname="${BASEPATH}/" fi diff --git a/jsdoc.cmd b/jsdoc.cmd index 771e5a92..157d6314 100644 --- a/jsdoc.cmd +++ b/jsdoc.cmd @@ -36,10 +36,10 @@ IF [%1]==[--debug] ( IF [%1]==[-T] ( ECHO Running Tests - java -classpath "%_BASEPATH%/rhino/js.jar" %CMD% -opt -1 -modules "%_URLPATH%/node_modules" -modules "%_URLPATH%/rhino_modules" -modules "%_URLPATH%" "%_BASEPATH%/jsdoc.js" %ARGS% --nocolor --dirname="%_BASEPATH%/ + java -classpath "%_BASEPATH%/rhino/js.jar" %CMD% -opt -1 -modules "%_URLPATH%/node_modules" -modules "%_URLPATH%/rhino" -modules "%_URLPATH%/rhino_modules" -modules "%_URLPATH%" "%_BASEPATH%/jsdoc.js" %ARGS% --nocolor --dirname="%_BASEPATH%/ ) ELSE ( REM normal mode should be quiet - java -classpath "%_BASEPATH%/rhino/js.jar" %CMD% -modules "%_URLPATH%/node_modules" -modules "%_URLPATH%/rhino_modules" -modules "%_URLPATH%" "%_BASEPATH%/jsdoc.js" %ARGS% --dirname="%_BASEPATH%/ + java -classpath "%_BASEPATH%/rhino/js.jar" %CMD% -modules "%_URLPATH%/node_modules" -modules "%_URLPATH%/rhino" -modules "%_URLPATH%/rhino_modules" -modules "%_URLPATH%" "%_BASEPATH%/jsdoc.js" %ARGS% --dirname="%_BASEPATH%/ ) ENDLOCAL diff --git a/rhino_modules/crypto.js b/rhino/crypto.js similarity index 100% rename from rhino_modules/crypto.js rename to rhino/crypto.js diff --git a/rhino_modules/events.js b/rhino/events.js similarity index 100% rename from rhino_modules/events.js rename to rhino/events.js diff --git a/rhino_modules/fs.js b/rhino/fs.js similarity index 100% rename from rhino_modules/fs.js rename to rhino/fs.js diff --git a/rhino_modules/os.js b/rhino/os.js similarity index 100% rename from rhino_modules/os.js rename to rhino/os.js diff --git a/rhino_modules/path.js b/rhino/path.js similarity index 100% rename from rhino_modules/path.js rename to rhino/path.js diff --git a/rhino_modules/querystring.js b/rhino/querystring.js similarity index 100% rename from rhino_modules/querystring.js rename to rhino/querystring.js diff --git a/rhino_modules/util.js b/rhino/util.js similarity index 100% rename from rhino_modules/util.js rename to rhino/util.js