Fork me on GitHub
#hoplon
<
2016-02-15
>
raywillig02:02:15

did that work?

jjttjj02:02:53

Just about to try it now I'll report back a little later

raywillig02:02:52

i would still take a look at cljsjs and make a package.

jjttjj06:02:08

@raywillig: cool so looks like that woked, thanks again

jjttjj06:02:59

gonna try to get it in cljsjs tomorrow

laforge4920:02:44

[ANN] aatree/aaworker release 0.1.2 Supports multiple requests/states for a given rpc. Optional request completion counter cell.

laforge4920:02:49

I keep thinking aaworker is done. But then I keep finding itches that it should but can't scratch.

laforge4921:02:03

[ANN] aatree/durable-cells release 0.1.0 A radically simplified API. The ready cell now signals when the database has been opened AND the cells loaded.

laforge4921:02:02

Durable-cells runs in a web worker and uses IndexedDB to minimize the impact of disk operations on your web client. And with hoplon, all the complexities of asynchronous operation are completely masked.

laforge4921:02:59

(I still need to update the duracell demo in hoplon/demos.)

alandipert22:02:13

Duracell - awesome name

laforge4922:02:18

It is short, too: (page "index.html" (:require [durable-cells.core :refer [open-durable-cells! error ready]])) (set! cljs.core/print-fn #(.log js/console %)) (def clear-error! #(reset! error nil)) (defc txt nil) (open-durable-cells! {"txt" txt}) (html (head (title "duracell demo") (link :href "main.css" :rel "stylesheet")) (body :css {:display "none"} :toggle ready (div :id "error" :click clear-error! :slide-toggle error :css {:display "none"} (text "~{error}")) (h2 (text (str "Local Storage Demo"))) (p (input :type "text" :value txt :keyup #(reset! txt @%))) (p (text "Type something and then refresh the page--nothing is lost."))))