diff options
Diffstat (limited to 'app/html.moon')
| -rw-r--r-- | app/html.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/html.moon b/app/html.moon index cf4a6e6..3565f32 100644 --- a/app/html.moon +++ b/app/html.moon @@ -4,7 +4,7 @@ element = (element) -> (attrs = {}, ...) -> if 'table' != type attrs attrs = { attrs, ... } with e = document\createElement element - for k,v in pairs(attrs) + for k,v in pairs attrs continue unless 'string' == type k e[k] = v for child in *attrs |
