We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
< 5 hours
A particularly notable example of old code, JS has better native tools for this lately.
Change all of the JQuery AJAX into something modern (probably native JS). This might be doable as you move through the other files.
The text was updated successfully, but these errors were encountered:
need to figure out a way to, modularize code, require keyword does not work in frontend code, two possible solutions
require
Sorry, something went wrong.
Option 1, use enque_scripts is most likely the way to go. That's actually another whole area that's on my mind to refactor, but we can get there later. There's an example at https://github.com/NEU-Libraries/drs-toolkit-wp-plugin/blob/ceres-connection/drs-tk.php#L1169 . And the WP documentation for how it works. If you go that route, put the PHP near the top of drs-tk.php.
enque_scripts
drs-tk.php
eswarsaladi
No branches or pull requests
< 5 hours
A particularly notable example of old code, JS has better native tools for this lately.
Change all of the JQuery AJAX into something modern (probably native JS). This might be doable as you move through the other files.
The text was updated successfully, but these errors were encountered: