extern file for closure

extern file for closure

Hello,

I'm a total javascript and JQuery beginner

In order to use this JQuery plugin http://amsul.ca/pickadate.js/ with a clojurescript framework called Hoplon, it should be available in here http://cljsjs.github.io/

In order for it to make  into cljsjs/packages I need to write an exten file

I need help with that because I can't read javascript so I don't know which symbol is relevant to this extern thing

Here's my attempt
https://github.com/humanitiesNerd/packages/blob/master/pickadate/resources/cljsjs/common/pickadate.ext.js

It doesn't work (pickadate is undefined; maybe I'm running into this https://github.com/amsul/pickadate.js/issues/708  ?)

And here's an example of a JQuery plugin successfully ported into cljsjs/packages
https://github.com/cljsjs/packages/blob/master/jquery-daterange-picker/resources/cljsjs/common/jquery-daterange-picker.ext.js

Any hint appreciated