Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
246 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
Demo/JSNLog.AngularJS.Demo/JSNLog.AngularJS.Demo/App_Start/BundleConfig.cs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
Demo/JSNLog.AngularJS.Demo/JSNLog.AngularJS.Demo/App_Start/FilterConfig.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
Demo/JSNLog.AngularJS.Demo/JSNLog.AngularJS.Demo/Controllers/HomeController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.Mvc; | ||
|
||
namespace JSNLog.AngularJS.Demo.Controllers | ||
{ | ||
public class HomeController : Controller | ||
{ | ||
// | ||
// GET: /Home/ | ||
|
||
public ActionResult Index() | ||
{ | ||
return View(); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+673 Bytes
Demo/JSNLog.AngularJS.Demo/JSNLog.AngularJS.Demo/Images/ajax-loader.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Demo/JSNLog.AngularJS.Demo/JSNLog.AngularJS.Demo/Views/Home/Index.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@{ | ||
Layout = null; | ||
} | ||
|
||
<!DOCTYPE html> | ||
|
||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width" /> | ||
<title>Index</title> | ||
</head> | ||
<body> | ||
<div> | ||
<div> | ||
<button>Wait 0</button> | ||
Server waits 0 ms - no problem | ||
</div> | ||
<div> | ||
<button>Wait 3000</button> | ||
Server waits 3000 ms - JSNLog will log warning for slow response | ||
</div> | ||
<div> | ||
<button>Wait 6000</button> | ||
Server waits 6000 ms - AJAX call will time out after 5000 ms | ||
</div> | ||
<div> | ||
<button>Wait -1</button> | ||
Server will throw exception | ||
</div> | ||
|
||
<div id="spinner"><img src="/Images/ajax-loader.gif" /></div> | ||
<div id="message"></div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.