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

What libraries are available? #10

Open
DarrenN opened this issue Dec 5, 2013 · 3 comments
Open

What libraries are available? #10

DarrenN opened this issue Dec 5, 2013 · 3 comments

Comments

@DarrenN
Copy link
Contributor

DarrenN commented Dec 5, 2013

Trying to load jayq with:

(ns DarrenN.external-js
  (:require [jayq.core :as j]))

And getting: Uncaught Error: goog.require could not find: jayq.core

Is there a list of which libs are available to CLJSFiddle?

@jonase
Copy link
Owner

jonase commented Dec 5, 2013

Not well documented. Basically the cljs libraries that are found in project.clj:

and maybe a few others... I can add libraries that people like but jayq might be tricky because of the jquery dependency.

@DarrenN
Copy link
Contributor Author

DarrenN commented Dec 5, 2013

Ah thanks, that's very helpful - I wasn't sure how you were handling on the server side. My buddy @saolsen came up with a hack to pull in jQuery (http://cljsfiddle.net/fiddle/saolsen.external-js) straight into the browser.

@rundavidrun
Copy link

I'm trying to use goog.events and I'm getting "goog.require could not find: goog.events.EventHandler" Any thoughts on why this might happen?

Actually, now that I've looked into it, it appears that this require is causing the issue.
[goog.graphics :as graphics]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants