gerrit/polygerrit-ui/app/gr-diff
Kasper Nilsson 18ded36feb Fix Gerrit global scoping issue
I47a487e3 added the definition of the Gerrit global to help enable
Closure compilation. However, the object created by
`let Gerrit = window.Gerrit || {}` was never reassigned to
window.Gerrit, leading to window.Gerrit being initialized to a different
empty object when the first behavior was loaded.

A gr-endpoint-decorator element is included in gr-app.html. For that
specific endpoint, the Gerrit object referenced in
gr-endpoint-decorator.js was not the window.Gerrit object that contained
the properly initialized endpoints.

With this change, the object reference is reassigned window.Gerrit in
every root view touched by the aforementioned change.

Change-Id: I0d571918043311ac07a966d0faf126d355b55a5b
2018-09-19 14:08:46 -07:00
..
gr-diff-root.html Fix Gerrit global scoping issue 2018-09-19 14:08:46 -07:00