Willow Chat

Changeset 36

Show
Ignore:
Timestamp:
07/01/09 03:49:12 (14 months ago)
Author:
heyadayo
Message:

Fixed willowchat to work with latest Orbited

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/daemon/willowchat/static/willowchat.js

    r32 r36  
    1212    WillowChat = {} 
    1313} 
     14if (Orbited && Orbited.JSON) { 
     15    JSON = Orbited.JSON; 
     16} 
     17 
    1418WillowChat.settings = {} 
    1519WillowChat.settings.hostname = document.domain 
     
    4650    // TODO: first setup from remote and url 
    4751    // TODO: this is a *really* ugly way to do this... Fix it 
    48  
    4952    try { 
    5053        var i = location.href.indexOf('&opts=') 
     
    5457        // If the options aren't there, then someone must be trying to use this 
    5558        // library manually, which we want to allow. 
     59        alert("Error with WillowChat setup: " + e); 
    5660        return 
    5761    }