Fix so that GWTUI js file is not executed under PolyGerrit

When using PolyGerrit, it appears that it loads GWTUI specific
delete-project js files. It dosen't appear to inject "window.Polymer"
into it thus will always equal undefined or false.

To fix this we look for the GERRIT_UI cookie which if the user is using
GWTUI, will have this set.

Change-Id: I2512fe18108799f3a73b00ada8a756eb6e397879
2 files changed
tree: 970fefde67de7f56c377621af9c6d9a440ffe5cf
  1. .settings/
  2. gr-delete-repo/
  3. src/
  4. tools/
  5. .bazelignore
  6. .bazelrc
  7. .bazelversion
  8. .gitignore
  9. bazlets.bzl
  10. BUILD
  11. external_plugin_deps.bzl
  12. LICENSE
  13. plugin.html
  14. README.md
  15. WORKSPACE
README.md

Delete project plugin for Gerrit Code Review

A plugin which allows projects to be deleted from Gerrit via an SSH command, REST API or the Project settings screen.

Build Status