-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathFinally.js
More file actions
38 lines (33 loc) · 1017 Bytes
/
Finally.js
File metadata and controls
38 lines (33 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* Project Name : Visual Python
* Description : GUI-based Python code generator
* File Name : Finally.js
* Author : Black Logic
* Note : Logic > finally
* License : GNU GPLv3 with Visual Python special exception
* Date : 2021. 11. 18
* Change Date :
*/
//============================================================================
// [CLASS] Finally
//============================================================================
define([
'vp_base/js/com/component/PopupComponent'
], function(PopupComponent) {
/**
* Finally
*/
class Finally extends PopupComponent {
_init() {
super._init();
/** Write codes executed before rendering */
this.config.dataview = false;
this.config.codeview = false;
this.config.saveOnly = true;
}
generateCode() {
return 'finally:';
}
}
return Finally;
});