fix(facade): `ListWrapper.sort()` should not return the list

This is the semantics of the regular `Array.sort` in JS,
so the wrapper should imitate this.
This commit is contained in:
Tobias Bosch 2015-02-23 10:06:15 -08:00
parent d8103aeca6
commit f54f4e89e0
1 changed files with 0 additions and 1 deletions

View File

@ -187,7 +187,6 @@ export class ListWrapper {
}
static sort(l:List, compareFn:Function) {
l.sort(compareFn);
return l;
}
}