Yet another round of cleanup
This commit is contained in:
parent
38f1482c98
commit
34e619c783
14 changed files with 4 additions and 30 deletions
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
|
|||
|
||||
# Darkness Dependent Vision
|
||||
|
||||
A module for [Foundry Virtual Tabletop] that provides the ability to make the
|
||||
A module for [Foundry Virtual Tabletop] that provides functionality to make the
|
||||
dim and bright vision of tokens depend on the scene's darkness level.
|
||||
|
||||
## Installation
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"private": true,
|
||||
"name": "darkness-dependent-vision",
|
||||
"version": "0.0.1",
|
||||
"description": "A module for Foundry Virtual Tabletop that provides the ability to make the dim and bright vision of tokens depend on the scene's darkness level.",
|
||||
"description": "A module for Foundry Virtual Tabletop that provides functionality to make the dim and bright vision of tokens depend on the scene's darkness level.",
|
||||
"license": "MIT",
|
||||
"homepage": "https://git.f3l.de/ghost/darkness-dependent-vision",
|
||||
"repository": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "darkness-dependent-vision",
|
||||
"title": "Darkness Dependent Vision",
|
||||
"description": "A module for Foundry Virtual Tabletop that provides the ability to make the dim and bright vision of tokens depend on the scene's darkness level.",
|
||||
"description": "A module for Foundry Virtual Tabletop that provides functionality to make the dim and bright vision of tokens depend on the scene's darkness level.",
|
||||
"version": "0.0.1",
|
||||
"author": "Johannes Loher",
|
||||
"authors": [
|
||||
|
@ -12,9 +12,7 @@
|
|||
],
|
||||
"minimumCoreVersion": "0.8.8",
|
||||
"compatibleCoreVersion": "0.8.8",
|
||||
"scripts": [],
|
||||
"esmodules": ["module/darkness-dependent-vision.js"],
|
||||
"styles": ["styles/darkness-dependent-vision.css"],
|
||||
"languages": [
|
||||
{
|
||||
"lang": "en",
|
||||
|
@ -22,13 +20,11 @@
|
|||
"path": "lang/en.json"
|
||||
}
|
||||
],
|
||||
"socket": false,
|
||||
"url": "https://git.f3l.de/ghost/darkness-dependent-vision",
|
||||
"manifest": "https://git.f3l.de/ghost/darkness-dependent-vision/-/raw/latest/src/module.json?inline=false",
|
||||
"download": "https://git.f3l.de/ghost/darkness-dependent-vision/-/jobs/artifacts/0.0.1/download?job=build",
|
||||
"license": "MIT",
|
||||
"readme": "https://git.f3l.de/ghost/darkness-dependent-vision/-/blob/master/README.md",
|
||||
"bugs": "https://git.f3l.de/ghost/darkness-dependent-vision/-/issues",
|
||||
"changelog": "https://git.f3l.de/ghost/darkness-dependent-vision/-/releases",
|
||||
"library": false
|
||||
"changelog": "https://git.f3l.de/ghost/darkness-dependent-vision/-/releases"
|
||||
}
|
||||
|
|
|
@ -2,6 +2,4 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
export const packageName = 'darkness-dependent-vision';
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* An application that provides functionality to configure darkness dependent
|
||||
* vision for a {@link TokenDocument}.
|
||||
|
|
|
@ -2,7 +2,5 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
import registerForHooks from './hooks';
|
||||
registerForHooks();
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
import registerForGetTokenConfigHeaderButtonsHook from './hooks/getTokenConfigHeaderButtons';
|
||||
import registerForInitHook from './hooks/init';
|
||||
import registerForUpdateSceneHook from './hooks/updateScene';
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
import { DarknessDependentVisionConfig } from '../darkness-dependent-vision-config';
|
||||
|
||||
export default function registerForGetTokenConfigHeaderButtonsHook() {
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
import { packageName } from '../config';
|
||||
import logger from '../logger';
|
||||
import { libWrapper } from '../shims/libWrapperShim';
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
export default function registerForUpdateSceneHook() {
|
||||
Hooks.on('updateScene', onUpdateScene);
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
export default function registerForUpdateTokenHook() {
|
||||
Hooks.on('updateToken', onUpdateToken);
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
const loggingContext = 'Darkness Dependent Vision';
|
||||
const loggingSeparator = '|';
|
||||
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
// A shim for the libWrapper library
|
||||
export let libWrapper = undefined;
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
'use strict';
|
||||
|
||||
import { packageName } from '../config';
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue