(ts, name, c)
| 148 | var bigDoc = 250; |
| 149 | |
| 150 | function getFile(ts, name, c) { |
| 151 | var buf = ts.docs[name]; |
| 152 | if (buf) |
| 153 | c(docValue(ts, buf)); |
| 154 | else if (ts.options.getFile) |
| 155 | ts.options.getFile(name, c); |
| 156 | else |
| 157 | c(null); |
| 158 | } |
| 159 | |
| 160 | function findDoc(ts, doc, name) { |
| 161 | for (var n in ts.docs) { |
no test coverage detected