cocos2d/cocos2d-html5 — pull request #2210 by MQuy (2014-09-01 05:08:51+00:00)
Title: Consider using function to check type of variable

I think we should use function to check type of variable like underscore or lodash do to make it more flexible or easier to test