Closed balupton closed 13 years ago
I'm not sure exactly what feature you're proposing to add here ... can you be a bit more specific?
Ohhh.. the script elements got removed from my post...
Is there a way for jammit to package inline scripts as well, eg.
I'm guessing the answer here would be to not use inline scripts if you want them packed?
Yeah ... the notion of an "inline script" doesn't really apply to Rails, I think ... because you're not writing in an inherently markup language. Stuffing JavaScript into strings isn't a great idea -- and is the whole point of Jammit having support for JavaScript templates.
Cool no worries then :-) Thanks for the help.
I'm coming from Zend Framework and using the bundlers found here: https://github.com/balupton/balphp/tree/master/lib/Bal/View/Helper
It supports adding script elements to your bundled js file too (so would add script('hello')\n to your bundle file - in order of course).