chore(analysis): analyze web folders; fix existing warnings
This commit is contained in:
@ -154,6 +154,11 @@ class ListWrapper {
|
||||
static List slice(List l, int from, int to) {
|
||||
return l.sublist(from, to);
|
||||
}
|
||||
static List splice(List l, int from, int to) {
|
||||
var sub = l.sublist(from, to);
|
||||
l.removeRange(from, to);
|
||||
return sub;
|
||||
}
|
||||
static void sort(List l, compareFn(a,b)) {
|
||||
l.sort(compareFn);
|
||||
}
|
||||
|
@ -193,6 +193,9 @@ export class ListWrapper {
|
||||
static slice(l:List, from:int, to:int):List {
|
||||
return l.slice(from, to);
|
||||
}
|
||||
static splice(l:List, from:int, to:int):List {
|
||||
return l.splice(from, to);
|
||||
}
|
||||
static sort(l:List, compareFn:Function) {
|
||||
l.sort(compareFn);
|
||||
}
|
||||
|
Reference in New Issue
Block a user