ClojureScript
ClojureScript is a compiler for Clojure that targets JavaScript. It emits JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler. ClojureScript combines the reach of the JavaScript platform, the flexibility and interactive development of Clojure, and the whole-program optimization of Google Closure to provide the most powerful language for programming the web.
Here are 1,365 public repositories matching this topic...
Based on a conversation in Slack, we should add something to the docs to avoid using subscribe inside JS event handlers such as :on-click.
I would lean towards a separate FAQ entry, but it is very similar to How can I use a subscription in an Event Handler and could probably be added there instead.
Currently Reagent has one shortcut to control how components are created:
:>as shortcut toadapt-react-classwhich in effect callscreate-elementand converts the Cljs properties to JS object (doesn't wrap the component in Reagent implementation, so Ratoms won't work inside these components):<>isn't really shortcut, but just special element
I want to add two more:
- Shortc
Might save some time finding typos
[:find ?day ?meal
:where [?day :day/dailies ?daily]
[?dayily :daily/meal ?meal]]
Expected output:
WARN '?daily', '?dayily' are only referenced once, possible typo? Or consider replacing them with '_'.
Documentation?
Create a bot that watches and archives specified public channels in Status and makes it searchable
User Story
To be able to see the history of the channels (anonymized though), we need a bot that will listen in to a set of public channels and writes their content in a DB. We also need a full-text search in the archive in the same bot.
Imagine http://offsite.chat/html, but on steroids.
Hello!
I recently tried to setup REPL driven dev with Vim and while following your wiki entry I ran into some problems with library versions.
Below is the configuration that made it work for me:
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
:profiles
{:dev
{:dependencies [[figwheeCurrently It's really cumbersome to discover how to tweak the KLISPE APP.
There are a couple of hotkeys and url parameters documented here: http://blog.klipse.tech/clojure/2016/03/27/klipse-manual.html
Here are a couple of ideas - given by @pesterhazy how to do that:
- Like github.com narrow top bar
- Like reddit.com tab-like rider
- Like this
If I wanted to specify ClojureScript dependencies, the following snippet would suffice.
#!/bin/sh
"exec" "lumo" "-c" "tools.cli-0.3.7.jar" "$0" "$@"
I think we should document this somewhere in this project.
How can I specify npm dependencies in a clojurescript script? Can it be documented, too?
In Node (and React-native) the WebSocket constructor can take additional parameter which can set the HTTP request options for the initial request. This can be used to set headers etc.
https://github.com/theturtle32/WebSocket-Node/blob/master/docs/W3CWebSocket.md#constructor
https://github.com/facebook/react-native/blob/29fb2a8e90fa3811f9485d4b89d9dbcfffea93a6/Libraries/WebSocket/WebSocket.js#L
Not sure if it is the multiline or not, but when you try to execute the example commands of Github when creating a repo this fails in Closh:
echo "# adgoji-shell-scripts" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:millmobile/adgoji-shell-scripts.git
git push -u origin master
=>
echo "# adgoji-shell-scripts"
A failing documentation search causes the 'No articles found matching "failing-string"' text to appear. However, succeeding failing searches does not cause the "failing-string" to update in the text. Consequently, there is no feedback on the search status of the new failing string.
Instead of building the search-results components with query as part of :opts, the last submitted query coul
Environment:
[garden "1.3.6"]
[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.10.238"]
Problem:
garden.def/defcssfn does not function as documented.
Details:
Expected results (as documented):
(defcssfn url)
;; => #'user/url
(url "http://fonts.googleapis.com/css?family=Lato")
;; => #garden.types.CSSFunction{:function "url", :args "http://fonts.googlea
-
Updated
Dec 26, 2019 - Clojure
Even if you are planning to show pages as a tree structure, the Sitemap panel should be renamed. Sitemaps are very different things. I guess the icon should also be changed at the same time. The position of the project name coud be improved as well.
Something like this?
-
Updated
Jun 3, 2020 - Clojure
Currently most of the examples in the README expect something after the /. Given that matching the "empty path" is a very common scenario users will want to accomplish it could be documented more prominently. I don't have more than anecdotal data on this but I'd expect that it is also often a source of confusion.
(def my-routes ["/" {"" :index ; I'm not even sure if this is correc-
Updated
Jul 4, 2020 - Clojure
-
Updated
Mar 10, 2020
-
Updated
Jun 24, 2020 - JavaScript
For example, right now, I'm interested in getting my hands on an up-to-date set of externs for the phaser library. My understanding is that there are a variety of tools which automate the process of generating externs, but the generated file is not guaranteed to be complete, and sometimes, additional externs must be added by hand.
The issue I see is that someone already went through this process
-
Updated
Jun 18, 2020 - Clojure
Do feel free to shoot this down if this is not an issue with dirac, rather some of the other dependencies, a combination, or a too complex setup to dig into
In an attempt to see how good of a cljs stack I could come up with, I was trying out dirac in combination with a few other tools along with boot; dirac, boot-cljs-devtools, boot-cljs-repl, boot-cljs, boot-http, boot-reload
This branch
Swagger feature docstring (and spec?) places tags on route-data root:
https://github.com/metosin/reitit/blob/master/modules/reitit-swagger/src/reitit/swagger.cljc#L55
Examples place tags key under swagger:
https://github.com/metosin/reitit/blob/master/examples/ring-swagger/src/example/server.clj#L30
Both seem to generate proper swagger.json, but first one fails spec validation. Why? Sp
-
Updated
Sep 12, 2019 - Clojure
How to reproduce
Navigate to "Become a Freelancer"
Generated URL is http://localhost:6500/me/sign-up?tab=candidate
Navigate back to Home Page
Click on "Become a Freelancer" again
Generated URL is http://localhost:6500/me/sign-up?tab=candidate?tab=candidate
Navigate to any other URL, and it maintains the query parameters.
Note that th
This should be in docs or at least in the unfinished manual. I keep forgetting how to do that and always go to this issue to relearn. Also for others and future self all the setting names can be found in the config-schema.json file. For example.
Created by Rich Hickey
Released July 20, 2011
Latest release 2 months ago
- Repository
- clojure/clojurescript
- Website
- clojurescript.org


First file