Files
gerrit/polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-plugin-endpoints.js
Viktar Donich 1aaa69ebe9 Reuse DOM hooks for same endpoints and plugins
Also add endpoints test to the test suite.

Practically, `plugin.hook()` will return same DOM hook instance that
always results in the same DOM hook helper element inserted into
endpoint. Without this fix, multiple DOM hook elements are inserted for
the same plugin and endpoint.

Change-Id: I4ecbf604b4ef1e2365f1225fd6e0307b4b9a2421
2017-12-28 09:41:18 -08:00

3.9 KiB