diff options
| author | yo mama <pepper@scannerjammer.com> | 2014-12-04 13:48:53 -0800 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2014-12-04 13:48:53 -0800 |
| commit | 77683e929b46504264c5459228f8eeace3811e20 (patch) | |
| tree | 0679b318adf200c56322bcb90652c8b885e4ce2f /test.html | |
| parent | a6f58439c639e0bb390180f67675e87b6a3ece21 (diff) | |
fixed test.html
Diffstat (limited to 'test.html')
| -rw-r--r-- | test.html | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,6 +1,9 @@ <html> -<link href="modals.css" type="text/stylesheet"></link> +<head> + <link rel="stylesheet" href="modals.css" type="text/css" /> + +</head> <body> <!--ALERT html--> @@ -53,9 +56,15 @@ <script type="text/javascript" src="UploadView.js" ></script> <script type="text/javascript"> $(document).ready(function(){ - alert("hello"); - + //these can be made thenable with bluebird + var whatever_cb = function(){}; + ConfirmModal.confirm("are you sure?", function(){ + AlertModal.alert("you are the man!", function(){ + ErrorModal.alert("ok this is what an ERROR looks like, but there's no error!", whatever_cb()) + }); + }) }); + </script> </body> </html> |
