From ebd4c17d9171b7f624c7da284d372aab5298311a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 2 May 2013 17:19:40 +0400 Subject: [PATCH] documented the feature form the last commit... Signed-off-by: Alex A. Naanou --- ui/lib/jli.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/lib/jli.js b/ui/lib/jli.js index 6aca9d7b..cfa29465 100755 --- a/ui/lib/jli.js +++ b/ui/lib/jli.js @@ -66,9 +66,9 @@ // called after (post) the change is made. If two are given then the first // is called before the change and the second after the change. // The callbacks are passed the current action. -// The callback function will have this set to the same value as the toggler -// itself, e.g. if the toggler is called as a method, the callback's this -// will reference the object. +// The callback function will have 'this' set to the same value as the +// toggler itself, e.g. if the toggler is called as a method, the +// callback's 'this' will reference the object. // // NOTE: the pre-callback will get the "intent" action, i.e. the state the // we are changing into but the changes are not yet made.