Тёмный
No video :(

Debugging Font-Awesome Open Source Project 

Kyle Nunn
Подписаться 74
Просмотров 22
50% 1

I was working on my website and using icons from fontawesome.com. When you hover over the code required to embed an icon into the HTML (any icon), a tooltip appears that says "Copy Code Snippet." I'm trying to contribute more toward open source projects and thought this would be a good opportunity. I want to change "Copy Code Snippet" to "Click to Copy" as I feel its more intuitive. I've forked Font-Awesome repo and searched for "Copy Code Snippet" with git grep and returned nothing. I inspected the page and was able to track down a couple instances of "Copy Code Snippet" in the minified JS, but I can't edit it and reflect it in the UI. I've tried debugging with breakpoints, but I'm really not sure what I'm doing there. I think I've pretty much exhausted ChatGPTs responses, which are currently pointing me in the direction of looking at build configurations, package.json files, etc. I realize that the tooltip is probably being called with an event listener, but I'm unsure of how to track this down and edit it, if its even possible with the way Font-Awesome is configured. Here's a video of my whole situation to give a better idea. Obviously you'll have to fork Font Awesome's repo.

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Coding Was HARD Until I Learned These 5 Things...
8:34
Svelte 5's Secret Weapon: Classes + Context
18:14
Просмотров 18 тыс.
Please stop using px for font-size.
15:18
Просмотров 141 тыс.
CodeHS - Fireman Karel
4:52
Просмотров 66
No Code App Development is a Trap
9:31
Просмотров 223 тыс.
The Most Legendary Programmers Of All Time
11:49
Просмотров 552 тыс.
Should you use Ruby on Rails in 2024?
14:43
Просмотров 43 тыс.
Brutally honest advice for new .NET Web Developers
7:19
Why Developers Are OBSESSED With Obsidian
11:26
Просмотров 50 тыс.