| 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 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <!-- Chrome for Android theme color --> | 9 <!-- Chrome for Android theme color --> |
| 10 <meta name="theme-color" content="#2E3AA1"> | 10 <meta name="theme-color" content="#2E3AA1"> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 <span id="browser-sync-binding"></span> | 31 <span id="browser-sync-binding"></span> |
| 32 | 32 |
| 33 <!-- Main application script --> | 33 <!-- Main application script --> |
| 34 <logdog-app | 34 <logdog-app |
| 35 id="app" | 35 id="app" |
| 36 client-id="446450136466-hdluvt4ofonh0q65pphab8egl59th2of.apps.googleuserconten
t.com"> | 36 client-id="446450136466-hdluvt4ofonh0q65pphab8egl59th2of.apps.googleuserconten
t.com"> |
| 37 </logdog-app> | 37 </logdog-app> |
| 38 | 38 |
| 39 <script> | 39 <script> |
| 40 console.log("Setting up app."); | |
| 41 // Grab a reference to our auto-binding template | 40 // Grab a reference to our auto-binding template |
| 42 // and give it some initial binding values | 41 // and give it some initial binding values |
| 43 // Learn more about auto-binding templates at http://goo.gl/Dx1u2g | 42 // Learn more about auto-binding templates at http://goo.gl/Dx1u2g |
| 44 var app = document.querySelector('#app'); | 43 var app = document.querySelector('#app'); |
| 45 | 44 |
| 46 // Sets app default base URL. | 45 // Sets app default base URL. |
| 47 app.baseUrl = window.location.pathname; | 46 app.baseUrl = window.location.pathname; |
| 48 | 47 |
| 49 // Set up our default LogDog pRPC host. | 48 // Set up our default LogDog pRPC host. |
| 50 app.host = logdog.host; | 49 app.host = logdog.host; |
| 51 </script> | 50 </script> |
| 52 | 51 |
| 53 </body> | 52 </body> |
| 54 </html> | 53 </html> |
| OLD | NEW |