OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 |
| 4 <head> |
| 5 <title>fuzzer-collapse-file-sk demo</title> |
| 6 <meta charset="utf-8"> |
| 7 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 8 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> |
| 9 <script src="/res/common/js/common.js"></script> |
| 10 <script src="/res/imp/bower_components/webcomponentsjs/webcomponents-lite.js">
</script> |
| 11 <link rel="import" href="fuzzer-collapse-file-sk.html"> |
| 12 <link rel="import" href="fuzzer-collapse-function-sk.html"> |
| 13 <link rel="import" href="fuzzer-collapse-details-sk.html"> |
| 14 </head> |
| 15 |
| 16 <body> |
| 17 <h1>fuzzer-collapse-file-sk demo</h1> |
| 18 <h2>Collapsed</h2> |
| 19 <fuzzer-collapse-file-sk id="func"></fuzzer-collapse-file-sk> |
| 20 <h2>Expanded</h2> |
| 21 <fuzzer-collapse-file-sk id="expanded" expand="true"></fuzzer-collapse-file-sk
> |
| 22 <script type="text/javascript" charset="utf-8"> |
| 23 var data = { |
| 24 "fileName": "foo.h", |
| 25 "binaryCount": 30, |
| 26 "apiCount": 0, |
| 27 "byFunction": [{ |
| 28 "functionName": "frizzle()", |
| 29 "binaryCount": 18, |
| 30 "apiCount": 0, |
| 31 "byLineNumber": [{ |
| 32 "lineNumber": 64, |
| 33 "binaryCount": 17, |
| 34 "apiCount": 0, |
| 35 "binaryReports": [] |
| 36 }, { |
| 37 "lineNumber": 69, |
| 38 "binaryCount": 1, |
| 39 "apiCount": 0, |
| 40 "binaryReports": [] |
| 41 }] |
| 42 }, { |
| 43 "functionName": "zizzle()", |
| 44 "binaryCount": 12, |
| 45 "apiCount": 0, |
| 46 "byLineNumber": [{ |
| 47 "lineNumber": 123, |
| 48 "binaryCount": 12, |
| 49 "apiCount": 0, |
| 50 "binaryReports": [] |
| 51 }] |
| 52 }] |
| 53 }; |
| 54 |
| 55 $$$('#func').setFile(data); |
| 56 $$$('#expanded').setFile(data); |
| 57 </script> |
| 58 </body> |
| 59 |
| 60 </html> |
OLD | NEW |