| 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 <script> | 7 <script> |
| 8 'use strict'; | 8 'use strict'; |
| 9 | 9 |
| 10 var luci = (function(luci) { | 10 var luci = (function(luci) { |
| 11 | 11 |
| 12 var rpc = luci.rpc = luci.rpc || {}; | 12 var rpc = luci.rpc = luci.rpc || {}; |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * gRPC response codes. | 15 * gRPC response codes. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 43 | 43 |
| 44 /** | 44 /** |
| 45 * Returns response code name or undefined. | 45 * Returns response code name or undefined. |
| 46 */ | 46 */ |
| 47 rpc.CodeName = function(code) { | 47 rpc.CodeName = function(code) { |
| 48 return codeNames[code]; | 48 return codeNames[code]; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 return luci; | 51 return luci; |
| 52 }(luci || {})); | 52 }(luci || {})); |
| 53 </script> | 53 </script> |
| OLD | NEW |