M
MartinRinehart
I've got the usual suspects on KDE: Firefox, Konqueror and Opera. All
aggressively cache .js files. I've not figured out a way to remove a
cached .js without closing the browser and restarting it.
This makes them useless while coding .js files. My solution (kludge?)
is to leave what will become .js between <script> </script> tags in
the HTML until it feels like it is fully-featured and totally debugged
and then move it into a .js. As "fullly-featured and totally debugged"
is a rare condition, I've got more JavaScript in HTML than in .js,
where it belongs.
Is there a better way? A browser smart enough to compare time stamps
and reload .js as necessary?
aggressively cache .js files. I've not figured out a way to remove a
cached .js without closing the browser and restarting it.
This makes them useless while coding .js files. My solution (kludge?)
is to leave what will become .js between <script> </script> tags in
the HTML until it feels like it is fully-featured and totally debugged
and then move it into a .js. As "fullly-featured and totally debugged"
is a rare condition, I've got more JavaScript in HTML than in .js,
where it belongs.
Is there a better way? A browser smart enough to compare time stamps
and reload .js as necessary?