jamesflorentino/nanoScrollerJS — pull request #17 by kristerkari (2011-12-28 23:04:07+00:00)
Title: fix compatibility with Firefox 3.0-3.6

Firefox 3.6 is giving this exception:
uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://jamesflorentino.com/jquery.nanoscroller/javascripts/jquery.nanoscroller.js :: anonymous :: line 98" data: no]

It can be fixed by adding the "optional" false parameter to EventListeners. There is a note on Mozilla Developer Network page:
"Note: useCapture became optional only in more recent versions of the major browsers; for example, it was not optional prior to Firefox 6. You should provide that parameter for broadest compatibility."

Tested with FF 3.0 and 3.6 + other browsers.