UI CL TS convepts born at project schema

This commit is contained in:
Luis Fernando Molina committed 2020-11-27 09:31:56 +01:00
1 parent 268e68cd61
commit ea6fe25e10
2 files changed
+404 -388

No files matched your search

+385 -369
View File
@@ -2,378 +2,394 @@
{
"name": "Superalgos",
"propertyName": "superalgos",
"globals": [
{
"name": "Docs",
"propertyName": "docs",
"functionName": "newSuperalgosGlobalsDocs"
},
{
"name": "Zoom",
"propertyName": "zoom",
"functionName": "newSuperalgosGlobalsZoom"
}
],
"functionLibraries": [
{
"name": "Attach Detach",
"propertyName": "attachDetach",
"functionName": "newSuperalgosFunctionLibraryAttachDetach"
},
{
"name": "Chain Attach Detach",
"propertyName": "chainAttachDetach",
"functionName": "newSuperalgosFunctionLibraryChainAttachDetach"
},
{
"name": "Node Deleter",
"propertyName": "nodeDeleter",
"functionName": "newSuperalgosFunctionLibraryNodeDeleter"
},
{
"name": "Ui Objects From Nodes",
"propertyName": "uiObjectsFromNodes",
"functionName": "newSuperalgosFunctionLibraryUiObjectsFromNodes"
},
{
"name": "Protocol Node",
"propertyName": "protocolNode",
"functionName": "newSuperalgosFunctionLibraryProtocolNode"
},
{
"name": "Node Cloning",
"propertyName": "nodeCloning",
"functionName": "newSuperalgosFunctionLibraryNodeCloning"
},
{
"name": "Shortcut Keys",
"propertyName": "shortcutKeys",
"functionName": "newSuperalgosFunctionLibraryShortcutKeys"
},
{
"name": "On Focus",
"propertyName": "onFocus",
"functionName": "newSuperalgosFunctionLibraryOnFocus"
},
{
"name": "Super Scripts Functions",
"propertyName": "superScriptsFunctions",
"functionName": "newSuperalgosFunctionLibrarySuperScriptsFunctions"
},
{
"name": "Webhook Functions",
"propertyName": "webhookFunctions",
"functionName": "newSuperalgosFunctionLibraryWebhookFunctions"
},
{
"name": "Dependencies Filter",
"propertyName": "dependenciesFilter",
"functionName": "newSuperalgosFunctionLibraryDependenciesFilter"
},
{
"name": "Node Path",
"propertyName": "nodePath",
"functionName": "newSuperalgosFunctionLibraryNodePath"
},
{
"name": "Task Functions",
"propertyName": "taskFunctions",
"functionName": "newSuperalgosFunctionLibraryTaskFunctions"
},
{
"name": "Trading Session Functions",
"propertyName": "tradingSessionFunctions",
"functionName": "newSuperalgosFunctionLibraryTradingSessionFunctions"
},
{
"name": "Learning Session Functions",
"propertyName": "learningSessionFunctions",
"functionName": "newSuperalgosFunctionLibraryLearningSessionFunctions"
},
{
"name": "Crypto Ecosystem Functions",
"propertyName": "cryptoEcosystemFunctions",
"functionName": "newSuperalgosFunctionLibraryCryptoEcosystemFunctions"
},
{
"name": "Mine Functions",
"propertyName": "mineFunctions",
"functionName": "newSuperalgosFunctionLibraryMineFunctions"
},
{
"name": "Data Storage Functions",
"propertyName": "dataStorageFunctions",
"functionName": "newSuperalgosFunctionLibraryDataStorageFunctions"
},
{
"name": "Charting Space Functions",
"propertyName": "chartingSpaceFunctions",
"functionName": "newSuperalgosFunctionLibraryChartingSpaceFunctions"
},
{
"name": "Plugins Functions",
"propertyName": "pluginsFunctions",
"functionName": "newSuperalgosFunctionLibraryPluginsFunctions"
},
{
"name": "Workspace Functions",
"propertyName": "workspaceFunctions",
"functionName": "newSuperalgosFunctionLibraryWorkspaceFunctions"
}
],
"utilities": [
{
"name": "Branches",
"propertyName": "branches",
"functionName": "newSuperalgosUtilitiesBranches"
},
{
"name": "Clipboard",
"propertyName": "clipboard",
"functionName": "newSuperalgosUtilitiesClipboard"
},
{
"name": "Coordinate Transformations",
"propertyName": "coordinateTransformations",
"functionName": "newSuperalgosUtilitiesCoordinateTransformations"
},
{
"name": "Date Rate Transformations",
"propertyName": "dateRateTransformations",
"functionName": "newSuperalgosUtilitiesDateRateTransformations"
},
{
"name": "Dates",
"propertyName": "dates",
"functionName": "newSuperalgosUtilitiesDates"
},
{
"name": "Download",
"propertyName": "download",
"functionName": "newSuperalgosUtilitiesDownload"
},
{
"name": "Draw Print",
"propertyName": "drawPrint",
"functionName": "newSuperalgosUtilitiesDrawPrint"
},
{
"name": "Hierarchy",
"propertyName": "hierarchy",
"functionName": "newSuperalgosUtilitiesHierarchy"
},
{
"name": "Load Save Frame",
"propertyName": "loadSaveFrame",
"functionName": "newSuperalgosUtilitiesLoadSaveFrame"
},
{
"name": "Tutorial",
"propertyName": "tutorial",
"functionName": "newSuperalgosUtilitiesTutorial"
},
{
"name": "Menu",
"propertyName": "menu",
"functionName": "newSuperalgosUtilitiesMenu"
},
{
"name": "Meshes",
"propertyName": "meshes",
"functionName": "newSuperalgosUtilitiesMeshes"
},
{
"name": "Children",
"propertyName": "children",
"functionName": "newSuperalgosUtilitiesNodeChildren"
},
{
"name": "Node Config",
"propertyName": "nodeConfig",
"functionName": "newSuperalgosUtilitiesNodeConfig"
},
{
"name": "Folders",
"propertyName": "folders",
"functionName": "newSuperalgosUtilitiesFolders"
}
],
"spaces": [
{
"name": "Floating Space",
"folderName": "Floating-Space",
"propertyName": "floatingSpace",
"functionName": "newSuperalgosFloatingSpace",
"initializationIndex": 0,
"animationPhysicsIndex": 1,
"animationDrawIndex": 0,
"onMouseWheelIndex": 6,
"onMouseOverIndex": 8,
"onMouseClickIndex": 8,
"onMouseDownIndex": 8
},
{
"name": "Top Space",
"folderName": "Top-Space",
"propertyName": "topSpace",
"functionName": "newSuperalgosTopSpace",
"initializationIndex": 1,
"animationPhysicsIndex": 7,
"animationDrawIndex": 6,
"onMouseOverIndex": 4,
"onMouseClickIndex": 4,
"onMouseDownIndex": 4
},
{
"name": "Cockpit Space",
"folderName": "Cocksit-Space",
"propertyName": "cockpitSpace",
"functionName": "newSuperalgosCockpitSpace",
"initializationIndex": 2,
"animationPhysicsIndex": 0,
"animationDrawIndex": 7,
"onMouseWheelIndex": 4,
"onMouseOverIndex": 5,
"onMouseClickIndex": 5,
"onMouseDownIndex": 5
},
{
"name": "Design Space",
"folderName": "Design-Space",
"propertyName": "designSpace",
"functionName": "newSuperalgosDesignSpace",
"initializationIndex": 3,
"animationPhysicsIndex": 3,
"animationDrawIndex": 2,
"onMouseWheelIndex": 0,
"onMouseOverIndex": 3,
"onMouseClickIndex": 3,
"onMouseDownIndex": 3
},
{
"name": "Panel Space",
"folderName": "Panel-Space",
"propertyName": "panelSpace",
"functionName": "newSuperalgosPanelSpace",
"initializationIndex": 4,
"animationPhysicsIndex": 4,
"animationDrawIndex": 3,
"onMouseWheelIndex": 3,
"onMouseOverIndex": 6,
"onMouseClickIndex": 6,
"onMouseDownIndex": 6
},
{
"name": "Charting Space",
"folderName": "Charting-Space",
"propertyName": "chartingSpace",
"functionName": "newSuperalgosChartingSpace",
"initializationIndex": 5,
"animationPhysicsIndex": 2,
"animationDrawIndex": 1,
"onMouseWheelIndex": 5,
"onMouseOverIndex": 7,
"onMouseClickIndex": 7,
"onMouseDownIndex": 7
},
{
"name": "Side Space",
"folderName": "Floating-Space",
"propertyName": "sideSpace",
"functionName": "newSuperalgosSideSpace",
"initializationIndex": 6,
"animationPhysicsIndex": 8,
"animationDrawIndex": 8,
"onMouseWheelIndex": 2,
"onMouseOverIndex": 2,
"onMouseClickIndex": 2,
"onMouseDownIndex": 2
},
{
"name": "Doc Space",
"folderName": "Doc-Space",
"propertyName": "docSpace",
"functionName": "newSuperalgosDocSpace",
"initializationIndex": 7,
"animationPhysicsIndex": 5,
"animationDrawIndex": 4,
"onMouseWheelIndex": 1,
"onMouseOverIndex": 1,
"onMouseClickIndex": 1,
"onMouseDownIndex": 1
},
{
"name": "Chat Space",
"folderName": "Chat-Space",
"propertyName": "chatSpace",
"functionName": "newSuperalgosChatSpace"
},
{
"name": "Tutorial Space",
"folderName": "Tutorial-Space",
"propertyName": "tutorialSpace",
"functionName": "newSuperalgosTutorialSpace",
"initializationIndex": 8,
"animationPhysicsIndex": 6,
"animationDrawIndex": 5,
"onMouseWheelIndex": 0,
"onMouseOverIndex": 0,
"onMouseClickIndex": 0,
"onMouseDownIndex": 0
}
]
"UI": {
"globals": [
{
"name": "Docs",
"propertyName": "docs",
"functionName": "newSuperalgosGlobalsDocs"
},
{
"name": "Zoom",
"propertyName": "zoom",
"functionName": "newSuperalgosGlobalsZoom"
}
],
"functionLibraries": [
{
"name": "Attach Detach",
"propertyName": "attachDetach",
"functionName": "newSuperalgosFunctionLibraryAttachDetach"
},
{
"name": "Chain Attach Detach",
"propertyName": "chainAttachDetach",
"functionName": "newSuperalgosFunctionLibraryChainAttachDetach"
},
{
"name": "Node Deleter",
"propertyName": "nodeDeleter",
"functionName": "newSuperalgosFunctionLibraryNodeDeleter"
},
{
"name": "Ui Objects From Nodes",
"propertyName": "uiObjectsFromNodes",
"functionName": "newSuperalgosFunctionLibraryUiObjectsFromNodes"
},
{
"name": "Protocol Node",
"propertyName": "protocolNode",
"functionName": "newSuperalgosFunctionLibraryProtocolNode"
},
{
"name": "Node Cloning",
"propertyName": "nodeCloning",
"functionName": "newSuperalgosFunctionLibraryNodeCloning"
},
{
"name": "Shortcut Keys",
"propertyName": "shortcutKeys",
"functionName": "newSuperalgosFunctionLibraryShortcutKeys"
},
{
"name": "On Focus",
"propertyName": "onFocus",
"functionName": "newSuperalgosFunctionLibraryOnFocus"
},
{
"name": "Super Scripts Functions",
"propertyName": "superScriptsFunctions",
"functionName": "newSuperalgosFunctionLibrarySuperScriptsFunctions"
},
{
"name": "Webhook Functions",
"propertyName": "webhookFunctions",
"functionName": "newSuperalgosFunctionLibraryWebhookFunctions"
},
{
"name": "Dependencies Filter",
"propertyName": "dependenciesFilter",
"functionName": "newSuperalgosFunctionLibraryDependenciesFilter"
},
{
"name": "Node Path",
"propertyName": "nodePath",
"functionName": "newSuperalgosFunctionLibraryNodePath"
},
{
"name": "Task Functions",
"propertyName": "taskFunctions",
"functionName": "newSuperalgosFunctionLibraryTaskFunctions"
},
{
"name": "Trading Session Functions",
"propertyName": "tradingSessionFunctions",
"functionName": "newSuperalgosFunctionLibraryTradingSessionFunctions"
},
{
"name": "Learning Session Functions",
"propertyName": "learningSessionFunctions",
"functionName": "newSuperalgosFunctionLibraryLearningSessionFunctions"
},
{
"name": "Crypto Ecosystem Functions",
"propertyName": "cryptoEcosystemFunctions",
"functionName": "newSuperalgosFunctionLibraryCryptoEcosystemFunctions"
},
{
"name": "Mine Functions",
"propertyName": "mineFunctions",
"functionName": "newSuperalgosFunctionLibraryMineFunctions"
},
{
"name": "Data Storage Functions",
"propertyName": "dataStorageFunctions",
"functionName": "newSuperalgosFunctionLibraryDataStorageFunctions"
},
{
"name": "Charting Space Functions",
"propertyName": "chartingSpaceFunctions",
"functionName": "newSuperalgosFunctionLibraryChartingSpaceFunctions"
},
{
"name": "Plugins Functions",
"propertyName": "pluginsFunctions",
"functionName": "newSuperalgosFunctionLibraryPluginsFunctions"
},
{
"name": "Workspace Functions",
"propertyName": "workspaceFunctions",
"functionName": "newSuperalgosFunctionLibraryWorkspaceFunctions"
}
],
"utilities": [
{
"name": "Branches",
"propertyName": "branches",
"functionName": "newSuperalgosUtilitiesBranches"
},
{
"name": "Clipboard",
"propertyName": "clipboard",
"functionName": "newSuperalgosUtilitiesClipboard"
},
{
"name": "Coordinate Transformations",
"propertyName": "coordinateTransformations",
"functionName": "newSuperalgosUtilitiesCoordinateTransformations"
},
{
"name": "Date Rate Transformations",
"propertyName": "dateRateTransformations",
"functionName": "newSuperalgosUtilitiesDateRateTransformations"
},
{
"name": "Dates",
"propertyName": "dates",
"functionName": "newSuperalgosUtilitiesDates"
},
{
"name": "Download",
"propertyName": "download",
"functionName": "newSuperalgosUtilitiesDownload"
},
{
"name": "Draw Print",
"propertyName": "drawPrint",
"functionName": "newSuperalgosUtilitiesDrawPrint"
},
{
"name": "Hierarchy",
"propertyName": "hierarchy",
"functionName": "newSuperalgosUtilitiesHierarchy"
},
{
"name": "Load Save Frame",
"propertyName": "loadSaveFrame",
"functionName": "newSuperalgosUtilitiesLoadSaveFrame"
},
{
"name": "Tutorial",
"propertyName": "tutorial",
"functionName": "newSuperalgosUtilitiesTutorial"
},
{
"name": "Menu",
"propertyName": "menu",
"functionName": "newSuperalgosUtilitiesMenu"
},
{
"name": "Meshes",
"propertyName": "meshes",
"functionName": "newSuperalgosUtilitiesMeshes"
},
{
"name": "Children",
"propertyName": "children",
"functionName": "newSuperalgosUtilitiesNodeChildren"
},
{
"name": "Node Config",
"propertyName": "nodeConfig",
"functionName": "newSuperalgosUtilitiesNodeConfig"
},
{
"name": "Folders",
"propertyName": "folders",
"functionName": "newSuperalgosUtilitiesFolders"
}
],
"spaces": [
{
"name": "Floating Space",
"folderName": "Floating-Space",
"propertyName": "floatingSpace",
"functionName": "newSuperalgosFloatingSpace",
"initializationIndex": 0,
"animationPhysicsIndex": 1,
"animationDrawIndex": 0,
"onMouseWheelIndex": 6,
"onMouseOverIndex": 8,
"onMouseClickIndex": 8,
"onMouseDownIndex": 8
},
{
"name": "Top Space",
"folderName": "Top-Space",
"propertyName": "topSpace",
"functionName": "newSuperalgosTopSpace",
"initializationIndex": 1,
"animationPhysicsIndex": 7,
"animationDrawIndex": 6,
"onMouseOverIndex": 4,
"onMouseClickIndex": 4,
"onMouseDownIndex": 4
},
{
"name": "Cockpit Space",
"folderName": "Cocksit-Space",
"propertyName": "cockpitSpace",
"functionName": "newSuperalgosCockpitSpace",
"initializationIndex": 2,
"animationPhysicsIndex": 0,
"animationDrawIndex": 7,
"onMouseWheelIndex": 4,
"onMouseOverIndex": 5,
"onMouseClickIndex": 5,
"onMouseDownIndex": 5
},
{
"name": "Design Space",
"folderName": "Design-Space",
"propertyName": "designSpace",
"functionName": "newSuperalgosDesignSpace",
"initializationIndex": 3,
"animationPhysicsIndex": 3,
"animationDrawIndex": 2,
"onMouseWheelIndex": 0,
"onMouseOverIndex": 3,
"onMouseClickIndex": 3,
"onMouseDownIndex": 3
},
{
"name": "Panel Space",
"folderName": "Panel-Space",
"propertyName": "panelSpace",
"functionName": "newSuperalgosPanelSpace",
"initializationIndex": 4,
"animationPhysicsIndex": 4,
"animationDrawIndex": 3,
"onMouseWheelIndex": 3,
"onMouseOverIndex": 6,
"onMouseClickIndex": 6,
"onMouseDownIndex": 6
},
{
"name": "Charting Space",
"folderName": "Charting-Space",
"propertyName": "chartingSpace",
"functionName": "newSuperalgosChartingSpace",
"initializationIndex": 5,
"animationPhysicsIndex": 2,
"animationDrawIndex": 1,
"onMouseWheelIndex": 5,
"onMouseOverIndex": 7,
"onMouseClickIndex": 7,
"onMouseDownIndex": 7
},
{
"name": "Side Space",
"folderName": "Floating-Space",
"propertyName": "sideSpace",
"functionName": "newSuperalgosSideSpace",
"initializationIndex": 6,
"animationPhysicsIndex": 8,
"animationDrawIndex": 8,
"onMouseWheelIndex": 2,
"onMouseOverIndex": 2,
"onMouseClickIndex": 2,
"onMouseDownIndex": 2
},
{
"name": "Doc Space",
"folderName": "Doc-Space",
"propertyName": "docSpace",
"functionName": "newSuperalgosDocSpace",
"initializationIndex": 7,
"animationPhysicsIndex": 5,
"animationDrawIndex": 4,
"onMouseWheelIndex": 1,
"onMouseOverIndex": 1,
"onMouseClickIndex": 1,
"onMouseDownIndex": 1
},
{
"name": "Chat Space",
"folderName": "Chat-Space",
"propertyName": "chatSpace",
"functionName": "newSuperalgosChatSpace"
},
{
"name": "Tutorial Space",
"folderName": "Tutorial-Space",
"propertyName": "tutorialSpace",
"functionName": "newSuperalgosTutorialSpace",
"initializationIndex": 8,
"animationPhysicsIndex": 6,
"animationDrawIndex": 5,
"onMouseWheelIndex": 0,
"onMouseOverIndex": 0,
"onMouseClickIndex": 0,
"onMouseDownIndex": 0
}
]
},
"TS": {
},
"CL": {
}
},
{
"name": "Ethereum",
"propertyName": "ethereum",
"globals": [
{
"name": "ChainIds",
"propertyName": "chainIds",
"functionName": "newEthereumGlobalsChainIds"
}
],
"functionLibraries": [
{
"name": "Accounts",
"propertyName": "accounts",
"functionName": "newEthereumFunctionLibraryAccounts"
}
],
"utilities": [
{
"name": "Route To Client",
"propertyName": "routeToClient",
"functionName": "newEthereumUtilitiesRouteToClient"
}
],
"spaces": [
{
"name": "Blockchain Space",
"folderName": "Blockchain-Space",
"propertyName": "blockchainSpace",
"functionName": "newEthereumBlockchainSpace",
"initializationIndex": 0,
"animationPhysicsIndex": 0,
"animationDrawIndex": 0,
"onMouseWheelIndex": 0,
"onMouseOverIndex": 0,
"onMouseClickIndex": 0,
"onMouseDownIndex": 0
},
{
"name": "Wallet Space",
"folderName": "Wallet-Space",
"propertyName": "walletSpace",
"functionName": "newEthereumWalletSpace",
"initializationIndex": 1,
"animationPhysicsIndex": 1,
"animationDrawIndex": 1,
"onMouseWheelIndex": 1,
"onMouseOverIndex": 1,
"onMouseClickIndex": 1,
"onMouseDownIndex": 1
}
]
"UI": {
"globals": [
{
"name": "ChainIds",
"propertyName": "chainIds",
"functionName": "newEthereumGlobalsChainIds"
}
],
"functionLibraries": [
{
"name": "Accounts",
"propertyName": "accounts",
"functionName": "newEthereumFunctionLibraryAccounts"
}
],
"utilities": [
{
"name": "Route To Client",
"propertyName": "routeToClient",
"functionName": "newEthereumUtilitiesRouteToClient"
}
],
"spaces": [
{
"name": "Blockchain Space",
"folderName": "Blockchain-Space",
"propertyName": "blockchainSpace",
"functionName": "newEthereumBlockchainSpace",
"initializationIndex": 0,
"animationPhysicsIndex": 0,
"animationDrawIndex": 0,
"onMouseWheelIndex": 0,
"onMouseOverIndex": 0,
"onMouseClickIndex": 0,
"onMouseDownIndex": 0
},
{
"name": "Wallet Space",
"folderName": "Wallet-Space",
"propertyName": "walletSpace",
"functionName": "newEthereumWalletSpace",
"initializationIndex": 1,
"animationPhysicsIndex": 1,
"animationDrawIndex": 1,
"onMouseWheelIndex": 1,
"onMouseOverIndex": 1,
"onMouseClickIndex": 1,
"onMouseDownIndex": 1
}
]
},
"TS": {
},
"CL": {
}
}
]
+19 -19
View File
@@ -122,9 +122,9 @@ function newCanvas() {
let spaceDefinitionDrawMap = new Map()
/* Space Instantiation */
if (projectDefinition.spaces === undefined) { continue }
for (let j = 0; j < projectDefinition.spaces.length; j++) {
let spaceDefinition = projectDefinition.spaces[j]
if (projectDefinition.UI.spaces === undefined) { continue }
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceDefinition = projectDefinition.UI.spaces[j]
projectInstance.spaces[spaceDefinition.propertyName] = eval(spaceDefinition.functionName + '()')
let spaceInstance = projectInstance.spaces[spaceDefinition.propertyName]
spaceInstance.definition = spaceDefinition
@@ -159,7 +159,7 @@ function newCanvas() {
}
/* Space Initialization */
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = spaceInitializationMap.get(j)
if (spaceInstance !== undefined) {
spaceInstance.initialize()
@@ -167,7 +167,7 @@ function newCanvas() {
}
/* Space Animation Physics */
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = spaceAnimationPhysicsMap.get(j)
let spaceDefinition = spaceDefinitionPhysicsMap.get(j)
if (spaceInstance === undefined || spaceDefinition === undefined) { continue }
@@ -177,7 +177,7 @@ function newCanvas() {
}
/* Space Animation Drawing*/
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = spaceAnimationDrawMap.get(j)
let spaceDefinition = spaceDefinitionDrawMap.get(j)
if (spaceInstance === undefined || spaceDefinition === undefined) { continue }
@@ -187,27 +187,27 @@ function newCanvas() {
}
/* Set up Utilities of this Project */
if (projectDefinition.utilities !== undefined) {
for (let j = 0; j < projectDefinition.utilities.length; j++) {
let utilityDefinition = projectDefinition.utilities[j]
if (projectDefinition.UI.utilities !== undefined) {
for (let j = 0; j < projectDefinition.UI.utilities.length; j++) {
let utilityDefinition = projectDefinition.UI.utilities[j]
projectInstance.utilities[utilityDefinition.propertyName] = eval(utilityDefinition.functionName + '()')
}
}
/* Set up Globals of this Project */
if (projectDefinition.globals !== undefined) {
for (let j = 0; j < projectDefinition.globals.length; j++) {
let globalDefinition = projectDefinition.globals[j]
if (projectDefinition.UI.globals !== undefined) {
for (let j = 0; j < projectDefinition.UI.globals.length; j++) {
let globalDefinition = projectDefinition.UI.globals[j]
projectInstance.globals[globalDefinition.propertyName] = eval(globalDefinition.functionName + '()')
}
}
/* Set up Function Libraries of this Project */
if (projectDefinition.functionLibraries !== undefined) {
for (let j = 0; j < projectDefinition.functionLibraries.length; j++) {
let functionLibraryDefinition = projectDefinition.functionLibraries[j]
if (projectDefinition.UI.functionLibraries !== undefined) {
for (let j = 0; j < projectDefinition.UI.functionLibraries.length; j++) {
let functionLibraryDefinition = projectDefinition.UI.functionLibraries[j]
projectInstance.functionLibraries[functionLibraryDefinition.propertyName] = eval(functionLibraryDefinition.functionName + '()')
}
@@ -697,7 +697,7 @@ function newCanvas() {
let projectDefinition = PROJECTS_SCHEMA[i]
let projectInstance = UI.projects[projectDefinition.propertyName]
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = projectInstance.events.onMouseDownMap.get(j)
if (spaceInstance === undefined) { continue }
@@ -800,7 +800,7 @@ function newCanvas() {
let projectDefinition = PROJECTS_SCHEMA[i]
let projectInstance = UI.projects[projectDefinition.propertyName]
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = projectInstance.events.onMouseClickMap.get(j)
if (spaceInstance === undefined) { continue }
@@ -911,7 +911,7 @@ function newCanvas() {
let projectDefinition = PROJECTS_SCHEMA[i]
let projectInstance = UI.projects[projectDefinition.propertyName]
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = projectInstance.events.onMouseOverMap.get(j)
if (spaceInstance === undefined) { continue }
@@ -971,7 +971,7 @@ function newCanvas() {
let projectDefinition = PROJECTS_SCHEMA[i]
let projectInstance = UI.projects[projectDefinition.propertyName]
for (let j = 0; j < projectDefinition.spaces.length; j++) {
for (let j = 0; j < projectDefinition.UI.spaces.length; j++) {
let spaceInstance = projectInstance.events.onMouseWheelMap.get(j)
if (spaceInstance === undefined) { continue }