mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[pycharm] PY-64589 Jupyter: Extend support IPyWidgets
GitOrigin-RevId: 1094443cac45a007f87f738b96ace0691349fdd4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
65e2b5ab87
commit
ab2dd8e026
@@ -99,6 +99,9 @@ abstract class JupyterCefHttpHandlerBase(private val absolutePathFiles: Collecti
|
|||||||
abstract val appName: String
|
abstract val appName: String
|
||||||
|
|
||||||
private fun readFile(request: FullHttpRequest, channel: Channel, file: String): Boolean {
|
private fun readFile(request: FullHttpRequest, channel: Channel, file: String): Boolean {
|
||||||
|
//Ignore this one because it is used for Widget support
|
||||||
|
if (file.contains("BASE_EXTENSION_PATH"))
|
||||||
|
return false
|
||||||
val appName = appName
|
val appName = appName
|
||||||
val resource = getResource("$appName/$file")
|
val resource = getResource("$appName/$file")
|
||||||
val bytes = resource.readBytes()
|
val bytes = resource.readBytes()
|
||||||
|
|||||||
Reference in New Issue
Block a user