by rduchnik · 14y ago · 0 comments
$.fn.wTooltip = function(option, settings) $("blah").wTooltip(new String("color"));
In my recent jquery plugin I considered doing a typeof check myself but decided against it since it was too brittle. I instead checked to see if the options was === what I expected it to be first.