Open FRosner opened 9 years ago
ah this is the one I guess @FRosner :-P
JsWorld
is center of reactivity for JSConnection
is reactivity for ScalaRenderer
is very basic and the only thing that would be required to render something in the notebooksketch on how snippet can be used:
:javascript[myFunction]
function() {
//worker....
container.append()
}
→ REPL creates a val myFunction = s""" ... """
Use it as snippet
[...]
override val snippets = List(s"""|{
| "f": $myFunction,
| "o": {
| "category": "$category",
| "value": "$value",
| "date": "$date",
| "date_format": "$dateFormat"
| }
|}
""".stripMargin)
Problem
For the first prototype of Spark-Notebook-DDS-Integration we need to write some glue code.
Solution