assaf/zombie — pull request #447 by nickbarth (2012-12-04 19:10:21+00:00)
Title: small documentation fix

Here's a small correction to some documentation and a comments. The comment describe the browser.fire function's parameters out of order.

````coffee
# zombie/lib/zombie/browser.coffee at line 399

# name - Even name (e.g `click`)
# target - Target element (e.g a link)
# callback - Wait for events to be processed, then call me (optional)
fire: (selector, eventName, callback)->
````

According to the use of all other events in browser.coffee the selector is the first parameter.

````coffee
# zombie/lib/zombie/browser.coffee at line 317

click: (selector)->
@fire(selector, "click")
return this
````

The API also describes the event name as being the first parameter.

````coffee
browser.fire(name, target, calback?)
````