I'm trying to get Brython to initialise Jasonette.
The basic JS example works. It's a trivial conversion from the example JS code into Brython. The function appears to execute (there are no errors, and there is a resulting JS object returned), but the page is blank and there are no Jasonette elements created.
I've created a JSFiddle to demonstrate this issue.
Since it's a trivial conversion of a dict to a JSON object, I would assume it might be to do with the '$' in the keys. But even then, these are quoted strings.
The most minimal example that creates a DOM element seems to be Jason({"$cell": true}, {});
.
The Brython equivalent doesn't do anything.
<script type="text/python">
from browser import window
Jason = window.Jason
app = Jason({'$cell': True}, {})
</script>