clyfe
clyfe
Forked here: https://github.com/tape-framework/module Naming is changed from duct.core to tape.module. It supports both Clojure & ClojureScript, however the functionality is reduced.
Having said that, my main attraction to CoffeeKup is using it as a "helper language" inside sam's Eco meaning Eco does the templateing (streamable) and CK does view helping. Rails...
Indeed you are right. That's awesome. I don't think Eco does streaming at this point, I just thought that it's definitively possible, since Rails 3.1 (ERB) did it and ERB...
Looks good, conforms to node de facto conventions. I wander if the buffer object can also be given as an option (optional). ``` compiled_template(foo: 'bar', options: {stream: yes, buffer: res})...
Yes that's what I was thinking. The interface for the buffer should be http://nodejs.org/docs/v0.5.1/api/streams.html#writable_Stream mainly the `stream.write(...)` and `stream.end(...)`. If a buffer isn't explicitly given use something internally, so it...
In trying to learn more about how precept works ended up building this: https://github.com/clyfe/clara-eav Some thoughts: 1. May be of interest to carry over the session wrapper that attaches state...
> Not sure I follow completely but Clara requires a fact type. I meant "attribute only" fact should rather be "eid only": `[[:foo]]` should resolve to `[:all (= (:e this)...
Crosslink: https://github.com/clojure/clojurescript-site/issues/364
Further links: New webpack-cli docs: https://webpack.js.org/api/cli/ Output config: https://webpack.js.org/configuration/output/ A setup that works: ```clojure ;; dev.cljs.edn {:main my.core :target :bundle :bundle-cmd {:none [:npx-cmd "webpack" "--mode=development" "--entry" :output-to "--output-path" :final-output-dir] :default...
Scrach my last comment, setup not ideal, it bundles like so: ```bash npx webpack --mode=development \ --entry ./target/public/cljs-out/dev/main.js --output-path ./target/public/cljs-out/dev ``` Seems same file is both input and output.