Skip to main content

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.

Web: http://blackbirdjs.googlecode.com/

http://www.gscottolson.com/blackbirdjs/

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

collective.js.blackbird-1.2.2.tar.gz (18.3 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