kpdecker/jsdiff — pull request #5 by NV (2011-10-09 19:28:21+00:00)
Title: Make oldHeader and newHeader optional

createPatch(fileName, oldStr, newStr, oldHeader, newHeader)

The last two arguments should be optional.