lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
anmonteiro 2017-07-23T18:31:16.838198Z

@moxaj just merged your Closure libs PR

anmonteiro 2017-07-23T18:32:43.845981Z

the CLJS compiler also allows directory entries in :libs though, so I’m not going to close the issue just now

anmonteiro 2017-07-23T18:32:48.846397Z

left a comment: https://github.com/anmonteiro/lumo/issues/210#issuecomment-317272589

anmonteiro 2017-07-23T18:32:55.846915Z

happy to take a patch for that as well

moxaj 2017-07-23T18:42:11.893793Z

@anmonteiro wasn't aware of that, i'll take a look! Only files directly in that directory should be indexed, right?

anmonteiro 2017-07-23T18:42:35.895849Z

@moxaj any file, even in deeply nested directories

anmonteiro 2017-07-23T18:42:49.896897Z

goog.require declarations don’t need to match directory structure

moxaj 2017-07-23T18:43:02.897977Z

I see

anmonteiro 2017-07-23T18:43:18.899338Z

goog.string is in goog/string/string.js

anmonteiro 2017-07-23T18:43:35.900609Z

and it also provides goog.string.Unicode

anmonteiro 2017-07-23T18:43:45.901409Z

even though there’s no Unicode folder or file 🙂

anmonteiro 2017-07-23T19:21:44.093458Z

@moxaj will review later, but you can’t js/require in src/cljs/snapshot/lumo/...

moxaj 2017-07-23T19:22:02.094941Z

whoops

anmonteiro 2017-07-23T19:22:16.096159Z

because of the snapshot, V8 doesn’t know what require is at that point

anmonteiro 2017-07-23T19:22:38.097879Z

we probably have js/$$LUMO_GLOBALS.fs or something

anmonteiro 2017-07-23T19:22:42.098200Z

check it out

moxaj 2017-07-23T19:23:02.099749Z

oh, we have both fs and path

moxaj 2017-07-23T19:23:06.100006Z

updating

anmonteiro 2017-07-23T19:23:06.100043Z

yeah, use that

anmonteiro 2017-07-23T19:23:08.100224Z

👍

anmonteiro 2017-07-23T19:23:16.100738Z

I’ll take a more thorough look later

anmonteiro 2017-07-23T19:23:16.100816Z

thanks!