File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ script:
6161 - grep '0 failures, 0 errors.' test-out.txt
6262 - script/test-cli node | tee test-out.txt
6363 - grep '0 failures, 0 errors.' test-out.txt
64- - script/test-cli rhino | tee test-out.txt
6564 - grep '0 failures, 0 errors.' test-out.txt
6665 - PATH=`pwd`/graalvm-ce-1.0.0-rc12/bin:$PATH script/test-cli graaljs | tee test-out.txt
6766 - grep '0 failures, 0 errors.' test-out.txt
Original file line number Diff line number Diff line change 88 org.clojure/data.json {:mvn/version " 0.2.6" }
99 com.cognitect/transit-clj {:mvn/version " 0.8.309" }
1010 com.google.javascript/closure-compiler-unshaded {:mvn/version " v20200112" }
11- org.clojure/google-closure-library {:mvn/version " 0.0-20191016-6ae1f72f" }
12- org.mozilla/rhino {:mvn/version " 1.7R5" }}
11+ org.clojure/google-closure-library {:mvn/version " 0.0-20191016-6ae1f72f" }}
1312 :aliases
1413 {:test {:extra-paths [" src/test/cljs" " src/test/cljs_build" " src/test/cljs_cp"
1514 " src/test/clojure" " src/test/self" ]
Original file line number Diff line number Diff line change 4242 <artifactId >data.json</artifactId >
4343 <version >0.2.6</version >
4444 </dependency >
45- <dependency >
46- <groupId >org.mozilla</groupId >
47- <artifactId >rhino</artifactId >
48- <version >1.7R5</version >
49- </dependency >
5045 <dependency >
5146 <groupId >org.clojure</groupId >
5247 <artifactId >tools.reader</artifactId >
311306 <namespace >cljs.repl.browser</namespace >
312307 <namespace >cljs.repl.node</namespace >
313308 <namespace >cljs.repl.reflect</namespace >
314- <namespace >cljs.repl.rhino</namespace >
315309 <namespace >cljs.repl.server</namespace >
316310 <namespace >cljs.main</namespace >
317311 <namespace >cljs.cli</namespace >
Original file line number Diff line number Diff line change 1616 [org.clojure/test.check " 0.10.0-alpha3" :scope " test" ]
1717 [com.cognitect/transit-clj " 0.8.309" ]
1818 [org.clojure/google-closure-library " 0.0-20191016-6ae1f72f" ]
19- [com.google.javascript/closure-compiler-unshaded " v20200112" ]
20- [org.mozilla/rhino " 1.7R5" ]]
19+ [com.google.javascript/closure-compiler-unshaded " v20200112" ]]
2120 :profiles {:1.6 {:dependencies [[org.clojure/clojure " 1.6.0" ]]}
2221 :uberjar {:aot :all :main cljs.main}
2322 :closure-snapshot {:dependencies [[com.google.javascript/closure-compiler-unshaded " 1.0-SNAPSHOT" ]]}}
Original file line number Diff line number Diff line change @@ -17,15 +17,6 @@ There are currently four steps in starting a ClojureScript REPL.
17173 . create a new evaluation environment
18184 . start the REPL with the created environment
1919
20- ## Evaluating with Rhino
21-
22- ``` clj
23- (require '[cljs.repl :as repl])
24- (require '[cljs.repl.rhino :as rhino])
25- (def env (rhino/repl-env ))
26- (repl/repl env)
27- ```
28-
2920## Evaluating in the Browser
3021
3122A browser-connected REPL works in much the same way as a normal REPL:
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ CLOSURE_RELEASE="20200112"
99DJSON_RELEASE=" 0.2.6"
1010TRANSIT_RELEASE=" 0.8.309"
1111GCLOSURE_LIB_RELEASE=" 0.0-20191016-6ae1f72f"
12- RHINO_RELEASE=" 1_7R5"
1312TREADER_RELEASE=" 1.3.0"
1413TEST_CHECK_RELEASE=" 0.10.0-alpha3"
1514
@@ -118,16 +117,6 @@ if [ "$1" = "--closure-library-head" ] ; then
118117 mv orig-deps.js closure/library/closure-library/third_party/closure/goog/deps.js
119118fi
120119
121- echo " Fetching Rhino..."
122- curl --retry 3 -LOk -s https://github.com/mozilla/rhino/releases/download/Rhino${RHINO_RELEASE} _RELEASE/rhino$RHINO_RELEASE .zip || { echo " Download failed." ; exit 1; }
123- unzip -qu rhino$RHINO_RELEASE .zip
124- echo " Copying rhino$RHINO_RELEASE /js.jar to lib/js.jar..."
125- cp rhino$RHINO_RELEASE /js.jar lib/js.jar
126- echo " Cleaning up Rhino directory..."
127- rm -rf rhino$RHINO_RELEASE /
128- echo " Cleaning up Rhino archive..."
129- rm rhino$RHINO_RELEASE .zip
130-
131120echo " Fetching tools.reader $TREADER_RELEASE ..."
132121curl --retry 3 -O -s https://repo1.maven.org/maven2/org/clojure/tools.reader/$TREADER_RELEASE /tools.reader-$TREADER_RELEASE .jar || { echo " Download failed." ; exit 1; }
133122
Original file line number Diff line number Diff line change @@ -129,14 +129,6 @@ Get-WebResource `
129129Copy-File $root \closure- compiler- v$CLOSURE_RELEASE.jar $root \lib\compiler.jar
130130Delete- File $root \closure- compiler- v$CLOSURE_RELEASE.jar
131131
132- Write-Host " Fetching Rhino..."
133- Get-WebResource `
134- https:// github.com / mozilla/ rhino/ releases/ download/ Rhino${RHINO_RELEASE} _RELEASE/ rhino$RHINO_RELEASE.zip `
135- $root \rhino$RHINO_RELEASE.zip
136- Delete- File $root \lib\js.jar
137- Expand-ZipFile $root \rhino$RHINO_RELEASE.zip $root \lib rhino$RHINO_RELEASE \js.jar
138- Delete- File $root \rhino$RHINO_RELEASE.zip
139-
140132Write-Host " Fetching tools.reader $TREADER_RELEASE ..."
141133Get-WebResource `
142134 https:// repo1.maven.org/ maven2/ org/ clojure/ tools.reader/ $TREADER_RELEASE / tools.reader- $TREADER_RELEASE.jar `
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments