luci-base: uci.js: add extended section syntax support, improve loading
[oweals/luci.git] / modules / luci-base / luasrc / util.luadoc
index c4f28d039a635297e1b58704a025deeca76e3d72..4ec68dd1efc0ed356876d584e8dee1e5e0a67b77 100644 (file)
@@ -158,7 +158,7 @@ Return a matching iterator for the given value.
 
 The iterator will return one token per invocation, the tokens are separated by
 whitespace. If the input value is a table, it is transformed into a string first.
-A nil value will result in a valid interator which aborts with the first invocation.
+A nil value will result in a valid iterator which aborts with the first invocation.
 
 @class                         function
 @name                          imatch
@@ -289,7 +289,7 @@ will be stripped before it is returned.
 ]]
 
 ---[[
-Strips unnescessary lua bytecode from given string.
+Strips unnecessary lua bytecode from given string.
 
 Information like line numbers and debugging numbers will be discarded.
 Original version by Peter Cawley (http://lua-users.org/lists/lua-l/2008-02/msg01158.html)