mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-11-02 03:09:09 +08:00
This applies the following replacement to the codebase:
(\S+) = createElementWithClass\('(\w+)', '([^'\s]+) ([^'\s]+)'\);
to
$1 = document.createElement('$2');\n$1.classList.add('$3');\n$1.classList.add('$4');
R=aerotwist@chromium.org
Bug: 1011811, 1077215
Change-Id: I0ac37f594bd12dd7b1ffb53d7ca9ef04761df5f0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2176114
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>