summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2012-07-19 11:12:48 -0400
committerJules Laplace <jules@okfoc.us>2012-07-19 11:12:48 -0400
commit77781bafb026408356395c7026ed225e59858b3c (patch)
tree09fdf1af5f3889f0f5350084c7a26026a77b93fc
parent4437d7e051a6e11d2950794d99788c2e730824b1 (diff)
build-js.sh and sanity test
-rwxr-xr-xbuild-js.sh3
-rw-r--r--test.html29
2 files changed, 32 insertions, 0 deletions
diff --git a/build-js.sh b/build-js.sh
new file mode 100755
index 0000000..e314b59
--- /dev/null
+++ b/build-js.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cat static/js/src/*/*.js static/js/src/*.js > static/js/pichat2.js
+
diff --git a/test.html b/test.html
new file mode 100644
index 0000000..3f52028
--- /dev/null
+++ b/test.html
@@ -0,0 +1,29 @@
+<script type="text/javascript" src="static/js/jquery-1.4.2.min.js"></script>
+<script src="static/js/pichat2.js"></script>
+<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js" type="text/javascript"></script>
+ <script src="http://dump.fm/static/js/admin.js" type="text/javascript"></script>
+ <script type="text/javascript" src="http://dump.fm/static/js/invalid_domains.js"></script>
+ <script type="text/javascript" src="http://dump.fm/static/webcam/webcam.js"></script>
+ <script type="text/javascript" src="http://dump.fm/static/js/ajaxupload.js"></script>
+ <script type="text/javascript" src="http://dump.fm/json/ryz/favorites"></script>
+ <script>
+ jQuery(document).ready(initChat);
+ var Nick = "ryz";
+ var Room = "VIP";
+ var Timestamp = 1342584973920;
+ var IsAdmin = true;
+ if (Nick) {
+ jQuery(document).ready(function() { setupUpload('upload', Room); });
+ }
+ function showAlert() { alert('MUST LOGIN'); }
+ var newwindow;
+ function pop(url) {
+ newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0');
+ if (window.focus) {newwindow.focus()}
+ }
+ jQuery(Away.startTitleUpdater);
+ jQuery(initChatMsgs);
+ //
+ </script>
+
+