cal-smith / ajax.js

A little ajax library
MIT License
33 stars 3 forks source link

Remove extra typeof #6

Closed oculus42 closed 9 years ago

oculus42 commented 9 years ago

Typeof is not needed for named arguments or properties; you can use a direct comparison against undefined.

cal-smith commented 9 years ago

This is accurate, merging for 1.0.1.