Revert "Handle single widget arguments to force (#29)"

This reverts commit 043e50322d.
This commit is contained in:
Jörg Thalheim 2017-02-22 20:41:35 +01:00
parent 043e50322d
commit 96c13b326b
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 2 additions and 6 deletions

View File

@ -125,12 +125,10 @@ enable caching of values returned by a widget type
**Force update of widgets:**
```Lua
vicious.force(widget)
vicious.force({ widget1, widget2 })
vicious.force({ widget, })
```
widget argument is a single widget or a table with one or more widgets that
will be updated
widget argument is a table with one or more widgets that will be updated
Widget types

View File

@ -234,8 +234,6 @@ function vicious.force(wtable)
for _, w in pairs(wtable) do
update(w, nil, true)
end
else
update(wtable, nil, true)
end
end
-- }}}