Skip to content

Commit

Permalink
Merge commit '0e328c5'
Browse files Browse the repository at this point in the history
  Fix for public version after mobx upgrade
  • Loading branch information
msalihaltun committed Jan 12, 2021
2 parents 36c2c6c + 0e328c5 commit 03b991a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<!-- TODO this is a quick fix for the excluded 3rd party css dependencies, it is probably not a good idea to have direct references to github cdn -->
<link rel="stylesheet" href="https://cdn.rawgit.com/cytoscape/cytoscape.js-panzoom/master/cytoscape.js-panzoom.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/cytoscape/cytoscape.js-navigator/master/cytoscape.js-navigator.css">
<link href="./base.css?6d5c79b49d0b53c6b522" rel="stylesheet"></head>
<link href="./base.css?54baf4f3fb173a01eae5" rel="stylesheet"></head>

<body class="pathwayMapper">
<div>
<div id="app"></div>
</div>
<script type="text/javascript" src="react-pathway-mapper.es5.js?6d5c79b49d0b53c6b522"></script></body>
<script type="text/javascript" src="react-pathway-mapper.es5.js?54baf4f3fb173a01eae5"></script></body>

</html>
6 changes: 0 additions & 6 deletions dist/react-pathway-mapper.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -7874,7 +7874,6 @@ var LayoutProperties_decorate = undefined && undefined.__decorate || function (d




var LayoutProperties_LayoutProperties =
/** @class */
function (_super) {
Expand All @@ -7883,9 +7882,7 @@ function (_super) {
function LayoutProperties(props) {
var _this = _super.call(this, props) || this;

Object(external_mobx_["makeObservable"])(_this);
LayoutProperties_1.layoutProperties = external_lodash_default.a.clone(managers_EditorActionsManager.defaultLayoutProperties);
console.log(LayoutProperties_1.layoutProperties);
return _this;
}

Expand Down Expand Up @@ -8084,9 +8081,6 @@ function (_super) {
}
});
var LayoutProperties_1;

LayoutProperties_decorate([external_mobx_["observable"]], LayoutProperties, "layoutProperties", void 0);

LayoutProperties = LayoutProperties_1 = LayoutProperties_decorate([external_mobx_react_["observer"]], LayoutProperties);
return LayoutProperties;
}(external_react_default.a.Component);
Expand Down
2 changes: 1 addition & 1 deletion dist/react-pathway-mapper.es5.js.map

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/modals/LayoutProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,11 @@ export interface ILayoutProperties{
@observer
export default class LayoutProperties extends React.Component<ILayoutPropertiesProps>{

@observable
static layoutProperties: ILayoutProperties;


constructor(props: ILayoutPropertiesProps){
super(props);
makeObservable(this);
LayoutProperties.layoutProperties = _.clone(EditorActionsManager.defaultLayoutProperties);

console.log(LayoutProperties.layoutProperties);
}


Expand Down

0 comments on commit 03b991a

Please sign in to comment.