-
Notifications
You must be signed in to change notification settings - Fork 0
Fix newlines at EOF #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,4 +74,4 @@ module.exports = { | |
| } | ||
| }, | ||
| ], | ||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,4 +43,4 @@ data/db/ | |
| # Debug files | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| yarn-error.log* | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,4 +120,4 @@ document.addEventListener('DOMContentLoaded', function() { | |
| this.style.boxShadow = ''; | ||
| }); | ||
| } | ||
| }); | ||
| }); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -845,4 +845,4 @@ class Collection { | |
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The method lacks error handling for potential failures in interacting with the cache, such as connection issues or permissions errors. This could lead to silent failures where the cache is not properly cleared, yet no error is reported. Enhancing error handling by catching and logging exceptions or errors during the cache deletion process would improve the robustness and reliability of the cache management system. |
||
| } | ||
|
|
||
| module.exports = Collection; | ||
| module.exports = Collection; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1212,4 +1212,4 @@ class MarketItem { | |
| } | ||
| } | ||
|
|
||
| module.exports = MarketItem; | ||
| module.exports = MarketItem; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -361,4 +361,4 @@ class Purchase { | |
| } | ||
| } | ||
|
|
||
| module.exports = Purchase; | ||
| module.exports = Purchase; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -352,4 +352,4 @@ class Transaction { | |
| } | ||
| } | ||
|
|
||
| module.exports = Transaction; | ||
| module.exports = Transaction; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -467,4 +467,4 @@ class User { | |
| } | ||
| } | ||
|
|
||
| module.exports = User; | ||
| module.exports = User; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -388,4 +388,4 @@ class WIRTransaction { | |
| } | ||
| } | ||
|
|
||
| module.exports = WIRTransaction; | ||
| module.exports = WIRTransaction; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -304,4 +304,4 @@ class Wishlist { | |
| } | ||
| } | ||
|
|
||
| module.exports = Wishlist; | ||
| module.exports = Wishlist; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -263,4 +263,4 @@ router.get('/subscribe', (req, res) => { | |
| }); | ||
| }); | ||
|
|
||
| module.exports = router; | ||
| module.exports = router; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -180,4 +180,4 @@ initializeDatabase().catch(console.error); | |
| module.exports = { | ||
| supabase, | ||
| supabaseAdmin | ||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,4 +58,4 @@ module.exports = function(passport) { | |
| done(err, null); | ||
| } | ||
| }); | ||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,4 +43,4 @@ | |
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -134,4 +134,4 @@ | |
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,4 +10,4 @@ | |
| onclick="this.parentElement.remove()"> | ||
| <span aria-hidden="true">×</span> | ||
| </button> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,4 +79,4 @@ | |
| {{/if}} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,4 +97,4 @@ | |
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -121,4 +121,4 @@ | |
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1180,4 +1180,4 @@ | |
| .no-items-message p { | ||
| margin: 0 0 20px 0; | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -591,4 +591,4 @@ | |
| }); | ||
| } | ||
| }); | ||
| </script> | ||
| </script> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -791,4 +791,4 @@ | |
| }); | ||
| } | ||
| }); | ||
| </script> | ||
| </script> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -789,4 +789,4 @@ | |
| grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | ||
| } | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -907,4 +907,4 @@ | |
| }, 3000); | ||
| } | ||
| }); | ||
| </script> | ||
| </script> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -819,4 +819,4 @@ | |
| .close-modal:hover { | ||
| color: #fff; | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -779,4 +779,4 @@ | |
| .notification.error { | ||
| border-left-color: var(--error-color); | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -707,4 +707,4 @@ | |
| .notification.error { | ||
| border-left-color: var(--error-color); | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -384,4 +384,4 @@ | |
| margin: 0 0 20px 0; | ||
| color: var(--text-muted); | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -881,4 +881,4 @@ | |
| }); | ||
| }); | ||
| }); | ||
| </script> | ||
| </script> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -841,4 +841,4 @@ | |
| .notification.error { | ||
| border-left-color: var(--error-color); | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,4 +77,4 @@ | |
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -471,4 +471,4 @@ | |
| } | ||
| } | ||
| }); | ||
| </script> | ||
| </script> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -363,4 +363,4 @@ | |
| overflow-x: auto; | ||
| margin: 5px 0; | ||
| } | ||
| </style> | ||
| </style> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,4 +58,4 @@ | |
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,4 +70,4 @@ | |
| <div class="decoration circuit right"></div> | ||
| <div class="decoration static"></div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Direct manipulation of styles in JavaScript, as seen here with
transformandboxShadow, can lead to performance issues and makes the code harder to maintain. Consider using CSS for styling and transitions. For instance, define a CSS class with the desired styles and use JavaScript to add or remove this class based on user interactions. This approach not only improves performance by offloading rendering to the CSS engine but also enhances maintainability by keeping style definitions within CSS.Example: