Skip to content
#

ClojureScript

clojurescript logo

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...

ekkl
ekkl commented Jul 9, 2018
  1. Select theme with thick strip in line number block.
  2. Save and restart. Open some file. Нou see that the first characters of the lines are hidden under stripe.
  3. Open another file. All display properly.
  4. If you see carefully that the whole block with line numbers in the first case is shifted to the left.
    First file
    First file
Deraen
Deraen commented Apr 26, 2020

Currently Reagent has one shortcut to control how components are created:

  • :> as shortcut to adapt-react-class which in effect calls create-element and 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
poenneby
poenneby commented Apr 24, 2019

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 [[figwhee
jeroenvandijk
jeroenvandijk commented Apr 10, 2019

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"
alvinfrancis
alvinfrancis commented Jul 9, 2015

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

wolfgangshilei
wolfgangshilei commented Feb 3, 2019

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
martinklepsch
martinklepsch commented Jan 3, 2018

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
Engelberg
Engelberg commented Jan 26, 2016

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

torgeir
torgeir commented Jan 28, 2018

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

Created by Rich Hickey

Released July 20, 2011

Latest release 2 months ago

Repository
clojure/clojurescript
Website
clojurescript.org

Related Topics

clj clojure language
You can’t perform that action at this time.