Hi, The externs file exists and it's in https://github.com/cljsjs/packages/blob/master/highcharts/resources/cljsjs/common/highcharts.ext.js
The thing is that it's in the wrong place. Instead of in highcharts/resources/cljsjs/common/highcharts.ext.js it should be in highcharts/resources/cljsjs/highcharts/common/highcharts.ext.js (missing highcharts between cljsjs and common). There's a big chance that fixing this will fix your issue :) On Tue, Jan 19, 2016 at 10:12 AM, Colin Yates <[email protected]> wrote: > Hi, > > In my project.clj I require cljs.highcharts and I include it in my namespace > and everything works great until I compile it using advanced, at which point > I get the infamous mangled name error, in non-advanced it works. > > This is almost certainly my ignorance but I assumed requiring the lib was > sufficient? Do I also have to add an explicit :externs directive to > cljsbuild? I looked in the cljjs/highcharts source code but couldn't find an > externs file. Is there a common convention as to where these things should > live? > > Thanks. > > https://github.com/cljsjs/packages/tree/master/highcharts > > -- > 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. -- 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.
