You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Change Log
v1.1.2
Replaced traditional function expressions with arrow functions for better readability and conciseness.
Added checks to ensure DOM elements exist before interacting with them to prevent potential errors.
Modularized the code by dividing it into well-named functions for better organization and maintainability.
Used 'const' and 'let' instead of 'var' to adhere to modern JavaScript best practices.
Improved CSS style string readability by using template literals.
Encapsulated the code within an Immediately Invoked Function Expression (IIFE) to minimize global scope pollution.
Updated textToSlug function to remove special characters such as apostrophes and colons.
Added isRomanNumeral function to detect Roman numerals.
Added the ability to convert Roman numbers to Arabic numbers for the correct formation of links.
This commit implements a feature to convert Roman numerals to Arabic numbers in game titles. This ensures that the generated links are correctly formatted, improving the functionality of the script.