fix doc comment
This commit is contained in:
parent
df32ec9ebc
commit
598e676458
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue