diff options
| -rwxr-xr-x | build-js.sh | 3 | ||||
| -rw-r--r-- | test.html | 29 |
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> + + |
