Changes between Version 9 and Version 10 of Development/PlugIns/JavaScript


Ignore:
Timestamp:
Mar 14, 2008 12:16:40 AM (12 years ago)
Author:
loudambiance
Comment:

there was an error in the bug url plugin example

Legend:

Unmodified
Added
Removed
Modified
  • Development/PlugIns/JavaScript

    v9 v10  
    2929        var bugRegex = new RegExp( '\\bbugs?\\b', 'gmi' ); 
    3030        if( bugRegex.exec(message.bodyAsPlainText()) && ! message.senderIsLocalUser() ) { 
    31                 var msg = new JVMutableChatMessage('', view.connection.localUser()); 
     31                var msg = new JVMutableChatMessage('', view.connection.localUser); 
    3232                msg.setBodyAsHTML(message.senderNickname() + ': <u>please</u> report any Colloquy bugs at http://colloquy.info?bugs'); 
    3333                view.sendMessage(msg);