File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -245,28 +245,6 @@ export class ViewUtil {
245
245
}
246
246
}
247
247
248
- // finds the node in the parent's views and returns the next index
249
- // returns -1 if the node has no parent or next sibling
250
- // public nextSiblingIndex(node: NgView): number {
251
- // const parent = node.parent;
252
- // if (!parent) {
253
- // return -1;
254
- // }
255
-
256
- // let index = 0;
257
- // let found = false;
258
- // parent.eachChild(child => {
259
- // if (child === node) {
260
- // found = true;
261
- // }
262
-
263
- // index += 1;
264
- // return !found;
265
- // });
266
-
267
- // return found ? index : -1;
268
- // }
269
-
270
248
private runsIn ( platform : string ) : boolean {
271
249
return ( platform === "ios" && this . isIos ) ||
272
250
( platform === "android" && this . isAndroid ) ;
You can’t perform that action at this time.
0 commit comments