Closed rm-hull closed 11 years ago
Your value and set-value! look fine, but the readme change is a bit misleading. You only need phantomjs if you want to run lein cljsbuild test
. Alternatively, you can run lein cljsbuild auto test
to compile, and load resources/dommy-tests.html
in a browser. If you fix the readme bit I'll gladly merge.
value
&set-value
are primarily used to get/set the values of form elements such as input, select and textarea; they act much the same way as other core functions:text
/set-text!
/html
/set-html!
Also clarified readme docs on how to run tests.
All the test pass according to the generated html/js, but I see the following on the command line:
Ubuntu 13.04 64-bit, Lein 2.1.3, Jdk 1.7.0_21