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
For better code readability it would be nice to provide nice names at least for some of them (key codes, for example). Some attempts to do it seems to have been done in the past, we need to extend it:
Gallery JS code is ridden with magic numbers:
NuGetGallery/src/NuGetGallery/Scripts/gallery/common.js
Line 12 in 6136fc9
NuGetGallery/src/NuGetGallery/Scripts/gallery/common.js
Line 244 in 6136fc9
NuGetGallery/src/NuGetGallery/Scripts/gallery/common.js
Lines 574 to 578 in 6136fc9
NuGetGallery/src/NuGetGallery/Scripts/gallery/autocomplete.js
Lines 64 to 67 in 6136fc9
etc.
For better code readability it would be nice to provide nice names at least for some of them (key codes, for example). Some attempts to do it seems to have been done in the past, we need to extend it:
NuGetGallery/src/NuGetGallery/Scripts/gallery/autocomplete.js
Lines 3 to 13 in 6136fc9
The text was updated successfully, but these errors were encountered: