From 5f7e6df39efb478cd977e82213d43e1bf9a5c3ef Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Wed, 9 Dec 2015 13:02:48 -0500 Subject: [PATCH] Replace iron-{ajax/request} with gr- wrappers This removes the repetitiveness of always having to specify json-prefix and debounce-duration on requests with the auto attribute set. Change-Id: I0ef6b752866602742621d98d4b4666bc977c8b47 --- polygerrit-ui/app/elements/gr-ajax.html | 53 ++++++++++++++----- polygerrit-ui/app/elements/gr-app.html | 4 +- .../app/elements/gr-change-list-view.html | 8 ++- .../app/elements/gr-change-view.html | 12 ++--- .../app/elements/gr-dashboard-view.html | 6 +-- .../app/elements/gr-diff-comment.html | 9 +--- polygerrit-ui/app/elements/gr-diff-view.html | 45 ++++++---------- polygerrit-ui/app/elements/gr-file-list.html | 6 +-- polygerrit-ui/app/elements/gr-request.html | 47 ++++++++++++++++ 9 files changed, 121 insertions(+), 69 deletions(-) create mode 100644 polygerrit-ui/app/elements/gr-request.html diff --git a/polygerrit-ui/app/elements/gr-ajax.html b/polygerrit-ui/app/elements/gr-ajax.html index f2adc063d9..9671b37e6d 100644 --- a/polygerrit-ui/app/elements/gr-ajax.html +++ b/polygerrit-ui/app/elements/gr-ajax.html @@ -15,14 +15,19 @@ limitations under the License. --> + +