OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 |
| 4 <head> |
| 5 <title>fuzzer-collapse-function-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-function-sk.html"> |
| 12 </head> |
| 13 |
| 14 <body> |
| 15 <h1>fuzzer-collapse-function-sk demo</h1> |
| 16 |
| 17 <h2>Collapsed</h2> |
| 18 <fuzzer-collapse-function-sk id="func"></fuzzer-collapse-function-sk> |
| 19 |
| 20 <h2>Expanded</h2> |
| 21 <fuzzer-collapse-function-sk id="expanded" expand="true"></fuzzer-collapse-fun
ction-sk> |
| 22 |
| 23 <script type="text/javascript" charset="utf-8"> |
| 24 var data = { |
| 25 "functionName": "frizzle()", |
| 26 "binaryCount": 18, |
| 27 "apiCount": 0, |
| 28 "byLineNumber": [{ |
| 29 "lineNumber": 64, |
| 30 "binaryCount": 17, |
| 31 "apiCount": 0, |
| 32 "binaryReports": [] |
| 33 }, { |
| 34 "lineNumber": 69, |
| 35 "binaryCount": 1, |
| 36 "apiCount": 0, |
| 37 "binaryReports": [] |
| 38 }] |
| 39 }; |
| 40 |
| 41 $$$('#func').setFunc(data); |
| 42 $$$('#expanded').setFunc(data); |
| 43 </script> |
| 44 </body> |
| 45 |
| 46 </html> |
OLD | NEW |