Skip to main content

Fanstatic packaging of Sugar

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js.sugar-1.1.3.zip (27.7 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