File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1755,7 +1755,11 @@ define([
17551755 var code = this . state . steps . join ( '\n' ) ;
17561756 var returnVariable = $ ( this . wrapSelector ( '#vp_feReturn' ) ) . val ( ) ;
17571757 if ( returnVariable != '' ) {
1758- code = code . replaceAll ( '_vp' , returnVariable ) ;
1758+ code = code . replaceAll ( this . state . tempObj , returnVariable ) ;
1759+
1760+ code += '\n' + returnVariable ;
1761+ } else {
1762+ code += '\n' + this . state . tempObj ;
17591763 }
17601764 return code ;
17611765 }
Original file line number Diff line number Diff line change @@ -2278,6 +2278,13 @@ define([
22782278 this . setPreview ( code . toString ( ) ) ;
22792279 }
22802280
2281+ code . appendLine ( ) ;
2282+ // display
2283+ if ( allocation && this . state . allocateTo != '' ) {
2284+ code . append ( this . state . allocateTo ) ;
2285+ } else {
2286+ code . append ( this . state . pandasObject ) ;
2287+ }
22812288 return code . toString ( ) ;
22822289 }
22832290
You can’t perform that action at this time.
0 commit comments