From abde238a2c52a1f3a589bbbff78e5373ee9f748f Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Fri, 10 May 2024 21:53:35 +0100 Subject: [PATCH] add language and module headers to all Config.js/Config.ts --- source/AlternatingCase.popclipext/Config.ts | 3 ++- source/BundleID.popclipext/Config.js | 2 ++ source/Lowercase.popclipext/Config.js | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/AlternatingCase.popclipext/Config.ts b/source/AlternatingCase.popclipext/Config.ts index 559e16e7..3ab57f48 100644 --- a/source/AlternatingCase.popclipext/Config.ts +++ b/source/AlternatingCase.popclipext/Config.ts @@ -4,7 +4,8 @@ // description: Change the text to AlTeRnAtInG CaSe, with optional randomness. // icon: noun_sponge_575115.svg // popclipVersion: 4225 -// module: Config.ts +// language: typescript +// module: true /** * Make characters alternately upper/lower case, with optional randomness sprinkled in. diff --git a/source/BundleID.popclipext/Config.js b/source/BundleID.popclipext/Config.js index 321829f9..b35ab78f 100644 --- a/source/BundleID.popclipext/Config.js +++ b/source/BundleID.popclipext/Config.js @@ -5,6 +5,8 @@ // entitlements: [dynamic] // requirements: [] // popclipVersion: 4151 +// language: javascript +// module: true exports.actions = () => { if (popclip.context.appIdentifier.length > 0) { diff --git a/source/Lowercase.popclipext/Config.js b/source/Lowercase.popclipext/Config.js index acfb9e98..f44a476d 100644 --- a/source/Lowercase.popclipext/Config.js +++ b/source/Lowercase.popclipext/Config.js @@ -4,6 +4,8 @@ // description: Make the selected text all lowercase. // icon: square filled ab // popclip version: 4151 +// language: javascript +// module: true exports.action = (input) => { popclip.pasteText(input.text.toLowerCase());