skip to navigation
skip to content

js.sugar 1.1.3

Fanstatic packaging of Sugar

js.sugar

Introduction

This library packages Sugar 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.sugar) are published to some URL.

Usage

from js.sugar import sugar

sugar.need()

How to use?

You can import XXX from js.sugar and need it where you want these resources to be included on a page:

>>> from js.sugar import XXX # XXX fix this test
>>> XXX.need()

CHANGES

1.1.3

  • Initial release.
 
File Type Py Version Uploaded on Size
js.sugar-1.1.3.zip (md5) Source 2012-01-17 27KB