Changeset 36
- Timestamp:
- 07/01/09 03:49:12 (14 months ago)
- Files:
-
- 1 modified
-
trunk/daemon/willowchat/static/willowchat.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/willowchat/static/willowchat.js
r32 r36 12 12 WillowChat = {} 13 13 } 14 if (Orbited && Orbited.JSON) { 15 JSON = Orbited.JSON; 16 } 17 14 18 WillowChat.settings = {} 15 19 WillowChat.settings.hostname = document.domain … … 46 50 // TODO: first setup from remote and url 47 51 // TODO: this is a *really* ugly way to do this... Fix it 48 49 52 try { 50 53 var i = location.href.indexOf('&opts=') … … 54 57 // If the options aren't there, then someone must be trying to use this 55 58 // library manually, which we want to allow. 59 alert("Error with WillowChat setup: " + e); 56 60 return 57 61 }