Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
missing mention of a jquery dependency #19
Oops, you're right; jQuery (or zepto/src/ajax.js) is extremely heavyweight for this library; I've been meaning to replace it with
I can remove the
hmm, the unit tests in test/index.html load jQuery 1.8+ using just a
Are you using the
I was reading through
This library was created to "Make Textbooks using only GitHub". I've got a blog post about it at http://philschatz.com/2013/06/03/github-bookeditor/ with links to demos and more recent work is being done by http://kefletcher.blogspot.com (screenshots and such).
with forced sync loading octokit.js seems to work, but I get a 422 error when trying to actually remove files in a branch. Initially I kept getting a
examining the network tab, the full response is
(I kept getting this error on the github.js that you forked from, too... is this a new thing in the API v3 that requires a code update?)
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Thanks for the detailed description!
GitHub v3 requires you to pass in the sha of the file you plan to remove. #20 allows an optional sha (so you don't accidentally goof up and remove a file that was changed in the meantime) but defaults to the latest sha.
Try it out and I'll probably merge #20 and bump the version tomorrow ; )