wiki:Development/PlugIns/JavaScript

Version 2 (modified by timothy, 13 years ago) (diff)

Added a link to the W3Schools' JavaScript Tutorial

TracNav(Development)? This is part of the Development Documentation Project, please help document Colloquy if you know anything that would be relevant here for other users to know about.

JavaScript PlugIns for Colloquy

To develop JavaScript PlugIns, you will need:

  • A plain text editor (TextEdit is fine in plain-text mode).
  • The latest list of function names Colloquy looks for (available in the Colloquy SDK JavaScript template below).
  • Reasonably good knowledge of JavaScript, Colloquy classes and utilizing the Cocoa frameworks.
  • A good understanding of how to call Objective-C methods from JavaScript, detailed in Using Objective-C From JavaScript.

There is a template script available in the JavaScript SDK section containing stubs and commentary for all available functions a JavaScript PlugIn for Colloquy can implement.

For those not familiar with the language, we recomend: W3Schools' JavaScript Tutorial.

(for more information come to our chat room)