How to use?
===========

This should be setup before rendering a page. See `fanstatic`_ for more
information::

  >>> from fanstatic import init_needed
  >>> needed = init_needed(base_url='http://localhost')

You can import ``url_parser`` from ``js.url_parser`` and ``need`` it where you want
these resources to be included on a page::

  >>> from js.url_parser import url_parser
  >>> url_parser.need()

Render the inclusion::

  >>> print needed.render()
  <script type="text/javascript" src="http://localhost/fanstatic/url-parser/url-parser.js"></script>
