Get the Gist
posted by Chris
on Mar 08, 2012 at 22:50
I've just pushed another mini-project onto github, cfgist
cfgist pulls a gist's .js file from github and then uses the Rhino javascript engine to execute the javascript that is normally run in the browser on the server side, outputting the html to the page.
This might be useful if you want to load page fragments with ajax or similar when <script> tags wouldn't be executed, or you're outputting to a medium that doesn't support javascript like <cfpdf>
Enjoy!
Categories:
Comments