Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (26 sloc) 507 Bytes
fortest
a little test to demonstrate different behaviour between cljs and clj.
BUILD
Run cljs version, prereq cljsc in path and firebug.
$ make
open index.html
Run clj version, prereq clojurescript.jar in CLASSPATH
$ make clj
OUTPUT
With clojure 1.3 and clojurescript (git master 89fb927f8f)
clj output:
Hello world
Test1: ok
Test2: ok
Test 2 Content:
0, 1
1, 0
1, 1
cljs output:
Hello world
Test1: ok
Test2: nok
Test 2 Content:
1, 0
1, 1
LICENSE free to copy, don't blame me for anything.