This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-19
Channels
- # beginners (240)
- # boot (9)
- # braveandtrue (2)
- # bristol-clojurians (2)
- # cider (2)
- # cljsrn (84)
- # clojars (1)
- # clojure (195)
- # clojure-belgium (9)
- # clojure-china (5)
- # clojure-denmark (4)
- # clojure-italy (7)
- # clojure-mke (1)
- # clojure-norway (1)
- # clojure-russia (16)
- # clojure-spec (74)
- # clojure-uk (15)
- # clojurescript (78)
- # clr (3)
- # code-reviews (4)
- # datascript (8)
- # datomic (71)
- # emacs (9)
- # hoplon (18)
- # jobs (3)
- # kekkonen (32)
- # klipse (19)
- # lambdaisland (2)
- # luminus (15)
- # off-topic (6)
- # om (35)
- # om-next (62)
- # onyx (17)
- # overtone (5)
- # pedestal (1)
- # perun (1)
- # planck (31)
- # protorepl (1)
- # re-frame (135)
- # reagent (34)
- # ring-swagger (6)
- # rum (54)
- # specter (3)
- # untangled (14)
- # yada (14)
i'm trying to make cuerdas
self-host compatible for having interactive documentation with Klipse but I'm kind of stuck
it uses a foreign JS libs for its ClojureScript implementation, is it possible to add foreign JS libs and externs to Klipse?
Excellent question @dialelo What is the name of the foreign lib?
its the xregexp
library http://xregexp.com/
Oh @dialelo it’s your lucky day
I have made a demo page for interactive doc of cuerdas using klipse
Here is the page
The trick with foreign libs is to:
1. add the javascript source to the page in a <source>
tag
2. insert a goog.provide
statement after klipse script like this <script>goog.provide(‘cuerdas.vendor.xregexp’);</script>
Please confirm that it works also with your use case
For the moment no.
But it should be fairly easy to add via the codox html transformations. Take a look here https://github.com/weavejester/codox#html-transformations
I thought you were using asciidoctor