brick-engine-js 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app.js CHANGED
@@ -9,132 +9,12 @@
9
9
  root["BrickEngine"] = factory(root["p5"]);
10
10
  })(self, (__WEBPACK_EXTERNAL_MODULE__991__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 902
15
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16
-
17
- "use strict";
18
- __webpack_require__.r(__webpack_exports__);
19
- // extracted by mini-css-extract-plugin
20
-
21
-
22
- /***/ },
23
-
24
- /***/ 35
25
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
26
-
27
- "use strict";
28
- __webpack_require__.r(__webpack_exports__);
29
- // extracted by mini-css-extract-plugin
30
-
31
-
32
- /***/ },
33
-
34
- /***/ 287
35
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36
-
37
- "use strict";
38
- __webpack_require__.r(__webpack_exports__);
39
- // extracted by mini-css-extract-plugin
40
-
41
-
42
- /***/ },
43
-
44
- /***/ 949
45
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
46
-
47
- "use strict";
48
- __webpack_require__.r(__webpack_exports__);
49
- // extracted by mini-css-extract-plugin
50
-
51
-
52
- /***/ },
53
-
54
- /***/ 545
55
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
56
-
57
- "use strict";
58
- __webpack_require__.r(__webpack_exports__);
59
- // extracted by mini-css-extract-plugin
60
-
61
-
62
- /***/ },
63
-
64
- /***/ 623
65
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
66
-
67
- "use strict";
68
- __webpack_require__.r(__webpack_exports__);
69
- // extracted by mini-css-extract-plugin
70
-
71
-
72
- /***/ },
73
-
74
- /***/ 839
75
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
76
-
77
- "use strict";
78
- __webpack_require__.r(__webpack_exports__);
79
- // extracted by mini-css-extract-plugin
80
-
81
-
82
- /***/ },
83
-
84
- /***/ 881
85
- (module, __unused_webpack_exports, __webpack_require__) {
86
-
87
- var map = {
88
- "./body.css": 902,
89
- "./buttons.css": 35,
90
- "./debugger.css": 287,
91
- "./sessionModal.css": 949,
92
- "./sourceCodeAndCommands.css": 545,
93
- "./splash.css": 623,
94
- "./theme.css": 839
95
- };
96
-
97
-
98
- function webpackContext(req) {
99
- var id = webpackContextResolve(req);
100
- return __webpack_require__(id);
101
- }
102
- function webpackContextResolve(req) {
103
- if(!__webpack_require__.o(map, req)) {
104
- var e = new Error("Cannot find module '" + req + "'");
105
- e.code = 'MODULE_NOT_FOUND';
106
- throw e;
107
- }
108
- return map[req];
109
- }
110
- webpackContext.keys = function webpackContextKeys() {
111
- return Object.keys(map);
112
- };
113
- webpackContext.resolve = webpackContextResolve;
114
- module.exports = webpackContext;
115
- webpackContext.id = 881;
116
-
117
- /***/ },
118
-
119
- /***/ 589
120
- (module) {
121
-
122
- function webpackEmptyContext(req) {
123
- var e = new Error("Cannot find module '" + req + "'");
124
- e.code = 'MODULE_NOT_FOUND';
125
- throw e;
126
- }
127
- webpackEmptyContext.keys = () => ([]);
128
- webpackEmptyContext.resolve = webpackEmptyContext;
129
- webpackEmptyContext.id = 589;
130
- module.exports = webpackEmptyContext;
131
-
132
- /***/ },
133
-
134
15
  /***/ 991
135
16
  (module) {
136
17
 
137
- "use strict";
138
18
  module.exports = __WEBPACK_EXTERNAL_MODULE__991__;
139
19
 
140
20
  /***/ }
@@ -208,9 +88,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__991__;
208
88
  /******/
209
89
  /************************************************************************/
210
90
  var __webpack_exports__ = {};
211
- // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
91
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
212
92
  (() => {
213
- "use strict";
214
93
 
215
94
  // EXTERNAL MODULE: external "p5"
216
95
  var external_p5_ = __webpack_require__(991);
@@ -4986,9 +4865,7 @@ var _switchHandler = function (newGame) {
4986
4865
  * @returns {p5} The p5 instance.
4987
4866
  */
4988
4867
  function bootstrap(ClientGame) {
4989
- if (typeof __webpack_require__(589).context === 'function') {
4990
- __webpack_require__(881);
4991
- }
4868
+ window.BrickEngineGame = ClientGame;
4992
4869
  return new (external_p5_default())(function (p) {
4993
4870
  _p = p;
4994
4871
  var view = new view_GameView(p, document.body);
@@ -5025,6 +4902,49 @@ bootstrap(menu_GameMenu);
5025
4902
 
5026
4903
  })();
5027
4904
 
4905
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4906
+ (() => {
4907
+ // extracted by mini-css-extract-plugin
4908
+
4909
+ })();
4910
+
4911
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4912
+ (() => {
4913
+ // extracted by mini-css-extract-plugin
4914
+
4915
+ })();
4916
+
4917
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4918
+ (() => {
4919
+ // extracted by mini-css-extract-plugin
4920
+
4921
+ })();
4922
+
4923
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4924
+ (() => {
4925
+ // extracted by mini-css-extract-plugin
4926
+
4927
+ })();
4928
+
4929
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4930
+ (() => {
4931
+ // extracted by mini-css-extract-plugin
4932
+
4933
+ })();
4934
+
4935
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4936
+ (() => {
4937
+ // extracted by mini-css-extract-plugin
4938
+
4939
+ })();
4940
+
4941
+ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
4942
+ (() => {
4943
+ __webpack_require__.r(__webpack_exports__);
4944
+ // extracted by mini-css-extract-plugin
4945
+
4946
+ })();
4947
+
5028
4948
  /******/ return __webpack_exports__;
5029
4949
  /******/ })()
5030
4950
  ;