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

chore: commit save point

parent 486a6bf5
No related branches found
No related tags found
No related merge requests found
/** /**
* @author schukai GmbH * Copyright schukai GmbH and contributors 2022. All Rights Reserved.
* Node module: @schukai/monster
* This file is licensed under the AGPLv3 License.
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
*/ */
import {internalSymbol} from "../constants.mjs"; import {internalSymbol} from "../constants.mjs";
import {Base} from "../types/base.mjs"; import {Base} from "../types/base.mjs";
...@@ -17,13 +21,13 @@ export {DeadMansSwitch} ...@@ -17,13 +21,13 @@ export {DeadMansSwitch}
* *
* ``` * ```
* <script type="module"> * <script type="module">
* import {DeadMansSwitch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/deadmansswitch.mjs'; * import {DeadMansSwitch} from '@schukai/monster/source/util/deadmansswitch.mjs';
* new DeadMansSwitch(); * new DeadMansSwitch();
* </script> * </script>
* ``` * ```
* *
* @example * @example
* import {DeadMansSwitch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/deadmansswitch.mjs'; * import {DeadMansSwitch} from '@schukai/monster/source/util/deadmansswitch.mjs';
* *
* const deadmansswitch = new DeadMansSwitch(100, ()=>{ * const deadmansswitch = new DeadMansSwitch(100, ()=>{
* console.log('yeah!') * console.log('yeah!')
...@@ -34,6 +38,7 @@ export {DeadMansSwitch} ...@@ -34,6 +38,7 @@ export {DeadMansSwitch}
* deadmansswitch.touch(200); // from here wait 200 ms * deadmansswitch.touch(200); // from here wait 200 ms
* *
* @copyright schukai GmbH * @copyright schukai GmbH
* @license AGPLv3
* @since 1.29.0 * @since 1.29.0
* @memberOf Monster.Util * @memberOf Monster.Util
* @summary Class to be able to execute function chains * @summary Class to be able to execute function chains
......
/** /**
* @author schukai GmbH * Copyright schukai GmbH and contributors 2022. All Rights Reserved.
* Node module: @schukai/monster
* This file is licensed under the AGPLv3 License.
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
*/ */
import {validateObject} from '../types/validate.mjs'; import {validateObject} from '../types/validate.mjs';
export {deepFreeze} export {deepFreeze}
...@@ -13,12 +17,13 @@ export {deepFreeze} ...@@ -13,12 +17,13 @@ export {deepFreeze}
* *
* ``` * ```
* <script type="module"> * <script type="module">
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/freeze.mjs'; * import {deepFreeze} from '@schukai/monster/source/util/freeze.mjs';
* deepFreeze({}) * deepFreeze({})
* </script> * </script>
* ``` * ```
* *
* @param {object} object object to be freeze * @param {object} object object to be freeze
* @license AGPLv3
* @since 1.0.0 * @since 1.0.0
* @returns {object} * @returns {object}
* @memberOf Monster.Util * @memberOf Monster.Util
......
/** /**
* @author schukai GmbH * Copyright schukai GmbH and contributors 2022. All Rights Reserved.
* Node module: @schukai/monster
* This file is licensed under the AGPLv3 License.
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
*/ */
import {internalSymbol} from "../constants.mjs"; import {internalSymbol} from "../constants.mjs";
import {Base} from "../types/base.mjs"; import {Base} from "../types/base.mjs";
import {getGlobalFunction} from "../types/global.mjs"; import {getGlobalFunction} from "../types/global.mjs";
...@@ -74,13 +78,13 @@ class Callback { ...@@ -74,13 +78,13 @@ class Callback {
* *
* ``` * ```
* <script type="module"> * <script type="module">
* import {Processing} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/processing.mjs'; * import {Processing} from '@schukai/monster/source/util/processing.mjs';
* new Processing(); * new Processing();
* </script> * </script>
* ``` * ```
* *
* @example * @example
* import {Processing} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/processing.mjs'; * import {Processing} from '@schukai/monster/source/util/processing.mjs';
* *
* let startTime = +new Date(); * let startTime = +new Date();
* *
...@@ -99,6 +103,7 @@ class Callback { ...@@ -99,6 +103,7 @@ class Callback {
* }) * })
* *
* @copyright schukai GmbH * @copyright schukai GmbH
* @license AGPLv3
* @since 1.21.0 * @since 1.21.0
* @memberOf Monster.Util * @memberOf Monster.Util
* @summary Class to be able to execute function chains * @summary Class to be able to execute function chains
......
/** /**
* @author schukai GmbH * Copyright schukai GmbH and contributors 2022. All Rights Reserved.
* Node module: @schukai/monster
* This file is licensed under the AGPLv3 License.
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
*/ */
import {ID} from "../types/id.mjs"; import {ID} from "../types/id.mjs";
import {isObject} from "../types/is.mjs"; import {isObject} from "../types/is.mjs";
import {validateString} from "../types/validate.mjs"; import {validateString} from "../types/validate.mjs";
...@@ -15,7 +19,7 @@ export {trimSpaces} ...@@ -15,7 +19,7 @@ export {trimSpaces}
* *
* ``` * ```
* <script type="module"> * <script type="module">
* import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/trimspaces.mjs'; * import {trimSpaces} from '@schukai/monster/source/util/trimspaces.mjs';
* trimSpaces(' hello \\ ') * trimSpaces(' hello \\ ')
* </script> * </script>
* ``` * ```
...@@ -27,6 +31,7 @@ export {trimSpaces} ...@@ -27,6 +31,7 @@ export {trimSpaces}
* a\\ b ↦ a\ b * a\\ b ↦ a\ b
* ``` * ```
* *
* @license AGPLv3
* @since 1.24.0 * @since 1.24.0
* @memberOf Monster.Util * @memberOf Monster.Util
* @copyright schukai GmbH * @copyright schukai GmbH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment