* assign undefined for empty scripts during evaluation * add unit tests * handle anonymous_function when undefined * update unit tests * remove unwanted assignments in evaluation scripts * update unit tests * Update app/client/src/workers/evaluate.test.ts * fix lint cypress tests * remove semicolon * fix API_bugs_spec * undo anonymous function change * Update app/client/src/workers/evaluate.ts Co-authored-by: Hetu Nandu <hetunandu@gmail.com> * add comment * return back when JS is empty * Update app/client/src/workers/evaluate.ts Co-authored-by: Hetu Nandu <hetunandu@gmail.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com>
51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
{
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 966,
|
|
"snapColumns": 64,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 1290,
|
|
"containerStyle": "none",
|
|
"snapRows": 125,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"version": 36,
|
|
"minHeight": 410,
|
|
"parentColumnSpace": 1,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"isVisible": true,
|
|
"label": "{{\n(function() {\n iron_man = {\n hero: \"Iron Man\",\n team: \"Avengers\",\n skills: \"Superhuman strength\",\n status: true,\n };\n return iron_man.status;\n})()\n}}",
|
|
"defaultCheckedState": true,
|
|
"widgetName": "Checkbox1",
|
|
"version": 1,
|
|
"alignWidget": "LEFT",
|
|
"isDisabled": false,
|
|
"isRequired": false,
|
|
"type": "CHECKBOX_WIDGET",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 14.90625,
|
|
"parentRowSpace": 10,
|
|
"leftColumn": 11,
|
|
"rightColumn": 23,
|
|
"topRow": 13,
|
|
"bottomRow": 17,
|
|
"parentId": "0",
|
|
"widgetId": "ij9sjiejc4",
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "label"
|
|
}
|
|
],
|
|
"dynamicTriggerPathList": []
|
|
}
|
|
],
|
|
"dynamicTriggerPathList": []
|
|
}
|
|
} |