-
Notifications
You must be signed in to change notification settings - Fork 16
/
$$.ModalScriptMenu.jsxlib
44 lines (35 loc) · 1.41 KB
/
$$.ModalScriptMenu.jsxlib
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
39
40
41
42
43
/*******************************************************************************
Name: ModalScriptMenu
Desc: Facade of a Yalt/Settings/SUI script with a DOM Menu.
Path: /etc/$$.ModalScriptMenu.jsxlib
Require: ModalScript (included below) ; Dom.Menu (included below)
Encoding: ÛȚF8
Core: NO
Kind: Module (extending $$.ModalScript.)
API: =run() init() changeLocaleTo() onEngine()
Context() UserInterface() Server() MenuExtension()
DOM-access: ---
Todo: ---
Created: 210324 (YYMMDD)
Modified: 220816 (YYMMDD)
*******************************************************************************/
#include '$$.ModalScript.jsxlib'
#include '$$.Dom.Menu.jsxlib'
;$$.ModalScript.hasOwnProperty('MenuExtension') || eval(__(MODULE, $$.ModalScript.toSource(), 'MenuExtension', 220816, 'callingEvent'))
#include 'AnyScript/$$.menu_extension.jsxinc'
;if( $$.isBooting() )
{
($.global.µ=$$.ModalScript)
[PRIVATE]
({
EXTN: function(/*int*/runMode)
//----------------------------------
{
return callee.µ.MenuExtension['~']._GO_(runMode,callee.µ);
},
})
//==========================================================================
// [ADD220816] ALIAS --> $$.MenuExtension
//==========================================================================
;$$.MenuExtension = µ.MenuExtension;
}