Migrate object_ui/ to import cross-module

Bug: 1006759
Change-Id: Ic6a53e6183e3621771c019c4c9692c072f812736
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2019123
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
This commit is contained in:
Tim van der Lippe
2020-01-24 12:13:48 +00:00
committed by Commit Bot
parent 2cfa33d87f
commit 64a94d8105
12 changed files with 247 additions and 159 deletions
@@ -82,7 +82,8 @@ function isNodeCommonUIStringFormat(node) {
}
function isNodeUIformatLocalized(node) {
return isNodeCallOnObject(node, 'UI', 'formatLocalized');
return isNodeCallOnObject(node, 'UI', 'formatLocalized') ||
isNodeCallOnNestedObject(node, 'UI', 'UIUtils', 'formatLocalized');
}
function isNodelsTaggedTemplateExpression(node) {