Fix missing Envrionemnt
This commit is contained in:
6
doric-web/dist/index.js
vendored
6
doric-web/dist/index.js
vendored
@@ -1,4 +1,7 @@
|
||||
|
||||
const Environment = {
|
||||
platform:"web"
|
||||
};
|
||||
/**++++++++SandBox++++++++*/
|
||||
var doric = (function (exports) {
|
||||
'use strict';
|
||||
@@ -3905,12 +3908,13 @@ exports.Display = void 0;
|
||||
exports.jsx = void 0;
|
||||
(function (jsx) {
|
||||
function createElement(constructor, config, ...children) {
|
||||
var _a;
|
||||
if (!!constructor.isViewClass) {
|
||||
const e = new constructor();
|
||||
if (e instanceof Fragment) {
|
||||
return children;
|
||||
}
|
||||
e.layoutConfig = layoutConfig().fit();
|
||||
e.layoutConfig = (_a = e.layoutConfig) !== null && _a !== void 0 ? _a : layoutConfig().fit();
|
||||
if (config) {
|
||||
e.apply(config);
|
||||
}
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user