A Plone add-on package that provides Blackbird.js, an Open-Source Javascript logging utility.
Project description
Introduction
Blackbird is an open source javascript logging facility written by G Scott Olson and released under the MIT License.
Please read Scott’s website for instructions on how to use the logging functionality.
This Plone compatibility egg provides the following functionality:
Registers the JS file Blackbird.js in portal_javascripts. This file will only be loaded if your portal_javascripts tool is in debug mode.
Additionally I’ve added another file Blackbird_disabled.js that is loaded when portal_javascripts is not in debug mode and which overrides Blackbird’s ‘log’ namespace with empty functions. This allows you to safely leave log statements in your javascript even though Blackbird.js is not being loaded.
Registers Blackbird.css to style the logging prompt.
Registers a viewlet for IBelowContent that enables you to toggle the logging prompt’s visibility and position.
Changelog
1.2.2 (2011-01-18)
Add breaks after the log statements. [jcbrand]
CSS fix so that background images are visible. [jcbrand]
1.2.1 (2010-05-21)
Add blackbird.js after jquery.js so that it is higher than other js files. [jcbrand]
1.2 (2010-01-28)
Don’t register own skin-path. [jcbrand]
1.1 (2010-01-27)
Use the @@kss_devel_mode class instead of JSRegistry.getDebugMode as the latter is protected. [jcbrand]
1.0 (2010-01-27)
Initial release [jcbrand]
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
Hashes for collective.js.blackbird-1.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0554c84aa059cf06b72ef1ca927aa0b7e55b548b7b5da07eeb7756dd1b0d1a |
|
MD5 | c8a447dd9f1996e4a17c5fb3ed945bc9 |
|
BLAKE2b-256 | a4f086e9c6d223f6e7ff506ac4f566ad06195ce6eb7db1e131d6e5ee4c2657b6 |