Merge changes I5801bcc3,Ib2290546 am: 1584123dbb am: 9bca36aeee

Original change: https://android-review.googlesource.com/c/platform/development/+/1779346

Change-Id: I158327aac40b17d516c7a721dadd788e85ae63d9
This commit is contained in:
Treehugger Robot
2021-07-27 14:23:45 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 3 deletions

View File

@@ -13,12 +13,12 @@ const routes = [
} }
}, },
{ {
path: '/Demo', path: '/demo',
name: 'Demo', name: 'Demo',
component: Demo component: Demo
}, },
{ {
path: '/About', path: '/about',
name: 'About', name: 'About',
component: About component: About
} }

View File

@@ -41,7 +41,7 @@ export class MapParser {
*/ */
async add(partitionName, totalLength) { async add(partitionName, totalLength) {
let /** Array<String> */ map = [] let /** Array<String> */ map = []
const /** RegExp */ regexNumber = /(?<![0-9\-])\d+(?![0-9\-])/g const /** RegExp */ regexNumber = /\d+/g
const /** Reg */ regexRange = /\d+\-\d+/g const /** Reg */ regexRange = /\d+\-\d+/g
for (let i = 0; i < totalLength; i++) map[i] = 'unknown' for (let i = 0; i < totalLength; i++) map[i] = 'unknown'
if (this.mapFiles.get(partitionName)) { if (this.mapFiles.get(partitionName)) {