Closed (fixed)
Project:
Prototype
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Apr 2025 at 17:29 UTC
Updated:
3 Apr 2026 at 19:58 UTC
Jump to comment: Most recent
We would like to standardize the structure and formats around our components with JavaScript
- Breakout functions
- Include docblocks for each new function
- Drupal specific elements will occur inside the attached behaviour
- Should leverage only vanilla JS
- Review naming conventions, specifically event handling
- Should leverage `let` or `const` instead of `var`
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
philip_stier commentedComment #5
philip_stier commentedNote to self: Link in docs to NPM package and GitHub
Comment #6
philip_stier commentedComment #7
jldust commentedThanks for making those updates, this has been merged in and will be included in the next tagged relase.
Comment #8
jldust commentedComment #10
jldust commented