1
1
@using System .Globalization
2
2
@inject AbpCompanyName .AbpProjectName .Timing .AppTimes AppTimes
3
3
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
-
11
4
<environment names =" Development" >
12
5
@* core scripts start*@
13
6
<script src =" ~/libs/jquery/jquery.js" asp-append-version =" true" ></script >
51
44
<script src =" ~/js/abp.dataTable.js" asp-append-version =" true" ></script >
52
45
<script src =" ~/js/main.js" asp-append-version =" true" ></script >
53
46
@* 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 >
54
54
</environment >
55
55
56
56
<environment names =" Staging,Production" >
57
57
<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 >
58
64
</environment >
59
65
60
66
@if (CultureInfo .CurrentUICulture .Name != " en" )
84
90
85
91
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
86
92
<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