Last updated by admin 1 year ago
grails install-plugin blackbird
Last updated by nhammond101 1 year ago
Blackbird JavaScript Logging
This plugin provides the developer to access Blackbird logging resources.
This plugin is Resources compliant - http://www.grails.org/plugin/resources
Usage
Add the resources using one of the methods below.
In your javascript, add
log.toggle();
log.debug( message );
where message is your message to output.
log.toggle() is only required if the
Visible on page load checkbox isn't checked.
see
http://www.gscottolson.com/blackbirdjs/ for demos and usage suggestions, but generally there are two ways to implement:
1. In conjunction with Resources plugin
http://www.grails.org/plugin/resources
The bundle required to be added is blackbird or blackbird-dev
Use
blackbird-dev to show JS and CSS non-minified
2. Standalone
In the head section of your gsp page, add
Last updated by admin 1 year ago
Last updated by admin 1 year ago