Chouser, how usable is clojurescript to generate extremely simple
javascript calls? When creating HTML templates, I find myself using
ugly string interpolation to generate the .js. I would really love it
if I could do something like:
(clojurescript/str (swfobject/embedSWF "open-flash-chart.swf"
"my_chart", 500, 200, "9.0.0", false, {:data-file "/my/data"}))
turns into:
<script type="text/javascript">
swfobject.embedSWF("open-flash-chart.swf", "my_chart", "550", "200",
"9.0.0", "expressInstall.swf", {"data-file":"/my/data"});
</script>
There would be no complex code generation, just very simple function
calls being converted to javascript source.
I know this is a much lower bar than you've set out for, but at this
point, is all I need :-)
Allen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---