Il2CppAssemblyUnhollower icon indicating copy to clipboard operation
Il2CppAssemblyUnhollower copied to clipboard

Use vanilla JavaScript for code examples

Open renestalder opened this issue 6 years ago • 10 comments

I noticed that the widget code examples use jquery for quite simple JavaScript functionality like adding classes, changing attributes and hiding elements.

What was the initial reason to go with jQuery?

In my humble opinion, we should change that to vanilla JavaScript. Sharing code examples always comes with the preset that people will just copy/paste. I feel it's the wrong way getting people to integrate jQuery for a few simple DOM operations. And assuming that this guide is not only used by experienced people, this is going to happen.

renestalder avatar Jun 28 '18 13:06 renestalder