UNPKG
todomvc
Version:
latest (0.1.1)
0.1.1
0.1.0
> Helping you select an MV\* framework
todomvc
/
examples
/
cujo
/
bower_components
/
cola
/
comparator
/
naturalOrder.js
18 lines
(15 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** MIT License (c) copyright B Cavalier & J Hann */
(
function
(
define
) {
define
(
function
(
) {
"use strict"
;
return
function
(
a, b
) {
return
a == b ?
0
: a < b ? -
1
:
1
; }; }); }(
typeof
define ==
'function'
? define :
function
(
factory
) {
module
.
exports
=
factory
(); } ));