11@using System .Globalization
22@inject AbpCompanyName .AbpProjectName .Timing .AppTimes AppTimes
33
4- <script type =" text/javascript" >
5- // This is used to get the application's root path from javascript.
6- // It's useful if you're running application in a virtual directory under IIS.
7- var abp = abp || {};
8- abp .appPath = ' @ApplicationPath' ;
9- </script >
10-
114<environment names =" Development" >
125 @* core scripts start*@
136 <script src =" ~/libs/jquery/jquery.js" asp-append-version =" true" ></script >
5144 <script src =" ~/js/abp.dataTable.js" asp-append-version =" true" ></script >
5245 <script src =" ~/js/main.js" asp-append-version =" true" ></script >
5346 @* custom scripts end*@
47+
48+ <script type =" text/javascript" >
49+ // This is used to get the application's root path from javascript.
50+ // It's useful if you're running application in a virtual directory under IIS.
51+ var abp = abp || {};
52+ abp .appPath = ' @ApplicationPath' ;
53+ </script >
5454</environment >
5555
5656<environment names =" Staging,Production" >
5757 <script src =" ~/view-resources/Views/_Bundles/shared-layout.min.js" asp-append-version =" true" ></script >
58+ <script type =" text/javascript" >
59+ // This is used to get the application's root path from javascript.
60+ // It's useful if you're running application in a virtual directory under IIS.
61+ var abp = abp || {};
62+ abp .appPath = ' @ApplicationPath' ;
63+ </script >
5864</environment >
5965
6066@if (CultureInfo .CurrentUICulture .Name != " en" )
8490
8591<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
8692<script src =" ~/AbpServiceProxies/GetAll?v=@(AppTimes.StartupTime.Ticks)" type =" text/javascript" ></script >
87- <script src =" ~/AbpScripts/GetScripts?v=@(AppTimes.StartupTime.Ticks)" type =" text/javascript" ></script >
93+ <script src =" ~/AbpScripts/GetScripts?v=@(AppTimes.StartupTime.Ticks)" type =" text/javascript" ></script >
0 commit comments