Skip to content

dedeibel/cljs-fortest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 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.

About

A small test to demonstrate different behaviour between cljs and clj

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published