From 539cfde7a4b70bd0518430f92ab222596f754b4b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 10 Feb 2013 03:05:15 +0400 Subject: [PATCH] fixed an error in docs... --- lib/jli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jli.js b/lib/jli.js index e1c65ca..f6b7e42 100755 --- a/lib/jli.js +++ b/lib/jli.js @@ -19,7 +19,7 @@ // // elem is a jquery compatible object; default use-case: a css selector. // -// if class_list is a list, the resulting function understands the +// if class_list is a string, the resulting function understands the // folowing arguments: // - : 0 for 'off' and 1 for 'on' (see below) // - 'on' : switch mode on -- add class @@ -27,7 +27,7 @@ // - '?' : return current state ('on'|'off') // - no arguments : toggle the state // -// otherwise: +// otherwise, if class_list is a list of strings: // - : explicitly set the state to index in class_list // - : explicitly set a class from the list // - '?' : return current state ('on'|'off')