From 9a93d0e6b3d6a87c7ac474136726d6976809cf87 Mon Sep 17 00:00:00 2001 From: Active Date: Fri, 31 May 2024 09:58:28 -0500 Subject: [PATCH] fix: reference error --- docs/ast/source/vyi.mjs.json | 4138 +++++++++++++++---------------- docs/class/src/vyi.mjs~VYI.html | 2 +- docs/file/src/vyi.mjs.html | 4 +- docs/index.json | 6 +- docs/source.html | 4 +- package.json | 2 +- src/vyi.mjs | 4 +- 7 files changed, 2080 insertions(+), 2080 deletions(-) diff --git a/docs/ast/source/vyi.mjs.json b/docs/ast/source/vyi.mjs.json index d9bd58d..afde1ca 100644 --- a/docs/ast/source/vyi.mjs.json +++ b/docs/ast/source/vyi.mjs.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 6125, + "end": 6134, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 6125, + "end": 6134, "loc": { "start": { "line": 1, @@ -203,7 +203,7 @@ { "type": "ExportNamedDeclaration", "start": 85, - "end": 6125, + "end": 6134, "loc": { "start": { "line": 4, @@ -219,7 +219,7 @@ "declaration": { "type": "ClassDeclaration", "start": 92, - "end": 6125, + "end": 6134, "loc": { "start": { "line": 4, @@ -251,7 +251,7 @@ "body": { "type": "ClassBody", "start": 102, - "end": 6125, + "end": 6134, "loc": { "start": { "line": 4, @@ -690,9 +690,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.\r\n ", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", "start": 705, - "end": 884, + "end": 894, "loc": { "start": { "line": 32, @@ -708,8 +708,8 @@ }, { "type": "ClassMethod", - "start": 890, - "end": 1233, + "start": 900, + "end": 1243, "loc": { "start": { "line": 36, @@ -724,8 +724,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 890, - "end": 901, + "start": 900, + "end": 911, "loc": { "start": { "line": 36, @@ -748,8 +748,8 @@ "params": [ { "type": "Identifier", - "start": 902, - "end": 910, + "start": 912, + "end": 920, "loc": { "start": { "line": 36, @@ -766,8 +766,8 @@ ], "body": { "type": "BlockStatement", - "start": 912, - "end": 1233, + "start": 922, + "end": 1243, "loc": { "start": { "line": 36, @@ -781,8 +781,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 923, - "end": 972, + "start": 933, + "end": 982, "loc": { "start": { "line": 37, @@ -795,8 +795,8 @@ }, "expression": { "type": "CallExpression", - "start": 923, - "end": 971, + "start": 933, + "end": 981, "loc": { "start": { "line": 37, @@ -809,8 +809,8 @@ }, "callee": { "type": "MemberExpression", - "start": 923, - "end": 946, + "start": 933, + "end": 956, "loc": { "start": { "line": 37, @@ -823,8 +823,8 @@ }, "object": { "type": "MemberExpression", - "start": 923, - "end": 933, + "start": 933, + "end": 943, "loc": { "start": { "line": 37, @@ -837,8 +837,8 @@ }, "object": { "type": "Identifier", - "start": 923, - "end": 926, + "start": 933, + "end": 936, "loc": { "start": { "line": 37, @@ -854,8 +854,8 @@ }, "property": { "type": "Identifier", - "start": 927, - "end": 933, + "start": 937, + "end": 943, "loc": { "start": { "line": 37, @@ -873,8 +873,8 @@ }, "property": { "type": "Identifier", - "start": 934, - "end": 946, + "start": 944, + "end": 956, "loc": { "start": { "line": 37, @@ -893,8 +893,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 947, - "end": 959, + "start": 957, + "end": 969, "loc": { "start": { "line": 37, @@ -913,8 +913,8 @@ }, { "type": "StringLiteral", - "start": 961, - "end": 970, + "start": 971, + "end": 980, "loc": { "start": { "line": 37, @@ -936,8 +936,8 @@ }, { "type": "IfStatement", - "start": 982, - "end": 1226, + "start": 992, + "end": 1236, "loc": { "start": { "line": 38, @@ -950,8 +950,8 @@ }, "test": { "type": "Identifier", - "start": 986, - "end": 994, + "start": 996, + "end": 1004, "loc": { "start": { "line": 38, @@ -967,8 +967,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 996, - "end": 1226, + "start": 1006, + "end": 1236, "loc": { "start": { "line": 38, @@ -982,8 +982,8 @@ "body": [ { "type": "IfStatement", - "start": 1011, - "end": 1215, + "start": 1021, + "end": 1225, "loc": { "start": { "line": 39, @@ -996,8 +996,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1015, - "end": 1041, + "start": 1025, + "end": 1051, "loc": { "start": { "line": 39, @@ -1010,8 +1010,8 @@ }, "left": { "type": "Identifier", - "start": 1015, - "end": 1023, + "start": 1025, + "end": 1033, "loc": { "start": { "line": 39, @@ -1028,8 +1028,8 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 1035, - "end": 1041, + "start": 1045, + "end": 1051, "loc": { "start": { "line": 39, @@ -1046,8 +1046,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1043, - "end": 1098, + "start": 1053, + "end": 1108, "loc": { "start": { "line": 39, @@ -1061,8 +1061,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1062, - "end": 1083, + "start": 1072, + "end": 1093, "loc": { "start": { "line": 40, @@ -1075,8 +1075,8 @@ }, "expression": { "type": "CallExpression", - "start": 1062, - "end": 1082, + "start": 1072, + "end": 1092, "loc": { "start": { "line": 40, @@ -1089,8 +1089,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1062, - "end": 1072, + "start": 1072, + "end": 1082, "loc": { "start": { "line": 40, @@ -1103,8 +1103,8 @@ }, "object": { "type": "ThisExpression", - "start": 1062, - "end": 1066, + "start": 1072, + "end": 1076, "loc": { "start": { "line": 40, @@ -1118,8 +1118,8 @@ }, "property": { "type": "Identifier", - "start": 1067, - "end": 1072, + "start": 1077, + "end": 1082, "loc": { "start": { "line": 40, @@ -1138,8 +1138,8 @@ "arguments": [ { "type": "Identifier", - "start": 1073, - "end": 1081, + "start": 1083, + "end": 1091, "loc": { "start": { "line": 40, @@ -1161,8 +1161,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 1104, - "end": 1215, + "start": 1114, + "end": 1225, "loc": { "start": { "line": 41, @@ -1176,8 +1176,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1123, - "end": 1200, + "start": 1133, + "end": 1210, "loc": { "start": { "line": 42, @@ -1190,8 +1190,8 @@ }, "expression": { "type": "CallExpression", - "start": 1123, - "end": 1199, + "start": 1133, + "end": 1209, "loc": { "start": { "line": 42, @@ -1204,8 +1204,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1123, - "end": 1160, + "start": 1133, + "end": 1170, "loc": { "start": { "line": 42, @@ -1218,8 +1218,8 @@ }, "object": { "type": "CallExpression", - "start": 1123, - "end": 1154, + "start": 1133, + "end": 1164, "loc": { "start": { "line": 42, @@ -1232,8 +1232,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1123, - "end": 1140, + "start": 1133, + "end": 1150, "loc": { "start": { "line": 42, @@ -1246,8 +1246,8 @@ }, "object": { "type": "MemberExpression", - "start": 1123, - "end": 1133, + "start": 1133, + "end": 1143, "loc": { "start": { "line": 42, @@ -1260,8 +1260,8 @@ }, "object": { "type": "Identifier", - "start": 1123, - "end": 1126, + "start": 1133, + "end": 1136, "loc": { "start": { "line": 42, @@ -1277,8 +1277,8 @@ }, "property": { "type": "Identifier", - "start": 1127, - "end": 1133, + "start": 1137, + "end": 1143, "loc": { "start": { "line": 42, @@ -1296,8 +1296,8 @@ }, "property": { "type": "Identifier", - "start": 1134, - "end": 1140, + "start": 1144, + "end": 1150, "loc": { "start": { "line": 42, @@ -1316,8 +1316,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1141, - "end": 1153, + "start": 1151, + "end": 1163, "loc": { "start": { "line": 42, @@ -1338,8 +1338,8 @@ }, "property": { "type": "Identifier", - "start": 1155, - "end": 1160, + "start": 1165, + "end": 1170, "loc": { "start": { "line": 42, @@ -1358,8 +1358,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1161, - "end": 1198, + "start": 1171, + "end": 1208, "loc": { "start": { "line": 42, @@ -1395,9 +1395,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.\r\n ", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", "start": 705, - "end": 884, + "end": 894, "loc": { "start": { "line": 32, @@ -1414,8 +1414,8 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1239, - "end": 1564, + "start": 1249, + "end": 1574, "loc": { "start": { "line": 46, @@ -1431,8 +1431,8 @@ }, { "type": "ClassMethod", - "start": 1570, - "end": 3219, + "start": 1580, + "end": 3229, "loc": { "start": { "line": 52, @@ -1447,8 +1447,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1576, - "end": 1581, + "start": 1586, + "end": 1591, "loc": { "start": { "line": 52, @@ -1470,8 +1470,8 @@ "params": [ { "type": "Identifier", - "start": 1582, - "end": 1590, + "start": 1592, + "end": 1600, "loc": { "start": { "line": 52, @@ -1488,8 +1488,8 @@ ], "body": { "type": "BlockStatement", - "start": 1592, - "end": 3219, + "start": 1602, + "end": 3229, "loc": { "start": { "line": 52, @@ -1503,8 +1503,8 @@ "body": [ { "type": "TryStatement", - "start": 1603, - "end": 3212, + "start": 1613, + "end": 3222, "loc": { "start": { "line": 53, @@ -1517,8 +1517,8 @@ }, "block": { "type": "BlockStatement", - "start": 1607, - "end": 3092, + "start": 1617, + "end": 3102, "loc": { "start": { "line": 53, @@ -1532,8 +1532,8 @@ "body": [ { "type": "IfStatement", - "start": 1622, - "end": 3081, + "start": 1632, + "end": 3091, "loc": { "start": { "line": 54, @@ -1546,8 +1546,8 @@ }, "test": { "type": "Identifier", - "start": 1626, - "end": 1634, + "start": 1636, + "end": 1644, "loc": { "start": { "line": 54, @@ -1563,8 +1563,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1636, - "end": 3081, + "start": 1646, + "end": 3091, "loc": { "start": { "line": 54, @@ -1578,8 +1578,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1655, - "end": 1663, + "start": 1665, + "end": 1673, "loc": { "start": { "line": 55, @@ -1593,8 +1593,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1659, - "end": 1662, + "start": 1669, + "end": 1672, "loc": { "start": { "line": 55, @@ -1607,8 +1607,8 @@ }, "id": { "type": "Identifier", - "start": 1659, - "end": 1662, + "start": 1669, + "end": 1672, "loc": { "start": { "line": 55, @@ -1630,8 +1630,8 @@ { "type": "CommentLine", "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1681, - "end": 1757, + "start": 1691, + "end": 1767, "loc": { "start": { "line": 56, @@ -1647,8 +1647,8 @@ }, { "type": "IfStatement", - "start": 1775, - "end": 2074, + "start": 1785, + "end": 2084, "loc": { "start": { "line": 57, @@ -1661,8 +1661,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1779, - "end": 1808, + "start": 1789, + "end": 1818, "loc": { "start": { "line": 57, @@ -1675,8 +1675,8 @@ }, "left": { "type": "UnaryExpression", - "start": 1779, - "end": 1795, + "start": 1789, + "end": 1805, "loc": { "start": { "line": 57, @@ -1691,8 +1691,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1786, - "end": 1794, + "start": 1796, + "end": 1804, "loc": { "start": { "line": 57, @@ -1708,7 +1708,7 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 1785 + "parenStart": 1795 } }, "extra": { @@ -1719,8 +1719,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1800, - "end": 1808, + "start": 1810, + "end": 1818, "loc": { "start": { "line": 57, @@ -1741,8 +1741,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1810, - "end": 1979, + "start": 1820, + "end": 1989, "loc": { "start": { "line": 57, @@ -1756,8 +1756,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1833, - "end": 1854, + "start": 1843, + "end": 1864, "loc": { "start": { "line": 58, @@ -1771,8 +1771,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1839, - "end": 1853, + "start": 1849, + "end": 1863, "loc": { "start": { "line": 58, @@ -1785,8 +1785,8 @@ }, "id": { "type": "Identifier", - "start": 1839, - "end": 1842, + "start": 1849, + "end": 1852, "loc": { "start": { "line": 58, @@ -1802,8 +1802,8 @@ }, "init": { "type": "Identifier", - "start": 1845, - "end": 1853, + "start": 1855, + "end": 1863, "loc": { "start": { "line": 58, @@ -1823,8 +1823,8 @@ }, { "type": "VariableDeclaration", - "start": 1876, - "end": 1910, + "start": 1886, + "end": 1920, "loc": { "start": { "line": 59, @@ -1838,8 +1838,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1882, - "end": 1909, + "start": 1892, + "end": 1919, "loc": { "start": { "line": 59, @@ -1852,8 +1852,8 @@ }, "id": { "type": "Identifier", - "start": 1882, - "end": 1890, + "start": 1892, + "end": 1900, "loc": { "start": { "line": 59, @@ -1869,8 +1869,8 @@ }, "init": { "type": "AwaitExpression", - "start": 1893, - "end": 1909, + "start": 1903, + "end": 1919, "loc": { "start": { "line": 59, @@ -1883,8 +1883,8 @@ }, "argument": { "type": "CallExpression", - "start": 1899, - "end": 1909, + "start": 1909, + "end": 1919, "loc": { "start": { "line": 59, @@ -1897,8 +1897,8 @@ }, "callee": { "type": "Identifier", - "start": 1899, - "end": 1904, + "start": 1909, + "end": 1914, "loc": { "start": { "line": 59, @@ -1915,8 +1915,8 @@ "arguments": [ { "type": "Identifier", - "start": 1905, - "end": 1908, + "start": 1915, + "end": 1918, "loc": { "start": { "line": 59, @@ -1939,8 +1939,8 @@ }, { "type": "ExpressionStatement", - "start": 1932, - "end": 1960, + "start": 1942, + "end": 1970, "loc": { "start": { "line": 60, @@ -1953,8 +1953,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1932, - "end": 1959, + "start": 1942, + "end": 1969, "loc": { "start": { "line": 60, @@ -1968,8 +1968,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1932, - "end": 1935, + "start": 1942, + "end": 1945, "loc": { "start": { "line": 60, @@ -1985,8 +1985,8 @@ }, "right": { "type": "AwaitExpression", - "start": 1938, - "end": 1959, + "start": 1948, + "end": 1969, "loc": { "start": { "line": 60, @@ -1999,8 +1999,8 @@ }, "argument": { "type": "CallExpression", - "start": 1944, - "end": 1959, + "start": 1954, + "end": 1969, "loc": { "start": { "line": 60, @@ -2013,8 +2013,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1944, - "end": 1957, + "start": 1954, + "end": 1967, "loc": { "start": { "line": 60, @@ -2027,8 +2027,8 @@ }, "object": { "type": "Identifier", - "start": 1944, - "end": 1952, + "start": 1954, + "end": 1962, "loc": { "start": { "line": 60, @@ -2044,8 +2044,8 @@ }, "property": { "type": "Identifier", - "start": 1953, - "end": 1957, + "start": 1963, + "end": 1967, "loc": { "start": { "line": 60, @@ -2071,8 +2071,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1985, - "end": 2074, + "start": 1995, + "end": 2084, "loc": { "start": { "line": 61, @@ -2085,8 +2085,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1989, - "end": 2015, + "start": 1999, + "end": 2025, "loc": { "start": { "line": 61, @@ -2099,8 +2099,8 @@ }, "left": { "type": "Identifier", - "start": 1989, - "end": 1997, + "start": 1999, + "end": 2007, "loc": { "start": { "line": 61, @@ -2117,8 +2117,8 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 2009, - "end": 2015, + "start": 2019, + "end": 2025, "loc": { "start": { "line": 61, @@ -2135,8 +2135,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2017, - "end": 2074, + "start": 2027, + "end": 2084, "loc": { "start": { "line": 61, @@ -2150,8 +2150,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2040, - "end": 2055, + "start": 2050, + "end": 2065, "loc": { "start": { "line": 62, @@ -2164,8 +2164,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2040, - "end": 2054, + "start": 2050, + "end": 2064, "loc": { "start": { "line": 62, @@ -2179,8 +2179,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 2040, - "end": 2043, + "start": 2050, + "end": 2053, "loc": { "start": { "line": 62, @@ -2196,8 +2196,8 @@ }, "right": { "type": "Identifier", - "start": 2046, - "end": 2054, + "start": 2056, + "end": 2064, "loc": { "start": { "line": 62, @@ -2224,8 +2224,8 @@ { "type": "CommentLine", "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1681, - "end": 1757, + "start": 1691, + "end": 1767, "loc": { "start": { "line": 56, @@ -2242,8 +2242,8 @@ { "type": "CommentLine", "value": " If there is data to parse", - "start": 2092, - "end": 2120, + "start": 2102, + "end": 2130, "loc": { "start": { "line": 64, @@ -2258,8 +2258,8 @@ { "type": "CommentLine", "value": " Then parse through it", - "start": 2138, - "end": 2162, + "start": 2148, + "end": 2172, "loc": { "start": { "line": 65, @@ -2275,8 +2275,8 @@ }, { "type": "IfStatement", - "start": 2180, - "end": 3066, + "start": 2190, + "end": 3076, "loc": { "start": { "line": 66, @@ -2289,8 +2289,8 @@ }, "test": { "type": "Identifier", - "start": 2184, - "end": 2187, + "start": 2194, + "end": 2197, "loc": { "start": { "line": 66, @@ -2307,8 +2307,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2189, - "end": 3066, + "start": 2199, + "end": 3076, "loc": { "start": { "line": 66, @@ -2322,8 +2322,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2363, - "end": 2383, + "start": 2373, + "end": 2393, "loc": { "start": { "line": 71, @@ -2337,8 +2337,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 2369, - "end": 2382, + "start": 2379, + "end": 2392, "loc": { "start": { "line": 71, @@ -2351,8 +2351,8 @@ }, "id": { "type": "Identifier", - "start": 2369, - "end": 2374, + "start": 2379, + "end": 2384, "loc": { "start": { "line": 71, @@ -2369,8 +2369,8 @@ }, "init": { "type": "MemberExpression", - "start": 2377, - "end": 2382, + "start": 2387, + "end": 2392, "loc": { "start": { "line": 71, @@ -2383,8 +2383,8 @@ }, "object": { "type": "Identifier", - "start": 2377, - "end": 2380, + "start": 2387, + "end": 2390, "loc": { "start": { "line": 71, @@ -2400,8 +2400,8 @@ }, "property": { "type": "Identifier", - "start": 2381, - "end": 2382, + "start": 2391, + "end": 2392, "loc": { "start": { "line": 71, @@ -2425,8 +2425,8 @@ { "type": "CommentBlock", "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2212, - "end": 2341, + "start": 2222, + "end": 2351, "loc": { "start": { "line": 67, @@ -2443,8 +2443,8 @@ { "type": "CommentBlock", "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2405, - "end": 2558, + "start": 2415, + "end": 2568, "loc": { "start": { "line": 72, @@ -2460,8 +2460,8 @@ }, { "type": "ExpressionStatement", - "start": 2580, - "end": 2612, + "start": 2590, + "end": 2622, "loc": { "start": { "line": 76, @@ -2474,8 +2474,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2580, - "end": 2611, + "start": 2590, + "end": 2621, "loc": { "start": { "line": 76, @@ -2489,8 +2489,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2580, - "end": 2598, + "start": 2590, + "end": 2608, "loc": { "start": { "line": 76, @@ -2503,8 +2503,8 @@ }, "object": { "type": "ThisExpression", - "start": 2580, - "end": 2584, + "start": 2590, + "end": 2594, "loc": { "start": { "line": 76, @@ -2519,8 +2519,8 @@ }, "property": { "type": "Identifier", - "start": 2585, - "end": 2598, + "start": 2595, + "end": 2608, "loc": { "start": { "line": 76, @@ -2539,8 +2539,8 @@ }, "right": { "type": "LogicalExpression", - "start": 2601, - "end": 2611, + "start": 2611, + "end": 2621, "loc": { "start": { "line": 76, @@ -2553,8 +2553,8 @@ }, "left": { "type": "MemberExpression", - "start": 2601, - "end": 2606, + "start": 2611, + "end": 2616, "loc": { "start": { "line": 76, @@ -2567,8 +2567,8 @@ }, "object": { "type": "Identifier", - "start": 2601, - "end": 2604, + "start": 2611, + "end": 2614, "loc": { "start": { "line": 76, @@ -2584,8 +2584,8 @@ }, "property": { "type": "Identifier", - "start": 2605, - "end": 2606, + "start": 2615, + "end": 2616, "loc": { "start": { "line": 76, @@ -2604,8 +2604,8 @@ "operator": "||", "right": { "type": "NumericLiteral", - "start": 2610, - "end": 2611, + "start": 2620, + "end": 2621, "loc": { "start": { "line": 76, @@ -2629,8 +2629,8 @@ { "type": "CommentBlock", "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2405, - "end": 2558, + "start": 2415, + "end": 2568, "loc": { "start": { "line": 72, @@ -2646,8 +2646,8 @@ }, { "type": "IfStatement", - "start": 2636, - "end": 3047, + "start": 2646, + "end": 3057, "loc": { "start": { "line": 78, @@ -2660,8 +2660,8 @@ }, "test": { "type": "CallExpression", - "start": 2640, - "end": 2660, + "start": 2650, + "end": 2670, "loc": { "start": { "line": 78, @@ -2674,8 +2674,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2640, - "end": 2653, + "start": 2650, + "end": 2663, "loc": { "start": { "line": 78, @@ -2688,8 +2688,8 @@ }, "object": { "type": "Identifier", - "start": 2640, - "end": 2645, + "start": 2650, + "end": 2655, "loc": { "start": { "line": 78, @@ -2705,8 +2705,8 @@ }, "property": { "type": "Identifier", - "start": 2646, - "end": 2653, + "start": 2656, + "end": 2663, "loc": { "start": { "line": 78, @@ -2725,8 +2725,8 @@ "arguments": [ { "type": "Identifier", - "start": 2654, - "end": 2659, + "start": 2664, + "end": 2669, "loc": { "start": { "line": 78, @@ -2744,8 +2744,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2662, - "end": 2917, + "start": 2672, + "end": 2927, "loc": { "start": { "line": 78, @@ -2759,8 +2759,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2781, - "end": 2894, + "start": 2791, + "end": 2904, "loc": { "start": { "line": 80, @@ -2773,8 +2773,8 @@ }, "expression": { "type": "CallExpression", - "start": 2781, - "end": 2893, + "start": 2791, + "end": 2903, "loc": { "start": { "line": 80, @@ -2787,8 +2787,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2781, - "end": 2794, + "start": 2791, + "end": 2804, "loc": { "start": { "line": 80, @@ -2801,8 +2801,8 @@ }, "object": { "type": "Identifier", - "start": 2781, - "end": 2786, + "start": 2791, + "end": 2796, "loc": { "start": { "line": 80, @@ -2819,8 +2819,8 @@ }, "property": { "type": "Identifier", - "start": 2787, - "end": 2794, + "start": 2797, + "end": 2804, "loc": { "start": { "line": 80, @@ -2840,8 +2840,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2795, - "end": 2892, + "start": 2805, + "end": 2902, "loc": { "start": { "line": 80, @@ -2859,8 +2859,8 @@ "params": [ { "type": "Identifier", - "start": 2796, - "end": 2805, + "start": 2806, + "end": 2815, "loc": { "start": { "line": 80, @@ -2877,8 +2877,8 @@ ], "body": { "type": "BlockStatement", - "start": 2810, - "end": 2892, + "start": 2820, + "end": 2902, "loc": { "start": { "line": 80, @@ -2892,8 +2892,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2841, - "end": 2865, + "start": 2851, + "end": 2875, "loc": { "start": { "line": 81, @@ -2906,8 +2906,8 @@ }, "expression": { "type": "CallExpression", - "start": 2841, - "end": 2864, + "start": 2851, + "end": 2874, "loc": { "start": { "line": 81, @@ -2920,8 +2920,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2841, - "end": 2853, + "start": 2851, + "end": 2863, "loc": { "start": { "line": 81, @@ -2934,8 +2934,8 @@ }, "object": { "type": "ThisExpression", - "start": 2841, - "end": 2845, + "start": 2851, + "end": 2855, "loc": { "start": { "line": 81, @@ -2949,8 +2949,8 @@ }, "property": { "type": "Identifier", - "start": 2846, - "end": 2853, + "start": 2856, + "end": 2863, "loc": { "start": { "line": 81, @@ -2969,8 +2969,8 @@ "arguments": [ { "type": "Identifier", - "start": 2854, - "end": 2863, + "start": 2864, + "end": 2873, "loc": { "start": { "line": 81, @@ -2998,8 +2998,8 @@ { "type": "CommentLine", "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2689, - "end": 2755, + "start": 2699, + "end": 2765, "loc": { "start": { "line": 79, @@ -3018,8 +3018,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 2923, - "end": 3047, + "start": 2933, + "end": 3057, "loc": { "start": { "line": 83, @@ -3033,8 +3033,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2950, - "end": 3024, + "start": 2960, + "end": 3034, "loc": { "start": { "line": 84, @@ -3047,8 +3047,8 @@ }, "expression": { "type": "CallExpression", - "start": 2950, - "end": 3023, + "start": 2960, + "end": 3033, "loc": { "start": { "line": 84, @@ -3061,8 +3061,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2950, - "end": 2987, + "start": 2960, + "end": 2997, "loc": { "start": { "line": 84, @@ -3075,8 +3075,8 @@ }, "object": { "type": "CallExpression", - "start": 2950, - "end": 2981, + "start": 2960, + "end": 2991, "loc": { "start": { "line": 84, @@ -3089,8 +3089,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2950, - "end": 2967, + "start": 2960, + "end": 2977, "loc": { "start": { "line": 84, @@ -3103,8 +3103,8 @@ }, "object": { "type": "MemberExpression", - "start": 2950, - "end": 2960, + "start": 2960, + "end": 2970, "loc": { "start": { "line": 84, @@ -3117,8 +3117,8 @@ }, "object": { "type": "Identifier", - "start": 2950, - "end": 2953, + "start": 2960, + "end": 2963, "loc": { "start": { "line": 84, @@ -3134,8 +3134,8 @@ }, "property": { "type": "Identifier", - "start": 2954, - "end": 2960, + "start": 2964, + "end": 2970, "loc": { "start": { "line": 84, @@ -3153,8 +3153,8 @@ }, "property": { "type": "Identifier", - "start": 2961, - "end": 2967, + "start": 2971, + "end": 2977, "loc": { "start": { "line": 84, @@ -3173,8 +3173,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2968, - "end": 2980, + "start": 2978, + "end": 2990, "loc": { "start": { "line": 84, @@ -3195,8 +3195,8 @@ }, "property": { "type": "Identifier", - "start": 2982, - "end": 2987, + "start": 2992, + "end": 2997, "loc": { "start": { "line": 84, @@ -3215,8 +3215,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2988, - "end": 3022, + "start": 2998, + "end": 3032, "loc": { "start": { "line": 84, @@ -3248,8 +3248,8 @@ { "type": "CommentLine", "value": " If there is data to parse", - "start": 2092, - "end": 2120, + "start": 2102, + "end": 2130, "loc": { "start": { "line": 64, @@ -3264,8 +3264,8 @@ { "type": "CommentLine", "value": " Then parse through it", - "start": 2138, - "end": 2162, + "start": 2148, + "end": 2172, "loc": { "start": { "line": 65, @@ -3289,8 +3289,8 @@ }, "handler": { "type": "CatchClause", - "start": 3093, - "end": 3212, + "start": 3103, + "end": 3222, "loc": { "start": { "line": 88, @@ -3303,8 +3303,8 @@ }, "param": { "type": "Identifier", - "start": 3100, - "end": 3106, + "start": 3110, + "end": 3116, "loc": { "start": { "line": 88, @@ -3320,8 +3320,8 @@ }, "body": { "type": "BlockStatement", - "start": 3108, - "end": 3212, + "start": 3118, + "end": 3222, "loc": { "start": { "line": 88, @@ -3335,8 +3335,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3123, - "end": 3201, + "start": 3133, + "end": 3211, "loc": { "start": { "line": 89, @@ -3349,8 +3349,8 @@ }, "expression": { "type": "CallExpression", - "start": 3123, - "end": 3200, + "start": 3133, + "end": 3210, "loc": { "start": { "line": 89, @@ -3363,8 +3363,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3123, - "end": 3160, + "start": 3133, + "end": 3170, "loc": { "start": { "line": 89, @@ -3377,8 +3377,8 @@ }, "object": { "type": "CallExpression", - "start": 3123, - "end": 3154, + "start": 3133, + "end": 3164, "loc": { "start": { "line": 89, @@ -3391,8 +3391,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3123, - "end": 3140, + "start": 3133, + "end": 3150, "loc": { "start": { "line": 89, @@ -3405,8 +3405,8 @@ }, "object": { "type": "MemberExpression", - "start": 3123, - "end": 3133, + "start": 3133, + "end": 3143, "loc": { "start": { "line": 89, @@ -3419,8 +3419,8 @@ }, "object": { "type": "Identifier", - "start": 3123, - "end": 3126, + "start": 3133, + "end": 3136, "loc": { "start": { "line": 89, @@ -3436,8 +3436,8 @@ }, "property": { "type": "Identifier", - "start": 3127, - "end": 3133, + "start": 3137, + "end": 3143, "loc": { "start": { "line": 89, @@ -3455,8 +3455,8 @@ }, "property": { "type": "Identifier", - "start": 3134, - "end": 3140, + "start": 3144, + "end": 3150, "loc": { "start": { "line": 89, @@ -3475,8 +3475,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3141, - "end": 3153, + "start": 3151, + "end": 3163, "loc": { "start": { "line": 89, @@ -3497,8 +3497,8 @@ }, "property": { "type": "Identifier", - "start": 3155, - "end": 3160, + "start": 3165, + "end": 3170, "loc": { "start": { "line": 89, @@ -3517,8 +3517,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 3161, - "end": 3199, + "start": 3171, + "end": 3209, "loc": { "start": { "line": 89, @@ -3532,8 +3532,8 @@ "expressions": [ { "type": "Identifier", - "start": 3191, - "end": 3197, + "start": 3201, + "end": 3207, "loc": { "start": { "line": 89, @@ -3551,8 +3551,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3162, - "end": 3189, + "start": 3172, + "end": 3199, "loc": { "start": { "line": 89, @@ -3571,8 +3571,8 @@ }, { "type": "TemplateElement", - "start": 3198, - "end": 3198, + "start": 3208, + "end": 3208, "loc": { "start": { "line": 89, @@ -3609,8 +3609,8 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1239, - "end": 1564, + "start": 1249, + "end": 1574, "loc": { "start": { "line": 46, @@ -3627,8 +3627,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3225, - "end": 3394, + "start": 3235, + "end": 3404, "loc": { "start": { "line": 92, @@ -3644,8 +3644,8 @@ }, { "type": "ClassMethod", - "start": 3400, - "end": 3907, + "start": 3410, + "end": 3917, "loc": { "start": { "line": 97, @@ -3660,8 +3660,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3400, - "end": 3407, + "start": 3410, + "end": 3417, "loc": { "start": { "line": 97, @@ -3684,8 +3684,8 @@ "params": [ { "type": "Identifier", - "start": 3408, - "end": 3417, + "start": 3418, + "end": 3427, "loc": { "start": { "line": 97, @@ -3702,8 +3702,8 @@ ], "body": { "type": "BlockStatement", - "start": 3419, - "end": 3907, + "start": 3429, + "end": 3917, "loc": { "start": { "line": 97, @@ -3717,8 +3717,8 @@ "body": [ { "type": "IfStatement", - "start": 3430, - "end": 3900, + "start": 3440, + "end": 3910, "loc": { "start": { "line": 98, @@ -3731,8 +3731,8 @@ }, "test": { "type": "Identifier", - "start": 3434, - "end": 3443, + "start": 3444, + "end": 3453, "loc": { "start": { "line": 98, @@ -3748,8 +3748,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3445, - "end": 3806, + "start": 3455, + "end": 3816, "loc": { "start": { "line": 98, @@ -3763,8 +3763,8 @@ "body": [ { "type": "IfStatement", - "start": 3460, - "end": 3795, + "start": 3470, + "end": 3805, "loc": { "start": { "line": 99, @@ -3777,8 +3777,8 @@ }, "test": { "type": "BinaryExpression", - "start": 3464, - "end": 3491, + "start": 3474, + "end": 3501, "loc": { "start": { "line": 99, @@ -3791,8 +3791,8 @@ }, "left": { "type": "Identifier", - "start": 3464, - "end": 3473, + "start": 3474, + "end": 3483, "loc": { "start": { "line": 99, @@ -3809,8 +3809,8 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 3485, - "end": 3491, + "start": 3495, + "end": 3501, "loc": { "start": { "line": 99, @@ -3827,8 +3827,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3493, - "end": 3683, + "start": 3503, + "end": 3693, "loc": { "start": { "line": 99, @@ -3842,8 +3842,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 3512, - "end": 3545, + "start": 3522, + "end": 3555, "loc": { "start": { "line": 100, @@ -3857,8 +3857,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 3518, - "end": 3544, + "start": 3528, + "end": 3554, "loc": { "start": { "line": 100, @@ -3871,8 +3871,8 @@ }, "id": { "type": "Identifier", - "start": 3518, - "end": 3522, + "start": 3528, + "end": 3532, "loc": { "start": { "line": 100, @@ -3888,8 +3888,8 @@ }, "init": { "type": "NewExpression", - "start": 3525, - "end": 3544, + "start": 3535, + "end": 3554, "loc": { "start": { "line": 100, @@ -3902,8 +3902,8 @@ }, "callee": { "type": "Identifier", - "start": 3529, - "end": 3533, + "start": 3539, + "end": 3543, "loc": { "start": { "line": 100, @@ -3920,8 +3920,8 @@ "arguments": [ { "type": "Identifier", - "start": 3534, - "end": 3543, + "start": 3544, + "end": 3553, "loc": { "start": { "line": 100, @@ -3944,8 +3944,8 @@ { "type": "CommentLine", "value": " Add the icon to the icons array.", - "start": 3563, - "end": 3598, + "start": 3573, + "end": 3608, "loc": { "start": { "line": 101, @@ -3961,8 +3961,8 @@ }, { "type": "ExpressionStatement", - "start": 3616, - "end": 3638, + "start": 3626, + "end": 3648, "loc": { "start": { "line": 102, @@ -3975,8 +3975,8 @@ }, "expression": { "type": "CallExpression", - "start": 3616, - "end": 3637, + "start": 3626, + "end": 3647, "loc": { "start": { "line": 102, @@ -3989,8 +3989,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3616, - "end": 3631, + "start": 3626, + "end": 3641, "loc": { "start": { "line": 102, @@ -4003,8 +4003,8 @@ }, "object": { "type": "MemberExpression", - "start": 3616, - "end": 3626, + "start": 3626, + "end": 3636, "loc": { "start": { "line": 102, @@ -4017,8 +4017,8 @@ }, "object": { "type": "ThisExpression", - "start": 3616, - "end": 3620, + "start": 3626, + "end": 3630, "loc": { "start": { "line": 102, @@ -4033,8 +4033,8 @@ }, "property": { "type": "Identifier", - "start": 3621, - "end": 3626, + "start": 3631, + "end": 3636, "loc": { "start": { "line": 102, @@ -4053,8 +4053,8 @@ }, "property": { "type": "Identifier", - "start": 3627, - "end": 3631, + "start": 3637, + "end": 3641, "loc": { "start": { "line": 102, @@ -4074,8 +4074,8 @@ "arguments": [ { "type": "Identifier", - "start": 3632, - "end": 3636, + "start": 3642, + "end": 3646, "loc": { "start": { "line": 102, @@ -4096,8 +4096,8 @@ { "type": "CommentLine", "value": " Add the icon to the icons array.", - "start": 3563, - "end": 3598, + "start": 3573, + "end": 3608, "loc": { "start": { "line": 101, @@ -4113,8 +4113,8 @@ }, { "type": "ReturnStatement", - "start": 3656, - "end": 3668, + "start": 3666, + "end": 3678, "loc": { "start": { "line": 103, @@ -4127,8 +4127,8 @@ }, "argument": { "type": "Identifier", - "start": 3663, - "end": 3667, + "start": 3673, + "end": 3677, "loc": { "start": { "line": 103, @@ -4148,8 +4148,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 3689, - "end": 3795, + "start": 3699, + "end": 3805, "loc": { "start": { "line": 104, @@ -4163,8 +4163,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3708, - "end": 3780, + "start": 3718, + "end": 3790, "loc": { "start": { "line": 105, @@ -4177,8 +4177,8 @@ }, "expression": { "type": "CallExpression", - "start": 3708, - "end": 3779, + "start": 3718, + "end": 3789, "loc": { "start": { "line": 105, @@ -4191,8 +4191,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3708, - "end": 3745, + "start": 3718, + "end": 3755, "loc": { "start": { "line": 105, @@ -4205,8 +4205,8 @@ }, "object": { "type": "CallExpression", - "start": 3708, - "end": 3739, + "start": 3718, + "end": 3749, "loc": { "start": { "line": 105, @@ -4219,8 +4219,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3708, - "end": 3725, + "start": 3718, + "end": 3735, "loc": { "start": { "line": 105, @@ -4233,8 +4233,8 @@ }, "object": { "type": "MemberExpression", - "start": 3708, - "end": 3718, + "start": 3718, + "end": 3728, "loc": { "start": { "line": 105, @@ -4247,8 +4247,8 @@ }, "object": { "type": "Identifier", - "start": 3708, - "end": 3711, + "start": 3718, + "end": 3721, "loc": { "start": { "line": 105, @@ -4264,8 +4264,8 @@ }, "property": { "type": "Identifier", - "start": 3712, - "end": 3718, + "start": 3722, + "end": 3728, "loc": { "start": { "line": 105, @@ -4283,8 +4283,8 @@ }, "property": { "type": "Identifier", - "start": 3719, - "end": 3725, + "start": 3729, + "end": 3735, "loc": { "start": { "line": 105, @@ -4303,8 +4303,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3726, - "end": 3738, + "start": 3736, + "end": 3748, "loc": { "start": { "line": 105, @@ -4325,8 +4325,8 @@ }, "property": { "type": "Identifier", - "start": 3740, - "end": 3745, + "start": 3750, + "end": 3755, "loc": { "start": { "line": 105, @@ -4345,8 +4345,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3746, - "end": 3778, + "start": 3756, + "end": 3788, "loc": { "start": { "line": 105, @@ -4375,8 +4375,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 3812, - "end": 3900, + "start": 3822, + "end": 3910, "loc": { "start": { "line": 107, @@ -4390,8 +4390,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3827, - "end": 3889, + "start": 3837, + "end": 3899, "loc": { "start": { "line": 108, @@ -4404,8 +4404,8 @@ }, "expression": { "type": "CallExpression", - "start": 3827, - "end": 3888, + "start": 3837, + "end": 3898, "loc": { "start": { "line": 108, @@ -4418,8 +4418,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3827, - "end": 3864, + "start": 3837, + "end": 3874, "loc": { "start": { "line": 108, @@ -4432,8 +4432,8 @@ }, "object": { "type": "CallExpression", - "start": 3827, - "end": 3858, + "start": 3837, + "end": 3868, "loc": { "start": { "line": 108, @@ -4446,8 +4446,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3827, - "end": 3844, + "start": 3837, + "end": 3854, "loc": { "start": { "line": 108, @@ -4460,8 +4460,8 @@ }, "object": { "type": "MemberExpression", - "start": 3827, - "end": 3837, + "start": 3837, + "end": 3847, "loc": { "start": { "line": 108, @@ -4474,8 +4474,8 @@ }, "object": { "type": "Identifier", - "start": 3827, - "end": 3830, + "start": 3837, + "end": 3840, "loc": { "start": { "line": 108, @@ -4491,8 +4491,8 @@ }, "property": { "type": "Identifier", - "start": 3831, - "end": 3837, + "start": 3841, + "end": 3847, "loc": { "start": { "line": 108, @@ -4510,8 +4510,8 @@ }, "property": { "type": "Identifier", - "start": 3838, - "end": 3844, + "start": 3848, + "end": 3854, "loc": { "start": { "line": 108, @@ -4530,8 +4530,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3845, - "end": 3857, + "start": 3855, + "end": 3867, "loc": { "start": { "line": 108, @@ -4552,8 +4552,8 @@ }, "property": { "type": "Identifier", - "start": 3859, - "end": 3864, + "start": 3869, + "end": 3874, "loc": { "start": { "line": 108, @@ -4572,8 +4572,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3865, - "end": 3887, + "start": 3875, + "end": 3897, "loc": { "start": { "line": 108, @@ -4605,8 +4605,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3225, - "end": 3394, + "start": 3235, + "end": 3404, "loc": { "start": { "line": 92, @@ -4623,8 +4623,8 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3913, - "end": 4245, + "start": 3923, + "end": 4255, "loc": { "start": { "line": 111, @@ -4640,8 +4640,8 @@ }, { "type": "ClassMethod", - "start": 4251, - "end": 4494, + "start": 4261, + "end": 4504, "loc": { "start": { "line": 116, @@ -4656,8 +4656,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4251, - "end": 4261, + "start": 4261, + "end": 4271, "loc": { "start": { "line": 116, @@ -4680,8 +4680,8 @@ "params": [ { "type": "Identifier", - "start": 4262, - "end": 4267, + "start": 4272, + "end": 4277, "loc": { "start": { "line": 116, @@ -4697,8 +4697,8 @@ }, { "type": "Identifier", - "start": 4269, - "end": 4274, + "start": 4279, + "end": 4284, "loc": { "start": { "line": 116, @@ -4715,8 +4715,8 @@ ], "body": { "type": "BlockStatement", - "start": 4276, - "end": 4494, + "start": 4286, + "end": 4504, "loc": { "start": { "line": 116, @@ -4730,8 +4730,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 4287, - "end": 4329, + "start": 4297, + "end": 4339, "loc": { "start": { "line": 117, @@ -4745,8 +4745,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4293, - "end": 4328, + "start": 4303, + "end": 4338, "loc": { "start": { "line": 117, @@ -4759,8 +4759,8 @@ }, "id": { "type": "Identifier", - "start": 4293, - "end": 4297, + "start": 4303, + "end": 4307, "loc": { "start": { "line": 117, @@ -4776,8 +4776,8 @@ }, "init": { "type": "LogicalExpression", - "start": 4300, - "end": 4328, + "start": 4310, + "end": 4338, "loc": { "start": { "line": 117, @@ -4790,8 +4790,8 @@ }, "left": { "type": "Identifier", - "start": 4300, - "end": 4305, + "start": 4310, + "end": 4315, "loc": { "start": { "line": 117, @@ -4808,8 +4808,8 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 4309, - "end": 4328, + "start": 4319, + "end": 4338, "loc": { "start": { "line": 117, @@ -4822,8 +4822,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4309, - "end": 4321, + "start": 4319, + "end": 4331, "loc": { "start": { "line": 117, @@ -4836,8 +4836,8 @@ }, "object": { "type": "ThisExpression", - "start": 4309, - "end": 4313, + "start": 4319, + "end": 4323, "loc": { "start": { "line": 117, @@ -4851,8 +4851,8 @@ }, "property": { "type": "Identifier", - "start": 4314, - "end": 4321, + "start": 4324, + "end": 4331, "loc": { "start": { "line": 117, @@ -4871,8 +4871,8 @@ "arguments": [ { "type": "Identifier", - "start": 4322, - "end": 4327, + "start": 4332, + "end": 4337, "loc": { "start": { "line": 117, @@ -4895,8 +4895,8 @@ }, { "type": "IfStatement", - "start": 4339, - "end": 4487, + "start": 4349, + "end": 4497, "loc": { "start": { "line": 118, @@ -4909,8 +4909,8 @@ }, "test": { "type": "Identifier", - "start": 4343, - "end": 4347, + "start": 4353, + "end": 4357, "loc": { "start": { "line": 118, @@ -4926,8 +4926,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4349, - "end": 4487, + "start": 4359, + "end": 4497, "loc": { "start": { "line": 118, @@ -4941,8 +4941,8 @@ "body": [ { "type": "IfStatement", - "start": 4364, - "end": 4476, + "start": 4374, + "end": 4486, "loc": { "start": { "line": 119, @@ -4955,8 +4955,8 @@ }, "test": { "type": "CallExpression", - "start": 4368, - "end": 4393, + "start": 4378, + "end": 4403, "loc": { "start": { "line": 119, @@ -4969,8 +4969,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4368, - "end": 4387, + "start": 4378, + "end": 4397, "loc": { "start": { "line": 119, @@ -4983,8 +4983,8 @@ }, "object": { "type": "MemberExpression", - "start": 4368, - "end": 4378, + "start": 4378, + "end": 4388, "loc": { "start": { "line": 119, @@ -4997,8 +4997,8 @@ }, "object": { "type": "ThisExpression", - "start": 4368, - "end": 4372, + "start": 4378, + "end": 4382, "loc": { "start": { "line": 119, @@ -5012,8 +5012,8 @@ }, "property": { "type": "Identifier", - "start": 4373, - "end": 4378, + "start": 4383, + "end": 4388, "loc": { "start": { "line": 119, @@ -5031,8 +5031,8 @@ }, "property": { "type": "Identifier", - "start": 4379, - "end": 4387, + "start": 4389, + "end": 4397, "loc": { "start": { "line": 119, @@ -5051,8 +5051,8 @@ "arguments": [ { "type": "Identifier", - "start": 4388, - "end": 4392, + "start": 4398, + "end": 4402, "loc": { "start": { "line": 119, @@ -5070,8 +5070,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4395, - "end": 4476, + "start": 4405, + "end": 4486, "loc": { "start": { "line": 119, @@ -5085,8 +5085,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4414, - "end": 4461, + "start": 4424, + "end": 4471, "loc": { "start": { "line": 120, @@ -5099,8 +5099,8 @@ }, "expression": { "type": "CallExpression", - "start": 4414, - "end": 4460, + "start": 4424, + "end": 4470, "loc": { "start": { "line": 120, @@ -5113,8 +5113,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4414, - "end": 4431, + "start": 4424, + "end": 4441, "loc": { "start": { "line": 120, @@ -5127,8 +5127,8 @@ }, "object": { "type": "MemberExpression", - "start": 4414, - "end": 4424, + "start": 4424, + "end": 4434, "loc": { "start": { "line": 120, @@ -5141,8 +5141,8 @@ }, "object": { "type": "ThisExpression", - "start": 4414, - "end": 4418, + "start": 4424, + "end": 4428, "loc": { "start": { "line": 120, @@ -5156,8 +5156,8 @@ }, "property": { "type": "Identifier", - "start": 4419, - "end": 4424, + "start": 4429, + "end": 4434, "loc": { "start": { "line": 120, @@ -5175,8 +5175,8 @@ }, "property": { "type": "Identifier", - "start": 4425, - "end": 4431, + "start": 4435, + "end": 4441, "loc": { "start": { "line": 120, @@ -5195,8 +5195,8 @@ "arguments": [ { "type": "CallExpression", - "start": 4432, - "end": 4456, + "start": 4442, + "end": 4466, "loc": { "start": { "line": 120, @@ -5209,8 +5209,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4432, - "end": 4450, + "start": 4442, + "end": 4460, "loc": { "start": { "line": 120, @@ -5223,8 +5223,8 @@ }, "object": { "type": "MemberExpression", - "start": 4432, - "end": 4442, + "start": 4442, + "end": 4452, "loc": { "start": { "line": 120, @@ -5237,8 +5237,8 @@ }, "object": { "type": "ThisExpression", - "start": 4432, - "end": 4436, + "start": 4442, + "end": 4446, "loc": { "start": { "line": 120, @@ -5252,8 +5252,8 @@ }, "property": { "type": "Identifier", - "start": 4437, - "end": 4442, + "start": 4447, + "end": 4452, "loc": { "start": { "line": 120, @@ -5271,8 +5271,8 @@ }, "property": { "type": "Identifier", - "start": 4443, - "end": 4450, + "start": 4453, + "end": 4460, "loc": { "start": { "line": 120, @@ -5291,8 +5291,8 @@ "arguments": [ { "type": "Identifier", - "start": 4451, - "end": 4455, + "start": 4461, + "end": 4465, "loc": { "start": { "line": 120, @@ -5310,8 +5310,8 @@ }, { "type": "NumericLiteral", - "start": 4458, - "end": 4459, + "start": 4468, + "end": 4469, "loc": { "start": { "line": 120, @@ -5349,8 +5349,8 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3913, - "end": 4245, + "start": 3923, + "end": 4255, "loc": { "start": { "line": 111, @@ -5367,8 +5367,8 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4500, - "end": 4621, + "start": 4510, + "end": 4631, "loc": { "start": { "line": 124, @@ -5384,8 +5384,8 @@ }, { "type": "ClassMethod", - "start": 4627, - "end": 4846, + "start": 4637, + "end": 4856, "loc": { "start": { "line": 128, @@ -5400,8 +5400,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4627, - "end": 4639, + "start": 4637, + "end": 4649, "loc": { "start": { "line": 128, @@ -5424,8 +5424,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4642, - "end": 4846, + "start": 4652, + "end": 4856, "loc": { "start": { "line": 128, @@ -5439,8 +5439,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 4696, - "end": 4717, + "start": 4706, + "end": 4727, "loc": { "start": { "line": 130, @@ -5454,8 +5454,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4702, - "end": 4716, + "start": 4712, + "end": 4726, "loc": { "start": { "line": 130, @@ -5468,8 +5468,8 @@ }, "id": { "type": "Identifier", - "start": 4702, - "end": 4711, + "start": 4712, + "end": 4721, "loc": { "start": { "line": 130, @@ -5486,8 +5486,8 @@ }, "init": { "type": "ArrayExpression", - "start": 4714, - "end": 4716, + "start": 4724, + "end": 4726, "loc": { "start": { "line": 130, @@ -5508,8 +5508,8 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4653, - "end": 4686, + "start": 4663, + "end": 4696, "loc": { "start": { "line": 129, @@ -5525,8 +5525,8 @@ }, { "type": "ExpressionStatement", - "start": 4727, - "end": 4812, + "start": 4737, + "end": 4822, "loc": { "start": { "line": 131, @@ -5539,8 +5539,8 @@ }, "expression": { "type": "CallExpression", - "start": 4727, - "end": 4811, + "start": 4737, + "end": 4821, "loc": { "start": { "line": 131, @@ -5553,8 +5553,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4727, - "end": 4745, + "start": 4737, + "end": 4755, "loc": { "start": { "line": 131, @@ -5567,8 +5567,8 @@ }, "object": { "type": "MemberExpression", - "start": 4727, - "end": 4737, + "start": 4737, + "end": 4747, "loc": { "start": { "line": 131, @@ -5581,8 +5581,8 @@ }, "object": { "type": "ThisExpression", - "start": 4727, - "end": 4731, + "start": 4737, + "end": 4741, "loc": { "start": { "line": 131, @@ -5596,8 +5596,8 @@ }, "property": { "type": "Identifier", - "start": 4732, - "end": 4737, + "start": 4742, + "end": 4747, "loc": { "start": { "line": 131, @@ -5615,8 +5615,8 @@ }, "property": { "type": "Identifier", - "start": 4738, - "end": 4745, + "start": 4748, + "end": 4755, "loc": { "start": { "line": 131, @@ -5635,8 +5635,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4746, - "end": 4810, + "start": 4756, + "end": 4820, "loc": { "start": { "line": 131, @@ -5654,8 +5654,8 @@ "params": [ { "type": "Identifier", - "start": 4747, - "end": 4752, + "start": 4757, + "end": 4762, "loc": { "start": { "line": 131, @@ -5672,8 +5672,8 @@ ], "body": { "type": "BlockStatement", - "start": 4757, - "end": 4810, + "start": 4767, + "end": 4820, "loc": { "start": { "line": 131, @@ -5687,8 +5687,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4772, - "end": 4799, + "start": 4782, + "end": 4809, "loc": { "start": { "line": 132, @@ -5701,8 +5701,8 @@ }, "expression": { "type": "CallExpression", - "start": 4772, - "end": 4798, + "start": 4782, + "end": 4808, "loc": { "start": { "line": 132, @@ -5715,8 +5715,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4772, - "end": 4786, + "start": 4782, + "end": 4796, "loc": { "start": { "line": 132, @@ -5729,8 +5729,8 @@ }, "object": { "type": "Identifier", - "start": 4772, - "end": 4781, + "start": 4782, + "end": 4791, "loc": { "start": { "line": 132, @@ -5746,8 +5746,8 @@ }, "property": { "type": "Identifier", - "start": 4782, - "end": 4786, + "start": 4792, + "end": 4796, "loc": { "start": { "line": 132, @@ -5766,8 +5766,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 4787, - "end": 4797, + "start": 4797, + "end": 4807, "loc": { "start": { "line": 132, @@ -5780,8 +5780,8 @@ }, "object": { "type": "Identifier", - "start": 4787, - "end": 4792, + "start": 4797, + "end": 4802, "loc": { "start": { "line": 132, @@ -5797,8 +5797,8 @@ }, "property": { "type": "Identifier", - "start": 4793, - "end": 4797, + "start": 4803, + "end": 4807, "loc": { "start": { "line": 132, @@ -5826,8 +5826,8 @@ }, { "type": "ReturnStatement", - "start": 4822, - "end": 4839, + "start": 4832, + "end": 4849, "loc": { "start": { "line": 134, @@ -5840,8 +5840,8 @@ }, "argument": { "type": "Identifier", - "start": 4829, - "end": 4838, + "start": 4839, + "end": 4848, "loc": { "start": { "line": 134, @@ -5864,8 +5864,8 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4500, - "end": 4621, + "start": 4510, + "end": 4631, "loc": { "start": { "line": 124, @@ -5882,8 +5882,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4852, - "end": 5053, + "start": 4862, + "end": 5063, "loc": { "start": { "line": 136, @@ -5899,8 +5899,8 @@ }, { "type": "ClassMethod", - "start": 5059, - "end": 5528, + "start": 5069, + "end": 5537, "loc": { "start": { "line": 141, @@ -5915,8 +5915,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5059, - "end": 5066, + "start": 5069, + "end": 5076, "loc": { "start": { "line": 141, @@ -5939,8 +5939,8 @@ "params": [ { "type": "Identifier", - "start": 5067, - "end": 5072, + "start": 5077, + "end": 5082, "loc": { "start": { "line": 141, @@ -5957,8 +5957,8 @@ ], "body": { "type": "BlockStatement", - "start": 5074, - "end": 5528, + "start": 5084, + "end": 5537, "loc": { "start": { "line": 141, @@ -5972,8 +5972,8 @@ "body": [ { "type": "IfStatement", - "start": 5085, - "end": 5521, + "start": 5095, + "end": 5530, "loc": { "start": { "line": 142, @@ -5986,8 +5986,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5089, - "end": 5115, + "start": 5099, + "end": 5125, "loc": { "start": { "line": 142, @@ -6000,8 +6000,8 @@ }, "left": { "type": "UnaryExpression", - "start": 5089, - "end": 5102, + "start": 5099, + "end": 5112, "loc": { "start": { "line": 142, @@ -6016,8 +6016,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 5096, - "end": 5101, + "start": 5106, + "end": 5111, "loc": { "start": { "line": 142, @@ -6032,7 +6032,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 5095 + "parenStart": 5105 } }, "extra": { @@ -6042,8 +6042,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5107, - "end": 5115, + "start": 5117, + "end": 5125, "loc": { "start": { "line": 142, @@ -6063,8 +6063,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5117, - "end": 5423, + "start": 5127, + "end": 5433, "loc": { "start": { "line": 142, @@ -6078,8 +6078,8 @@ "body": [ { "type": "ForStatement", - "start": 5132, - "end": 5412, + "start": 5142, + "end": 5422, "loc": { "start": { "line": 143, @@ -6092,8 +6092,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5137, - "end": 5166, + "start": 5147, + "end": 5176, "loc": { "start": { "line": 143, @@ -6107,8 +6107,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5141, - "end": 5166, + "start": 5151, + "end": 5176, "loc": { "start": { "line": 143, @@ -6121,8 +6121,8 @@ }, "id": { "type": "Identifier", - "start": 5141, - "end": 5142, + "start": 5151, + "end": 5152, "loc": { "start": { "line": 143, @@ -6138,8 +6138,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5145, - "end": 5166, + "start": 5155, + "end": 5176, "loc": { "start": { "line": 143, @@ -6152,8 +6152,8 @@ }, "left": { "type": "MemberExpression", - "start": 5145, - "end": 5162, + "start": 5155, + "end": 5172, "loc": { "start": { "line": 143, @@ -6166,8 +6166,8 @@ }, "object": { "type": "MemberExpression", - "start": 5145, - "end": 5155, + "start": 5155, + "end": 5165, "loc": { "start": { "line": 143, @@ -6180,8 +6180,8 @@ }, "object": { "type": "ThisExpression", - "start": 5145, - "end": 5149, + "start": 5155, + "end": 5159, "loc": { "start": { "line": 143, @@ -6195,8 +6195,8 @@ }, "property": { "type": "Identifier", - "start": 5150, - "end": 5155, + "start": 5160, + "end": 5165, "loc": { "start": { "line": 143, @@ -6214,8 +6214,8 @@ }, "property": { "type": "Identifier", - "start": 5156, - "end": 5162, + "start": 5166, + "end": 5172, "loc": { "start": { "line": 143, @@ -6234,8 +6234,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 5165, - "end": 5166, + "start": 5175, + "end": 5176, "loc": { "start": { "line": 143, @@ -6259,8 +6259,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5168, - "end": 5174, + "start": 5178, + "end": 5184, "loc": { "start": { "line": 143, @@ -6273,8 +6273,8 @@ }, "left": { "type": "Identifier", - "start": 5168, - "end": 5169, + "start": 5178, + "end": 5179, "loc": { "start": { "line": 143, @@ -6291,8 +6291,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 5173, - "end": 5174, + "start": 5183, + "end": 5184, "loc": { "start": { "line": 143, @@ -6312,8 +6312,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5176, - "end": 5179, + "start": 5186, + "end": 5189, "loc": { "start": { "line": 143, @@ -6328,8 +6328,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5176, - "end": 5177, + "start": 5186, + "end": 5187, "loc": { "start": { "line": 143, @@ -6346,8 +6346,8 @@ }, "body": { "type": "BlockStatement", - "start": 5181, - "end": 5412, + "start": 5191, + "end": 5422, "loc": { "start": { "line": 143, @@ -6361,8 +6361,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5200, - "end": 5227, + "start": 5210, + "end": 5237, "loc": { "start": { "line": 144, @@ -6376,8 +6376,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5206, - "end": 5226, + "start": 5216, + "end": 5236, "loc": { "start": { "line": 144, @@ -6390,8 +6390,8 @@ }, "id": { "type": "Identifier", - "start": 5206, - "end": 5210, + "start": 5216, + "end": 5220, "loc": { "start": { "line": 144, @@ -6407,8 +6407,8 @@ }, "init": { "type": "MemberExpression", - "start": 5213, - "end": 5226, + "start": 5223, + "end": 5236, "loc": { "start": { "line": 144, @@ -6421,8 +6421,8 @@ }, "object": { "type": "MemberExpression", - "start": 5213, - "end": 5223, + "start": 5223, + "end": 5233, "loc": { "start": { "line": 144, @@ -6435,8 +6435,8 @@ }, "object": { "type": "ThisExpression", - "start": 5213, - "end": 5217, + "start": 5223, + "end": 5227, "loc": { "start": { "line": 144, @@ -6450,8 +6450,8 @@ }, "property": { "type": "Identifier", - "start": 5218, - "end": 5223, + "start": 5228, + "end": 5233, "loc": { "start": { "line": 144, @@ -6469,8 +6469,8 @@ }, "property": { "type": "Identifier", - "start": 5224, - "end": 5225, + "start": 5234, + "end": 5235, "loc": { "start": { "line": 144, @@ -6493,8 +6493,8 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 5245, - "end": 5295, + "start": 5255, + "end": 5305, "loc": { "start": { "line": 145, @@ -6510,8 +6510,8 @@ }, { "type": "IfStatement", - "start": 5313, - "end": 5397, + "start": 5323, + "end": 5407, "loc": { "start": { "line": 146, @@ -6524,8 +6524,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5317, - "end": 5341, + "start": 5327, + "end": 5351, "loc": { "start": { "line": 146, @@ -6538,8 +6538,8 @@ }, "left": { "type": "CallExpression", - "start": 5317, - "end": 5331, + "start": 5327, + "end": 5341, "loc": { "start": { "line": 146, @@ -6552,8 +6552,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5317, - "end": 5329, + "start": 5327, + "end": 5339, "loc": { "start": { "line": 146, @@ -6566,8 +6566,8 @@ }, "object": { "type": "Identifier", - "start": 5317, - "end": 5321, + "start": 5327, + "end": 5331, "loc": { "start": { "line": 146, @@ -6584,8 +6584,8 @@ }, "property": { "type": "Identifier", - "start": 5322, - "end": 5329, + "start": 5332, + "end": 5339, "loc": { "start": { "line": 146, @@ -6608,8 +6608,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5336, - "end": 5341, + "start": 5346, + "end": 5351, "loc": { "start": { "line": 146, @@ -6627,8 +6627,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5343, - "end": 5397, + "start": 5353, + "end": 5407, "loc": { "start": { "line": 146, @@ -6642,8 +6642,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5366, - "end": 5378, + "start": 5376, + "end": 5388, "loc": { "start": { "line": 147, @@ -6656,8 +6656,8 @@ }, "argument": { "type": "Identifier", - "start": 5373, - "end": 5377, + "start": 5383, + "end": 5387, "loc": { "start": { "line": 147, @@ -6680,8 +6680,8 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 5245, - "end": 5295, + "start": 5255, + "end": 5305, "loc": { "start": { "line": 145, @@ -6704,8 +6704,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 5429, - "end": 5521, + "start": 5439, + "end": 5530, "loc": { "start": { "line": 150, @@ -6719,8 +6719,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5444, - "end": 5510, + "start": 5454, + "end": 5519, "loc": { "start": { "line": 151, @@ -6728,13 +6728,13 @@ }, "end": { "line": 151, - "column": 78 + "column": 77 } }, "expression": { "type": "CallExpression", - "start": 5444, - "end": 5509, + "start": 5454, + "end": 5518, "loc": { "start": { "line": 151, @@ -6742,13 +6742,13 @@ }, "end": { "line": 151, - "column": 77 + "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 5444, - "end": 5482, + "start": 5454, + "end": 5491, "loc": { "start": { "line": 151, @@ -6756,13 +6756,13 @@ }, "end": { "line": 151, - "column": 50 + "column": 49 } }, "object": { "type": "CallExpression", - "start": 5444, - "end": 5476, + "start": 5454, + "end": 5485, "loc": { "start": { "line": 151, @@ -6770,13 +6770,13 @@ }, "end": { "line": 151, - "column": 44 + "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 5444, - "end": 5462, + "start": 5454, + "end": 5471, "loc": { "start": { "line": 151, @@ -6784,13 +6784,13 @@ }, "end": { "line": 151, - "column": 30 + "column": 29 } }, "object": { "type": "MemberExpression", - "start": 5444, - "end": 5455, + "start": 5454, + "end": 5464, "loc": { "start": { "line": 151, @@ -6798,13 +6798,13 @@ }, "end": { "line": 151, - "column": 23 + "column": 22 } }, "object": { - "type": "ThisExpression", - "start": 5444, - "end": 5448, + "type": "Identifier", + "start": 5454, + "end": 5457, "loc": { "start": { "line": 151, @@ -6812,22 +6812,24 @@ }, "end": { "line": 151, - "column": 16 - } - } + "column": 15 + }, + "identifierName": "VYI" + }, + "name": "VYI" }, "property": { "type": "Identifier", - "start": 5449, - "end": 5455, + "start": 5458, + "end": 5464, "loc": { "start": { "line": 151, - "column": 17 + "column": 16 }, "end": { "line": 151, - "column": 23 + "column": 22 }, "identifierName": "logger" }, @@ -6837,16 +6839,16 @@ }, "property": { "type": "Identifier", - "start": 5456, - "end": 5462, + "start": 5465, + "end": 5471, "loc": { "start": { "line": 151, - "column": 24 + "column": 23 }, "end": { "line": 151, - "column": 30 + "column": 29 }, "identifierName": "prefix" }, @@ -6857,16 +6859,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 5463, - "end": 5475, + "start": 5472, + "end": 5484, "loc": { "start": { "line": 151, - "column": 31 + "column": 30 }, "end": { "line": 151, - "column": 43 + "column": 42 } }, "extra": { @@ -6879,16 +6881,16 @@ }, "property": { "type": "Identifier", - "start": 5477, - "end": 5482, + "start": 5486, + "end": 5491, "loc": { "start": { "line": 151, - "column": 45 + "column": 44 }, "end": { "line": 151, - "column": 50 + "column": 49 }, "identifierName": "error" }, @@ -6899,16 +6901,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 5483, - "end": 5508, + "start": 5492, + "end": 5517, "loc": { "start": { "line": 151, - "column": 51 + "column": 50 }, "end": { "line": 151, - "column": 76 + "column": 75 } }, "extra": { @@ -6932,8 +6934,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4852, - "end": 5053, + "start": 4862, + "end": 5063, "loc": { "start": { "line": 136, @@ -6950,8 +6952,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5534, - "end": 5617, + "start": 5543, + "end": 5626, "loc": { "start": { "line": 154, @@ -6967,8 +6969,8 @@ }, { "type": "ClassMethod", - "start": 5623, - "end": 5675, + "start": 5632, + "end": 5684, "loc": { "start": { "line": 158, @@ -6983,8 +6985,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5623, - "end": 5631, + "start": 5632, + "end": 5640, "loc": { "start": { "line": 158, @@ -7007,8 +7009,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5634, - "end": 5675, + "start": 5643, + "end": 5684, "loc": { "start": { "line": 158, @@ -7022,8 +7024,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5645, - "end": 5668, + "start": 5654, + "end": 5677, "loc": { "start": { "line": 159, @@ -7036,8 +7038,8 @@ }, "argument": { "type": "ArrayExpression", - "start": 5652, - "end": 5667, + "start": 5661, + "end": 5676, "loc": { "start": { "line": 159, @@ -7051,8 +7053,8 @@ "elements": [ { "type": "SpreadElement", - "start": 5653, - "end": 5666, + "start": 5662, + "end": 5675, "loc": { "start": { "line": 159, @@ -7065,8 +7067,8 @@ }, "argument": { "type": "MemberExpression", - "start": 5656, - "end": 5666, + "start": 5665, + "end": 5675, "loc": { "start": { "line": 159, @@ -7079,8 +7081,8 @@ }, "object": { "type": "ThisExpression", - "start": 5656, - "end": 5660, + "start": 5665, + "end": 5669, "loc": { "start": { "line": 159, @@ -7094,8 +7096,8 @@ }, "property": { "type": "Identifier", - "start": 5661, - "end": 5666, + "start": 5670, + "end": 5675, "loc": { "start": { "line": 159, @@ -7123,8 +7125,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5534, - "end": 5617, + "start": 5543, + "end": 5626, "loc": { "start": { "line": 154, @@ -7141,8 +7143,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5681, - "end": 5783, + "start": 5690, + "end": 5792, "loc": { "start": { "line": 161, @@ -7158,8 +7160,8 @@ }, { "type": "ClassMethod", - "start": 5789, - "end": 6122, + "start": 5798, + "end": 6131, "loc": { "start": { "line": 165, @@ -7174,8 +7176,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5789, - "end": 5795, + "start": 5798, + "end": 5804, "loc": { "start": { "line": 165, @@ -7198,8 +7200,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5798, - "end": 6122, + "start": 5807, + "end": 6131, "loc": { "start": { "line": 165, @@ -7213,8 +7215,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5809, - "end": 5824, + "start": 5818, + "end": 5833, "loc": { "start": { "line": 166, @@ -7228,8 +7230,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5815, - "end": 5823, + "start": 5824, + "end": 5832, "loc": { "start": { "line": 166, @@ -7242,8 +7244,8 @@ }, "id": { "type": "Identifier", - "start": 5815, - "end": 5818, + "start": 5824, + "end": 5827, "loc": { "start": { "line": 166, @@ -7259,8 +7261,8 @@ }, "init": { "type": "ObjectExpression", - "start": 5821, - "end": 5823, + "start": 5830, + "end": 5832, "loc": { "start": { "line": 166, @@ -7280,8 +7282,8 @@ { "type": "CommentLine", "value": " Set version", - "start": 5834, - "end": 5848, + "start": 5843, + "end": 5857, "loc": { "start": { "line": 167, @@ -7297,8 +7299,8 @@ }, { "type": "ExpressionStatement", - "start": 5858, - "end": 5885, + "start": 5867, + "end": 5894, "loc": { "start": { "line": 168, @@ -7311,8 +7313,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5858, - "end": 5884, + "start": 5867, + "end": 5893, "loc": { "start": { "line": 168, @@ -7326,8 +7328,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5858, - "end": 5863, + "start": 5867, + "end": 5872, "loc": { "start": { "line": 168, @@ -7340,8 +7342,8 @@ }, "object": { "type": "Identifier", - "start": 5858, - "end": 5861, + "start": 5867, + "end": 5870, "loc": { "start": { "line": 168, @@ -7358,8 +7360,8 @@ }, "property": { "type": "Identifier", - "start": 5862, - "end": 5863, + "start": 5871, + "end": 5872, "loc": { "start": { "line": 168, @@ -7378,8 +7380,8 @@ }, "right": { "type": "MemberExpression", - "start": 5866, - "end": 5884, + "start": 5875, + "end": 5893, "loc": { "start": { "line": 168, @@ -7392,8 +7394,8 @@ }, "object": { "type": "ThisExpression", - "start": 5866, - "end": 5870, + "start": 5875, + "end": 5879, "loc": { "start": { "line": 168, @@ -7407,8 +7409,8 @@ }, "property": { "type": "Identifier", - "start": 5871, - "end": 5884, + "start": 5880, + "end": 5893, "loc": { "start": { "line": 168, @@ -7430,8 +7432,8 @@ { "type": "CommentLine", "value": " Set version", - "start": 5834, - "end": 5848, + "start": 5843, + "end": 5857, "loc": { "start": { "line": 167, @@ -7448,8 +7450,8 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5895, - "end": 5917, + "start": 5904, + "end": 5926, "loc": { "start": { "line": 169, @@ -7465,8 +7467,8 @@ }, { "type": "ExpressionStatement", - "start": 5927, - "end": 5938, + "start": 5936, + "end": 5947, "loc": { "start": { "line": 170, @@ -7479,8 +7481,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5927, - "end": 5937, + "start": 5936, + "end": 5946, "loc": { "start": { "line": 170, @@ -7494,8 +7496,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5927, - "end": 5932, + "start": 5936, + "end": 5941, "loc": { "start": { "line": 170, @@ -7508,8 +7510,8 @@ }, "object": { "type": "Identifier", - "start": 5927, - "end": 5930, + "start": 5936, + "end": 5939, "loc": { "start": { "line": 170, @@ -7526,8 +7528,8 @@ }, "property": { "type": "Identifier", - "start": 5931, - "end": 5932, + "start": 5940, + "end": 5941, "loc": { "start": { "line": 170, @@ -7546,8 +7548,8 @@ }, "right": { "type": "ArrayExpression", - "start": 5935, - "end": 5937, + "start": 5944, + "end": 5946, "loc": { "start": { "line": 170, @@ -7566,8 +7568,8 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5895, - "end": 5917, + "start": 5904, + "end": 5926, "loc": { "start": { "line": 169, @@ -7583,8 +7585,8 @@ }, { "type": "ExpressionStatement", - "start": 5948, - "end": 6094, + "start": 5957, + "end": 6103, "loc": { "start": { "line": 171, @@ -7597,8 +7599,8 @@ }, "expression": { "type": "CallExpression", - "start": 5948, - "end": 6093, + "start": 5957, + "end": 6102, "loc": { "start": { "line": 171, @@ -7611,8 +7613,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5948, - "end": 5966, + "start": 5957, + "end": 5975, "loc": { "start": { "line": 171, @@ -7625,8 +7627,8 @@ }, "object": { "type": "MemberExpression", - "start": 5948, - "end": 5958, + "start": 5957, + "end": 5967, "loc": { "start": { "line": 171, @@ -7639,8 +7641,8 @@ }, "object": { "type": "ThisExpression", - "start": 5948, - "end": 5952, + "start": 5957, + "end": 5961, "loc": { "start": { "line": 171, @@ -7654,8 +7656,8 @@ }, "property": { "type": "Identifier", - "start": 5953, - "end": 5958, + "start": 5962, + "end": 5967, "loc": { "start": { "line": 171, @@ -7673,8 +7675,8 @@ }, "property": { "type": "Identifier", - "start": 5959, - "end": 5966, + "start": 5968, + "end": 5975, "loc": { "start": { "line": 171, @@ -7693,8 +7695,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 5967, - "end": 6092, + "start": 5976, + "end": 6101, "loc": { "start": { "line": 171, @@ -7712,8 +7714,8 @@ "params": [ { "type": "Identifier", - "start": 5968, - "end": 5973, + "start": 5977, + "end": 5982, "loc": { "start": { "line": 171, @@ -7730,8 +7732,8 @@ ], "body": { "type": "BlockStatement", - "start": 5978, - "end": 6092, + "start": 5987, + "end": 6101, "loc": { "start": { "line": 171, @@ -7745,8 +7747,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6054, - "end": 6081, + "start": 6063, + "end": 6090, "loc": { "start": { "line": 173, @@ -7759,8 +7761,8 @@ }, "expression": { "type": "CallExpression", - "start": 6054, - "end": 6080, + "start": 6063, + "end": 6089, "loc": { "start": { "line": 173, @@ -7773,8 +7775,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6054, - "end": 6064, + "start": 6063, + "end": 6073, "loc": { "start": { "line": 173, @@ -7787,8 +7789,8 @@ }, "object": { "type": "MemberExpression", - "start": 6054, - "end": 6059, + "start": 6063, + "end": 6068, "loc": { "start": { "line": 173, @@ -7801,8 +7803,8 @@ }, "object": { "type": "Identifier", - "start": 6054, - "end": 6057, + "start": 6063, + "end": 6066, "loc": { "start": { "line": 173, @@ -7819,8 +7821,8 @@ }, "property": { "type": "Identifier", - "start": 6058, - "end": 6059, + "start": 6067, + "end": 6068, "loc": { "start": { "line": 173, @@ -7839,8 +7841,8 @@ }, "property": { "type": "Identifier", - "start": 6060, - "end": 6064, + "start": 6069, + "end": 6073, "loc": { "start": { "line": 173, @@ -7860,8 +7862,8 @@ "arguments": [ { "type": "CallExpression", - "start": 6065, - "end": 6079, + "start": 6074, + "end": 6088, "loc": { "start": { "line": 173, @@ -7874,8 +7876,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6065, - "end": 6077, + "start": 6074, + "end": 6086, "loc": { "start": { "line": 173, @@ -7888,8 +7890,8 @@ }, "object": { "type": "Identifier", - "start": 6065, - "end": 6070, + "start": 6074, + "end": 6079, "loc": { "start": { "line": 173, @@ -7905,8 +7907,8 @@ }, "property": { "type": "Identifier", - "start": 6071, - "end": 6077, + "start": 6080, + "end": 6086, "loc": { "start": { "line": 173, @@ -7931,8 +7933,8 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 5993, - "end": 6040, + "start": 6002, + "end": 6049, "loc": { "start": { "line": 172, @@ -7955,8 +7957,8 @@ }, { "type": "ReturnStatement", - "start": 6104, - "end": 6115, + "start": 6113, + "end": 6124, "loc": { "start": { "line": 175, @@ -7969,8 +7971,8 @@ }, "argument": { "type": "Identifier", - "start": 6111, - "end": 6114, + "start": 6120, + "end": 6123, "loc": { "start": { "line": 175, @@ -7992,8 +7994,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5681, - "end": 5783, + "start": 5690, + "end": 5792, "loc": { "start": { "line": 161, @@ -8099,9 +8101,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.\r\n ", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", "start": 705, - "end": 884, + "end": 894, "loc": { "start": { "line": 32, @@ -8116,8 +8118,8 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1239, - "end": 1564, + "start": 1249, + "end": 1574, "loc": { "start": { "line": 46, @@ -8132,8 +8134,8 @@ { "type": "CommentLine", "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1681, - "end": 1757, + "start": 1691, + "end": 1767, "loc": { "start": { "line": 56, @@ -8148,8 +8150,8 @@ { "type": "CommentLine", "value": " If there is data to parse", - "start": 2092, - "end": 2120, + "start": 2102, + "end": 2130, "loc": { "start": { "line": 64, @@ -8164,8 +8166,8 @@ { "type": "CommentLine", "value": " Then parse through it", - "start": 2138, - "end": 2162, + "start": 2148, + "end": 2172, "loc": { "start": { "line": 65, @@ -8180,8 +8182,8 @@ { "type": "CommentBlock", "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2212, - "end": 2341, + "start": 2222, + "end": 2351, "loc": { "start": { "line": 67, @@ -8196,8 +8198,8 @@ { "type": "CommentBlock", "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2405, - "end": 2558, + "start": 2415, + "end": 2568, "loc": { "start": { "line": 72, @@ -8212,8 +8214,8 @@ { "type": "CommentLine", "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2689, - "end": 2755, + "start": 2699, + "end": 2765, "loc": { "start": { "line": 79, @@ -8228,8 +8230,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3225, - "end": 3394, + "start": 3235, + "end": 3404, "loc": { "start": { "line": 92, @@ -8244,8 +8246,8 @@ { "type": "CommentLine", "value": " Add the icon to the icons array.", - "start": 3563, - "end": 3598, + "start": 3573, + "end": 3608, "loc": { "start": { "line": 101, @@ -8260,8 +8262,8 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3913, - "end": 4245, + "start": 3923, + "end": 4255, "loc": { "start": { "line": 111, @@ -8276,8 +8278,8 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4500, - "end": 4621, + "start": 4510, + "end": 4631, "loc": { "start": { "line": 124, @@ -8292,8 +8294,8 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4653, - "end": 4686, + "start": 4663, + "end": 4696, "loc": { "start": { "line": 129, @@ -8308,8 +8310,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4852, - "end": 5053, + "start": 4862, + "end": 5063, "loc": { "start": { "line": 136, @@ -8324,8 +8326,8 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 5245, - "end": 5295, + "start": 5255, + "end": 5305, "loc": { "start": { "line": 145, @@ -8340,8 +8342,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5534, - "end": 5617, + "start": 5543, + "end": 5626, "loc": { "start": { "line": 154, @@ -8356,8 +8358,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5681, - "end": 5783, + "start": 5690, + "end": 5792, "loc": { "start": { "line": 161, @@ -8372,8 +8374,8 @@ { "type": "CommentLine", "value": " Set version", - "start": 5834, - "end": 5848, + "start": 5843, + "end": 5857, "loc": { "start": { "line": 167, @@ -8388,8 +8390,8 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5895, - "end": 5917, + "start": 5904, + "end": 5926, "loc": { "start": { "line": 169, @@ -8404,8 +8406,8 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 5993, - "end": 6040, + "start": 6002, + "end": 6049, "loc": { "start": { "line": 172, @@ -9604,9 +9606,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.\r\n ", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", "start": 705, - "end": 884, + "end": 894, "loc": { "start": { "line": 32, @@ -9631,8 +9633,8 @@ "binop": null }, "value": "constructor", - "start": 890, - "end": 901, + "start": 900, + "end": 911, "loc": { "start": { "line": 36, @@ -9656,8 +9658,8 @@ "postfix": false, "binop": null }, - "start": 901, - "end": 902, + "start": 911, + "end": 912, "loc": { "start": { "line": 36, @@ -9682,8 +9684,8 @@ "binop": null }, "value": "pVYIData", - "start": 902, - "end": 910, + "start": 912, + "end": 920, "loc": { "start": { "line": 36, @@ -9707,8 +9709,8 @@ "postfix": false, "binop": null }, - "start": 910, - "end": 911, + "start": 920, + "end": 921, "loc": { "start": { "line": 36, @@ -9732,8 +9734,8 @@ "postfix": false, "binop": null }, - "start": 912, - "end": 913, + "start": 922, + "end": 923, "loc": { "start": { "line": 36, @@ -9758,8 +9760,8 @@ "binop": null }, "value": "VYI", - "start": 923, - "end": 926, + "start": 933, + "end": 936, "loc": { "start": { "line": 37, @@ -9784,8 +9786,8 @@ "binop": null, "updateContext": null }, - "start": 926, - "end": 927, + "start": 936, + "end": 937, "loc": { "start": { "line": 37, @@ -9810,8 +9812,8 @@ "binop": null }, "value": "logger", - "start": 927, - "end": 933, + "start": 937, + "end": 943, "loc": { "start": { "line": 37, @@ -9836,8 +9838,8 @@ "binop": null, "updateContext": null }, - "start": 933, - "end": 934, + "start": 943, + "end": 944, "loc": { "start": { "line": 37, @@ -9862,8 +9864,8 @@ "binop": null }, "value": "registerType", - "start": 934, - "end": 946, + "start": 944, + "end": 956, "loc": { "start": { "line": 37, @@ -9887,8 +9889,8 @@ "postfix": false, "binop": null }, - "start": 946, - "end": 947, + "start": 956, + "end": 957, "loc": { "start": { "line": 37, @@ -9914,8 +9916,8 @@ "updateContext": null }, "value": "VYI-Module", - "start": 947, - "end": 959, + "start": 957, + "end": 969, "loc": { "start": { "line": 37, @@ -9940,8 +9942,8 @@ "binop": null, "updateContext": null }, - "start": 959, - "end": 960, + "start": 969, + "end": 970, "loc": { "start": { "line": 37, @@ -9967,8 +9969,8 @@ "updateContext": null }, "value": "#ff6600", - "start": 961, - "end": 970, + "start": 971, + "end": 980, "loc": { "start": { "line": 37, @@ -9992,8 +9994,8 @@ "postfix": false, "binop": null }, - "start": 970, - "end": 971, + "start": 980, + "end": 981, "loc": { "start": { "line": 37, @@ -10018,8 +10020,8 @@ "binop": null, "updateContext": null }, - "start": 971, - "end": 972, + "start": 981, + "end": 982, "loc": { "start": { "line": 37, @@ -10046,8 +10048,8 @@ "updateContext": null }, "value": "if", - "start": 982, - "end": 984, + "start": 992, + "end": 994, "loc": { "start": { "line": 38, @@ -10071,8 +10073,8 @@ "postfix": false, "binop": null }, - "start": 985, - "end": 986, + "start": 995, + "end": 996, "loc": { "start": { "line": 38, @@ -10097,8 +10099,8 @@ "binop": null }, "value": "pVYIData", - "start": 986, - "end": 994, + "start": 996, + "end": 1004, "loc": { "start": { "line": 38, @@ -10122,8 +10124,8 @@ "postfix": false, "binop": null }, - "start": 994, - "end": 995, + "start": 1004, + "end": 1005, "loc": { "start": { "line": 38, @@ -10147,8 +10149,8 @@ "postfix": false, "binop": null }, - "start": 996, - "end": 997, + "start": 1006, + "end": 1007, "loc": { "start": { "line": 38, @@ -10175,8 +10177,8 @@ "updateContext": null }, "value": "if", - "start": 1011, - "end": 1013, + "start": 1021, + "end": 1023, "loc": { "start": { "line": 39, @@ -10200,8 +10202,8 @@ "postfix": false, "binop": null }, - "start": 1014, - "end": 1015, + "start": 1024, + "end": 1025, "loc": { "start": { "line": 39, @@ -10226,8 +10228,8 @@ "binop": null }, "value": "pVYIData", - "start": 1015, - "end": 1023, + "start": 1025, + "end": 1033, "loc": { "start": { "line": 39, @@ -10254,8 +10256,8 @@ "updateContext": null }, "value": "instanceof", - "start": 1024, - "end": 1034, + "start": 1034, + "end": 1044, "loc": { "start": { "line": 39, @@ -10280,8 +10282,8 @@ "binop": null }, "value": "Object", - "start": 1035, - "end": 1041, + "start": 1045, + "end": 1051, "loc": { "start": { "line": 39, @@ -10305,8 +10307,8 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 1051, + "end": 1052, "loc": { "start": { "line": 39, @@ -10330,8 +10332,8 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1053, + "end": 1054, "loc": { "start": { "line": 39, @@ -10358,8 +10360,8 @@ "updateContext": null }, "value": "this", - "start": 1062, - "end": 1066, + "start": 1072, + "end": 1076, "loc": { "start": { "line": 40, @@ -10384,8 +10386,8 @@ "binop": null, "updateContext": null }, - "start": 1066, - "end": 1067, + "start": 1076, + "end": 1077, "loc": { "start": { "line": 40, @@ -10410,8 +10412,8 @@ "binop": null }, "value": "parse", - "start": 1067, - "end": 1072, + "start": 1077, + "end": 1082, "loc": { "start": { "line": 40, @@ -10435,8 +10437,8 @@ "postfix": false, "binop": null }, - "start": 1072, - "end": 1073, + "start": 1082, + "end": 1083, "loc": { "start": { "line": 40, @@ -10461,8 +10463,8 @@ "binop": null }, "value": "pVYIData", - "start": 1073, - "end": 1081, + "start": 1083, + "end": 1091, "loc": { "start": { "line": 40, @@ -10486,8 +10488,8 @@ "postfix": false, "binop": null }, - "start": 1081, - "end": 1082, + "start": 1091, + "end": 1092, "loc": { "start": { "line": 40, @@ -10512,8 +10514,8 @@ "binop": null, "updateContext": null }, - "start": 1082, - "end": 1083, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 40, @@ -10537,8 +10539,8 @@ "postfix": false, "binop": null }, - "start": 1097, - "end": 1098, + "start": 1107, + "end": 1108, "loc": { "start": { "line": 41, @@ -10565,8 +10567,8 @@ "updateContext": null }, "value": "else", - "start": 1099, - "end": 1103, + "start": 1109, + "end": 1113, "loc": { "start": { "line": 41, @@ -10590,8 +10592,8 @@ "postfix": false, "binop": null }, - "start": 1104, - "end": 1105, + "start": 1114, + "end": 1115, "loc": { "start": { "line": 41, @@ -10616,8 +10618,8 @@ "binop": null }, "value": "VYI", - "start": 1123, - "end": 1126, + "start": 1133, + "end": 1136, "loc": { "start": { "line": 42, @@ -10642,8 +10644,8 @@ "binop": null, "updateContext": null }, - "start": 1126, - "end": 1127, + "start": 1136, + "end": 1137, "loc": { "start": { "line": 42, @@ -10668,8 +10670,8 @@ "binop": null }, "value": "logger", - "start": 1127, - "end": 1133, + "start": 1137, + "end": 1143, "loc": { "start": { "line": 42, @@ -10694,8 +10696,8 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1143, + "end": 1144, "loc": { "start": { "line": 42, @@ -10720,8 +10722,8 @@ "binop": null }, "value": "prefix", - "start": 1134, - "end": 1140, + "start": 1144, + "end": 1150, "loc": { "start": { "line": 42, @@ -10745,8 +10747,8 @@ "postfix": false, "binop": null }, - "start": 1140, - "end": 1141, + "start": 1150, + "end": 1151, "loc": { "start": { "line": 42, @@ -10772,8 +10774,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 1141, - "end": 1153, + "start": 1151, + "end": 1163, "loc": { "start": { "line": 42, @@ -10797,8 +10799,8 @@ "postfix": false, "binop": null }, - "start": 1153, - "end": 1154, + "start": 1163, + "end": 1164, "loc": { "start": { "line": 42, @@ -10823,8 +10825,8 @@ "binop": null, "updateContext": null }, - "start": 1154, - "end": 1155, + "start": 1164, + "end": 1165, "loc": { "start": { "line": 42, @@ -10849,8 +10851,8 @@ "binop": null }, "value": "error", - "start": 1155, - "end": 1160, + "start": 1165, + "end": 1170, "loc": { "start": { "line": 42, @@ -10874,8 +10876,8 @@ "postfix": false, "binop": null }, - "start": 1160, - "end": 1161, + "start": 1170, + "end": 1171, "loc": { "start": { "line": 42, @@ -10901,8 +10903,8 @@ "updateContext": null }, "value": "Invalid vyiData type! Cannot parse!", - "start": 1161, - "end": 1198, + "start": 1171, + "end": 1208, "loc": { "start": { "line": 42, @@ -10926,8 +10928,8 @@ "postfix": false, "binop": null }, - "start": 1198, - "end": 1199, + "start": 1208, + "end": 1209, "loc": { "start": { "line": 42, @@ -10952,8 +10954,8 @@ "binop": null, "updateContext": null }, - "start": 1199, - "end": 1200, + "start": 1209, + "end": 1210, "loc": { "start": { "line": 42, @@ -10977,8 +10979,8 @@ "postfix": false, "binop": null }, - "start": 1214, - "end": 1215, + "start": 1224, + "end": 1225, "loc": { "start": { "line": 43, @@ -11002,8 +11004,8 @@ "postfix": false, "binop": null }, - "start": 1225, - "end": 1226, + "start": 1235, + "end": 1236, "loc": { "start": { "line": 44, @@ -11027,8 +11029,8 @@ "postfix": false, "binop": null }, - "start": 1232, - "end": 1233, + "start": 1242, + "end": 1243, "loc": { "start": { "line": 45, @@ -11043,8 +11045,8 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1239, - "end": 1564, + "start": 1249, + "end": 1574, "loc": { "start": { "line": 46, @@ -11069,8 +11071,8 @@ "binop": null }, "value": "async", - "start": 1570, - "end": 1575, + "start": 1580, + "end": 1585, "loc": { "start": { "line": 52, @@ -11095,8 +11097,8 @@ "binop": null }, "value": "parse", - "start": 1576, - "end": 1581, + "start": 1586, + "end": 1591, "loc": { "start": { "line": 52, @@ -11120,8 +11122,8 @@ "postfix": false, "binop": null }, - "start": 1581, - "end": 1582, + "start": 1591, + "end": 1592, "loc": { "start": { "line": 52, @@ -11146,8 +11148,8 @@ "binop": null }, "value": "pVYIData", - "start": 1582, - "end": 1590, + "start": 1592, + "end": 1600, "loc": { "start": { "line": 52, @@ -11171,8 +11173,8 @@ "postfix": false, "binop": null }, - "start": 1590, - "end": 1591, + "start": 1600, + "end": 1601, "loc": { "start": { "line": 52, @@ -11196,8 +11198,8 @@ "postfix": false, "binop": null }, - "start": 1592, - "end": 1593, + "start": 1602, + "end": 1603, "loc": { "start": { "line": 52, @@ -11224,8 +11226,8 @@ "updateContext": null }, "value": "try", - "start": 1603, - "end": 1606, + "start": 1613, + "end": 1616, "loc": { "start": { "line": 53, @@ -11249,8 +11251,8 @@ "postfix": false, "binop": null }, - "start": 1607, - "end": 1608, + "start": 1617, + "end": 1618, "loc": { "start": { "line": 53, @@ -11277,8 +11279,8 @@ "updateContext": null }, "value": "if", - "start": 1622, - "end": 1624, + "start": 1632, + "end": 1634, "loc": { "start": { "line": 54, @@ -11302,8 +11304,8 @@ "postfix": false, "binop": null }, - "start": 1625, - "end": 1626, + "start": 1635, + "end": 1636, "loc": { "start": { "line": 54, @@ -11328,8 +11330,8 @@ "binop": null }, "value": "pVYIData", - "start": 1626, - "end": 1634, + "start": 1636, + "end": 1644, "loc": { "start": { "line": 54, @@ -11353,8 +11355,8 @@ "postfix": false, "binop": null }, - "start": 1634, - "end": 1635, + "start": 1644, + "end": 1645, "loc": { "start": { "line": 54, @@ -11378,8 +11380,8 @@ "postfix": false, "binop": null }, - "start": 1636, - "end": 1637, + "start": 1646, + "end": 1647, "loc": { "start": { "line": 54, @@ -11406,8 +11408,8 @@ "updateContext": null }, "value": "let", - "start": 1655, - "end": 1658, + "start": 1665, + "end": 1668, "loc": { "start": { "line": 55, @@ -11432,8 +11434,8 @@ "binop": null }, "value": "vyi", - "start": 1659, - "end": 1662, + "start": 1669, + "end": 1672, "loc": { "start": { "line": 55, @@ -11458,8 +11460,8 @@ "binop": null, "updateContext": null }, - "start": 1662, - "end": 1663, + "start": 1672, + "end": 1673, "loc": { "start": { "line": 55, @@ -11474,8 +11476,8 @@ { "type": "CommentLine", "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1681, - "end": 1757, + "start": 1691, + "end": 1767, "loc": { "start": { "line": 56, @@ -11502,8 +11504,8 @@ "updateContext": null }, "value": "if", - "start": 1775, - "end": 1777, + "start": 1785, + "end": 1787, "loc": { "start": { "line": 57, @@ -11527,8 +11529,8 @@ "postfix": false, "binop": null }, - "start": 1778, - "end": 1779, + "start": 1788, + "end": 1789, "loc": { "start": { "line": 57, @@ -11555,8 +11557,8 @@ "updateContext": null }, "value": "typeof", - "start": 1779, - "end": 1785, + "start": 1789, + "end": 1795, "loc": { "start": { "line": 57, @@ -11580,8 +11582,8 @@ "postfix": false, "binop": null }, - "start": 1785, - "end": 1786, + "start": 1795, + "end": 1796, "loc": { "start": { "line": 57, @@ -11606,8 +11608,8 @@ "binop": null }, "value": "pVYIData", - "start": 1786, - "end": 1794, + "start": 1796, + "end": 1804, "loc": { "start": { "line": 57, @@ -11631,8 +11633,8 @@ "postfix": false, "binop": null }, - "start": 1794, - "end": 1795, + "start": 1804, + "end": 1805, "loc": { "start": { "line": 57, @@ -11658,8 +11660,8 @@ "updateContext": null }, "value": "===", - "start": 1796, - "end": 1799, + "start": 1806, + "end": 1809, "loc": { "start": { "line": 57, @@ -11685,8 +11687,8 @@ "updateContext": null }, "value": "string", - "start": 1800, - "end": 1808, + "start": 1810, + "end": 1818, "loc": { "start": { "line": 57, @@ -11710,8 +11712,8 @@ "postfix": false, "binop": null }, - "start": 1808, - "end": 1809, + "start": 1818, + "end": 1819, "loc": { "start": { "line": 57, @@ -11735,8 +11737,8 @@ "postfix": false, "binop": null }, - "start": 1810, - "end": 1811, + "start": 1820, + "end": 1821, "loc": { "start": { "line": 57, @@ -11763,8 +11765,8 @@ "updateContext": null }, "value": "const", - "start": 1833, - "end": 1838, + "start": 1843, + "end": 1848, "loc": { "start": { "line": 58, @@ -11789,8 +11791,8 @@ "binop": null }, "value": "url", - "start": 1839, - "end": 1842, + "start": 1849, + "end": 1852, "loc": { "start": { "line": 58, @@ -11816,8 +11818,8 @@ "updateContext": null }, "value": "=", - "start": 1843, - "end": 1844, + "start": 1853, + "end": 1854, "loc": { "start": { "line": 58, @@ -11842,8 +11844,8 @@ "binop": null }, "value": "pVYIData", - "start": 1845, - "end": 1853, + "start": 1855, + "end": 1863, "loc": { "start": { "line": 58, @@ -11868,8 +11870,8 @@ "binop": null, "updateContext": null }, - "start": 1853, - "end": 1854, + "start": 1863, + "end": 1864, "loc": { "start": { "line": 58, @@ -11896,8 +11898,8 @@ "updateContext": null }, "value": "const", - "start": 1876, - "end": 1881, + "start": 1886, + "end": 1891, "loc": { "start": { "line": 59, @@ -11922,8 +11924,8 @@ "binop": null }, "value": "response", - "start": 1882, - "end": 1890, + "start": 1892, + "end": 1900, "loc": { "start": { "line": 59, @@ -11949,8 +11951,8 @@ "updateContext": null }, "value": "=", - "start": 1891, - "end": 1892, + "start": 1901, + "end": 1902, "loc": { "start": { "line": 59, @@ -11975,8 +11977,8 @@ "binop": null }, "value": "await", - "start": 1893, - "end": 1898, + "start": 1903, + "end": 1908, "loc": { "start": { "line": 59, @@ -12001,8 +12003,8 @@ "binop": null }, "value": "fetch", - "start": 1899, - "end": 1904, + "start": 1909, + "end": 1914, "loc": { "start": { "line": 59, @@ -12026,8 +12028,8 @@ "postfix": false, "binop": null }, - "start": 1904, - "end": 1905, + "start": 1914, + "end": 1915, "loc": { "start": { "line": 59, @@ -12052,8 +12054,8 @@ "binop": null }, "value": "url", - "start": 1905, - "end": 1908, + "start": 1915, + "end": 1918, "loc": { "start": { "line": 59, @@ -12077,8 +12079,8 @@ "postfix": false, "binop": null }, - "start": 1908, - "end": 1909, + "start": 1918, + "end": 1919, "loc": { "start": { "line": 59, @@ -12103,8 +12105,8 @@ "binop": null, "updateContext": null }, - "start": 1909, - "end": 1910, + "start": 1919, + "end": 1920, "loc": { "start": { "line": 59, @@ -12129,8 +12131,8 @@ "binop": null }, "value": "vyi", - "start": 1932, - "end": 1935, + "start": 1942, + "end": 1945, "loc": { "start": { "line": 60, @@ -12156,8 +12158,8 @@ "updateContext": null }, "value": "=", - "start": 1936, - "end": 1937, + "start": 1946, + "end": 1947, "loc": { "start": { "line": 60, @@ -12182,8 +12184,8 @@ "binop": null }, "value": "await", - "start": 1938, - "end": 1943, + "start": 1948, + "end": 1953, "loc": { "start": { "line": 60, @@ -12208,8 +12210,8 @@ "binop": null }, "value": "response", - "start": 1944, - "end": 1952, + "start": 1954, + "end": 1962, "loc": { "start": { "line": 60, @@ -12234,8 +12236,8 @@ "binop": null, "updateContext": null }, - "start": 1952, - "end": 1953, + "start": 1962, + "end": 1963, "loc": { "start": { "line": 60, @@ -12260,8 +12262,8 @@ "binop": null }, "value": "json", - "start": 1953, - "end": 1957, + "start": 1963, + "end": 1967, "loc": { "start": { "line": 60, @@ -12285,8 +12287,8 @@ "postfix": false, "binop": null }, - "start": 1957, - "end": 1958, + "start": 1967, + "end": 1968, "loc": { "start": { "line": 60, @@ -12310,8 +12312,8 @@ "postfix": false, "binop": null }, - "start": 1958, - "end": 1959, + "start": 1968, + "end": 1969, "loc": { "start": { "line": 60, @@ -12336,8 +12338,8 @@ "binop": null, "updateContext": null }, - "start": 1959, - "end": 1960, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 60, @@ -12361,8 +12363,8 @@ "postfix": false, "binop": null }, - "start": 1978, - "end": 1979, + "start": 1988, + "end": 1989, "loc": { "start": { "line": 61, @@ -12389,8 +12391,8 @@ "updateContext": null }, "value": "else", - "start": 1980, - "end": 1984, + "start": 1990, + "end": 1994, "loc": { "start": { "line": 61, @@ -12417,8 +12419,8 @@ "updateContext": null }, "value": "if", - "start": 1985, - "end": 1987, + "start": 1995, + "end": 1997, "loc": { "start": { "line": 61, @@ -12442,8 +12444,8 @@ "postfix": false, "binop": null }, - "start": 1988, - "end": 1989, + "start": 1998, + "end": 1999, "loc": { "start": { "line": 61, @@ -12468,8 +12470,8 @@ "binop": null }, "value": "pVYIData", - "start": 1989, - "end": 1997, + "start": 1999, + "end": 2007, "loc": { "start": { "line": 61, @@ -12496,8 +12498,8 @@ "updateContext": null }, "value": "instanceof", - "start": 1998, - "end": 2008, + "start": 2008, + "end": 2018, "loc": { "start": { "line": 61, @@ -12522,8 +12524,8 @@ "binop": null }, "value": "Object", - "start": 2009, - "end": 2015, + "start": 2019, + "end": 2025, "loc": { "start": { "line": 61, @@ -12547,8 +12549,8 @@ "postfix": false, "binop": null }, - "start": 2015, - "end": 2016, + "start": 2025, + "end": 2026, "loc": { "start": { "line": 61, @@ -12572,8 +12574,8 @@ "postfix": false, "binop": null }, - "start": 2017, - "end": 2018, + "start": 2027, + "end": 2028, "loc": { "start": { "line": 61, @@ -12598,8 +12600,8 @@ "binop": null }, "value": "vyi", - "start": 2040, - "end": 2043, + "start": 2050, + "end": 2053, "loc": { "start": { "line": 62, @@ -12625,8 +12627,8 @@ "updateContext": null }, "value": "=", - "start": 2044, - "end": 2045, + "start": 2054, + "end": 2055, "loc": { "start": { "line": 62, @@ -12651,8 +12653,8 @@ "binop": null }, "value": "pVYIData", - "start": 2046, - "end": 2054, + "start": 2056, + "end": 2064, "loc": { "start": { "line": 62, @@ -12677,8 +12679,8 @@ "binop": null, "updateContext": null }, - "start": 2054, - "end": 2055, + "start": 2064, + "end": 2065, "loc": { "start": { "line": 62, @@ -12702,8 +12704,8 @@ "postfix": false, "binop": null }, - "start": 2073, - "end": 2074, + "start": 2083, + "end": 2084, "loc": { "start": { "line": 63, @@ -12718,8 +12720,8 @@ { "type": "CommentLine", "value": " If there is data to parse", - "start": 2092, - "end": 2120, + "start": 2102, + "end": 2130, "loc": { "start": { "line": 64, @@ -12734,8 +12736,8 @@ { "type": "CommentLine", "value": " Then parse through it", - "start": 2138, - "end": 2162, + "start": 2148, + "end": 2172, "loc": { "start": { "line": 65, @@ -12762,8 +12764,8 @@ "updateContext": null }, "value": "if", - "start": 2180, - "end": 2182, + "start": 2190, + "end": 2192, "loc": { "start": { "line": 66, @@ -12787,8 +12789,8 @@ "postfix": false, "binop": null }, - "start": 2183, - "end": 2184, + "start": 2193, + "end": 2194, "loc": { "start": { "line": 66, @@ -12813,8 +12815,8 @@ "binop": null }, "value": "vyi", - "start": 2184, - "end": 2187, + "start": 2194, + "end": 2197, "loc": { "start": { "line": 66, @@ -12838,8 +12840,8 @@ "postfix": false, "binop": null }, - "start": 2187, - "end": 2188, + "start": 2197, + "end": 2198, "loc": { "start": { "line": 66, @@ -12863,8 +12865,8 @@ "postfix": false, "binop": null }, - "start": 2189, - "end": 2190, + "start": 2199, + "end": 2200, "loc": { "start": { "line": 66, @@ -12879,8 +12881,8 @@ { "type": "CommentBlock", "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2212, - "end": 2341, + "start": 2222, + "end": 2351, "loc": { "start": { "line": 67, @@ -12907,8 +12909,8 @@ "updateContext": null }, "value": "const", - "start": 2363, - "end": 2368, + "start": 2373, + "end": 2378, "loc": { "start": { "line": 71, @@ -12933,8 +12935,8 @@ "binop": null }, "value": "icons", - "start": 2369, - "end": 2374, + "start": 2379, + "end": 2384, "loc": { "start": { "line": 71, @@ -12960,8 +12962,8 @@ "updateContext": null }, "value": "=", - "start": 2375, - "end": 2376, + "start": 2385, + "end": 2386, "loc": { "start": { "line": 71, @@ -12986,8 +12988,8 @@ "binop": null }, "value": "vyi", - "start": 2377, - "end": 2380, + "start": 2387, + "end": 2390, "loc": { "start": { "line": 71, @@ -13012,8 +13014,8 @@ "binop": null, "updateContext": null }, - "start": 2380, - "end": 2381, + "start": 2390, + "end": 2391, "loc": { "start": { "line": 71, @@ -13038,8 +13040,8 @@ "binop": null }, "value": "i", - "start": 2381, - "end": 2382, + "start": 2391, + "end": 2392, "loc": { "start": { "line": 71, @@ -13064,8 +13066,8 @@ "binop": null, "updateContext": null }, - "start": 2382, - "end": 2383, + "start": 2392, + "end": 2393, "loc": { "start": { "line": 71, @@ -13080,8 +13082,8 @@ { "type": "CommentBlock", "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2405, - "end": 2558, + "start": 2415, + "end": 2568, "loc": { "start": { "line": 72, @@ -13108,8 +13110,8 @@ "updateContext": null }, "value": "this", - "start": 2580, - "end": 2584, + "start": 2590, + "end": 2594, "loc": { "start": { "line": 76, @@ -13134,8 +13136,8 @@ "binop": null, "updateContext": null }, - "start": 2584, - "end": 2585, + "start": 2594, + "end": 2595, "loc": { "start": { "line": 76, @@ -13160,8 +13162,8 @@ "binop": null }, "value": "formatVersion", - "start": 2585, - "end": 2598, + "start": 2595, + "end": 2608, "loc": { "start": { "line": 76, @@ -13187,8 +13189,8 @@ "updateContext": null }, "value": "=", - "start": 2599, - "end": 2600, + "start": 2609, + "end": 2610, "loc": { "start": { "line": 76, @@ -13213,8 +13215,8 @@ "binop": null }, "value": "vyi", - "start": 2601, - "end": 2604, + "start": 2611, + "end": 2614, "loc": { "start": { "line": 76, @@ -13239,8 +13241,8 @@ "binop": null, "updateContext": null }, - "start": 2604, - "end": 2605, + "start": 2614, + "end": 2615, "loc": { "start": { "line": 76, @@ -13265,8 +13267,8 @@ "binop": null }, "value": "v", - "start": 2605, - "end": 2606, + "start": 2615, + "end": 2616, "loc": { "start": { "line": 76, @@ -13292,8 +13294,8 @@ "updateContext": null }, "value": "||", - "start": 2607, - "end": 2609, + "start": 2617, + "end": 2619, "loc": { "start": { "line": 76, @@ -13319,8 +13321,8 @@ "updateContext": null }, "value": 1, - "start": 2610, - "end": 2611, + "start": 2620, + "end": 2621, "loc": { "start": { "line": 76, @@ -13345,8 +13347,8 @@ "binop": null, "updateContext": null }, - "start": 2611, - "end": 2612, + "start": 2621, + "end": 2622, "loc": { "start": { "line": 76, @@ -13373,8 +13375,8 @@ "updateContext": null }, "value": "if", - "start": 2636, - "end": 2638, + "start": 2646, + "end": 2648, "loc": { "start": { "line": 78, @@ -13398,8 +13400,8 @@ "postfix": false, "binop": null }, - "start": 2639, - "end": 2640, + "start": 2649, + "end": 2650, "loc": { "start": { "line": 78, @@ -13424,8 +13426,8 @@ "binop": null }, "value": "Array", - "start": 2640, - "end": 2645, + "start": 2650, + "end": 2655, "loc": { "start": { "line": 78, @@ -13450,8 +13452,8 @@ "binop": null, "updateContext": null }, - "start": 2645, - "end": 2646, + "start": 2655, + "end": 2656, "loc": { "start": { "line": 78, @@ -13476,8 +13478,8 @@ "binop": null }, "value": "isArray", - "start": 2646, - "end": 2653, + "start": 2656, + "end": 2663, "loc": { "start": { "line": 78, @@ -13501,8 +13503,8 @@ "postfix": false, "binop": null }, - "start": 2653, - "end": 2654, + "start": 2663, + "end": 2664, "loc": { "start": { "line": 78, @@ -13527,8 +13529,8 @@ "binop": null }, "value": "icons", - "start": 2654, - "end": 2659, + "start": 2664, + "end": 2669, "loc": { "start": { "line": 78, @@ -13552,8 +13554,8 @@ "postfix": false, "binop": null }, - "start": 2659, - "end": 2660, + "start": 2669, + "end": 2670, "loc": { "start": { "line": 78, @@ -13577,8 +13579,8 @@ "postfix": false, "binop": null }, - "start": 2660, - "end": 2661, + "start": 2670, + "end": 2671, "loc": { "start": { "line": 78, @@ -13602,8 +13604,8 @@ "postfix": false, "binop": null }, - "start": 2662, - "end": 2663, + "start": 2672, + "end": 2673, "loc": { "start": { "line": 78, @@ -13618,8 +13620,8 @@ { "type": "CommentLine", "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2689, - "end": 2755, + "start": 2699, + "end": 2765, "loc": { "start": { "line": 79, @@ -13644,8 +13646,8 @@ "binop": null }, "value": "icons", - "start": 2781, - "end": 2786, + "start": 2791, + "end": 2796, "loc": { "start": { "line": 80, @@ -13670,8 +13672,8 @@ "binop": null, "updateContext": null }, - "start": 2786, - "end": 2787, + "start": 2796, + "end": 2797, "loc": { "start": { "line": 80, @@ -13696,8 +13698,8 @@ "binop": null }, "value": "forEach", - "start": 2787, - "end": 2794, + "start": 2797, + "end": 2804, "loc": { "start": { "line": 80, @@ -13721,8 +13723,8 @@ "postfix": false, "binop": null }, - "start": 2794, - "end": 2795, + "start": 2804, + "end": 2805, "loc": { "start": { "line": 80, @@ -13746,8 +13748,8 @@ "postfix": false, "binop": null }, - "start": 2795, - "end": 2796, + "start": 2805, + "end": 2806, "loc": { "start": { "line": 80, @@ -13772,8 +13774,8 @@ "binop": null }, "value": "pIconData", - "start": 2796, - "end": 2805, + "start": 2806, + "end": 2815, "loc": { "start": { "line": 80, @@ -13797,8 +13799,8 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2815, + "end": 2816, "loc": { "start": { "line": 80, @@ -13823,8 +13825,8 @@ "binop": null, "updateContext": null }, - "start": 2807, - "end": 2809, + "start": 2817, + "end": 2819, "loc": { "start": { "line": 80, @@ -13848,8 +13850,8 @@ "postfix": false, "binop": null }, - "start": 2810, - "end": 2811, + "start": 2820, + "end": 2821, "loc": { "start": { "line": 80, @@ -13876,8 +13878,8 @@ "updateContext": null }, "value": "this", - "start": 2841, - "end": 2845, + "start": 2851, + "end": 2855, "loc": { "start": { "line": 81, @@ -13902,8 +13904,8 @@ "binop": null, "updateContext": null }, - "start": 2845, - "end": 2846, + "start": 2855, + "end": 2856, "loc": { "start": { "line": 81, @@ -13928,8 +13930,8 @@ "binop": null }, "value": "addIcon", - "start": 2846, - "end": 2853, + "start": 2856, + "end": 2863, "loc": { "start": { "line": 81, @@ -13953,8 +13955,8 @@ "postfix": false, "binop": null }, - "start": 2853, - "end": 2854, + "start": 2863, + "end": 2864, "loc": { "start": { "line": 81, @@ -13979,8 +13981,8 @@ "binop": null }, "value": "pIconData", - "start": 2854, - "end": 2863, + "start": 2864, + "end": 2873, "loc": { "start": { "line": 81, @@ -14004,8 +14006,8 @@ "postfix": false, "binop": null }, - "start": 2863, - "end": 2864, + "start": 2873, + "end": 2874, "loc": { "start": { "line": 81, @@ -14030,8 +14032,8 @@ "binop": null, "updateContext": null }, - "start": 2864, - "end": 2865, + "start": 2874, + "end": 2875, "loc": { "start": { "line": 81, @@ -14055,8 +14057,8 @@ "postfix": false, "binop": null }, - "start": 2891, - "end": 2892, + "start": 2901, + "end": 2902, "loc": { "start": { "line": 82, @@ -14080,8 +14082,8 @@ "postfix": false, "binop": null }, - "start": 2892, - "end": 2893, + "start": 2902, + "end": 2903, "loc": { "start": { "line": 82, @@ -14106,8 +14108,8 @@ "binop": null, "updateContext": null }, - "start": 2893, - "end": 2894, + "start": 2903, + "end": 2904, "loc": { "start": { "line": 82, @@ -14131,8 +14133,8 @@ "postfix": false, "binop": null }, - "start": 2916, - "end": 2917, + "start": 2926, + "end": 2927, "loc": { "start": { "line": 83, @@ -14159,8 +14161,8 @@ "updateContext": null }, "value": "else", - "start": 2918, - "end": 2922, + "start": 2928, + "end": 2932, "loc": { "start": { "line": 83, @@ -14184,8 +14186,8 @@ "postfix": false, "binop": null }, - "start": 2923, - "end": 2924, + "start": 2933, + "end": 2934, "loc": { "start": { "line": 83, @@ -14210,8 +14212,8 @@ "binop": null }, "value": "VYI", - "start": 2950, - "end": 2953, + "start": 2960, + "end": 2963, "loc": { "start": { "line": 84, @@ -14236,8 +14238,8 @@ "binop": null, "updateContext": null }, - "start": 2953, - "end": 2954, + "start": 2963, + "end": 2964, "loc": { "start": { "line": 84, @@ -14262,8 +14264,8 @@ "binop": null }, "value": "logger", - "start": 2954, - "end": 2960, + "start": 2964, + "end": 2970, "loc": { "start": { "line": 84, @@ -14288,8 +14290,8 @@ "binop": null, "updateContext": null }, - "start": 2960, - "end": 2961, + "start": 2970, + "end": 2971, "loc": { "start": { "line": 84, @@ -14314,8 +14316,8 @@ "binop": null }, "value": "prefix", - "start": 2961, - "end": 2967, + "start": 2971, + "end": 2977, "loc": { "start": { "line": 84, @@ -14339,8 +14341,8 @@ "postfix": false, "binop": null }, - "start": 2967, - "end": 2968, + "start": 2977, + "end": 2978, "loc": { "start": { "line": 84, @@ -14366,8 +14368,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 2968, - "end": 2980, + "start": 2978, + "end": 2990, "loc": { "start": { "line": 84, @@ -14391,8 +14393,8 @@ "postfix": false, "binop": null }, - "start": 2980, - "end": 2981, + "start": 2990, + "end": 2991, "loc": { "start": { "line": 84, @@ -14417,8 +14419,8 @@ "binop": null, "updateContext": null }, - "start": 2981, - "end": 2982, + "start": 2991, + "end": 2992, "loc": { "start": { "line": 84, @@ -14443,8 +14445,8 @@ "binop": null }, "value": "error", - "start": 2982, - "end": 2987, + "start": 2992, + "end": 2997, "loc": { "start": { "line": 84, @@ -14468,8 +14470,8 @@ "postfix": false, "binop": null }, - "start": 2987, - "end": 2988, + "start": 2997, + "end": 2998, "loc": { "start": { "line": 84, @@ -14495,8 +14497,8 @@ "updateContext": null }, "value": "Invalid .vyi file! Cannot parse.", - "start": 2988, - "end": 3022, + "start": 2998, + "end": 3032, "loc": { "start": { "line": 84, @@ -14520,8 +14522,8 @@ "postfix": false, "binop": null }, - "start": 3022, - "end": 3023, + "start": 3032, + "end": 3033, "loc": { "start": { "line": 84, @@ -14546,8 +14548,8 @@ "binop": null, "updateContext": null }, - "start": 3023, - "end": 3024, + "start": 3033, + "end": 3034, "loc": { "start": { "line": 84, @@ -14571,8 +14573,8 @@ "postfix": false, "binop": null }, - "start": 3046, - "end": 3047, + "start": 3056, + "end": 3057, "loc": { "start": { "line": 85, @@ -14596,8 +14598,8 @@ "postfix": false, "binop": null }, - "start": 3065, - "end": 3066, + "start": 3075, + "end": 3076, "loc": { "start": { "line": 86, @@ -14621,8 +14623,8 @@ "postfix": false, "binop": null }, - "start": 3080, - "end": 3081, + "start": 3090, + "end": 3091, "loc": { "start": { "line": 87, @@ -14646,8 +14648,8 @@ "postfix": false, "binop": null }, - "start": 3091, - "end": 3092, + "start": 3101, + "end": 3102, "loc": { "start": { "line": 88, @@ -14674,8 +14676,8 @@ "updateContext": null }, "value": "catch", - "start": 3093, - "end": 3098, + "start": 3103, + "end": 3108, "loc": { "start": { "line": 88, @@ -14699,8 +14701,8 @@ "postfix": false, "binop": null }, - "start": 3099, - "end": 3100, + "start": 3109, + "end": 3110, "loc": { "start": { "line": 88, @@ -14725,8 +14727,8 @@ "binop": null }, "value": "pError", - "start": 3100, - "end": 3106, + "start": 3110, + "end": 3116, "loc": { "start": { "line": 88, @@ -14750,8 +14752,8 @@ "postfix": false, "binop": null }, - "start": 3106, - "end": 3107, + "start": 3116, + "end": 3117, "loc": { "start": { "line": 88, @@ -14775,8 +14777,8 @@ "postfix": false, "binop": null }, - "start": 3108, - "end": 3109, + "start": 3118, + "end": 3119, "loc": { "start": { "line": 88, @@ -14801,8 +14803,8 @@ "binop": null }, "value": "VYI", - "start": 3123, - "end": 3126, + "start": 3133, + "end": 3136, "loc": { "start": { "line": 89, @@ -14827,8 +14829,8 @@ "binop": null, "updateContext": null }, - "start": 3126, - "end": 3127, + "start": 3136, + "end": 3137, "loc": { "start": { "line": 89, @@ -14853,8 +14855,8 @@ "binop": null }, "value": "logger", - "start": 3127, - "end": 3133, + "start": 3137, + "end": 3143, "loc": { "start": { "line": 89, @@ -14879,8 +14881,8 @@ "binop": null, "updateContext": null }, - "start": 3133, - "end": 3134, + "start": 3143, + "end": 3144, "loc": { "start": { "line": 89, @@ -14905,8 +14907,8 @@ "binop": null }, "value": "prefix", - "start": 3134, - "end": 3140, + "start": 3144, + "end": 3150, "loc": { "start": { "line": 89, @@ -14930,8 +14932,8 @@ "postfix": false, "binop": null }, - "start": 3140, - "end": 3141, + "start": 3150, + "end": 3151, "loc": { "start": { "line": 89, @@ -14957,8 +14959,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 3141, - "end": 3153, + "start": 3151, + "end": 3163, "loc": { "start": { "line": 89, @@ -14982,8 +14984,8 @@ "postfix": false, "binop": null }, - "start": 3153, - "end": 3154, + "start": 3163, + "end": 3164, "loc": { "start": { "line": 89, @@ -15008,8 +15010,8 @@ "binop": null, "updateContext": null }, - "start": 3154, - "end": 3155, + "start": 3164, + "end": 3165, "loc": { "start": { "line": 89, @@ -15034,8 +15036,8 @@ "binop": null }, "value": "error", - "start": 3155, - "end": 3160, + "start": 3165, + "end": 3170, "loc": { "start": { "line": 89, @@ -15059,8 +15061,8 @@ "postfix": false, "binop": null }, - "start": 3160, - "end": 3161, + "start": 3170, + "end": 3171, "loc": { "start": { "line": 89, @@ -15084,8 +15086,8 @@ "postfix": false, "binop": null }, - "start": 3161, - "end": 3162, + "start": 3171, + "end": 3172, "loc": { "start": { "line": 89, @@ -15111,8 +15113,8 @@ "updateContext": null }, "value": "Error processing vyi data: ", - "start": 3162, - "end": 3189, + "start": 3172, + "end": 3199, "loc": { "start": { "line": 89, @@ -15136,8 +15138,8 @@ "postfix": false, "binop": null }, - "start": 3189, - "end": 3191, + "start": 3199, + "end": 3201, "loc": { "start": { "line": 89, @@ -15162,8 +15164,8 @@ "binop": null }, "value": "pError", - "start": 3191, - "end": 3197, + "start": 3201, + "end": 3207, "loc": { "start": { "line": 89, @@ -15187,8 +15189,8 @@ "postfix": false, "binop": null }, - "start": 3197, - "end": 3198, + "start": 3207, + "end": 3208, "loc": { "start": { "line": 89, @@ -15214,8 +15216,8 @@ "updateContext": null }, "value": "", - "start": 3198, - "end": 3198, + "start": 3208, + "end": 3208, "loc": { "start": { "line": 89, @@ -15239,8 +15241,8 @@ "postfix": false, "binop": null }, - "start": 3198, - "end": 3199, + "start": 3208, + "end": 3209, "loc": { "start": { "line": 89, @@ -15264,8 +15266,8 @@ "postfix": false, "binop": null }, - "start": 3199, - "end": 3200, + "start": 3209, + "end": 3210, "loc": { "start": { "line": 89, @@ -15290,8 +15292,8 @@ "binop": null, "updateContext": null }, - "start": 3200, - "end": 3201, + "start": 3210, + "end": 3211, "loc": { "start": { "line": 89, @@ -15315,8 +15317,8 @@ "postfix": false, "binop": null }, - "start": 3211, - "end": 3212, + "start": 3221, + "end": 3222, "loc": { "start": { "line": 90, @@ -15340,8 +15342,8 @@ "postfix": false, "binop": null }, - "start": 3218, - "end": 3219, + "start": 3228, + "end": 3229, "loc": { "start": { "line": 91, @@ -15356,8 +15358,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3225, - "end": 3394, + "start": 3235, + "end": 3404, "loc": { "start": { "line": 92, @@ -15382,8 +15384,8 @@ "binop": null }, "value": "addIcon", - "start": 3400, - "end": 3407, + "start": 3410, + "end": 3417, "loc": { "start": { "line": 97, @@ -15407,8 +15409,8 @@ "postfix": false, "binop": null }, - "start": 3407, - "end": 3408, + "start": 3417, + "end": 3418, "loc": { "start": { "line": 97, @@ -15433,8 +15435,8 @@ "binop": null }, "value": "pIconData", - "start": 3408, - "end": 3417, + "start": 3418, + "end": 3427, "loc": { "start": { "line": 97, @@ -15458,8 +15460,8 @@ "postfix": false, "binop": null }, - "start": 3417, - "end": 3418, + "start": 3427, + "end": 3428, "loc": { "start": { "line": 97, @@ -15483,8 +15485,8 @@ "postfix": false, "binop": null }, - "start": 3419, - "end": 3420, + "start": 3429, + "end": 3430, "loc": { "start": { "line": 97, @@ -15511,8 +15513,8 @@ "updateContext": null }, "value": "if", - "start": 3430, - "end": 3432, + "start": 3440, + "end": 3442, "loc": { "start": { "line": 98, @@ -15536,8 +15538,8 @@ "postfix": false, "binop": null }, - "start": 3433, - "end": 3434, + "start": 3443, + "end": 3444, "loc": { "start": { "line": 98, @@ -15562,8 +15564,8 @@ "binop": null }, "value": "pIconData", - "start": 3434, - "end": 3443, + "start": 3444, + "end": 3453, "loc": { "start": { "line": 98, @@ -15587,8 +15589,8 @@ "postfix": false, "binop": null }, - "start": 3443, - "end": 3444, + "start": 3453, + "end": 3454, "loc": { "start": { "line": 98, @@ -15612,8 +15614,8 @@ "postfix": false, "binop": null }, - "start": 3445, - "end": 3446, + "start": 3455, + "end": 3456, "loc": { "start": { "line": 98, @@ -15640,8 +15642,8 @@ "updateContext": null }, "value": "if", - "start": 3460, - "end": 3462, + "start": 3470, + "end": 3472, "loc": { "start": { "line": 99, @@ -15665,8 +15667,8 @@ "postfix": false, "binop": null }, - "start": 3463, - "end": 3464, + "start": 3473, + "end": 3474, "loc": { "start": { "line": 99, @@ -15691,8 +15693,8 @@ "binop": null }, "value": "pIconData", - "start": 3464, - "end": 3473, + "start": 3474, + "end": 3483, "loc": { "start": { "line": 99, @@ -15719,8 +15721,8 @@ "updateContext": null }, "value": "instanceof", - "start": 3474, - "end": 3484, + "start": 3484, + "end": 3494, "loc": { "start": { "line": 99, @@ -15745,8 +15747,8 @@ "binop": null }, "value": "Object", - "start": 3485, - "end": 3491, + "start": 3495, + "end": 3501, "loc": { "start": { "line": 99, @@ -15770,8 +15772,8 @@ "postfix": false, "binop": null }, - "start": 3491, - "end": 3492, + "start": 3501, + "end": 3502, "loc": { "start": { "line": 99, @@ -15795,8 +15797,8 @@ "postfix": false, "binop": null }, - "start": 3493, - "end": 3494, + "start": 3503, + "end": 3504, "loc": { "start": { "line": 99, @@ -15823,8 +15825,8 @@ "updateContext": null }, "value": "const", - "start": 3512, - "end": 3517, + "start": 3522, + "end": 3527, "loc": { "start": { "line": 100, @@ -15849,8 +15851,8 @@ "binop": null }, "value": "icon", - "start": 3518, - "end": 3522, + "start": 3528, + "end": 3532, "loc": { "start": { "line": 100, @@ -15876,8 +15878,8 @@ "updateContext": null }, "value": "=", - "start": 3523, - "end": 3524, + "start": 3533, + "end": 3534, "loc": { "start": { "line": 100, @@ -15904,8 +15906,8 @@ "updateContext": null }, "value": "new", - "start": 3525, - "end": 3528, + "start": 3535, + "end": 3538, "loc": { "start": { "line": 100, @@ -15930,8 +15932,8 @@ "binop": null }, "value": "Icon", - "start": 3529, - "end": 3533, + "start": 3539, + "end": 3543, "loc": { "start": { "line": 100, @@ -15955,8 +15957,8 @@ "postfix": false, "binop": null }, - "start": 3533, - "end": 3534, + "start": 3543, + "end": 3544, "loc": { "start": { "line": 100, @@ -15981,8 +15983,8 @@ "binop": null }, "value": "pIconData", - "start": 3534, - "end": 3543, + "start": 3544, + "end": 3553, "loc": { "start": { "line": 100, @@ -16006,8 +16008,8 @@ "postfix": false, "binop": null }, - "start": 3543, - "end": 3544, + "start": 3553, + "end": 3554, "loc": { "start": { "line": 100, @@ -16032,8 +16034,8 @@ "binop": null, "updateContext": null }, - "start": 3544, - "end": 3545, + "start": 3554, + "end": 3555, "loc": { "start": { "line": 100, @@ -16048,8 +16050,8 @@ { "type": "CommentLine", "value": " Add the icon to the icons array.", - "start": 3563, - "end": 3598, + "start": 3573, + "end": 3608, "loc": { "start": { "line": 101, @@ -16076,8 +16078,8 @@ "updateContext": null }, "value": "this", - "start": 3616, - "end": 3620, + "start": 3626, + "end": 3630, "loc": { "start": { "line": 102, @@ -16102,8 +16104,8 @@ "binop": null, "updateContext": null }, - "start": 3620, - "end": 3621, + "start": 3630, + "end": 3631, "loc": { "start": { "line": 102, @@ -16128,8 +16130,8 @@ "binop": null }, "value": "icons", - "start": 3621, - "end": 3626, + "start": 3631, + "end": 3636, "loc": { "start": { "line": 102, @@ -16154,8 +16156,8 @@ "binop": null, "updateContext": null }, - "start": 3626, - "end": 3627, + "start": 3636, + "end": 3637, "loc": { "start": { "line": 102, @@ -16180,8 +16182,8 @@ "binop": null }, "value": "push", - "start": 3627, - "end": 3631, + "start": 3637, + "end": 3641, "loc": { "start": { "line": 102, @@ -16205,8 +16207,8 @@ "postfix": false, "binop": null }, - "start": 3631, - "end": 3632, + "start": 3641, + "end": 3642, "loc": { "start": { "line": 102, @@ -16231,8 +16233,8 @@ "binop": null }, "value": "icon", - "start": 3632, - "end": 3636, + "start": 3642, + "end": 3646, "loc": { "start": { "line": 102, @@ -16256,8 +16258,8 @@ "postfix": false, "binop": null }, - "start": 3636, - "end": 3637, + "start": 3646, + "end": 3647, "loc": { "start": { "line": 102, @@ -16282,8 +16284,8 @@ "binop": null, "updateContext": null }, - "start": 3637, - "end": 3638, + "start": 3647, + "end": 3648, "loc": { "start": { "line": 102, @@ -16310,8 +16312,8 @@ "updateContext": null }, "value": "return", - "start": 3656, - "end": 3662, + "start": 3666, + "end": 3672, "loc": { "start": { "line": 103, @@ -16336,8 +16338,8 @@ "binop": null }, "value": "icon", - "start": 3663, - "end": 3667, + "start": 3673, + "end": 3677, "loc": { "start": { "line": 103, @@ -16362,8 +16364,8 @@ "binop": null, "updateContext": null }, - "start": 3667, - "end": 3668, + "start": 3677, + "end": 3678, "loc": { "start": { "line": 103, @@ -16387,8 +16389,8 @@ "postfix": false, "binop": null }, - "start": 3682, - "end": 3683, + "start": 3692, + "end": 3693, "loc": { "start": { "line": 104, @@ -16415,8 +16417,8 @@ "updateContext": null }, "value": "else", - "start": 3684, - "end": 3688, + "start": 3694, + "end": 3698, "loc": { "start": { "line": 104, @@ -16440,8 +16442,8 @@ "postfix": false, "binop": null }, - "start": 3689, - "end": 3690, + "start": 3699, + "end": 3700, "loc": { "start": { "line": 104, @@ -16466,8 +16468,8 @@ "binop": null }, "value": "VYI", - "start": 3708, - "end": 3711, + "start": 3718, + "end": 3721, "loc": { "start": { "line": 105, @@ -16492,8 +16494,8 @@ "binop": null, "updateContext": null }, - "start": 3711, - "end": 3712, + "start": 3721, + "end": 3722, "loc": { "start": { "line": 105, @@ -16518,8 +16520,8 @@ "binop": null }, "value": "logger", - "start": 3712, - "end": 3718, + "start": 3722, + "end": 3728, "loc": { "start": { "line": 105, @@ -16544,8 +16546,8 @@ "binop": null, "updateContext": null }, - "start": 3718, - "end": 3719, + "start": 3728, + "end": 3729, "loc": { "start": { "line": 105, @@ -16570,8 +16572,8 @@ "binop": null }, "value": "prefix", - "start": 3719, - "end": 3725, + "start": 3729, + "end": 3735, "loc": { "start": { "line": 105, @@ -16595,8 +16597,8 @@ "postfix": false, "binop": null }, - "start": 3725, - "end": 3726, + "start": 3735, + "end": 3736, "loc": { "start": { "line": 105, @@ -16622,8 +16624,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 3726, - "end": 3738, + "start": 3736, + "end": 3748, "loc": { "start": { "line": 105, @@ -16647,8 +16649,8 @@ "postfix": false, "binop": null }, - "start": 3738, - "end": 3739, + "start": 3748, + "end": 3749, "loc": { "start": { "line": 105, @@ -16673,8 +16675,8 @@ "binop": null, "updateContext": null }, - "start": 3739, - "end": 3740, + "start": 3749, + "end": 3750, "loc": { "start": { "line": 105, @@ -16699,8 +16701,8 @@ "binop": null }, "value": "error", - "start": 3740, - "end": 3745, + "start": 3750, + "end": 3755, "loc": { "start": { "line": 105, @@ -16724,8 +16726,8 @@ "postfix": false, "binop": null }, - "start": 3745, - "end": 3746, + "start": 3755, + "end": 3756, "loc": { "start": { "line": 105, @@ -16751,8 +16753,8 @@ "updateContext": null }, "value": "Invalid icon data type passed!", - "start": 3746, - "end": 3778, + "start": 3756, + "end": 3788, "loc": { "start": { "line": 105, @@ -16776,8 +16778,8 @@ "postfix": false, "binop": null }, - "start": 3778, - "end": 3779, + "start": 3788, + "end": 3789, "loc": { "start": { "line": 105, @@ -16802,8 +16804,8 @@ "binop": null, "updateContext": null }, - "start": 3779, - "end": 3780, + "start": 3789, + "end": 3790, "loc": { "start": { "line": 105, @@ -16827,8 +16829,8 @@ "postfix": false, "binop": null }, - "start": 3794, - "end": 3795, + "start": 3804, + "end": 3805, "loc": { "start": { "line": 106, @@ -16852,8 +16854,8 @@ "postfix": false, "binop": null }, - "start": 3805, - "end": 3806, + "start": 3815, + "end": 3816, "loc": { "start": { "line": 107, @@ -16880,8 +16882,8 @@ "updateContext": null }, "value": "else", - "start": 3807, - "end": 3811, + "start": 3817, + "end": 3821, "loc": { "start": { "line": 107, @@ -16905,8 +16907,8 @@ "postfix": false, "binop": null }, - "start": 3812, - "end": 3813, + "start": 3822, + "end": 3823, "loc": { "start": { "line": 107, @@ -16931,8 +16933,8 @@ "binop": null }, "value": "VYI", - "start": 3827, - "end": 3830, + "start": 3837, + "end": 3840, "loc": { "start": { "line": 108, @@ -16957,8 +16959,8 @@ "binop": null, "updateContext": null }, - "start": 3830, - "end": 3831, + "start": 3840, + "end": 3841, "loc": { "start": { "line": 108, @@ -16983,8 +16985,8 @@ "binop": null }, "value": "logger", - "start": 3831, - "end": 3837, + "start": 3841, + "end": 3847, "loc": { "start": { "line": 108, @@ -17009,8 +17011,8 @@ "binop": null, "updateContext": null }, - "start": 3837, - "end": 3838, + "start": 3847, + "end": 3848, "loc": { "start": { "line": 108, @@ -17035,8 +17037,8 @@ "binop": null }, "value": "prefix", - "start": 3838, - "end": 3844, + "start": 3848, + "end": 3854, "loc": { "start": { "line": 108, @@ -17060,8 +17062,8 @@ "postfix": false, "binop": null }, - "start": 3844, - "end": 3845, + "start": 3854, + "end": 3855, "loc": { "start": { "line": 108, @@ -17087,8 +17089,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 3845, - "end": 3857, + "start": 3855, + "end": 3867, "loc": { "start": { "line": 108, @@ -17112,8 +17114,8 @@ "postfix": false, "binop": null }, - "start": 3857, - "end": 3858, + "start": 3867, + "end": 3868, "loc": { "start": { "line": 108, @@ -17138,8 +17140,8 @@ "binop": null, "updateContext": null }, - "start": 3858, - "end": 3859, + "start": 3868, + "end": 3869, "loc": { "start": { "line": 108, @@ -17164,8 +17166,8 @@ "binop": null }, "value": "error", - "start": 3859, - "end": 3864, + "start": 3869, + "end": 3874, "loc": { "start": { "line": 108, @@ -17189,8 +17191,8 @@ "postfix": false, "binop": null }, - "start": 3864, - "end": 3865, + "start": 3874, + "end": 3875, "loc": { "start": { "line": 108, @@ -17216,8 +17218,8 @@ "updateContext": null }, "value": "No icon data passed!", - "start": 3865, - "end": 3887, + "start": 3875, + "end": 3897, "loc": { "start": { "line": 108, @@ -17241,8 +17243,8 @@ "postfix": false, "binop": null }, - "start": 3887, - "end": 3888, + "start": 3897, + "end": 3898, "loc": { "start": { "line": 108, @@ -17267,8 +17269,8 @@ "binop": null, "updateContext": null }, - "start": 3888, - "end": 3889, + "start": 3898, + "end": 3899, "loc": { "start": { "line": 108, @@ -17292,8 +17294,8 @@ "postfix": false, "binop": null }, - "start": 3899, - "end": 3900, + "start": 3909, + "end": 3910, "loc": { "start": { "line": 109, @@ -17317,8 +17319,8 @@ "postfix": false, "binop": null }, - "start": 3906, - "end": 3907, + "start": 3916, + "end": 3917, "loc": { "start": { "line": 110, @@ -17333,8 +17335,8 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3913, - "end": 4245, + "start": 3923, + "end": 4255, "loc": { "start": { "line": 111, @@ -17359,8 +17361,8 @@ "binop": null }, "value": "removeIcon", - "start": 4251, - "end": 4261, + "start": 4261, + "end": 4271, "loc": { "start": { "line": 116, @@ -17384,8 +17386,8 @@ "postfix": false, "binop": null }, - "start": 4261, - "end": 4262, + "start": 4271, + "end": 4272, "loc": { "start": { "line": 116, @@ -17410,8 +17412,8 @@ "binop": null }, "value": "pIcon", - "start": 4262, - "end": 4267, + "start": 4272, + "end": 4277, "loc": { "start": { "line": 116, @@ -17436,8 +17438,8 @@ "binop": null, "updateContext": null }, - "start": 4267, - "end": 4268, + "start": 4277, + "end": 4278, "loc": { "start": { "line": 116, @@ -17462,8 +17464,8 @@ "binop": null }, "value": "pName", - "start": 4269, - "end": 4274, + "start": 4279, + "end": 4284, "loc": { "start": { "line": 116, @@ -17487,8 +17489,8 @@ "postfix": false, "binop": null }, - "start": 4274, - "end": 4275, + "start": 4284, + "end": 4285, "loc": { "start": { "line": 116, @@ -17512,8 +17514,8 @@ "postfix": false, "binop": null }, - "start": 4276, - "end": 4277, + "start": 4286, + "end": 4287, "loc": { "start": { "line": 116, @@ -17540,8 +17542,8 @@ "updateContext": null }, "value": "const", - "start": 4287, - "end": 4292, + "start": 4297, + "end": 4302, "loc": { "start": { "line": 117, @@ -17566,8 +17568,8 @@ "binop": null }, "value": "icon", - "start": 4293, - "end": 4297, + "start": 4303, + "end": 4307, "loc": { "start": { "line": 117, @@ -17593,8 +17595,8 @@ "updateContext": null }, "value": "=", - "start": 4298, - "end": 4299, + "start": 4308, + "end": 4309, "loc": { "start": { "line": 117, @@ -17619,8 +17621,8 @@ "binop": null }, "value": "pIcon", - "start": 4300, - "end": 4305, + "start": 4310, + "end": 4315, "loc": { "start": { "line": 117, @@ -17646,8 +17648,8 @@ "updateContext": null }, "value": "||", - "start": 4306, - "end": 4308, + "start": 4316, + "end": 4318, "loc": { "start": { "line": 117, @@ -17674,8 +17676,8 @@ "updateContext": null }, "value": "this", - "start": 4309, - "end": 4313, + "start": 4319, + "end": 4323, "loc": { "start": { "line": 117, @@ -17700,8 +17702,8 @@ "binop": null, "updateContext": null }, - "start": 4313, - "end": 4314, + "start": 4323, + "end": 4324, "loc": { "start": { "line": 117, @@ -17726,8 +17728,8 @@ "binop": null }, "value": "getIcon", - "start": 4314, - "end": 4321, + "start": 4324, + "end": 4331, "loc": { "start": { "line": 117, @@ -17751,8 +17753,8 @@ "postfix": false, "binop": null }, - "start": 4321, - "end": 4322, + "start": 4331, + "end": 4332, "loc": { "start": { "line": 117, @@ -17777,8 +17779,8 @@ "binop": null }, "value": "pName", - "start": 4322, - "end": 4327, + "start": 4332, + "end": 4337, "loc": { "start": { "line": 117, @@ -17802,8 +17804,8 @@ "postfix": false, "binop": null }, - "start": 4327, - "end": 4328, + "start": 4337, + "end": 4338, "loc": { "start": { "line": 117, @@ -17828,8 +17830,8 @@ "binop": null, "updateContext": null }, - "start": 4328, - "end": 4329, + "start": 4338, + "end": 4339, "loc": { "start": { "line": 117, @@ -17856,8 +17858,8 @@ "updateContext": null }, "value": "if", - "start": 4339, - "end": 4341, + "start": 4349, + "end": 4351, "loc": { "start": { "line": 118, @@ -17881,8 +17883,8 @@ "postfix": false, "binop": null }, - "start": 4342, - "end": 4343, + "start": 4352, + "end": 4353, "loc": { "start": { "line": 118, @@ -17907,8 +17909,8 @@ "binop": null }, "value": "icon", - "start": 4343, - "end": 4347, + "start": 4353, + "end": 4357, "loc": { "start": { "line": 118, @@ -17932,8 +17934,8 @@ "postfix": false, "binop": null }, - "start": 4347, - "end": 4348, + "start": 4357, + "end": 4358, "loc": { "start": { "line": 118, @@ -17957,8 +17959,8 @@ "postfix": false, "binop": null }, - "start": 4349, - "end": 4350, + "start": 4359, + "end": 4360, "loc": { "start": { "line": 118, @@ -17985,8 +17987,8 @@ "updateContext": null }, "value": "if", - "start": 4364, - "end": 4366, + "start": 4374, + "end": 4376, "loc": { "start": { "line": 119, @@ -18010,8 +18012,8 @@ "postfix": false, "binop": null }, - "start": 4367, - "end": 4368, + "start": 4377, + "end": 4378, "loc": { "start": { "line": 119, @@ -18038,8 +18040,8 @@ "updateContext": null }, "value": "this", - "start": 4368, - "end": 4372, + "start": 4378, + "end": 4382, "loc": { "start": { "line": 119, @@ -18064,8 +18066,8 @@ "binop": null, "updateContext": null }, - "start": 4372, - "end": 4373, + "start": 4382, + "end": 4383, "loc": { "start": { "line": 119, @@ -18090,8 +18092,8 @@ "binop": null }, "value": "icons", - "start": 4373, - "end": 4378, + "start": 4383, + "end": 4388, "loc": { "start": { "line": 119, @@ -18116,8 +18118,8 @@ "binop": null, "updateContext": null }, - "start": 4378, - "end": 4379, + "start": 4388, + "end": 4389, "loc": { "start": { "line": 119, @@ -18142,8 +18144,8 @@ "binop": null }, "value": "includes", - "start": 4379, - "end": 4387, + "start": 4389, + "end": 4397, "loc": { "start": { "line": 119, @@ -18167,8 +18169,8 @@ "postfix": false, "binop": null }, - "start": 4387, - "end": 4388, + "start": 4397, + "end": 4398, "loc": { "start": { "line": 119, @@ -18193,8 +18195,8 @@ "binop": null }, "value": "icon", - "start": 4388, - "end": 4392, + "start": 4398, + "end": 4402, "loc": { "start": { "line": 119, @@ -18218,8 +18220,8 @@ "postfix": false, "binop": null }, - "start": 4392, - "end": 4393, + "start": 4402, + "end": 4403, "loc": { "start": { "line": 119, @@ -18243,8 +18245,8 @@ "postfix": false, "binop": null }, - "start": 4393, - "end": 4394, + "start": 4403, + "end": 4404, "loc": { "start": { "line": 119, @@ -18268,8 +18270,8 @@ "postfix": false, "binop": null }, - "start": 4395, - "end": 4396, + "start": 4405, + "end": 4406, "loc": { "start": { "line": 119, @@ -18296,8 +18298,8 @@ "updateContext": null }, "value": "this", - "start": 4414, - "end": 4418, + "start": 4424, + "end": 4428, "loc": { "start": { "line": 120, @@ -18322,8 +18324,8 @@ "binop": null, "updateContext": null }, - "start": 4418, - "end": 4419, + "start": 4428, + "end": 4429, "loc": { "start": { "line": 120, @@ -18348,8 +18350,8 @@ "binop": null }, "value": "icons", - "start": 4419, - "end": 4424, + "start": 4429, + "end": 4434, "loc": { "start": { "line": 120, @@ -18374,8 +18376,8 @@ "binop": null, "updateContext": null }, - "start": 4424, - "end": 4425, + "start": 4434, + "end": 4435, "loc": { "start": { "line": 120, @@ -18400,8 +18402,8 @@ "binop": null }, "value": "splice", - "start": 4425, - "end": 4431, + "start": 4435, + "end": 4441, "loc": { "start": { "line": 120, @@ -18425,8 +18427,8 @@ "postfix": false, "binop": null }, - "start": 4431, - "end": 4432, + "start": 4441, + "end": 4442, "loc": { "start": { "line": 120, @@ -18453,8 +18455,8 @@ "updateContext": null }, "value": "this", - "start": 4432, - "end": 4436, + "start": 4442, + "end": 4446, "loc": { "start": { "line": 120, @@ -18479,8 +18481,8 @@ "binop": null, "updateContext": null }, - "start": 4436, - "end": 4437, + "start": 4446, + "end": 4447, "loc": { "start": { "line": 120, @@ -18505,8 +18507,8 @@ "binop": null }, "value": "icons", - "start": 4437, - "end": 4442, + "start": 4447, + "end": 4452, "loc": { "start": { "line": 120, @@ -18531,8 +18533,8 @@ "binop": null, "updateContext": null }, - "start": 4442, - "end": 4443, + "start": 4452, + "end": 4453, "loc": { "start": { "line": 120, @@ -18557,8 +18559,8 @@ "binop": null }, "value": "indexOf", - "start": 4443, - "end": 4450, + "start": 4453, + "end": 4460, "loc": { "start": { "line": 120, @@ -18582,8 +18584,8 @@ "postfix": false, "binop": null }, - "start": 4450, - "end": 4451, + "start": 4460, + "end": 4461, "loc": { "start": { "line": 120, @@ -18608,8 +18610,8 @@ "binop": null }, "value": "icon", - "start": 4451, - "end": 4455, + "start": 4461, + "end": 4465, "loc": { "start": { "line": 120, @@ -18633,8 +18635,8 @@ "postfix": false, "binop": null }, - "start": 4455, - "end": 4456, + "start": 4465, + "end": 4466, "loc": { "start": { "line": 120, @@ -18659,8 +18661,8 @@ "binop": null, "updateContext": null }, - "start": 4456, - "end": 4457, + "start": 4466, + "end": 4467, "loc": { "start": { "line": 120, @@ -18686,8 +18688,8 @@ "updateContext": null }, "value": 1, - "start": 4458, - "end": 4459, + "start": 4468, + "end": 4469, "loc": { "start": { "line": 120, @@ -18711,8 +18713,8 @@ "postfix": false, "binop": null }, - "start": 4459, - "end": 4460, + "start": 4469, + "end": 4470, "loc": { "start": { "line": 120, @@ -18737,8 +18739,8 @@ "binop": null, "updateContext": null }, - "start": 4460, - "end": 4461, + "start": 4470, + "end": 4471, "loc": { "start": { "line": 120, @@ -18762,8 +18764,8 @@ "postfix": false, "binop": null }, - "start": 4475, - "end": 4476, + "start": 4485, + "end": 4486, "loc": { "start": { "line": 121, @@ -18787,8 +18789,8 @@ "postfix": false, "binop": null }, - "start": 4486, - "end": 4487, + "start": 4496, + "end": 4497, "loc": { "start": { "line": 122, @@ -18812,8 +18814,8 @@ "postfix": false, "binop": null }, - "start": 4493, - "end": 4494, + "start": 4503, + "end": 4504, "loc": { "start": { "line": 123, @@ -18828,8 +18830,8 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4500, - "end": 4621, + "start": 4510, + "end": 4631, "loc": { "start": { "line": 124, @@ -18854,8 +18856,8 @@ "binop": null }, "value": "getIconNames", - "start": 4627, - "end": 4639, + "start": 4637, + "end": 4649, "loc": { "start": { "line": 128, @@ -18879,8 +18881,8 @@ "postfix": false, "binop": null }, - "start": 4639, - "end": 4640, + "start": 4649, + "end": 4650, "loc": { "start": { "line": 128, @@ -18904,8 +18906,8 @@ "postfix": false, "binop": null }, - "start": 4640, - "end": 4641, + "start": 4650, + "end": 4651, "loc": { "start": { "line": 128, @@ -18929,8 +18931,8 @@ "postfix": false, "binop": null }, - "start": 4642, - "end": 4643, + "start": 4652, + "end": 4653, "loc": { "start": { "line": 128, @@ -18945,8 +18947,8 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4653, - "end": 4686, + "start": 4663, + "end": 4696, "loc": { "start": { "line": 129, @@ -18973,8 +18975,8 @@ "updateContext": null }, "value": "const", - "start": 4696, - "end": 4701, + "start": 4706, + "end": 4711, "loc": { "start": { "line": 130, @@ -18999,8 +19001,8 @@ "binop": null }, "value": "iconNames", - "start": 4702, - "end": 4711, + "start": 4712, + "end": 4721, "loc": { "start": { "line": 130, @@ -19026,8 +19028,8 @@ "updateContext": null }, "value": "=", - "start": 4712, - "end": 4713, + "start": 4722, + "end": 4723, "loc": { "start": { "line": 130, @@ -19052,8 +19054,8 @@ "binop": null, "updateContext": null }, - "start": 4714, - "end": 4715, + "start": 4724, + "end": 4725, "loc": { "start": { "line": 130, @@ -19078,8 +19080,8 @@ "binop": null, "updateContext": null }, - "start": 4715, - "end": 4716, + "start": 4725, + "end": 4726, "loc": { "start": { "line": 130, @@ -19104,8 +19106,8 @@ "binop": null, "updateContext": null }, - "start": 4716, - "end": 4717, + "start": 4726, + "end": 4727, "loc": { "start": { "line": 130, @@ -19132,8 +19134,8 @@ "updateContext": null }, "value": "this", - "start": 4727, - "end": 4731, + "start": 4737, + "end": 4741, "loc": { "start": { "line": 131, @@ -19158,8 +19160,8 @@ "binop": null, "updateContext": null }, - "start": 4731, - "end": 4732, + "start": 4741, + "end": 4742, "loc": { "start": { "line": 131, @@ -19184,8 +19186,8 @@ "binop": null }, "value": "icons", - "start": 4732, - "end": 4737, + "start": 4742, + "end": 4747, "loc": { "start": { "line": 131, @@ -19210,8 +19212,8 @@ "binop": null, "updateContext": null }, - "start": 4737, - "end": 4738, + "start": 4747, + "end": 4748, "loc": { "start": { "line": 131, @@ -19236,8 +19238,8 @@ "binop": null }, "value": "forEach", - "start": 4738, - "end": 4745, + "start": 4748, + "end": 4755, "loc": { "start": { "line": 131, @@ -19261,8 +19263,8 @@ "postfix": false, "binop": null }, - "start": 4745, - "end": 4746, + "start": 4755, + "end": 4756, "loc": { "start": { "line": 131, @@ -19286,8 +19288,8 @@ "postfix": false, "binop": null }, - "start": 4746, - "end": 4747, + "start": 4756, + "end": 4757, "loc": { "start": { "line": 131, @@ -19312,8 +19314,8 @@ "binop": null }, "value": "pIcon", - "start": 4747, - "end": 4752, + "start": 4757, + "end": 4762, "loc": { "start": { "line": 131, @@ -19337,8 +19339,8 @@ "postfix": false, "binop": null }, - "start": 4752, - "end": 4753, + "start": 4762, + "end": 4763, "loc": { "start": { "line": 131, @@ -19363,8 +19365,8 @@ "binop": null, "updateContext": null }, - "start": 4754, - "end": 4756, + "start": 4764, + "end": 4766, "loc": { "start": { "line": 131, @@ -19388,8 +19390,8 @@ "postfix": false, "binop": null }, - "start": 4757, - "end": 4758, + "start": 4767, + "end": 4768, "loc": { "start": { "line": 131, @@ -19414,8 +19416,8 @@ "binop": null }, "value": "iconNames", - "start": 4772, - "end": 4781, + "start": 4782, + "end": 4791, "loc": { "start": { "line": 132, @@ -19440,8 +19442,8 @@ "binop": null, "updateContext": null }, - "start": 4781, - "end": 4782, + "start": 4791, + "end": 4792, "loc": { "start": { "line": 132, @@ -19466,8 +19468,8 @@ "binop": null }, "value": "push", - "start": 4782, - "end": 4786, + "start": 4792, + "end": 4796, "loc": { "start": { "line": 132, @@ -19491,8 +19493,8 @@ "postfix": false, "binop": null }, - "start": 4786, - "end": 4787, + "start": 4796, + "end": 4797, "loc": { "start": { "line": 132, @@ -19517,8 +19519,8 @@ "binop": null }, "value": "pIcon", - "start": 4787, - "end": 4792, + "start": 4797, + "end": 4802, "loc": { "start": { "line": 132, @@ -19543,8 +19545,8 @@ "binop": null, "updateContext": null }, - "start": 4792, - "end": 4793, + "start": 4802, + "end": 4803, "loc": { "start": { "line": 132, @@ -19569,8 +19571,8 @@ "binop": null }, "value": "name", - "start": 4793, - "end": 4797, + "start": 4803, + "end": 4807, "loc": { "start": { "line": 132, @@ -19594,8 +19596,8 @@ "postfix": false, "binop": null }, - "start": 4797, - "end": 4798, + "start": 4807, + "end": 4808, "loc": { "start": { "line": 132, @@ -19620,8 +19622,8 @@ "binop": null, "updateContext": null }, - "start": 4798, - "end": 4799, + "start": 4808, + "end": 4809, "loc": { "start": { "line": 132, @@ -19645,8 +19647,8 @@ "postfix": false, "binop": null }, - "start": 4809, - "end": 4810, + "start": 4819, + "end": 4820, "loc": { "start": { "line": 133, @@ -19670,8 +19672,8 @@ "postfix": false, "binop": null }, - "start": 4810, - "end": 4811, + "start": 4820, + "end": 4821, "loc": { "start": { "line": 133, @@ -19696,8 +19698,8 @@ "binop": null, "updateContext": null }, - "start": 4811, - "end": 4812, + "start": 4821, + "end": 4822, "loc": { "start": { "line": 133, @@ -19724,8 +19726,8 @@ "updateContext": null }, "value": "return", - "start": 4822, - "end": 4828, + "start": 4832, + "end": 4838, "loc": { "start": { "line": 134, @@ -19750,8 +19752,8 @@ "binop": null }, "value": "iconNames", - "start": 4829, - "end": 4838, + "start": 4839, + "end": 4848, "loc": { "start": { "line": 134, @@ -19776,8 +19778,8 @@ "binop": null, "updateContext": null }, - "start": 4838, - "end": 4839, + "start": 4848, + "end": 4849, "loc": { "start": { "line": 134, @@ -19801,8 +19803,8 @@ "postfix": false, "binop": null }, - "start": 4845, - "end": 4846, + "start": 4855, + "end": 4856, "loc": { "start": { "line": 135, @@ -19817,8 +19819,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4852, - "end": 5053, + "start": 4862, + "end": 5063, "loc": { "start": { "line": 136, @@ -19843,8 +19845,8 @@ "binop": null }, "value": "getIcon", - "start": 5059, - "end": 5066, + "start": 5069, + "end": 5076, "loc": { "start": { "line": 141, @@ -19868,8 +19870,8 @@ "postfix": false, "binop": null }, - "start": 5066, - "end": 5067, + "start": 5076, + "end": 5077, "loc": { "start": { "line": 141, @@ -19894,8 +19896,8 @@ "binop": null }, "value": "pName", - "start": 5067, - "end": 5072, + "start": 5077, + "end": 5082, "loc": { "start": { "line": 141, @@ -19919,8 +19921,8 @@ "postfix": false, "binop": null }, - "start": 5072, - "end": 5073, + "start": 5082, + "end": 5083, "loc": { "start": { "line": 141, @@ -19944,8 +19946,8 @@ "postfix": false, "binop": null }, - "start": 5074, - "end": 5075, + "start": 5084, + "end": 5085, "loc": { "start": { "line": 141, @@ -19972,8 +19974,8 @@ "updateContext": null }, "value": "if", - "start": 5085, - "end": 5087, + "start": 5095, + "end": 5097, "loc": { "start": { "line": 142, @@ -19997,8 +19999,8 @@ "postfix": false, "binop": null }, - "start": 5088, - "end": 5089, + "start": 5098, + "end": 5099, "loc": { "start": { "line": 142, @@ -20025,8 +20027,8 @@ "updateContext": null }, "value": "typeof", - "start": 5089, - "end": 5095, + "start": 5099, + "end": 5105, "loc": { "start": { "line": 142, @@ -20050,8 +20052,8 @@ "postfix": false, "binop": null }, - "start": 5095, - "end": 5096, + "start": 5105, + "end": 5106, "loc": { "start": { "line": 142, @@ -20076,8 +20078,8 @@ "binop": null }, "value": "pName", - "start": 5096, - "end": 5101, + "start": 5106, + "end": 5111, "loc": { "start": { "line": 142, @@ -20101,8 +20103,8 @@ "postfix": false, "binop": null }, - "start": 5101, - "end": 5102, + "start": 5111, + "end": 5112, "loc": { "start": { "line": 142, @@ -20128,8 +20130,8 @@ "updateContext": null }, "value": "===", - "start": 5103, - "end": 5106, + "start": 5113, + "end": 5116, "loc": { "start": { "line": 142, @@ -20155,8 +20157,8 @@ "updateContext": null }, "value": "string", - "start": 5107, - "end": 5115, + "start": 5117, + "end": 5125, "loc": { "start": { "line": 142, @@ -20180,8 +20182,8 @@ "postfix": false, "binop": null }, - "start": 5115, - "end": 5116, + "start": 5125, + "end": 5126, "loc": { "start": { "line": 142, @@ -20205,8 +20207,8 @@ "postfix": false, "binop": null }, - "start": 5117, - "end": 5118, + "start": 5127, + "end": 5128, "loc": { "start": { "line": 142, @@ -20233,8 +20235,8 @@ "updateContext": null }, "value": "for", - "start": 5132, - "end": 5135, + "start": 5142, + "end": 5145, "loc": { "start": { "line": 143, @@ -20258,8 +20260,8 @@ "postfix": false, "binop": null }, - "start": 5136, - "end": 5137, + "start": 5146, + "end": 5147, "loc": { "start": { "line": 143, @@ -20286,8 +20288,8 @@ "updateContext": null }, "value": "let", - "start": 5137, - "end": 5140, + "start": 5147, + "end": 5150, "loc": { "start": { "line": 143, @@ -20312,8 +20314,8 @@ "binop": null }, "value": "i", - "start": 5141, - "end": 5142, + "start": 5151, + "end": 5152, "loc": { "start": { "line": 143, @@ -20339,8 +20341,8 @@ "updateContext": null }, "value": "=", - "start": 5143, - "end": 5144, + "start": 5153, + "end": 5154, "loc": { "start": { "line": 143, @@ -20367,8 +20369,8 @@ "updateContext": null }, "value": "this", - "start": 5145, - "end": 5149, + "start": 5155, + "end": 5159, "loc": { "start": { "line": 143, @@ -20393,8 +20395,8 @@ "binop": null, "updateContext": null }, - "start": 5149, - "end": 5150, + "start": 5159, + "end": 5160, "loc": { "start": { "line": 143, @@ -20419,8 +20421,8 @@ "binop": null }, "value": "icons", - "start": 5150, - "end": 5155, + "start": 5160, + "end": 5165, "loc": { "start": { "line": 143, @@ -20445,8 +20447,8 @@ "binop": null, "updateContext": null }, - "start": 5155, - "end": 5156, + "start": 5165, + "end": 5166, "loc": { "start": { "line": 143, @@ -20471,8 +20473,8 @@ "binop": null }, "value": "length", - "start": 5156, - "end": 5162, + "start": 5166, + "end": 5172, "loc": { "start": { "line": 143, @@ -20498,8 +20500,8 @@ "updateContext": null }, "value": "-", - "start": 5163, - "end": 5164, + "start": 5173, + "end": 5174, "loc": { "start": { "line": 143, @@ -20525,8 +20527,8 @@ "updateContext": null }, "value": 1, - "start": 5165, - "end": 5166, + "start": 5175, + "end": 5176, "loc": { "start": { "line": 143, @@ -20551,8 +20553,8 @@ "binop": null, "updateContext": null }, - "start": 5166, - "end": 5167, + "start": 5176, + "end": 5177, "loc": { "start": { "line": 143, @@ -20577,8 +20579,8 @@ "binop": null }, "value": "i", - "start": 5168, - "end": 5169, + "start": 5178, + "end": 5179, "loc": { "start": { "line": 143, @@ -20604,8 +20606,8 @@ "updateContext": null }, "value": ">=", - "start": 5170, - "end": 5172, + "start": 5180, + "end": 5182, "loc": { "start": { "line": 143, @@ -20631,8 +20633,8 @@ "updateContext": null }, "value": 0, - "start": 5173, - "end": 5174, + "start": 5183, + "end": 5184, "loc": { "start": { "line": 143, @@ -20657,8 +20659,8 @@ "binop": null, "updateContext": null }, - "start": 5174, - "end": 5175, + "start": 5184, + "end": 5185, "loc": { "start": { "line": 143, @@ -20683,8 +20685,8 @@ "binop": null }, "value": "i", - "start": 5176, - "end": 5177, + "start": 5186, + "end": 5187, "loc": { "start": { "line": 143, @@ -20709,8 +20711,8 @@ "binop": null }, "value": "--", - "start": 5177, - "end": 5179, + "start": 5187, + "end": 5189, "loc": { "start": { "line": 143, @@ -20734,8 +20736,8 @@ "postfix": false, "binop": null }, - "start": 5179, - "end": 5180, + "start": 5189, + "end": 5190, "loc": { "start": { "line": 143, @@ -20759,8 +20761,8 @@ "postfix": false, "binop": null }, - "start": 5181, - "end": 5182, + "start": 5191, + "end": 5192, "loc": { "start": { "line": 143, @@ -20787,8 +20789,8 @@ "updateContext": null }, "value": "const", - "start": 5200, - "end": 5205, + "start": 5210, + "end": 5215, "loc": { "start": { "line": 144, @@ -20813,8 +20815,8 @@ "binop": null }, "value": "icon", - "start": 5206, - "end": 5210, + "start": 5216, + "end": 5220, "loc": { "start": { "line": 144, @@ -20840,8 +20842,8 @@ "updateContext": null }, "value": "=", - "start": 5211, - "end": 5212, + "start": 5221, + "end": 5222, "loc": { "start": { "line": 144, @@ -20868,8 +20870,8 @@ "updateContext": null }, "value": "this", - "start": 5213, - "end": 5217, + "start": 5223, + "end": 5227, "loc": { "start": { "line": 144, @@ -20894,8 +20896,8 @@ "binop": null, "updateContext": null }, - "start": 5217, - "end": 5218, + "start": 5227, + "end": 5228, "loc": { "start": { "line": 144, @@ -20920,8 +20922,8 @@ "binop": null }, "value": "icons", - "start": 5218, - "end": 5223, + "start": 5228, + "end": 5233, "loc": { "start": { "line": 144, @@ -20946,8 +20948,8 @@ "binop": null, "updateContext": null }, - "start": 5223, - "end": 5224, + "start": 5233, + "end": 5234, "loc": { "start": { "line": 144, @@ -20972,8 +20974,8 @@ "binop": null }, "value": "i", - "start": 5224, - "end": 5225, + "start": 5234, + "end": 5235, "loc": { "start": { "line": 144, @@ -20998,8 +21000,8 @@ "binop": null, "updateContext": null }, - "start": 5225, - "end": 5226, + "start": 5235, + "end": 5236, "loc": { "start": { "line": 144, @@ -21024,8 +21026,8 @@ "binop": null, "updateContext": null }, - "start": 5226, - "end": 5227, + "start": 5236, + "end": 5237, "loc": { "start": { "line": 144, @@ -21040,8 +21042,8 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 5245, - "end": 5295, + "start": 5255, + "end": 5305, "loc": { "start": { "line": 145, @@ -21068,8 +21070,8 @@ "updateContext": null }, "value": "if", - "start": 5313, - "end": 5315, + "start": 5323, + "end": 5325, "loc": { "start": { "line": 146, @@ -21093,8 +21095,8 @@ "postfix": false, "binop": null }, - "start": 5316, - "end": 5317, + "start": 5326, + "end": 5327, "loc": { "start": { "line": 146, @@ -21119,8 +21121,8 @@ "binop": null }, "value": "icon", - "start": 5317, - "end": 5321, + "start": 5327, + "end": 5331, "loc": { "start": { "line": 146, @@ -21145,8 +21147,8 @@ "binop": null, "updateContext": null }, - "start": 5321, - "end": 5322, + "start": 5331, + "end": 5332, "loc": { "start": { "line": 146, @@ -21171,8 +21173,8 @@ "binop": null }, "value": "getName", - "start": 5322, - "end": 5329, + "start": 5332, + "end": 5339, "loc": { "start": { "line": 146, @@ -21196,8 +21198,8 @@ "postfix": false, "binop": null }, - "start": 5329, - "end": 5330, + "start": 5339, + "end": 5340, "loc": { "start": { "line": 146, @@ -21221,8 +21223,8 @@ "postfix": false, "binop": null }, - "start": 5330, - "end": 5331, + "start": 5340, + "end": 5341, "loc": { "start": { "line": 146, @@ -21248,8 +21250,8 @@ "updateContext": null }, "value": "===", - "start": 5332, - "end": 5335, + "start": 5342, + "end": 5345, "loc": { "start": { "line": 146, @@ -21274,8 +21276,8 @@ "binop": null }, "value": "pName", - "start": 5336, - "end": 5341, + "start": 5346, + "end": 5351, "loc": { "start": { "line": 146, @@ -21299,8 +21301,8 @@ "postfix": false, "binop": null }, - "start": 5341, - "end": 5342, + "start": 5351, + "end": 5352, "loc": { "start": { "line": 146, @@ -21324,8 +21326,8 @@ "postfix": false, "binop": null }, - "start": 5343, - "end": 5344, + "start": 5353, + "end": 5354, "loc": { "start": { "line": 146, @@ -21352,8 +21354,8 @@ "updateContext": null }, "value": "return", - "start": 5366, - "end": 5372, + "start": 5376, + "end": 5382, "loc": { "start": { "line": 147, @@ -21378,8 +21380,8 @@ "binop": null }, "value": "icon", - "start": 5373, - "end": 5377, + "start": 5383, + "end": 5387, "loc": { "start": { "line": 147, @@ -21404,8 +21406,8 @@ "binop": null, "updateContext": null }, - "start": 5377, - "end": 5378, + "start": 5387, + "end": 5388, "loc": { "start": { "line": 147, @@ -21429,8 +21431,8 @@ "postfix": false, "binop": null }, - "start": 5396, - "end": 5397, + "start": 5406, + "end": 5407, "loc": { "start": { "line": 148, @@ -21454,8 +21456,8 @@ "postfix": false, "binop": null }, - "start": 5411, - "end": 5412, + "start": 5421, + "end": 5422, "loc": { "start": { "line": 149, @@ -21479,8 +21481,8 @@ "postfix": false, "binop": null }, - "start": 5422, - "end": 5423, + "start": 5432, + "end": 5433, "loc": { "start": { "line": 150, @@ -21507,8 +21509,8 @@ "updateContext": null }, "value": "else", - "start": 5424, - "end": 5428, + "start": 5434, + "end": 5438, "loc": { "start": { "line": 150, @@ -21532,8 +21534,8 @@ "postfix": false, "binop": null }, - "start": 5429, - "end": 5430, + "start": 5439, + "end": 5440, "loc": { "start": { "line": 150, @@ -21547,8 +21549,7 @@ }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21556,12 +21557,11 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5444, - "end": 5448, + "value": "VYI", + "start": 5454, + "end": 5457, "loc": { "start": { "line": 151, @@ -21569,7 +21569,7 @@ }, "end": { "line": 151, - "column": 16 + "column": 15 } } }, @@ -21586,16 +21586,16 @@ "binop": null, "updateContext": null }, - "start": 5448, - "end": 5449, + "start": 5457, + "end": 5458, "loc": { "start": { "line": 151, - "column": 16 + "column": 15 }, "end": { "line": 151, - "column": 17 + "column": 16 } } }, @@ -21612,16 +21612,16 @@ "binop": null }, "value": "logger", - "start": 5449, - "end": 5455, + "start": 5458, + "end": 5464, "loc": { "start": { "line": 151, - "column": 17 + "column": 16 }, "end": { "line": 151, - "column": 23 + "column": 22 } } }, @@ -21638,16 +21638,16 @@ "binop": null, "updateContext": null }, - "start": 5455, - "end": 5456, + "start": 5464, + "end": 5465, "loc": { "start": { "line": 151, - "column": 23 + "column": 22 }, "end": { "line": 151, - "column": 24 + "column": 23 } } }, @@ -21664,16 +21664,16 @@ "binop": null }, "value": "prefix", - "start": 5456, - "end": 5462, + "start": 5465, + "end": 5471, "loc": { "start": { "line": 151, - "column": 24 + "column": 23 }, "end": { "line": 151, - "column": 30 + "column": 29 } } }, @@ -21689,16 +21689,16 @@ "postfix": false, "binop": null }, - "start": 5462, - "end": 5463, + "start": 5471, + "end": 5472, "loc": { "start": { "line": 151, - "column": 30 + "column": 29 }, "end": { "line": 151, - "column": 31 + "column": 30 } } }, @@ -21716,16 +21716,16 @@ "updateContext": null }, "value": "VYI-module", - "start": 5463, - "end": 5475, + "start": 5472, + "end": 5484, "loc": { "start": { "line": 151, - "column": 31 + "column": 30 }, "end": { "line": 151, - "column": 43 + "column": 42 } } }, @@ -21741,16 +21741,16 @@ "postfix": false, "binop": null }, - "start": 5475, - "end": 5476, + "start": 5484, + "end": 5485, "loc": { "start": { "line": 151, - "column": 43 + "column": 42 }, "end": { "line": 151, - "column": 44 + "column": 43 } } }, @@ -21767,16 +21767,16 @@ "binop": null, "updateContext": null }, - "start": 5476, - "end": 5477, + "start": 5485, + "end": 5486, "loc": { "start": { "line": 151, - "column": 44 + "column": 43 }, "end": { "line": 151, - "column": 45 + "column": 44 } } }, @@ -21793,16 +21793,16 @@ "binop": null }, "value": "error", - "start": 5477, - "end": 5482, + "start": 5486, + "end": 5491, "loc": { "start": { "line": 151, - "column": 45 + "column": 44 }, "end": { "line": 151, - "column": 50 + "column": 49 } } }, @@ -21818,16 +21818,16 @@ "postfix": false, "binop": null }, - "start": 5482, - "end": 5483, + "start": 5491, + "end": 5492, "loc": { "start": { "line": 151, - "column": 50 + "column": 49 }, "end": { "line": 151, - "column": 51 + "column": 50 } } }, @@ -21845,16 +21845,16 @@ "updateContext": null }, "value": "Invalid name type used!", - "start": 5483, - "end": 5508, + "start": 5492, + "end": 5517, "loc": { "start": { "line": 151, - "column": 51 + "column": 50 }, "end": { "line": 151, - "column": 76 + "column": 75 } } }, @@ -21870,16 +21870,16 @@ "postfix": false, "binop": null }, - "start": 5508, - "end": 5509, + "start": 5517, + "end": 5518, "loc": { "start": { "line": 151, - "column": 76 + "column": 75 }, "end": { "line": 151, - "column": 77 + "column": 76 } } }, @@ -21896,16 +21896,16 @@ "binop": null, "updateContext": null }, - "start": 5509, - "end": 5510, + "start": 5518, + "end": 5519, "loc": { "start": { "line": 151, - "column": 77 + "column": 76 }, "end": { "line": 151, - "column": 78 + "column": 77 } } }, @@ -21921,8 +21921,8 @@ "postfix": false, "binop": null }, - "start": 5520, - "end": 5521, + "start": 5529, + "end": 5530, "loc": { "start": { "line": 152, @@ -21946,8 +21946,8 @@ "postfix": false, "binop": null }, - "start": 5527, - "end": 5528, + "start": 5536, + "end": 5537, "loc": { "start": { "line": 153, @@ -21962,8 +21962,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5534, - "end": 5617, + "start": 5543, + "end": 5626, "loc": { "start": { "line": 154, @@ -21988,8 +21988,8 @@ "binop": null }, "value": "getIcons", - "start": 5623, - "end": 5631, + "start": 5632, + "end": 5640, "loc": { "start": { "line": 158, @@ -22013,8 +22013,8 @@ "postfix": false, "binop": null }, - "start": 5631, - "end": 5632, + "start": 5640, + "end": 5641, "loc": { "start": { "line": 158, @@ -22038,8 +22038,8 @@ "postfix": false, "binop": null }, - "start": 5632, - "end": 5633, + "start": 5641, + "end": 5642, "loc": { "start": { "line": 158, @@ -22063,8 +22063,8 @@ "postfix": false, "binop": null }, - "start": 5634, - "end": 5635, + "start": 5643, + "end": 5644, "loc": { "start": { "line": 158, @@ -22091,8 +22091,8 @@ "updateContext": null }, "value": "return", - "start": 5645, - "end": 5651, + "start": 5654, + "end": 5660, "loc": { "start": { "line": 159, @@ -22117,8 +22117,8 @@ "binop": null, "updateContext": null }, - "start": 5652, - "end": 5653, + "start": 5661, + "end": 5662, "loc": { "start": { "line": 159, @@ -22143,8 +22143,8 @@ "binop": null, "updateContext": null }, - "start": 5653, - "end": 5656, + "start": 5662, + "end": 5665, "loc": { "start": { "line": 159, @@ -22171,8 +22171,8 @@ "updateContext": null }, "value": "this", - "start": 5656, - "end": 5660, + "start": 5665, + "end": 5669, "loc": { "start": { "line": 159, @@ -22197,8 +22197,8 @@ "binop": null, "updateContext": null }, - "start": 5660, - "end": 5661, + "start": 5669, + "end": 5670, "loc": { "start": { "line": 159, @@ -22223,8 +22223,8 @@ "binop": null }, "value": "icons", - "start": 5661, - "end": 5666, + "start": 5670, + "end": 5675, "loc": { "start": { "line": 159, @@ -22249,8 +22249,8 @@ "binop": null, "updateContext": null }, - "start": 5666, - "end": 5667, + "start": 5675, + "end": 5676, "loc": { "start": { "line": 159, @@ -22275,8 +22275,8 @@ "binop": null, "updateContext": null }, - "start": 5667, - "end": 5668, + "start": 5676, + "end": 5677, "loc": { "start": { "line": 159, @@ -22300,8 +22300,8 @@ "postfix": false, "binop": null }, - "start": 5674, - "end": 5675, + "start": 5683, + "end": 5684, "loc": { "start": { "line": 160, @@ -22316,8 +22316,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5681, - "end": 5783, + "start": 5690, + "end": 5792, "loc": { "start": { "line": 161, @@ -22344,8 +22344,8 @@ "updateContext": null }, "value": "export", - "start": 5789, - "end": 5795, + "start": 5798, + "end": 5804, "loc": { "start": { "line": 165, @@ -22369,8 +22369,8 @@ "postfix": false, "binop": null }, - "start": 5795, - "end": 5796, + "start": 5804, + "end": 5805, "loc": { "start": { "line": 165, @@ -22394,8 +22394,8 @@ "postfix": false, "binop": null }, - "start": 5796, - "end": 5797, + "start": 5805, + "end": 5806, "loc": { "start": { "line": 165, @@ -22419,8 +22419,8 @@ "postfix": false, "binop": null }, - "start": 5798, - "end": 5799, + "start": 5807, + "end": 5808, "loc": { "start": { "line": 165, @@ -22447,8 +22447,8 @@ "updateContext": null }, "value": "const", - "start": 5809, - "end": 5814, + "start": 5818, + "end": 5823, "loc": { "start": { "line": 166, @@ -22473,8 +22473,8 @@ "binop": null }, "value": "vyi", - "start": 5815, - "end": 5818, + "start": 5824, + "end": 5827, "loc": { "start": { "line": 166, @@ -22500,8 +22500,8 @@ "updateContext": null }, "value": "=", - "start": 5819, - "end": 5820, + "start": 5828, + "end": 5829, "loc": { "start": { "line": 166, @@ -22525,8 +22525,8 @@ "postfix": false, "binop": null }, - "start": 5821, - "end": 5822, + "start": 5830, + "end": 5831, "loc": { "start": { "line": 166, @@ -22550,8 +22550,8 @@ "postfix": false, "binop": null }, - "start": 5822, - "end": 5823, + "start": 5831, + "end": 5832, "loc": { "start": { "line": 166, @@ -22576,8 +22576,8 @@ "binop": null, "updateContext": null }, - "start": 5823, - "end": 5824, + "start": 5832, + "end": 5833, "loc": { "start": { "line": 166, @@ -22592,8 +22592,8 @@ { "type": "CommentLine", "value": " Set version", - "start": 5834, - "end": 5848, + "start": 5843, + "end": 5857, "loc": { "start": { "line": 167, @@ -22618,8 +22618,8 @@ "binop": null }, "value": "vyi", - "start": 5858, - "end": 5861, + "start": 5867, + "end": 5870, "loc": { "start": { "line": 168, @@ -22644,8 +22644,8 @@ "binop": null, "updateContext": null }, - "start": 5861, - "end": 5862, + "start": 5870, + "end": 5871, "loc": { "start": { "line": 168, @@ -22670,8 +22670,8 @@ "binop": null }, "value": "v", - "start": 5862, - "end": 5863, + "start": 5871, + "end": 5872, "loc": { "start": { "line": 168, @@ -22697,8 +22697,8 @@ "updateContext": null }, "value": "=", - "start": 5864, - "end": 5865, + "start": 5873, + "end": 5874, "loc": { "start": { "line": 168, @@ -22725,8 +22725,8 @@ "updateContext": null }, "value": "this", - "start": 5866, - "end": 5870, + "start": 5875, + "end": 5879, "loc": { "start": { "line": 168, @@ -22751,8 +22751,8 @@ "binop": null, "updateContext": null }, - "start": 5870, - "end": 5871, + "start": 5879, + "end": 5880, "loc": { "start": { "line": 168, @@ -22777,8 +22777,8 @@ "binop": null }, "value": "formatVersion", - "start": 5871, - "end": 5884, + "start": 5880, + "end": 5893, "loc": { "start": { "line": 168, @@ -22803,8 +22803,8 @@ "binop": null, "updateContext": null }, - "start": 5884, - "end": 5885, + "start": 5893, + "end": 5894, "loc": { "start": { "line": 168, @@ -22819,8 +22819,8 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5895, - "end": 5917, + "start": 5904, + "end": 5926, "loc": { "start": { "line": 169, @@ -22845,8 +22845,8 @@ "binop": null }, "value": "vyi", - "start": 5927, - "end": 5930, + "start": 5936, + "end": 5939, "loc": { "start": { "line": 170, @@ -22871,8 +22871,8 @@ "binop": null, "updateContext": null }, - "start": 5930, - "end": 5931, + "start": 5939, + "end": 5940, "loc": { "start": { "line": 170, @@ -22897,8 +22897,8 @@ "binop": null }, "value": "i", - "start": 5931, - "end": 5932, + "start": 5940, + "end": 5941, "loc": { "start": { "line": 170, @@ -22924,8 +22924,8 @@ "updateContext": null }, "value": "=", - "start": 5933, - "end": 5934, + "start": 5942, + "end": 5943, "loc": { "start": { "line": 170, @@ -22950,8 +22950,8 @@ "binop": null, "updateContext": null }, - "start": 5935, - "end": 5936, + "start": 5944, + "end": 5945, "loc": { "start": { "line": 170, @@ -22976,8 +22976,8 @@ "binop": null, "updateContext": null }, - "start": 5936, - "end": 5937, + "start": 5945, + "end": 5946, "loc": { "start": { "line": 170, @@ -23002,8 +23002,8 @@ "binop": null, "updateContext": null }, - "start": 5937, - "end": 5938, + "start": 5946, + "end": 5947, "loc": { "start": { "line": 170, @@ -23030,8 +23030,8 @@ "updateContext": null }, "value": "this", - "start": 5948, - "end": 5952, + "start": 5957, + "end": 5961, "loc": { "start": { "line": 171, @@ -23056,8 +23056,8 @@ "binop": null, "updateContext": null }, - "start": 5952, - "end": 5953, + "start": 5961, + "end": 5962, "loc": { "start": { "line": 171, @@ -23082,8 +23082,8 @@ "binop": null }, "value": "icons", - "start": 5953, - "end": 5958, + "start": 5962, + "end": 5967, "loc": { "start": { "line": 171, @@ -23108,8 +23108,8 @@ "binop": null, "updateContext": null }, - "start": 5958, - "end": 5959, + "start": 5967, + "end": 5968, "loc": { "start": { "line": 171, @@ -23134,8 +23134,8 @@ "binop": null }, "value": "forEach", - "start": 5959, - "end": 5966, + "start": 5968, + "end": 5975, "loc": { "start": { "line": 171, @@ -23159,8 +23159,8 @@ "postfix": false, "binop": null }, - "start": 5966, - "end": 5967, + "start": 5975, + "end": 5976, "loc": { "start": { "line": 171, @@ -23184,8 +23184,8 @@ "postfix": false, "binop": null }, - "start": 5967, - "end": 5968, + "start": 5976, + "end": 5977, "loc": { "start": { "line": 171, @@ -23210,8 +23210,8 @@ "binop": null }, "value": "pIcon", - "start": 5968, - "end": 5973, + "start": 5977, + "end": 5982, "loc": { "start": { "line": 171, @@ -23235,8 +23235,8 @@ "postfix": false, "binop": null }, - "start": 5973, - "end": 5974, + "start": 5982, + "end": 5983, "loc": { "start": { "line": 171, @@ -23261,8 +23261,8 @@ "binop": null, "updateContext": null }, - "start": 5975, - "end": 5977, + "start": 5984, + "end": 5986, "loc": { "start": { "line": 171, @@ -23286,8 +23286,8 @@ "postfix": false, "binop": null }, - "start": 5978, - "end": 5979, + "start": 5987, + "end": 5988, "loc": { "start": { "line": 171, @@ -23302,8 +23302,8 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 5993, - "end": 6040, + "start": 6002, + "end": 6049, "loc": { "start": { "line": 172, @@ -23328,8 +23328,8 @@ "binop": null }, "value": "vyi", - "start": 6054, - "end": 6057, + "start": 6063, + "end": 6066, "loc": { "start": { "line": 173, @@ -23354,8 +23354,8 @@ "binop": null, "updateContext": null }, - "start": 6057, - "end": 6058, + "start": 6066, + "end": 6067, "loc": { "start": { "line": 173, @@ -23380,8 +23380,8 @@ "binop": null }, "value": "i", - "start": 6058, - "end": 6059, + "start": 6067, + "end": 6068, "loc": { "start": { "line": 173, @@ -23406,8 +23406,8 @@ "binop": null, "updateContext": null }, - "start": 6059, - "end": 6060, + "start": 6068, + "end": 6069, "loc": { "start": { "line": 173, @@ -23432,8 +23432,8 @@ "binop": null }, "value": "push", - "start": 6060, - "end": 6064, + "start": 6069, + "end": 6073, "loc": { "start": { "line": 173, @@ -23457,8 +23457,8 @@ "postfix": false, "binop": null }, - "start": 6064, - "end": 6065, + "start": 6073, + "end": 6074, "loc": { "start": { "line": 173, @@ -23483,8 +23483,8 @@ "binop": null }, "value": "pIcon", - "start": 6065, - "end": 6070, + "start": 6074, + "end": 6079, "loc": { "start": { "line": 173, @@ -23509,8 +23509,8 @@ "binop": null, "updateContext": null }, - "start": 6070, - "end": 6071, + "start": 6079, + "end": 6080, "loc": { "start": { "line": 173, @@ -23537,8 +23537,8 @@ "updateContext": null }, "value": "export", - "start": 6071, - "end": 6077, + "start": 6080, + "end": 6086, "loc": { "start": { "line": 173, @@ -23562,8 +23562,8 @@ "postfix": false, "binop": null }, - "start": 6077, - "end": 6078, + "start": 6086, + "end": 6087, "loc": { "start": { "line": 173, @@ -23587,8 +23587,8 @@ "postfix": false, "binop": null }, - "start": 6078, - "end": 6079, + "start": 6087, + "end": 6088, "loc": { "start": { "line": 173, @@ -23612,8 +23612,8 @@ "postfix": false, "binop": null }, - "start": 6079, - "end": 6080, + "start": 6088, + "end": 6089, "loc": { "start": { "line": 173, @@ -23638,8 +23638,8 @@ "binop": null, "updateContext": null }, - "start": 6080, - "end": 6081, + "start": 6089, + "end": 6090, "loc": { "start": { "line": 173, @@ -23663,8 +23663,8 @@ "postfix": false, "binop": null }, - "start": 6091, - "end": 6092, + "start": 6100, + "end": 6101, "loc": { "start": { "line": 174, @@ -23688,8 +23688,8 @@ "postfix": false, "binop": null }, - "start": 6092, - "end": 6093, + "start": 6101, + "end": 6102, "loc": { "start": { "line": 174, @@ -23714,8 +23714,8 @@ "binop": null, "updateContext": null }, - "start": 6093, - "end": 6094, + "start": 6102, + "end": 6103, "loc": { "start": { "line": 174, @@ -23742,8 +23742,8 @@ "updateContext": null }, "value": "return", - "start": 6104, - "end": 6110, + "start": 6113, + "end": 6119, "loc": { "start": { "line": 175, @@ -23768,8 +23768,8 @@ "binop": null }, "value": "vyi", - "start": 6111, - "end": 6114, + "start": 6120, + "end": 6123, "loc": { "start": { "line": 175, @@ -23794,8 +23794,8 @@ "binop": null, "updateContext": null }, - "start": 6114, - "end": 6115, + "start": 6123, + "end": 6124, "loc": { "start": { "line": 175, @@ -23819,8 +23819,8 @@ "postfix": false, "binop": null }, - "start": 6121, - "end": 6122, + "start": 6130, + "end": 6131, "loc": { "start": { "line": 176, @@ -23844,8 +23844,8 @@ "postfix": false, "binop": null }, - "start": 6124, - "end": 6125, + "start": 6133, + "end": 6134, "loc": { "start": { "line": 177, @@ -23870,8 +23870,8 @@ "binop": null, "updateContext": null }, - "start": 6125, - "end": 6125, + "start": 6134, + "end": 6134, "loc": { "start": { "line": 177, diff --git a/docs/class/src/vyi.mjs~VYI.html b/docs/class/src/vyi.mjs~VYI.html index 3335c4f..60ee520 100644 --- a/docs/class/src/vyi.mjs~VYI.html +++ b/docs/class/src/vyi.mjs~VYI.html @@ -622,7 +622,7 @@

Params:

pVYIData Object -

A JSON / Javascript object containing the vyi information.

+

A JSON / Javascript object containing the vyi information.this.ogger

diff --git a/docs/file/src/vyi.mjs.html b/docs/file/src/vyi.mjs.html index 749ef87..ade8850 100644 --- a/docs/file/src/vyi.mjs.html +++ b/docs/file/src/vyi.mjs.html @@ -70,7 +70,7 @@ formatVersion; /** * Initializes this module with the information from the VYI passed. - * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information. + * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger */ constructor(pVYIData) { VYI.logger.registerType('VYI-Module', '#ff6600'); @@ -187,7 +187,7 @@ } } } else { - this.logger.prefix('VYI-module').error('Invalid name type used!'); + VYI.logger.prefix('VYI-module').error('Invalid name type used!'); } } /** diff --git a/docs/index.json b/docs/index.json index 6df0717..8a7c6c6 100644 --- a/docs/index.json +++ b/docs/index.json @@ -1929,7 +1929,7 @@ "__docId__": 104, "kind": "file", "name": "src/vyi.mjs", - "content": "import { Logger } from './vendor/logger.mjs';\r\nimport { Icon } from './icon.mjs';\r\n\r\nexport class VYI {\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tstatic version = \"VERSION_REPLACE_ME\";\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n static logger = new Logger();\r\n /**\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n */\r\n icons = [];\r\n /**\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n */\r\n name = 'failed-to-find-vyi-name';\r\n /**\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n */\r\n formatVersion;\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.\r\n */\r\n constructor(pVYIData) {\r\n VYI.logger.registerType('VYI-Module', '#ff6600');\r\n if (pVYIData) {\r\n if (pVYIData instanceof Object) {\r\n this.parse(pVYIData);\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid vyiData type! Cannot parse!');\r\n }\r\n }\r\n }\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n */\r\n async parse(pVYIData) {\r\n try {\r\n if (pVYIData) {\r\n let vyi;\r\n // If the data is a path then we need to use fetch to acquire the data first\r\n if (typeof(pVYIData) === 'string') {\r\n const url = pVYIData;\r\n const response = await fetch(url);\r\n vyi = await response.json();\r\n } else if (pVYIData instanceof Object) {\r\n vyi = pVYIData;\r\n }\r\n // If there is data to parse\r\n // Then parse through it\r\n if (vyi) {\r\n /**\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n */\r\n const icons = vyi.i;\r\n /**\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n */\r\n this.formatVersion = vyi.v || 1;\r\n\r\n if (Array.isArray(icons)) {\r\n // Loop through the icons and add them to the vyi module instance.\r\n icons.forEach((pIconData) => {\r\n this.addIcon(pIconData);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.');\r\n }\r\n }\r\n }\r\n } catch (pError) {\r\n VYI.logger.prefix('VYI-module').error(`Error processing vyi data: ${pError}`);\r\n }\r\n }\r\n /**\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n */\r\n addIcon(pIconData) {\r\n if (pIconData) {\r\n if (pIconData instanceof Object) {\r\n const icon = new Icon(pIconData);\r\n // Add the icon to the icons array.\r\n this.icons.push(icon);\r\n return icon;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid icon data type passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('No icon data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n */\r\n removeIcon(pIcon, pName) {\r\n const icon = pIcon || this.getIcon(pName);\r\n if (icon) {\r\n if (this.icons.includes(icon)) {\r\n this.icons.splice(this.icons.indexOf(icon), 1);\r\n }\r\n }\r\n }\r\n /**\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n */\r\n getIconNames() {\r\n // Array to store the icon names.\r\n const iconNames = [];\r\n this.icons.forEach((pIcon) => {\r\n iconNames.push(pIcon.name);\r\n });\r\n return iconNames;\r\n }\r\n /**\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n */\r\n getIcon(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.icons.length - 1; i >= 0; i--) {\r\n const icon = this.icons[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n this.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n */\r\n getIcons() {\r\n return [...this.icons];\r\n }\r\n /**\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n */\r\n export() {\r\n const vyi = {};\r\n // Set version\r\n vyi.v = this.formatVersion;\r\n // Set the icons array\r\n vyi.i = [];\r\n this.icons.forEach((pIcon) => {\r\n // Push the icon data to the vyi export object.\r\n vyi.i.push(pIcon.export());\r\n });\r\n return vyi;\r\n }\r\n}", + "content": "import { Logger } from './vendor/logger.mjs';\r\nimport { Icon } from './icon.mjs';\r\n\r\nexport class VYI {\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tstatic version = \"VERSION_REPLACE_ME\";\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n static logger = new Logger();\r\n /**\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n */\r\n icons = [];\r\n /**\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n */\r\n name = 'failed-to-find-vyi-name';\r\n /**\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n */\r\n formatVersion;\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n */\r\n constructor(pVYIData) {\r\n VYI.logger.registerType('VYI-Module', '#ff6600');\r\n if (pVYIData) {\r\n if (pVYIData instanceof Object) {\r\n this.parse(pVYIData);\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid vyiData type! Cannot parse!');\r\n }\r\n }\r\n }\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n */\r\n async parse(pVYIData) {\r\n try {\r\n if (pVYIData) {\r\n let vyi;\r\n // If the data is a path then we need to use fetch to acquire the data first\r\n if (typeof(pVYIData) === 'string') {\r\n const url = pVYIData;\r\n const response = await fetch(url);\r\n vyi = await response.json();\r\n } else if (pVYIData instanceof Object) {\r\n vyi = pVYIData;\r\n }\r\n // If there is data to parse\r\n // Then parse through it\r\n if (vyi) {\r\n /**\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n */\r\n const icons = vyi.i;\r\n /**\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n */\r\n this.formatVersion = vyi.v || 1;\r\n\r\n if (Array.isArray(icons)) {\r\n // Loop through the icons and add them to the vyi module instance.\r\n icons.forEach((pIconData) => {\r\n this.addIcon(pIconData);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.');\r\n }\r\n }\r\n }\r\n } catch (pError) {\r\n VYI.logger.prefix('VYI-module').error(`Error processing vyi data: ${pError}`);\r\n }\r\n }\r\n /**\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n */\r\n addIcon(pIconData) {\r\n if (pIconData) {\r\n if (pIconData instanceof Object) {\r\n const icon = new Icon(pIconData);\r\n // Add the icon to the icons array.\r\n this.icons.push(icon);\r\n return icon;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid icon data type passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('No icon data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n */\r\n removeIcon(pIcon, pName) {\r\n const icon = pIcon || this.getIcon(pName);\r\n if (icon) {\r\n if (this.icons.includes(icon)) {\r\n this.icons.splice(this.icons.indexOf(icon), 1);\r\n }\r\n }\r\n }\r\n /**\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n */\r\n getIconNames() {\r\n // Array to store the icon names.\r\n const iconNames = [];\r\n this.icons.forEach((pIcon) => {\r\n iconNames.push(pIcon.name);\r\n });\r\n return iconNames;\r\n }\r\n /**\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n */\r\n getIcon(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.icons.length - 1; i >= 0; i--) {\r\n const icon = this.icons[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n */\r\n getIcons() {\r\n return [...this.icons];\r\n }\r\n /**\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n */\r\n export() {\r\n const vyi = {};\r\n // Set version\r\n vyi.v = this.formatVersion;\r\n // Set the icons array\r\n vyi.i = [];\r\n this.icons.forEach((pIcon) => {\r\n // Push the icon data to the vyi export object.\r\n vyi.i.push(pIcon.export());\r\n });\r\n return vyi;\r\n }\r\n}", "static": true, "longname": "C:/Users/jared/Documents/Github/vyi/src/vyi.mjs", "access": "public", @@ -2065,7 +2065,7 @@ "spread": false, "optional": false, "name": "pVYIData", - "description": "A JSON / Javascript object containing the vyi information." + "description": "A JSON / Javascript object containing the vyi information.this.ogger" } ] }, @@ -2306,7 +2306,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.0.1\",\r\n \"description\": \"A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.\",\r\n \"main\": \"src/vyi.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"MIT\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/vyi\"\r\n },\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n", + "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.0.2\",\r\n \"description\": \"A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.\",\r\n \"main\": \"src/vyi.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"MIT\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/vyi\"\r\n },\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n", "longname": "C:\\Users\\jared\\Documents\\Github\\vyi\\package.json", "name": "package.json", "static": true, diff --git a/docs/source.html b/docs/source.html index cf88152..db3ce0f 100644 --- a/docs/source.html +++ b/docs/source.html @@ -71,9 +71,9 @@ src/vyi.mjs VYI - - 6125 byte + 6134 byte 176 - 2024-05-05 15:52:18 (UTC) + 2024-05-06 14:55:26 (UTC) diff --git a/package.json b/package.json index 17397cb..4783ee4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vyi", - "version": "1.0.1", + "version": "1.0.2", "description": "A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.", "main": "src/vyi.mjs", "scripts": { diff --git a/src/vyi.mjs b/src/vyi.mjs index c5be0d3..abe1a31 100644 --- a/src/vyi.mjs +++ b/src/vyi.mjs @@ -31,7 +31,7 @@ export class VYI { formatVersion; /** * Initializes this module with the information from the VYI passed. - * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information. + * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger */ constructor(pVYIData) { VYI.logger.registerType('VYI-Module', '#ff6600'); @@ -148,7 +148,7 @@ export class VYI { } } } else { - this.logger.prefix('VYI-module').error('Invalid name type used!'); + VYI.logger.prefix('VYI-module').error('Invalid name type used!'); } } /**