brycecurtis/phonegap-simjs — pull request #2 by macdonst (2012-01-25 17:15:11+00:00)
Title: Fixing initEvent issue in FireFox

When you run SimJS in FireFox it was throwing a JavaScript error:

Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)"

This is because initEvent was only being called with one arguement which is the type of event. It was missing the cancellable and bubbleable parameters. Webkit based browsers do not require these values but FireFox does.

Also, can you give me more privileges so I don't need to keep doing pull requests and I can just apply my changes directly?