summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2014-12-04 13:48:53 -0800
committeryo mama <pepper@scannerjammer.com>2014-12-04 13:48:53 -0800
commit77683e929b46504264c5459228f8eeace3811e20 (patch)
tree0679b318adf200c56322bcb90652c8b885e4ce2f
parenta6f58439c639e0bb390180f67675e87b6a3ece21 (diff)
fixed test.html
-rw-r--r--test.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/test.html b/test.html
index 21e4b38..00dcf7d 100644
--- a/test.html
+++ b/test.html
@@ -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>