0.0.20 • Published 3 years ago
text-editor-cljs v0.0.20
text-editor-cljs
Install
npm iStart
1$ npx shadow-cljs server
2$ npx shadow-cljs watch app
Visit localhost:8020Click on the textarea and press some keyboard buttons, including modifier keys. The output is visible in the developer console of the browser, namely the listing of which keys are pressed.
Publish
$ npx shadow-cljs release library
$ npm version patch
$ npm publishUse
$ npm i text-editor-cljs
import {Editor} from "text-editor-cljs"
console.log(Editor.hello("dan"))Test
Run
1$ npx shadow-cljs watch test
2$ npx node test-main.js
3$ npx shadow-cljs cljs-repl testRun
=> (require '[cljs-run-test :refer [run-test]])
=> (run-test editor-test/base-case)Hot code reloading works for both the tests and for the code, that is,
you should be able to get an up to date result of (run-test editor-test/base-case)
after saving a file.
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
4 years ago
0.0.17
4 years ago
0.0.16
4 years ago
0.0.15
4 years ago
0.0.14
4 years ago
0.0.13
4 years ago
0.0.12
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago