Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (20 sloc) 2.024 kB
70f130f @eladmeidar readme
authored
1 "BlackBird":http://www.gscottolson.com/blackbirdjs/ offers a dead-simple way to log messages in JavaScript and an attractive console to view and filter them. Although most of us are already familiar with the FireBug <code>console</code>, BlackBird supplies us with an easy, simple and Cross Browser live console that is available upfront anytime you'd like.
d8e4ca9 @eladmeidar First Commit
authored
2
70f130f @eladmeidar readme
authored
3 "BlackBird_rails":http://github.com/eladmeidar/blackbird_rails is a plugin i created to simplify the integration of BlackBird into your rails applications, simply install it by invoking:
00c4ac5 @eladmeidar Damned textile.
authored
4 <pre>script/plugin install git://github.com/eladmeidar/blackbird_rails.git</pre>
d8e4ca9 @eladmeidar First Commit
authored
5
70f130f @eladmeidar readme
authored
6 and the required javascripts, stylesheets and images will be copied into your <code>public/</code> folder. Next thing you'll probably want to do is adding the <code>include_black_bird</code> snippet into your <code><head></code> block:
00c4ac5 @eladmeidar Damned textile.
authored
7 <pre><%= include_black_bird %>
70f130f @eladmeidar readme
authored
8 </pre>
d8e4ca9 @eladmeidar First Commit
authored
9
70f130f @eladmeidar readme
authored
10 Which will add the blackbird javascript and CSS tags. It's also important to point out, that the helper will only generate these tags when running the development environment, so you are hassle free regarding that matter.
02c40f2 @eladmeidar Now creating stubs for every other environment
authored
11 <del>you'll still be required to remove all <code>log.something</code> calls in your javascript source, otherwise IE is going to be mad at you. </del>
12 Now stubs are generated to prevent Javascript errors if you leave the <code>log</code> calls, note that if you change the namesspace, you'll have to manually edit the helper to use the right namespace
d8e4ca9 @eladmeidar First Commit
authored
13
70f130f @eladmeidar readme
authored
14 From this point on, you can use BlackBird exactly as the home page explains.
d8e4ca9 @eladmeidar First Commit
authored
15
70f130f @eladmeidar readme
authored
16 h4. Quick Tip
d8e4ca9 @eladmeidar First Commit
authored
17
70f130f @eladmeidar readme
authored
18 Drag this bookmartlets into your favorites toolbar and you'll be able to:
19
20 <ul>
21 <li><a href="javascript:log.clear();">clear</a></li>
22 <li><a href="javascript:log.move();">move</a></li>
23 <li><a href="javascript:log.resize();">resize</a></li>
24 <li>and <a href="javascript:log.toggle();">toggle</a></li>
25 </ul>
26
27 your BlackBird window anytime you'd like.
28
29
30 Copyright (c) 2009 Elad Meidar, released under the MIT license
Something went wrong with that request. Please try again.