summaryrefslogtreecommitdiff
path: root/doc/en/autogen/plugin_api/hdata.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-03-07 15:16:37 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-03-07 16:52:30 +0100
commit300d1ad44e81ff832d622e5e4137995f1649c7f6 (patch)
tree34128e4eacdab2da72f0cc9a8089d74153346c1a /doc/en/autogen/plugin_api/hdata.asciidoc
parentbed4ee1f355326ecdd9945fb8b5371cea6cd1509 (diff)
downloadweechat-300d1ad44e81ff832d622e5e4137995f1649c7f6.zip
doc: add Javascript plugin in docs
Diffstat (limited to 'doc/en/autogen/plugin_api/hdata.asciidoc')
-rw-r--r--doc/en/autogen/plugin_api/hdata.asciidoc34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/en/autogen/plugin_api/hdata.asciidoc b/doc/en/autogen/plugin_api/hdata.asciidoc
index 637e5253d..86a48dc3d 100644
--- a/doc/en/autogen/plugin_api/hdata.asciidoc
+++ b/doc/en/autogen/plugin_api/hdata.asciidoc
@@ -222,6 +222,40 @@
** lists:
*** 'irc_servers'
*** 'last_irc_server'
+* 'javascript_callback': callback of a script
+** plugin: javascript
+** variables:
+*** 'script' (pointer, hdata: "javascript_script")
+*** 'function' (string)
+*** 'data' (string)
+*** 'config_file' (pointer, hdata: "config_file")
+*** 'config_section' (pointer, hdata: "config_section")
+*** 'config_option' (pointer, hdata: "config_option")
+*** 'hook' (pointer)
+*** 'buffer' (pointer, hdata: "buffer")
+*** 'bar_item' (pointer, hdata: "bar_item")
+*** 'upgrade_file' (pointer)
+*** 'prev_callback' (pointer, hdata: "javascript_callback")
+*** 'next_callback' (pointer, hdata: "javascript_callback")
+* 'javascript_script': list of scripts
+** plugin: javascript
+** variables:
+*** 'filename' (string)
+*** 'interpreter' (pointer)
+*** 'name' (string)
+*** 'author' (string)
+*** 'version' (string)
+*** 'license' (string)
+*** 'description' (string)
+*** 'shutdown_func' (string)
+*** 'charset' (string)
+*** 'callbacks' (pointer, hdata: "javascript_callback")
+*** 'unloading' (integer)
+*** 'prev_script' (pointer, hdata: "javascript_script")
+*** 'next_script' (pointer, hdata: "javascript_script")
+** lists:
+*** 'last_script'
+*** 'scripts'
* 'lua_callback': callback of a script
** plugin: lua
** variables: