BoolNordicAB / sharepoint-utilities

Makes client side SharePoint a bit nicer to work with (that's the plan, at least)
https://boolnordicab.github.io/sharepoint-utilities/doc/index.html
MIT License
14 stars 3 forks source link

Document checkFile #25

Closed joladev closed 9 years ago

joladev commented 9 years ago

Needs documentation and better variable names (checkFile also not great name)

https://github.com/BoolNordicAB/sharepoint-utilities/blob/master/src/sputils.list.js#L57

roobie commented 9 years ago

I agree it needs more documentation. However I think the name is good because the usage is:

checkFile('in', url).then(...

ie. I think it reads fine when used. But more doc solves that, yes?

roobie commented 9 years ago

All right, I'll make it so:

sputils.list.files.checkIn(url) // => Promise;
sputils.list.files.checkOut(url) // => Promise;