quangv/hulk-hogan — pull request #11 by christopherscott (2012-07-06 12:47:23+00:00)
Title: Fix for missing '_readFile' method: change to fat arrow for __express method

Previously, apps were crashing with 500 TypeError: Object # has no method '_readFile'. Artifact of refactor, where __express function was moved to a method on the 'HulkHogan' class. Since application authors hand over __express method to the framework, the 'this' value was being lost. Changing to a fat-arrow binds this to the HulkHogan instance, and a reference to @_readfile is restored.