Miorey / wow-model-viewer

A library for displaying interactive 3D models of World of Warcraft characters, items, and NPCs on your website using data from Wowhead. Customize the display with control over camera angles and animation.
https://miorey.github.io/wow-model-viewer/
56 stars 32 forks source link

Fix/optional chaining #13

Closed Miorey closed 2 years ago

Miorey commented 2 years ago

refactor optional chaining

Miorey commented 2 years ago

@Helias here is my pr if you have any comment

Helias commented 2 years ago

We should switch to typescript, so the optional chaining will be supported anywhere