skip to navigation
skip to content

collective.js.blackbird 1.2.2

A Plone add-on package that provides Blackbird.js, an Open-Source Javascript logging utility.

Downloads ↓

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]
 
File Type Py Version Uploaded on Size # downloads
collective.js.blackbird-1.2.2.tar.gz (md5) Source 2011-01-18 17KB 647