From 18f3e273c7ec22b7121438d517eaeb7832f18d99 Mon Sep 17 00:00:00 2001 From: James Halliday Date: Fri, 10 Jun 2011 20:56:47 -0700 Subject: [PATCH] note about stopHere for update() in the readme --- README.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 5728639..d67d79e 100644 --- a/README.markdown +++ b/README.markdown @@ -102,11 +102,14 @@ this.circular If the node equals one of its parents, the `circular` attribute is set to the context of that parent and the traversal progresses no deeper. -this.update(value) ------------------- +this.update(value, stopHere=false) +---------------------------------- Set a new value for the present node. +All the elements in `value` will be recursively traversed unless `stopHere` is +true. + this.remove() -------------