Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Oct 20, 2023
1 parent bc5ab55 commit d7d3bd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
4 changes: 2 additions & 2 deletions public/visifile_drivers/all_system_components/yazz_blank.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ formEditor({
</div>`
}
],
testFn: "alert('testFn called')",
testAsyncFn: "alert('testAsyncFn called')",
testFn: "alert('testFn called. mm: ' + mm.model.test)",
testAsyncFn: "alert('testAsyncFn called. mm: ' + thecode)",
"forms": {
"Form_1": {
"name": "Form_1",
Expand Down
27 changes: 10 additions & 17 deletions src/runtimePipelineYazzUiMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ ${formprop.fn}
let mm = this
let methodSrcCode = mm.model[appMethodId]
let thecode =
`(function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {
`(function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {
${methodSrcCode}
})`

Expand All @@ -1630,29 +1630,22 @@ ${methodSrcCode}
let mm = this
let methodSrcCode = mm.model[appMethodId]
let thecode =
`(async function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {
`(async function(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {
${methodSrcCode}
})`

fnDetails = eval(thecode)
return fnDetails
},
deleteCursor: function ( ) {
/*
________________________________________
| |
| |
| |
|______________________________________|
TO BE FILLED IN
__________
| Params |
| |______________________________________________________________
|
| NONE
|________________________________________________________________________ */
//----------------------------------------------------------------------------------
//
// /-------------------------------------/
// / deleteCursor /
// /-------------------------------------/
//
//----------------------------------------------------------------------------
//--------------------------------------------------------------------
document.getElementById(this.vb_grid_element_id).style.cursor = "crosshair"
document.getElementById("grid_container").style.cursor = "default"
if (this.oldCursor) {
Expand Down

0 comments on commit d7d3bd1

Please sign in to comment.