| 218 | s!!.addURIHandler { uri: String, method: NanoHTTPD.Method?, headers: Map<String?, String?>?, params: Map<String?, String?>?, files: Map<String?, String?>? -> |
| 219 | val m = textTable["http://localhost:$a$uri"] |
| 220 | if (m != null) return@addURIHandler NanoHTTPD.Response(NanoHTTPD.Response.Status.OK, "text/html", m) |
| 221 | null |
| 222 | } |
| 223 | browser = CefSystem.cefSystem.makeBrowser( |
| 224 | w, |
| 225 | h, |
| 226 | { popup: Boolean, dirty: Array<Rectangle>?, buffer: ByteBuffer?, w: Int, h: Int -> |
| 227 | paint( |
| 228 | popup, |
| 229 | dirty!!, |
no outgoing calls
no test coverage detected