Skip to content

Commit

Permalink
Fixed syntax error in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fiorato committed Jan 21, 2009
1 parent 9eb378d commit 97a96a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ max_showing = The maximum number of growls to show at one time.
Then when you'd like the Growl window to appear:

<script type="text/javascript" language="javascript">
Growl.show({image_path:"/images/download.png", title:"Foo Bar.pdf", message:"File is ready for download.");
Growl.show({image_path:"/images/download.png", title:"Foo Bar.pdf", message:"File is ready for download."});
</script>

Growl.show method takes a single hash as an argument. The hash can have the following keys:
Expand All @@ -52,7 +52,7 @@ message - the growl message
To handle the 'click' event from the Growl, you can do the following:

<script type="text/javascript" language="javascript">
var growl_id = Growl.show({image_path:"/images/download.png", title:"Foo Bar.pdf", message:"File is ready for download.");
var growl_id = Growl.show({image_path:"/images/download.png", title:"Foo Bar.pdf", message:"File is ready for download."});

document.observe(growl_id + ':clicked', function(event) {
console.log('Growl %s was clicked.', Event.findElement(event).id);
Expand All @@ -67,4 +67,4 @@ Jim Fiorato -- http://www.writebetterbits.com
Original implementation

Contributors
============
============

0 comments on commit 97a96a6

Please sign in to comment.