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 </head> |
| 13 |
| 14 <body> |
| 15 <h1>fuzzer-collapse-file-sk demo</h1> |
| 16 <h2>Collapsed</h2> |
| 17 <fuzzer-collapse-file-sk id="func"></fuzzer-collapse-file-sk> |
| 18 <h2>Expanded</h2> |
| 19 <fuzzer-collapse-file-sk id="expanded" expand="true"></fuzzer-collapse-file-sk
> |
| 20 <script type="text/javascript" charset="utf-8"> |
| 21 var data = { |
| 22 "fileName": "foo.h", |
| 23 "binaryCount": 30, |
| 24 "apiCount": 0, |
| 25 "byFunction": [{ |
| 26 "functionName": "frizzle()", |
| 27 "binaryCount": 18, |
| 28 "apiCount": 0, |
| 29 "byLineNumber": [{ |
| 30 "lineNumber": 64, |
| 31 "binaryCount": 17, |
| 32 "apiCount": 0, |
| 33 "binaryReports": [] |
| 34 }, { |
| 35 "lineNumber": 69, |
| 36 "binaryCount": 1, |
| 37 "apiCount": 0, |
| 38 "binaryReports": [] |
| 39 }] |
| 40 }, { |
| 41 "functionName": "zizzle()", |
| 42 "binaryCount": 12, |
| 43 "apiCount": 0, |
| 44 "byLineNumber": [{ |
| 45 "lineNumber": 123, |
| 46 "binaryCount": 12, |
| 47 "apiCount": 0, |
| 48 "binaryReports": [] |
| 49 }] |
| 50 }] |
| 51 }; |
| 52 |
| 53 $$$('#func').setFile(data); |
| 54 $$$('#expanded').setFile(data); |
| 55 </script> |
| 56 </body> |
| 57 |
| 58 </html> |
OLD | NEW |