File tree Expand file tree Collapse file tree 5 files changed +10
-64
lines changed
SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Web Expand file tree Collapse file tree 5 files changed +10
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
return {
19
19
20
20
'request' : function ( config ) {
21
- if ( config . url . endsWith ( '.cshtml' ) ) {
21
+ if ( endsWith ( config . url , '.cshtml' ) ) {
22
22
config . url = abp . appPath + 'AbpAppView/Load?viewUrl=' + config . url ;
23
23
}
24
24
65
65
}
66
66
] ) ;
67
67
68
+ function endsWith ( str , suffix ) {
69
+ if ( suffix . length > str . length ) {
70
+ return false ;
71
+ }
72
+
73
+ return str . indexOf ( suffix , str . length - suffix . length ) !== - 1 ;
74
+ }
75
+
68
76
} ) ( ( abp || ( abp = { } ) ) , ( angular || undefined ) ) ;
Original file line number Diff line number Diff line change 17
17
function getRoutes ( ) {
18
18
return [
19
19
{
20
- url : '/' , //default: /task/new
20
+ url : '/' , //default: /task/list
21
21
config : {
22
22
templateUrl : '/App/Main/views/task/list.cshtml' ,
23
23
menuItem : 'TaskList'
Original file line number Diff line number Diff line change 322
322
<Content Include =" Scripts\angular-cookies.min.js.map" />
323
323
<Content Include =" Scripts\angular-animate.min.js.map" />
324
324
<Content Include =" Scripts\angular.min.js.map" />
325
- <Content Include =" Abp\Framework\scripts\abp.polyfills.js" />
326
325
<None Include =" Scripts\jquery-2.1.1.intellisense.js" />
327
326
<Content Include =" Scripts\i18n\angular-locale_af-na.js" />
328
327
<Content Include =" Scripts\i18n\angular-locale_af-za.js" />
Original file line number Diff line number Diff line change 66
66
<script src =" ~/Scripts/bootstrap.min.js" ></script >
67
67
68
68
<!-- Abp framework scripts -->
69
- <script src =" ~/Abp/Framework/scripts/abp.polyfills.js" ></script >
70
69
<script src =" ~/Abp/Framework/scripts/abp.js" ></script >
71
70
<script src =" ~/Abp/Framework/scripts/libs/abp.jquery.js" ></script >
72
71
<script src =" ~/Abp/Framework/scripts/libs/abp.toastr.js" ></script >
You can’t perform that action at this time.
0 commit comments