cljsjs

flyboarder 2017-11-28T01:53:04.000078Z

@juhoteperi hey I have a question, I am looking to bundle angular2+ for cljsjs but I have no idea how to go about that, any pointers?

juhoteperi 2017-11-28T07:09:32.000062Z

@flyboarder No, not really. Haven't looked at Angular 2 at all so I have no idea how it is built.

gklijs 2017-11-28T07:13:07.000188Z

@flyboarder from what I understood about angular 2+ it that’s it’s kind of an all-or-nothing thing. Meaning you either use all of angular, including build tools, or not att all. It’s not like angular 1 which can be easily mixed with other things.

maleghast 2017-11-28T12:38:51.000216Z

Anyone in here using LeafletJS through cljsjs? I am trying to use L.geoJSON to create a country boundary and it’s working in development mode, but when I go to Production and use advanced compilation I am getting a JavaScript error… I’ve had a look at the externs defined for the package and I can see a section that appears to be telling Closure to ignore / not munge geoJSON, but I don’t really know what I am looking for - ClojureScript newbie and way out of touch with JavaScript in its vanilla / basic form. Can anyone help at all..?

maleghast 2017-11-28T12:39:23.000230Z

(I am assuming that it’s my use of L.geoJSON that’s the problem as all my ogther Leaflet “stuff” works under advanced compilation)