| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="../bower_components/iron-ajax/iron-request.html"> | 7 <link rel="import" href="../bower_components/iron-ajax/iron-request.html"> |
| 8 | 8 |
| 9 <!-- | 9 <!-- |
| 10 The `rpc-call` is a single RPC call. Produced by <rpc-client>. | 10 The `rpc-call` is a single RPC call. Produced by <rpc-client>. |
| 11 --> | 11 --> |
| 12 <dom-module id="rpc-client"> | 12 <dom-module id="rpc-client"> |
| 13 <script> | 13 <script> |
| 14 'use strict'; | 14 'use strict'; |
| 15 | 15 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 this._setError(null); | 237 this._setError(null); |
| 238 this._resolveCompletes(this); | 238 this._resolveCompletes(this); |
| 239 } catch (e) { | 239 } catch (e) { |
| 240 this._setResponse(null); | 240 this._setResponse(null); |
| 241 this._setError(e); | 241 this._setError(e); |
| 242 this._rejectCompletes(e); | 242 this._rejectCompletes(e); |
| 243 } | 243 } |
| 244 } | 244 } |
| 245 }); | 245 }); |
| 246 </script> | 246 </script> |
| 247 </dom-module> | 247 </dom-module> |
| OLD | NEW |