javascript,jquery,eval,jquery-mask
A better alternative may be to just pass a function to be executed instead that returns the method you are looking for or false. requires = { 0 : function () { return $ && $.fn && $.fn.mask; } }; Now, all you have to do is call requires[0]() to...