-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[EEG Browser] Annotations: Add new and HED tags #8236
[EEG Browser] Annotations: Add new and HED tags #8236
Conversation
8d8fc51
to
1ff23f4
Compare
1ff23f4
to
5063dda
Compare
923efdd
to
5130d0c
Compare
43ac725
to
cbf5d67
Compare
cbf5d67
to
9f75ebe
Compare
$db = $factory->database(); | ||
$factory = \NDB_Factory::singleton(); | ||
$user = $factory->user(); | ||
$db = $factory->database(); |
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.
Hi @laemtl you could do the following instead of initializing the factory.
$user = $request->getAttribute('user');
$db = $request->getAttribute("loris")->getDatabaseConnection();
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.
Hi @laemtl the frontend code should have comments that will satisfy the "valid-jsdoc of eslint" even if disabled. Otherwise everything looks okay although I'm unable to manually test.
I am working on a separate PR that will enable ESLint and fix all those issues. It would be easier since I have one PR based on that one that I would like to rebase. |
Replaces #7829 including custom code from the EEGNet repo to date