Clarify widget constructor docs

print-window-tiddler
Jermolene 2014-07-25 15:26:53 +01:00
rodzic be040ea8a2
commit 40b4259e86
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -18,11 +18,8 @@ Create a widget object for a parse tree node
options: see below
Options include:
wiki: mandatory reference to wiki associated with this render tree
variables: optional hashmap of context variables (see below)
parentWidget: optional reference to a parent renderer node for the context chain
document: optional document object to use instead of global document
Context variables include:
currentTiddler: title of the tiddler providing the context
*/
var Widget = function(parseTreeNode,options) {
if(arguments.length > 0) {