summaryrefslogtreecommitdiff
path: root/test.html
diff options
context:
space:
mode:
Diffstat (limited to '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>