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