$('.loader').removeClass().addClass(text);
This function has a dependency on jQuery, even if I have "jQuery" unchecked. It's a simple enough function that you may consider replacing it with pure JS. $('.loader').removeClass().addClass(text);
This function has a dependency on jQuery, even if I have "jQuery" unchecked. It's a simple enough function that you may consider replacing it with pure JS.