From c44b94abe305525dd2bf958d211e7aca749640da Mon Sep 17 00:00:00 2001 From: Azgaar Date: Wed, 18 Aug 2021 00:30:34 +0300 Subject: [PATCH] Updated Object Model (markdown) --- Object-Model.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Object-Model.md b/Object-Model.md index 0734156..5746ade 100644 --- a/Object-Model.md +++ b/Object-Model.md @@ -1,9 +1,7 @@ -**[Object model](https://en.wikipedia.org/wiki/Object_model)** in FMG is poorly defined, inconsistent and not documented in the codebase. This page is the first and the only try to document it somehow. Once everything is documented, it can be used for building a new consistent model. +**[Object model](https://en.wikipedia.org/wiki/Object_model)** in FMG is poorly defined, inconsistent and not documented in the codebase. This page is the first and the only try to document it somehow. Once everything is documented, it can be used for building a new consistent model. Please note the current document reflect the object model as is, so with all its quirks. The model we want to get will be coverer separately. FMG exposes all its basic data to the global namespace. The global namespace is getting polluted and it can cause conflicts with 3rd party extensions. But it allows much faster debugging and allows users to run custom JS code to alter the behavior and perform custom changes. So it allows dev console to be used by end-users. -Please note the current document reflect the object model as is, so with all its quirks. The model we want to get will be coverer separately. - # Basic objects FMG has two meta-objects storing most of the map data: * `grid` contains map data before _repacking_