Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install js.foutbgone

How to install js.foutbgone

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install js.foutbgone
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1 Available View build log
Windows (64-bit)
0.1 Available View build log
Mac OS X (10.5+)
0.1 Available View build log
Linux (32-bit)
0.1 Available View build log
Linux (64-bit)
0.1 Available View build log
 
License
BSD
Dependencies
Imports
Lastest release
version 0.1 on Jul 21st, 2011

js.foutbgone

Introduction

This library packages FOUT-B-Gone for fanstatic.

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>

System Message: WARNING/2 (<string>, line 36)

Literal block ends without a blank line; unexpected unindent.

CHANGES

0.1 (2011-07-20)
  • Initial release.

Subscribe to package updates

Last updated Jul 21st, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.