Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gen_tags option to render_js and render_css.
This patch adds a second argument to render_js and render_css called $options. This can be expended in future, but for now you can specify a single key, 'gen_tags'. With this set to false, render_* will return an array of the filenames / file contents (depending on the inline setting), instead of generating the tags itself. Backwards compatibility with the old second argument to render_*, $inline, is retained. Closes #14
- Loading branch information
Showing
1 changed file
with
78 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters