Mercurial > irccd
view doc/html/api/module/Irccd/index.md @ 512:b8da1d8c2a72
Docs: use ``` as fenced code blocks
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 20 Oct 2017 11:43:36 +0200 |
parents | 904ee87bc808 |
children |
line wrap: on
line source
--- module: Irccd js: true --- ## Usage Contains general irccd variables and functions. ## Constants The following properties are defined: - **version**: (object) - **major**: (int) the major irccd version, - **minor**: (int) the minor irccd version, - **patch**: (int) the patch irccd version. ## Types - **SystemError**: (function) an exception inheriting `Error` thrown by some functions. ## Example ```javascript var Logger = Irccd.Logger; function onLoad() { Logger.info("Major: " + Irccd.version.major); Logger.info("Minor: " + Irccd.version.minor); Logger.info("Patch: " + Irccd.version.patch); } ```