AIM360/emscripten — pull request #2 by tobiasweibel (2013-02-07 14:27:32+00:00)
Title: Implement Firefox workaround for "TypeError: anonymous method called on incompatible string"

My theory: It seems that Firefox optimizes sometimes too hard and therefore 'value' in 'ccallFunc/toC' is some kind of unassigned. Then calling 'value.length' in the 'toC' throws an exception. With the 'typeof value' check we can workaround that problem.