fanstatic smoke.js.
Project description
js.smoke
Introduction
This library packages smoke.js for fanstatic.
This requires integration between your web framework and fanstatic, and making sure that the original smoke.js is published to some URL.
How to use?
You can import smoke_js from js.smoke and need it where you want these resources to be included on a page:
>>> from js.smoke import smoke_js >>> smoke_js.need()
You can optionally specify which theme you want to use, where the default theme is included when you do not specify a theme:
>>> from js.smoke import smoke_js, css, theme_100s, theme_dark, theme_tiger >>> smoke_js.need() # use default theme >>> smoke_js.need({css: theme_100s}) >>> smoke_js.need({css: theme_dark}) >>> smoke_js.need({css: theme_tiger})
CHANGES
0.1 (2013-03-08)
first release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
js.smoke-0.1.zip
(17.4 kB
view details)
File details
Details for the file js.smoke-0.1.zip
.
File metadata
- Download URL: js.smoke-0.1.zip
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155a2e534b06942d1b472513ab956485b267a450d290ab3bb8b45850bd21394a |
|
MD5 | 136039051a28c910f2d651e9f10d5bd2 |
|
BLAKE2b-256 | 467643fedb11b4a2f30efb94aa99bfeeaf1b0cdbcf0be37739bc238dd3ac7ad0 |