How do I add my own JavaScript libs to ClojureScript?

我与影子孤独终老i 提交于 2019-12-04 01:21:59
FreeAgent

Take a look at this post from Luke Vanderhart: "Using JavaScript libraries in ClojureScript"

http://lukevanderhart.com/2011/09/30/using-javascript-and-clojurescript.html

Also, this video from Kevin Lynagh: "Extending JavaScript Libraries from ClojureScript"

http://www.youtube.com/watch?v=XfzXFWTT-z0

If I remember Rich Hickeys talk correctly the whole program optimization of the closure compiler needs any library code to adhere to certain coding conventions. I think he also said something of JQuery not doing this but Dojo doing this. I never did this but you might find some useful information here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!