Replace ensureEl().changeNum

ensureEl is deprecated. This change removes all instances of
ensureEl().changeNum and replaces them with the number from a change
object.

Bug: 1247358
Change-Id: Ib0ebcc5c73795823bdd650601e9b2c960b239590
3 files changed
tree: 3c42049e5e389224577a4a26d76dfd6c40f78139
  1. src/
  2. test/
  3. .eslintrc.json
  4. .gitignore
  5. BUILD
  6. codereview.settings
  7. LICENSE
  8. OWNERS
  9. package-lock.json
  10. package.json
  11. polymer.json
  12. README.md
  13. run-with-prod-data.sh
  14. WATCHLISTS
  15. wct.conf.json
README.md

Chrome/Chromium behavior theme for Gerrit

To run unit tests

$ npm run wct-test

To test with Gerrit FE Dev Helper

Make sure the plugin is installed in plugins/ of Gerrit repository.

$ cd ../.. # Gerrit root directory
$ bazel build plugins/chromium-behavior:chromium-behavior
$ cp -f bazel-bin/plugins/chromium-behavior/chromium-behavior-bundle.js plugins/
$ cd plugins/chromium-behavior
$ run-with-prod-data.sh