<div dir="ltr">Hi Victor,<div><br></div><div>When you will have time, could you answer me. I think it should be good</div><div><br></div><div>1) to have a separate github for cordovajs (ex : tern-cordovajs project name).</div>
<div>2) It should be cool to have several version of cordovajs (generated from documentation).</div><div><br></div><div>Many thank&#39;s for your answer.</div><div><br></div><div>Regard&#39;s Angelo</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-06-16 9:18 GMT+02:00 Angelo zerr <span dir="ltr">&lt;<a href="mailto:angelo.zerr@gmail.com" target="_blank">angelo.zerr@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-15 9:51 GMT+02:00 Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>&gt;</span>:<div class="">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">sorry for late response but been on on 2 weeks vacation did bad things to my inbox ;)</blockquote><div><br></div></div>
<div>No problem max, I know this problem:) </div><div class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br></div>
I was wondering - is there a way (at code level) to distinguish between<br>
json type definitions that are automatically enabled by some plugin<br>
because it has detected the use of i.e. cordova.js vs something the<br>
user explicitly enabled ?<br>
<br>
Would be nice to allow users to explicit say I want *this* even though<br>
a plugin haven&#39;t been able to detect the library  matching it. If there<br>
is just one kind of On/Off then the plugin can&#39;t know if turning it off<br>
is against the users will or just because he stopped using the related<br>
javascript library.<br>
<br>
wdyt ?</blockquote><div><br></div></div><div>I&#39;m sorry but I don&#39;t understand very well what you mean. Tern plugin doesn&#39;t use the native javascript library,</div><div>so he can work without the javascript library. JSON Type definition is a JSON which describes the structure of your library</div>

<div>(document has getElementById method, etc). Some JS framework like jQuery can be described just with this JSON.</div><div><br></div><div>tern plugin uses JSON Type Definition and add some feature like managing a new scope per file (usefull for node.js plugin),managing effect (create an instance of FileSystem when require(&#39;fs&#39;) is called).  </div>
<div class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
1) if you wish to change some information about description of cordova<br>
metadata, etc don&#39;t hesitate to create PR.<br>
</blockquote>
<br></div>
I think it looks fine.</blockquote><div><br></div></div><div>Cool. </div><div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2) I think it should be better to create a github for the cordova tern<br>
plugin<br>
</blockquote>
<br></div>
You mean a separate git repo ? </blockquote><div><br></div></div><div>Exactly!</div><div class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, makes sense to me too. Actually thought<br>


that was you and Victor wrote earlier would happen.<br>
<br>
Victor - anything besides finding time to do it preventing us from putting this in a separate github repo ?<br>
<br>
btw. I assume you during the build of tern will then fetch the content of the github repo </blockquote><div><br></div></div><div>I do that at hand because :</div><div><br></div><div>1) I have just discovered that we can have submodule with Git.</div>

<div>2) I have forked angular.js, so I don&#39;t know very well how I can manage that with fetch.</div><div class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and bundle it<br>

or does it require network access at runtime to get it ?</blockquote><div><br></div></div><div>No it doesn&#39;t work like this (perhaps in the future of tern.java, using npm could be interested to update the tern plugin).</div>
<div class="">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) do you know if cordova  provides some api to generate doc? YUI,<br>
DojoToolkit do that, so after it&#39;s easy to create version of the tern<br>
cordova tern plugin like I have done for dojo<br>
<a href="https://github.com/angelozerr/tern.dojotoolkit" target="_blank">https://github.com/angelozerr/<u></u>tern.dojotoolkit</a> (I generate several version<br>
of dojotoolkit by using sources of dojo, if you are interested, I could<br>
help you to do that).<br>
</blockquote>
<br></div>
I do not know about this. Maybe Gorkem does ?<br></blockquote><div><br></div></div><div>It should be really cool to do that in order to provide several version of cordova.js. I have an idea too, to provide a wizard kind to generate tern plugin version from sources.</div>

<div><br></div><div>Regards Angelo </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
/max<br>
<a href="http://about.me/maxandersen" target="_blank">http://about.me/maxandersen</a><br>
</blockquote></div><br></div></div>
</blockquote></div><br></div>