Skip to content

Commit 6ec3456

Browse files
committed
Refactor: Rename buttons-init.js to buttons-init-and-render.js and update references
1 parent cc451d7 commit 6ec3456

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// buttons-init.js
1+
// buttons-init-and-render.js
22
// Version: 1.0
33
//
44
// Documentation:

buttons.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
2828
Usage:
2929
Load order should ensure `utils.js` and any site-specific clicking modules are present before use.
30-
Rendering order and placement are orchestrated by buttons-init.js; this file focuses on element creation and behavior.
30+
Rendering order and placement are orchestrated by buttons-init-and-render.js; this file focuses on element creation and behavior.
3131
3232
Depends on:
3333
- utils.js (selectors and shared utilities)
34-
- buttons-init.js (composition/placement)
34+
- buttons-init-and-render.js (composition/placement)
3535
- buttons-clicking-*.js (site handlers: chatgpt/claude/copilot/deepseek/aistudio/grok/gemini)
3636
3737
Instructions for AI: do not remove comments! MUST NOT REMOVE COMMENTS. This one too!

code-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ The Inline Profile Selector module adds a dropdown menu directly in the button r
160160

161161
### Implementation
162162
- UI settings in popup: ['modules/popup-page-modules-inlineSelector.js'](modules/popup-page-modules-inlineSelector.js)
163-
- DOM creation: ['buttons-init.js'](buttons-init.js) (createInlineProfileSelector function)
163+
- DOM creation: ['buttons-init-and-render.js'](buttons-init-and-render.js) (createInlineProfileSelector function)
164164
- Storage: ['modules/state-store.js'](modules/state-store.js) (inlineProfileSelector key)
165165
- Global config loading: ['init.js'](init.js) (loads settings during initialization)
166166

init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Usage:
1818
* - Ensure the following scripts are loaded (in order) before this file:
1919
* 1. buttons.js
20-
* 2. buttons-init.js
20+
* 2. buttons-init-and-render.js
2121
* 3. buttons-injection.js
2222
* - The initialization process starts automatically upon script load.
2323
*

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"buttons-clicking-grok.js",
5656
"buttons-clicking-gemini.js",
5757
"buttons.js",
58-
"buttons-init.js",
58+
"buttons-init-and-render.js",
5959
"interface.js",
6060
"floating-panel.js",
6161
"floating-panel-ui-engine.js",

0 commit comments

Comments
 (0)