Skip to main content

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

This version

0.1

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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page