| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 <!-- |  | 
| 2 # Copyright 2016 The LUCI Authors. All rights reserved. |  | 
| 3 # Use of this source code is governed by the Apache v2.0 license that can be |  | 
| 4 # found in the LICENSE file. |  | 
| 5 --> |  | 
| 6 <!DOCTYPE html> |  | 
| 7 <html> |  | 
| 8 <head> |  | 
| 9   <title>Stats Overview Demo</title> |  | 
| 10     <meta charset="utf-8"> |  | 
| 11   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |  | 
| 12   <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
    scale=1, user-scalable=yes"> |  | 
| 13   <script src="../bower_components/webcomponentsjs/webcomponents-lite.js"></scri
    pt> |  | 
| 14   <script src="../node_modules/sinon/pkg/sinon-1.17.2.js"></script> |  | 
| 15   <!-- Makes a var called data--> |  | 
| 16   <script type="text/javascript" src="overview-demo.json"></script> |  | 
| 17   <script type="text/javascript" charset="utf-8"> |  | 
| 18     // sinon.format = function(object) {return JSON.stringify(object);} |  | 
| 19     // sinon.log = function(message) {console.log(message);}; |  | 
| 20     var server = sinon.fakeServer.create(); |  | 
| 21     server.autoRespond = true; |  | 
| 22     // Send the data, then slightly change the builds for the update. |  | 
| 23     server.respondWith("GET", "/swarming/api/v1/stats/summary/minutes?duration=2
    0",JSON.stringify(data)); |  | 
| 24     </script> |  | 
| 25     <link rel="import" href="stats-overview.html"> |  | 
| 26 </head> |  | 
| 27 <body> |  | 
| 28   <div style="width: 1000px"> |  | 
| 29     <stats-overview ></stats-overview> |  | 
| 30   </div> |  | 
| 31 </body> |  | 
| 32 </html> |  | 
| OLD | NEW | 
|---|