Skip to content

Commit 96c13b3

Browse files
committed
Revert "Handle single widget arguments to force (#29)"
This reverts commit 043e503.
1 parent 043e503 commit 96c13b3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,10 @@ enable caching of values returned by a widget type
125125
**Force update of widgets:**
126126

127127
```Lua
128-
vicious.force(widget)
129-
vicious.force({ widget1, widget2 })
128+
vicious.force({ widget, })
130129
```
131130

132-
widget argument is a single widget or a table with one or more widgets that
133-
will be updated
131+
widget argument is a table with one or more widgets that will be updated
134132

135133

136134
Widget types

init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ function vicious.force(wtable)
234234
for _, w in pairs(wtable) do
235235
update(w, nil, true)
236236
end
237-
else
238-
update(wtable, nil, true)
239237
end
240238
end
241239
-- }}}

0 commit comments

Comments
 (0)