Mercurial
Mercurial
>
periplus
/ file revision
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
| file |
latest
|
revisions
|
annotate
|
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
toolkit/javascript/d3/src/core/ascending.js
author
Nicolas Sauret <nicolas.sauret@iri.centrepompidou.fr>
Thu, 10 Apr 2014 14:20:23 +0200
changeset 47
c0b4a8b5a012
permissions
-rw-r--r--
add toolkit.html + démonstrateurs
d3
.
ascending
=
function
(
a
,
b
)
{
return
a
<
b
?
-
1
:
a
>
b
?
1
:
a
>=
b
?
0
:
NaN
;
};