-
Notifications
You must be signed in to change notification settings - Fork 3
Usage Posts
Write ups about using divjot
Feel free to write about how and why you're using divjot. Post an article, examples, or a link to your content here.
###State of The Code: bFraley Aug 2016
Early versions that lead to divjot came in somewhere around 43 LOC! If I weren't working toward expanding features and building something more robust and useful to other developers, it would probably still be a tiny script. As the codebase grows, I recognize the need to start modularizing more features and condensing some similar calls into more generic functions.
That said, there is a lot of repetition for querying HTML elements, and assigning event listeners to those elements.I already have functions for condensing this code, but the changes will not be added until the main default UI and features are complete. This is because that the repetitive code more clearly lists the UI and event function calls that I would rather not be hidden away in further abstractions. Delaying these changes, along with code style adjustments, design pattern implementation, and performance optimizations, are key in keeping the codebase minimal and clear (for the time being).