Skip to main content

Fanstatic packaging of vanderlee/colorpicker

Project description

js.vanderlee_colorpicker

Introduction

This library packages vanderlee/colorpicker 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.vanderlee_colorpicker) are published to some URL.

The parsers and swatches are not included in the default resource colorpicker, but have their own resources (cmyk_parser, cmyk_percentrage_parser, swatches_crayola, swatches_pantone, swatches_ral), so remember to need() these explicitly if you want to use some of those features.

The translations are not included in this package (yet?).

How to use?

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

>>> from js.vanderlee_colorpicker import colorpicker
>>> colorpicker.need()

CHANGES

1.0.9-1 (2014-03-19)

  • Fix minified versions.

1.0.9 (2014-03-19)

  • Initial release.

Supported by

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