(ann)
| 109 | } |
| 110 | |
| 111 | function annotationTooltip(ann) { |
| 112 | var severity = ann.severity; |
| 113 | if (!severity) severity = "error"; |
| 114 | var tip = document.createElement("div"); |
| 115 | tip.className = "CodeMirror-lint-message-" + severity; |
| 116 | tip.appendChild(document.createTextNode(ann.message)); |
| 117 | return tip; |
| 118 | } |
| 119 | |
| 120 | function startLinting(cm) { |
| 121 | var state = cm.state.lint, options = state.options; |
no outgoing calls
no test coverage detected