Skip to main content

BowerStatic integration for Morepath

Project description

more.static: BowerStatic integration for Morepath

more.static integrates BowerStatic into Morepath.

Also see Static resources with Morepath.

CHANGES

0.8 (2016-04-08)

  • Adjust to work with Morepath 0.13+ (and Dectate).

0.7 (2015-01-14)

0.6 (2014-11-15)

  • Use BowerStatic 0.7, which makes Tween-based integration much simpler.

  • There was a bug where references were injected but not actually properly published.

0.5 (2014-11-13)

  • It is no longer necessary to wrap the application with Bower using WSGI. Instead a tween is used. To migrate, simply replace the following:

    wsgi = bower.wrap(App())
    morepath.run(wsgi)

    With this:

    morepath.run(App())
  • Requires Morepath 0.8 and Bowerstatic 0.6.

0.4 (2014-11-03)

  • Adjust to handle Morepath 0.7 API changes concerning request construction.

0.3 (2014-09-08)

  • The 0.2 introduced a component method to obtain a component object and thus its URL. This didn’t turn out to be compatible with local components, so I’ve changed it to get_component instead:

    request.static_components.get_component('jquery').url()
  • Depend on version 0.4 of BowerStatic.

0.2 (2014-08-28)

  • Make available a static_components property on the request, which is a BowerStatic static components object. You can use this primarily to get the URL to a component, like this:

    request.static_components.component('jquery').url()
  • Depend on version 0.3 of BowerStatic.

0.1 (2014-07-07)

  • Initial public 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

more.static-0.8.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file more.static-0.8.tar.gz.

File metadata

  • Download URL: more.static-0.8.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for more.static-0.8.tar.gz
Algorithm Hash digest
SHA256 d217dcce7591e7bd71f6ec65af0732bc283fc03cba132823a7369f92f5db8158
MD5 283764f05cd286d520660461e2219544
BLAKE2b-256 679d0d5cb15e8a2ae099fe0471e284541885344459bddd1664901db9d4876ef4

See more details on using hashes here.

Provenance

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