fixed missing API functions declaration in API ; fixed a typo in APIHandler.

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
This commit is contained in:
Bernard `Guyzmo` Pratz 2013-04-04 19:06:18 +02:00
parent 8f1348b40b
commit 3df3b90bd9
2 changed files with 3 additions and 1 deletions

View file

@ -104,7 +104,7 @@ exports.getRevisionChangeset = function(padID, rev, callback)
if (rev !== undefined && typeof rev !== "number")
{
// try to parse the number
if (!isNaN(parseInt(rev))
if (!isNaN(parseInt(rev)))
{
rev = parseInt(rev);
}