js.foutbgone
************
Introduction
============
This library packages `FOUT-B-Gone`_ for `fanstatic`_.
.. _`fanstatic`: http://fanstatic.org
.. _`FOUT-B-Gone`: http://www.extensis.com/en/WebINK/fout-b-gone/
This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.foutbgone``) are published to some URL.
How to use?
===========
You can import FOUT-B-Gone from ``js.foutbgone`` and ``need`` it where you want
these resources to be included on a page::
>>> from js.foutbgone import foutbgone
>>> foutbgone.need()
There is also an init available which renders the initialization into the HTML::
>>> from js.foutbgone import foutbgone_init
>>> from fanstatic import NeededResources
>>> needed = NeededResources()
>>> needed.need(foutbgone_init)
>>> print needed.render()
<script type="text/javascript" src="/fanstatic/fout-b-gone/foutbgone.js"></script>
<script type="text/javascript">fbg.hideFOUT('asap');</script>
CHANGES
*******
0.1 (2011-07-20)
================
- Initial release.
************
Introduction
============
This library packages `FOUT-B-Gone`_ for `fanstatic`_.
.. _`fanstatic`: http://fanstatic.org
.. _`FOUT-B-Gone`: http://www.extensis.com/en/WebINK/fout-b-gone/
This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.foutbgone``) are published to some URL.
How to use?
===========
You can import FOUT-B-Gone from ``js.foutbgone`` and ``need`` it where you want
these resources to be included on a page::
>>> from js.foutbgone import foutbgone
>>> foutbgone.need()
There is also an init available which renders the initialization into the HTML::
>>> from js.foutbgone import foutbgone_init
>>> from fanstatic import NeededResources
>>> needed = NeededResources()
>>> needed.need(foutbgone_init)
>>> print needed.render()
<script type="text/javascript" src="/fanstatic/fout-b-gone/foutbgone.js"></script>
<script type="text/javascript">fbg.hideFOUT('asap');</script>
CHANGES
*******
0.1 (2011-07-20)
================
- Initial release.
Release files for js.foutbgone 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| js.foutbgone-0.1.tar.gz | 10.7 kB | Details |
Release files / js.foutbgone-0.1.tar.gz
| Download URL | js.foutbgone-0.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ecaefb63b9faa49eb74618387bceeaea50365a8371c8e3e98a8faaf5d2df28b
|
|
BLAKE2b-256 checksum How to use checksums |
6af2e28a0e0e2c15ca7cc958bfd9850d04f571cf6b11f8c9e5fe57493f967cc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |