fix doc comment

This commit is contained in:
rlx 2016-01-11 14:54:28 +05:30
parent df32ec9ebc
commit 598e676458

View file

@ -639,7 +639,7 @@ Ox.formatDuration = function(seconds/*, decimals, format*/) {
})).join(format == 'none' ? ':' : ' ');
};
/*
/*@
Ox.formatISBN <f> Formats a string as an ISBN of a given length (10 or 13)
(isbn, length) -> <s> ISBN
isbn <s> ISBN
@ -648,7 +648,7 @@ Ox.formatISBN <f> Formats a string as an ISBN of a given length (10 or 13)
'9780306406157'
> Ox.formatISBN('978-0-306-40615-7', 10)
'0306406152'
*/
@*/
Ox.formatISBN = function(isbn, length) {
var ret = '';
function getCheckDigit(isbn) {