Convert from prototype to jQuery

Is there a consistent and general way to convert prototype code in jQuery?

I am not asking how to convert specific code , for example:
From:

Event.observe(window, 'load', function () { /*code*/ }); 

To:

 $(function(e){ /*code*/ }); 

But how to convert any code from prototype to jQuery.
I am not sure if this is possible, but any suggestions are welcome.
Thanks

Update:
I was here , but it's 4 years ..
You know, such a question as (how to download data from the server without reloading the page) in 1990 will have the obvious answer: you cannot

+6
source share
1 answer

I realized that such a tool cannot exist

+2
source

Source: https://habr.com/ru/post/916542/


All Articles