Skip to content

Commit

Permalink
add language and module headers to all Config.js/Config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotmoon committed May 10, 2024
1 parent 360b5f2 commit abde238
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/AlternatingCase.popclipext/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions source/BundleID.popclipext/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// entitlements: [dynamic]
// requirements: []
// popclipVersion: 4151
// language: javascript
// module: true

exports.actions = () => {
if (popclip.context.appIdentifier.length > 0) {
Expand Down
2 changes: 2 additions & 0 deletions source/Lowercase.popclipext/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit abde238

Please sign in to comment.