digitalpoint
Guest
offline
For devs rewriting jQuery into native JavaScript, it seems like ChatGPT can be helpful. I certainly wouldn't blindly let it rewrite a bunch of stuff, but it can be a useful tool for converting JavaScript as a base for you to review/revise/make better.
For example:
JavaScript:
Read more
Continue reading...
For example:
JavaScript:
Code:
$(document).on('xf:page-load-start',function(e,i) {
XF.config.time.now = Math.floor(new Date().getTime() / 1000);
let c = XF.Cookie.get('csrf');
$.ajaxSetup({
async: false
})...
Read more
Continue reading...