I have rendered my script with bundeling in MVC and I can see them in loaded sources after inspect element. But when I try to access any of the JS class or function but they are not available and throwing not defined error. Even $(document).ready(function (){} is not working.
var eAdminShared = {
OpenPopup: function (response) {
eShared.OpenDialog("divdialog", response, true, true);
}
}
For example above eAdminShared is also undefined but that file is loaded.