-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathgui.js
More file actions
118 lines (80 loc) · 3.65 KB
/
gui.js
File metadata and controls
118 lines (80 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
webpackJsonp([0],{
/***/ 123:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol" ? function (obj) {
return typeof obj === "undefined" ? "undefined" : _typeof2(obj);
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof2(obj);
};
var _react = __webpack_require__(0);
var _react2 = _interopRequireDefault(_react);
var _reactDom = __webpack_require__(11);
var _reactDom2 = _interopRequireDefault(_reactDom);
var _reactModal = __webpack_require__(46);
var _reactModal2 = _interopRequireDefault(_reactModal);
var _appStateHoc = __webpack_require__(23);
var _appStateHoc2 = _interopRequireDefault(_appStateHoc);
var _gui = __webpack_require__(24);
var _gui2 = _interopRequireDefault(_gui);
var _projectLoaderHoc = __webpack_require__(28);
var _projectLoaderHoc2 = _interopRequireDefault(_projectLoaderHoc);
var _index = __webpack_require__(413);
var _index2 = _interopRequireDefault(_index);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
if (false) {
// Warn before navigating away
window.onbeforeunload = function () {
return true;
};
}
var App = (0, _appStateHoc2.default)((0, _projectLoaderHoc2.default)(_gui2.default));
var appTarget = document.createElement('div');
appTarget.className = _index2.default.app;
document.body.appendChild(appTarget);
_reactModal2.default.setAppElement(appTarget);
_reactDom2.default.render(_react2.default.createElement(App, null), appTarget);
/***/ }),
/***/ 413:
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(414);
if(typeof content === 'string') content = [[module.i, content, '']];
// Prepare cssTransformation
var transform;
var options = {"hmr":true}
options.transform = transform
// add the styles to the DOM
var update = __webpack_require__(3)(content, options);
if(content.locals) module.exports = content.locals;
// Hot Module Replacement
if(false) {
// When the styles change, update the <style> tags
if(!content.locals) {
module.hot.accept("!!../node_modules/css-loader/index.js??ref--1-1!../node_modules/postcss-loader/lib/index.js??postcss!./index.css", function() {
var newContent = require("!!../node_modules/css-loader/index.js??ref--1-1!../node_modules/postcss-loader/lib/index.js??postcss!./index.css");
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
update(newContent);
});
}
// When the module is disposed, remove the <style> tags
module.hot.dispose(function() { update(); });
}
/***/ }),
/***/ 414:
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(2)(undefined);
// imports
// module
exports.push([module.i, "html,\nbody,\n.index_app_3cj18 {\n /* probably unecessary, transitional until layout is refactored */\n width: 100%; \n height: 100%;\n margin: 0;\n}\n\n/* @todo: move globally? Safe / side FX, for blocks particularly? */\n\n* { -webkit-box-sizing: border-box; box-sizing: border-box; }\n", ""]);
// exports
exports.locals = {
"app": "index_app_3cj18"
};
/***/ })
},[123]);
//# sourceMappingURL=gui.js.map