pasties/pasties-js — pull request #12 by gregersrygg (2013-12-05 11:43:11+00:00)
Title: Remove isType methods from utility and use typeof instead

Next up in the utility cleanup is the isType methods. They only do a simple typeof check, and all of the type-checks we do are numbers, strings and functions, and they have no weird behavior as far as I know. Rewrote code to use typeof, deleted methods from utilities and associated tests.