phonegap/phonegap-plugins — pull request #602 by chaoszcat (2012-06-06 07:51:21+00:00)
Title: "undefined" and undefined is different man

When options is omitted, basically the whole "if" block will not be ran and hence the failure.