Prepare an environment according to A minimum setting to use browser REPL of ClojureScript.
Input lines of dom-example.cljs to the REPL.
Here's a SCREEN CAST.
Enjoy!
| 'use strict' | |
| const EventEmitter = require('events') | |
| // default expiry 3 mins | |
| const DEFAULT_EXPIRY = 3 * 60 * 1000 | |
| const create = ({ keys, ssm, keyPrefix = '', expiryMs = DEFAULT_EXPIRY }) => { | |
| let isRefreshing = false | |
| if (!keys || !Array.isArray(keys) || keys.length === 0) { | |
| throw new Error('Provide a non-empty array of config keys') |
Prepare an environment according to A minimum setting to use browser REPL of ClojureScript.
Input lines of dom-example.cljs to the REPL.
Here's a SCREEN CAST.
Enjoy!