feat(bench press): use chrome tracing protocol and initial iOS support
This commit is contained in:
@ -138,6 +138,9 @@ class ListWrapper {
|
||||
static List slice(List l, int from, int to) {
|
||||
return l.sublist(from, to);
|
||||
}
|
||||
static void sort(List l, compareFn(a,b)) {
|
||||
l.sort(compareFn);
|
||||
}
|
||||
}
|
||||
|
||||
bool isListLikeIterable(obj) => obj is Iterable;
|
||||
|
@ -185,6 +185,10 @@ export class ListWrapper {
|
||||
static slice(l:List, from:int, to:int):List {
|
||||
return l.slice(from, to);
|
||||
}
|
||||
static sort(l:List, compareFn:Function) {
|
||||
l.sort(compareFn);
|
||||
return l;
|
||||
}
|
||||
}
|
||||
|
||||
export function isListLikeIterable(obj):boolean {
|
||||
|
Reference in New Issue
Block a user