Open BorisVSchmid opened 7 years ago
@jimlar @tkataja Could either of you help me? The hints left about how to generate an extern file in the highcharts package said to set Highcharts.win to null in the browser console, but I might be missing something obvious (not familiar with javascript), as I get an error when I set Highcharts.win to null in the browser console (I am trying to generate a Highmaps package).
Highcharts.win = null VM413:1 Uncaught ReferenceError: Highcharts is not defined at <anonymous>:1:1
Also, do you set Highcharts.win before or after you Extern! the js file in http://jmmk.github.io/javascript-externs-generator/ ?
Latest version is available at http://code.highcharts.com/maps/highmaps.src.js (they are now at 5.0.7)
I tried following the instructions to generate the extern myself using http://jmmk.github.io/javascript-externs-generator/, but I get an error message
Looking at console, I see this:
but then I am stuck. There is a hint in the package cljsjs/highcharts that the author uploading that one to cljsjs needed some tricks to avoid a stack overflow as well, but I am not familiar enough with the console to understand what he did:
https://github.com/cljsjs/packages/blob/master/highcharts/resources/cljsjs/highcharts/common/highcharts.ext.js :
Any hints or anyone adding the package highly appreciated!