Skip to content
Snippets Groups Projects
Verified Commit 15eb89b4 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: tidy project files

parent 1267048d
No related branches found
No related tags found
No related merge requests found
Showing
with 519 additions and 526 deletions
...@@ -6,16 +6,14 @@ ...@@ -6,16 +6,14 @@
### Bug Fixes ### Bug Fixes
- exchange of document.selector with function findElementWithSelectorUpwards [#199](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/199) - exchange of `document.selector` with function findElementWithSelectorUpwards [#199](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/199)
## [3.65.20] - 2024-06-20 ## [3.65.20] - 2024-06-20
- Changeover to new release process - Changeover to a new release process
## [3.65.3] - 2024-06-19 ## [3.65.3] - 2024-06-19
### Bug Fixes
- switch nodejs_22 to nodejs_20 (segmentation fault) - switch nodejs_22 to nodejs_20 (segmentation fault)
## [3.65.1] - 2024-06-17 ## [3.65.1] - 2024-06-17
......
{pkgs', ...}: let {pkgs', ...}: let
bashFktScript = import ./bash-fkt.nix { bashFktScript = import ./bash-fkt.nix {
inherit pkgs'; inherit pkgs';
}; };
......
{pkgs', ...}: pkgs'.writeShellScriptBin "create-new-component-class" '' {pkgs', ...}:
pkgs'.writeShellScriptBin "create-new-component-class" ''
source ${pkgs'.common}/bin/common source ${pkgs'.common}/bin/common
echo_section "create new component class" echo_section "create new component class"
......
{pkgs', {
pkgs',
system, system,
self, self,
...}: let ...
}: let
bashFktScript = import ./bash-fkt.nix { bashFktScript = import ./bash-fkt.nix {
inherit pkgs'; inherit pkgs';
}; };
......
{ {pkgs', ...}:
pkgs',
...
}:
pkgs'.writeShellScriptBin "run-ci-tests" '' pkgs'.writeShellScriptBin "run-ci-tests" ''
echo "run ci tests" echo "run ci tests"
......
{ {pkgs', ...}:
pkgs', pkgs'.writeShellScriptBin "run-ci-web-tests" ''
...
}: pkgs'.writeShellScriptBin "run-ci-web-tests" ''
echo "run ci web tests" echo "run ci web tests"
if [ -z "''${CI_JOB_TOKEN}" ]; then if [ -z "''${CI_JOB_TOKEN}" ]; then
......
{pkgs', ...}: pkgs'.writeShellScriptBin "run-tests" '' {pkgs', ...}:
pkgs'.writeShellScriptBin "run-tests" ''
source ${pkgs'.common}/bin/common source ${pkgs'.common}/bin/common
echo_section "run tests" echo_section "run tests"
......
{ {pkgs', ...}: let
pkgs',
...
}: let
releaseInfo = import ../config/release.nix; releaseInfo = import ../config/release.nix;
in in
pkgs'.writeShellScriptBin "start-server" '' pkgs'.writeShellScriptBin "start-server" ''
source ${pkgs'.common}/bin/common source ${pkgs'.common}/bin/common
......
...@@ -190,7 +190,6 @@ function initControlReferences() { ...@@ -190,7 +190,6 @@ function initControlReferences() {
const selector = this.getOption("dataset.selector"); const selector = this.getOption("dataset.selector");
if (isString(selector)) { if (isString(selector)) {
const element = findElementWithSelectorUpwards(this, selector); const element = findElementWithSelectorUpwards(this, selector);
if (element === null) { if (element === null) {
throw new Error("the selector must match exactly one element"); throw new Error("the selector must match exactly one element");
......
...@@ -65,7 +65,11 @@ import { ...@@ -65,7 +65,11 @@ import {
} from "./util.mjs"; } from "./util.mjs";
import "./columnbar.mjs"; import "./columnbar.mjs";
import "./filter-button.mjs"; import "./filter-button.mjs";
import {findElementWithSelectorUpwards, getDocument, getWindow} from "../../dom/util.mjs"; import {
findElementWithSelectorUpwards,
getDocument,
getWindow,
} from "../../dom/util.mjs";
import { addAttributeToken } from "../../dom/attributes.mjs"; import { addAttributeToken } from "../../dom/attributes.mjs";
import { ATTRIBUTE_ERRORMESSAGE } from "../../dom/constants.mjs"; import { ATTRIBUTE_ERRORMESSAGE } from "../../dom/constants.mjs";
import { getDocumentTranslations } from "../../i18n/translations.mjs"; import { getDocumentTranslations } from "../../i18n/translations.mjs";
......
...@@ -155,7 +155,6 @@ class SaveButton extends CustomElement { ...@@ -155,7 +155,6 @@ class SaveButton extends CustomElement {
const selector = this.getOption("datasource.selector"); const selector = this.getOption("datasource.selector");
if (isString(selector)) { if (isString(selector)) {
const element = findElementWithSelectorUpwards(this, selector); const element = findElementWithSelectorUpwards(this, selector);
if (element === null) { if (element === null) {
throw new Error("the selector must match exactly one element"); throw new Error("the selector must match exactly one element");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment