Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add def behaviour to goog-define #1067

Closed
danielcompton opened this issue Sep 15, 2015 · 1 comment
Closed

Add def behaviour to goog-define #1067

danielcompton opened this issue Sep 15, 2015 · 1 comment
Labels
new Marks issues describing new features released Marks issues which have had the fixes released in a stable build
Milestone

Comments

@danielcompton
Copy link
Collaborator

goog-define was added in ClojureScript 1.7.48 and has def style behaviour. It would be nice if this defined symbols in Cursive like a def does. More details on it's usage is in http://www.martinklepsch.org/posts/parameterizing-clojurescript-builds.html.

@olivergeorge
Copy link

This would be nice.

A workaround to avoid the angry highlighting is to do the declare manually...

(declare api-uri)
(goog-define api-uri "http://your.api.com")

@cursive-ide cursive-ide modified the milestones: 1.9.2, 1.9.2-eap1 Apr 18, 2020
@cursive-ide cursive-ide added the new Marks issues describing new features label Sep 22, 2020
@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Marks issues describing new features released Marks issues which have had the fixes released in a stable build
Projects
None yet
Development

No branches or pull requests

3 participants