semvec/pypi-packages huggingface dataset:
js.q 1.0.1
Fanstatic packaging of q
License: BSD
Keywords: fanstatic js javascript q

js.q
****

Introduction
============

This library packages `q`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`q`: http://documentup.com/kriskowal/q/

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.q``) are published to some URL.


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 ``q`` from ``js.q`` and ``need`` it where you want
these resources to be included on a page::

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

Render the inclusion::

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

CHANGES
*******

1.0.1 (2014-09-02)
===============================

- Initial release.
js.url_parser 1.1.0
Fanstatic packaging of url-parser
License: BSD
Keywords: fanstatic js javascript url parser

js.url_parser
*************

Introduction
============

This library packages `url-parser`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`url-parser`: https://github.com/MadeByMike/url-parser

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.url_parser``) are published to some URL.


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>

CHANGES
*******

1.1.0 (unreleased)
===============================

- Initial release.