()
| 1137 | }; |
| 1138 | |
| 1139 | let _emitFormatReady = function () { |
| 1140 | try { |
| 1141 | document.dispatchEvent(new CustomEvent('fh-json-format-ready', { |
| 1142 | detail: _getSelectionInfo(_getSelectedJsonElement()) |
| 1143 | })); |
| 1144 | } catch (e) { |
| 1145 | } |
| 1146 | }; |
| 1147 | |
| 1148 | let _selectJsonElement = function (el, opts) { |
| 1149 | opts = opts || {}; |
no test coverage detected