Fork me on GitHub
#cljsjs
<
2018-02-26
>
jannis11:02:51

Hello there! I’m trying to package zen-observable for cljsjs, but even if I add :module-type :commonjs to the :foreign-libs entry, the following file isn’t transformed for the browser and thus, fails to load with Uncaught ReferenceError: exports is not defined at zen-observable.inc.js:3: https://unpkg.com/[email protected]/lib/Observable.js (this is downloaded and sifted to zen-observable.inc.js). Is this expected to work?

jannis11:02:27

Nevermind. What I’m really trying to do is package zen-observable-ts (required for Apollo) and that uses zen-observable ^0.7.0, maybe for this very reason.

frozenlock16:02:11

I'm trying to create the package for react-infinite-tree, but at the externs generation I can't load the js into the generator. (https://unpkg.com/[email protected]/dist/) I get "Uncaught ReferenceError: exports is not defined"

frozenlock16:02:34

Am I missing a dependency (other than react), or is it something else?

frozenlock16:02:57

I'm assuming distribution files on http://unpkg.com are compiled for browsers... is that wrong?

jmckitrick17:02:17

Hi all. Does anyone know of any React avatar editors and/or gallery editors easily usable within Reagent/Clojurescript?

jmckitrick17:02:37

If not, I’m willing to help import 2 of them, thought I’ve not done it before.

jmckitrick18:02:28

Running it through the jmmk externs generator with AvatarEditor gives a ‘namespace not found’ error

alpheus20:02:56

when a pull request is approved, is it then installed on clojars?