Skip to content

Commit

Permalink
Merge pull request #150 from rwth-acis/releases/2.2.10
Browse files Browse the repository at this point in the history
Releases/2.2.10
  • Loading branch information
lakhoune authored May 11, 2023
2 parents ce50330 + 2a76b12 commit eb765d0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example-app/src/static-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Common } from "./common";
import Static from "./static";
import * as IWC from "../../src/es6/lib/iwc";

import "../../index.js";
import "../../build/widgets/widget.container.js";
import { yjsSync } from "../../index.js";

const routes = [
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "./build/widgets/widget.container.js";
import "./build/widgets/widget.container.min.js";
import IWCWrapper from "./src/es6/lib/IWCWrapper";

export { getWidgetTagName } from "./src/es6/config";
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@rwth-acis/syncmeta-widgets",
"description": "SyncMeta is a near real-time collaborative modeling framework. This package only contains the used widgets. If you want to use the SyncMeta app in a docker container, see https://github.com/rwth-acis/syncmeta.",
"version": "2.2.9",
"version": "2.2.10",
"author": {
"name": "ACIS Group, RWTH Aachen",
"email": "[email protected]"
Expand Down
3 changes: 2 additions & 1 deletion src/es6/canvas_widget/Manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -8590,9 +8590,10 @@ export class SingleValueListAttribute extends AbstractAttribute {
* @param {canvas_widget.AbstractNode|canvas_widget.AbstractEdge} rootSubjectEntity Topmost entity in the chain of entity the attribute is assigned to
*/
export class Value extends AbstractValue {
value = "";
value;
constructor(id, name, subjectEntity, rootSubjectEntity, y) {
super(id, name, subjectEntity, rootSubjectEntity);
this.value = "";
y = y || window.y;
if (!y) throw new Error("y is undefined");
var _ytext = null;
Expand Down
5 changes: 4 additions & 1 deletion src/widgets/partials/debug.widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,12 @@ export class DebugWidget extends SyncMetaWidget(
try {
JSONtoGraph(data);
} catch (error) {
const deleteMetamodel = confirm("The imported model will not be compatible. Do you want to delete the current metamodel?");
const deleteMetamodel = confirm(
"The imported model will not be compatible. Do you want to delete the current metamodel?"
);
if (deleteMetamodel) {
window.y.getMap("data").set("metamodel", null);
}
}
var initAttributes = function (attrs, map) {
if (attrs.hasOwnProperty("[attributes]")) {
Expand Down

0 comments on commit eb765d0

Please sign in to comment.