Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

StaticJavascripts now accepts keyword arguments for StaticURLParser

Suggested by Marcin Kasperski

branch : trunk
  • Loading branch information...
commit 2e959819bec0e8b02159efe4a3e233164c553dfe 1 parent 3c194cd
@pjenvey pjenvey authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  CHANGELOG
  2. +2 −2 pylons/
@@ -7,6 +7,8 @@ Pylons Changelog
* The --with-pylons nose plugin no longer requires a project to have been
registered with setuptools to work.
* The config object is now included in the template namespace.
+* StaticJavascripts now accepts keyword arguments for StaticURLParser.
+ Suggested by Marcin Kasperski. (September 27th, 2007)
* Fixed validate decorator to resume pre-0.9.6 behavior of only validating
4 pylons/
@@ -23,9 +23,9 @@ class StaticJavascripts(object):
Triggered when PATH_INFO begins with '/javascripts/'.
- def __init__(self):
+ def __init__(self, **kwargs):
self.javascripts_app = \
- StaticURLParser(os.path.dirname(javascript_path))
+ StaticURLParser(os.path.dirname(javascript_path), **kwargs)
def __call__(self, environ, start_response):
if environ.get('PATH_INFO', '').startswith('/javascripts/'):
Please sign in to comment.
Something went wrong with that request. Please try again.