Skip to content

Commit

Permalink
JST: Include standard template function by default.
Browse files Browse the repository at this point in the history
Recent commits broke this.
  • Loading branch information
miracle2k committed Feb 10, 2012
1 parent ec17295 commit d3545ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/webassets/filter/jst.py
Expand Up @@ -25,7 +25,8 @@ class JSTFilter(Filter):

def setup(self):
super(JSTFilter, self).setup()
self.include_jst_script = (self.template_function == 'template')
self.include_jst_script = \
(self.template_function == 'template') or not self.template_function
self.templates = []

def input(self, _in, out, source_path, output_path):
Expand Down

0 comments on commit d3545ba

Please sign in to comment.