DoctorMcKay / node-tf2

Simple module to interact with the TF2 game coordinator
https://www.npmjs.com/package/tf2
MIT License
54 stars 26 forks source link

Readme mismatch #11

Closed kjsmita6 closed 9 years ago

kjsmita6 commented 9 years ago

The delete function is defined in the readme as delete, but defined in the file as deleteItem. One of them needs to be renamed since it caused "undefined is not a function" errors.

DoctorMcKay commented 9 years ago

Looks fine to me?

https://github.com/DoctorMcKay/node-tf2#deleteitemitem https://github.com/DoctorMcKay/node-tf2/blob/master/index.js#L216

kjsmita6 commented 9 years ago

Hmm, maybe I was looking at something else, but I swear it said delete(item), and that's also what I had in my code from a long time ago. Oh well.