ariya/phantomjs — pull request #339 by JamesMGreene (2012-11-06 19:04:14+00:00)
Title: Added a Function type verification to the WebPage callback setter.

Added a type verification check to the WebPage module's `definePageCallbackSetter` function to ensure the handler passed in is a function.

http://code.google.com/p/phantomjs/issues/detail?id=858