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.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.1.zip (26.1 kB view details)

Uploaded Source

File details

Details for the file collective.js.blackbird-1.2.1.zip.

File metadata

File hashes

Hashes for collective.js.blackbird-1.2.1.zip
Algorithm Hash digest
SHA256 328b6c2401eafc14aecb96f786254ba76fc08438cf5851833488c1974499bb2f
MD5 23da1a20f35cfa2118bed57988d5136e
BLAKE2b-256 b66c0a008285849b1f56822f418748890e0383781581f3a4e9c57765e96e6eaa

See more details on using hashes here.

Supported by

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