Skip to content

Commit 2c00c02

Browse files
authored
fix: use _ as word boundary in IIFE var names (#1630)
* fix: use `_` as word boundary in IIFE var names * Revert "fix: use `_` as word boundary in IIFE var names" This reverts commit 396ed3f. * Reapply "fix: use `_` as word boundary in IIFE var names" This reverts commit f31de7d.
1 parent 901dd56 commit 2c00c02

File tree

7 files changed

+18
-6
lines changed

7 files changed

+18
-6
lines changed

.changes/iife-varname-spacing.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
barcode-scanner: patch
3+
clipboard-manager: patch
4+
deep-link: patch
5+
global-shortcut: patch
6+
window-state: patch
7+
---
8+
9+
Fixed an issue that caused multi-word IIFE names to not be formatted correctly. For example the `barcode-scanner` was defined as `window.__TAURI_PLUGIN_CLIPBOARDMANAGER__` instead of `window.__TAURI_PLUGIN_CLIPBOARD_MANAGER__`.

plugins/barcode-scanner/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/clipboard-manager/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/deep-link/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/global-shortcut/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)