| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 The common.js file must be included before this file. | 2 The common.js file must be included before this file. |
| 3 | 3 |
| 4 This in an HTML Import-able file that contains the definition | 4 This in an HTML Import-able file that contains the definition |
| 5 of the following elements: | 5 of the following elements: |
| 6 | 6 |
| 7 <fuzzer-collapse-function-sk> | 7 <fuzzer-collapse-function-sk> |
| 8 | 8 |
| 9 To use this file import it: | 9 To use this file import it: |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 expand: String, which should be "true" if the gui should start expanded | 24 expand: String, which should be "true" if the gui should start expanded |
| 25 Methods: | 25 Methods: |
| 26 setFunc(func) - Programmatically set the FunctionDetails object. | 26 setFunc(func) - Programmatically set the FunctionDetails object. |
| 27 toggleLineNumbers() - Programmtically expand/collapse the line number detail
s. | 27 toggleLineNumbers() - Programmtically expand/collapse the line number detail
s. |
| 28 | 28 |
| 29 Events: | 29 Events: |
| 30 None. | 30 None. |
| 31 --> | 31 --> |
| 32 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h
tml"> | 32 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h
tml"> |
| 33 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> |
| 33 <link rel="import" href="fuzzer-collapse-details-sk.html"> | 34 <link rel="import" href="fuzzer-collapse-details-sk.html"> |
| 34 <dom-module id="fuzzer-collapse-function-sk"> | 35 <dom-module id="fuzzer-collapse-function-sk"> |
| 35 <template> | 36 <template> |
| 36 <style> | 37 <style> |
| 37 #wrapper { | 38 #wrapper { |
| 38 padding: 20px; | 39 padding: 20px; |
| 39 border-radius: 10px; | 40 border-radius: 10px; |
| 40 background-color: #E5E5E5; | 41 background-color: #E5E5E5; |
| 41 color: #000000; | 42 color: #000000; |
| 42 } | 43 } |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 return func.binaryCount + func.apiCount; | 115 return func.binaryCount + func.apiCount; |
| 115 }, | 116 }, |
| 116 | 117 |
| 117 toggleLineNumbers: function() { | 118 toggleLineNumbers: function() { |
| 118 this.$.lineNumbers.toggle(); | 119 this.$.lineNumbers.toggle(); |
| 119 this.$.indicator.toggleClass("toggled"); | 120 this.$.indicator.toggleClass("toggled"); |
| 120 } | 121 } |
| 121 }); | 122 }); |
| 122 </script> | 123 </script> |
| 123 </dom-module> | 124 </dom-module> |
| OLD | NEW |