JavaScript functions and Objects are not working after bundling in ASP.Net MVC

Last Reply one year ago By dharmendr

Posted one year ago

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.