Refactored with more consistent naming and placement. Fixed the table style wrapper.
This commit is contained in:
parent
d96cf3b809
commit
652186d829
9 changed files with 164 additions and 118 deletions
|
|
@ -110,6 +110,10 @@ TICKER_HANDLER = None
|
|||
MONITOR_HANDLER = None
|
||||
CHANNEL_HANDLER = None
|
||||
|
||||
# Containers
|
||||
VALIDATOR_CONTAINER = None
|
||||
OPTION_CONTAINER = None
|
||||
|
||||
|
||||
|
||||
def _create_version():
|
||||
|
|
@ -154,6 +158,7 @@ def _init():
|
|||
global create_object, create_script, create_account, create_channel, create_message, create_help_entry
|
||||
global settings, lockfuncs, logger, utils, gametime, ansi, spawn, managers
|
||||
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER
|
||||
global VALIDATOR_CONTAINER, OPTION_CONTAINER
|
||||
global EvMenu, EvTable, EvForm, EvMore, EvEditor
|
||||
global ANSIString
|
||||
|
||||
|
|
@ -215,6 +220,10 @@ def _init():
|
|||
from .comms.channelhandler import CHANNEL_HANDLER
|
||||
from .scripts.monitorhandler import MONITOR_HANDLER
|
||||
|
||||
# containers
|
||||
from .utils.containers import VALIDATOR_CONTAINER
|
||||
from .utils.containers import OPTION_CONTAINER
|
||||
|
||||
# initialize the doc string
|
||||
global __doc__
|
||||
__doc__ = ansi.parse_ansi(DOCSTRING)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue