File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -897,6 +897,7 @@ class JsonImportSource(TypedDict):
897
897
898
898
class JavaScript (str ):
899
899
"""A simple way of marking JavaScript code to be executed client-side"""
900
+
900
901
pass
901
902
902
903
Original file line number Diff line number Diff line change @@ -196,12 +196,12 @@ def test_string_to_reactpy(case):
196
196
},
197
197
# 9: Includes `jsExecutables` attribue
198
198
{
199
- "source" : ''' <button onclick="this.innerText = 'CLICKED'">Click Me</button>''' ,
199
+ "source" : """ <button onclick="this.innerText = 'CLICKED'">Click Me</button>""" ,
200
200
"model" : {
201
201
"tagName" : "button" ,
202
202
"jsExecutables" : {"onclick" : "this.innerText = 'CLICKED'" },
203
203
"children" : ["Click Me" ],
204
- }
204
+ },
205
205
},
206
206
],
207
207
)
You can’t perform that action at this time.
0 commit comments