(name, path, include, suffix)
| 2266 | } |
| 2267 | } |
| 2268 | appendImage(name, path, include, suffix) { |
| 2269 | var tool = this.tool; |
| 2270 | if (tool.imageFiles.already[path]) |
| 2271 | return; |
| 2272 | let file = this.appendFile(tool.imageFiles, name + ".cs", path, include); |
| 2273 | let a = suffix.match(/-image(\(([0-9]+)\))?/); |
| 2274 | file.quality = (a && (a.length == 3) && (a[2] !== undefined)) ? parseInt(a[2]) : undefined; |
| 2275 | } |
| 2276 | appendImageDirectory(name, path, include, suffix) { |
| 2277 | var tool = this.tool; |
| 2278 | var files = tool.imageFiles; |
no test coverage detected