I need https://www.npmjs.com/package/react-avatar-editor 
and https://www.npmjs.com/package/react-image-gallery for a CLJS project.

I followed the instructions here to start the 
package: https://github.com/cljsjs/packages/wiki/Creating-Packages
using this link for the first library 
above: https://unpkg.com/[email protected]/dist/index.js
and you can see 'AvatarEditor' as the namespace to use, IIUC.

There are 2 generators for externs, and I tried both:

Generator written in ClojureScript 
<https://github.com/jmmk/javascript-externs-generator>
Generate externs automatically 
<http://www.dotnetwise.com/Code/Externs/index.html>

and with both externs generators, I get this error:

ReferenceError: Can 't find variable: AvatarEditor
AvatarEditor is undefined!

I get the same error with the ImageGallery component above.

What am I missing?
I assume this is simple to work around, then I'll package the other library 
as well.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to