I wanted to use Google Closure Compiler to to minimize javascript, but in minimized version it renames function names. Is this the intended behavior? How to use this in that situation ?
lib.js
function myfun() {
$('#test').hide();
}
lib.min.js
function myfun$$module$main(){$("#test").hide()}
view
<a href="#" onclick="myfun()">no longer works</a>