Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only query value from builder when value is undefined

  • Loading branch information...
commit a82119525251924870bf3f41380d1ebd4f08b35f 1 parent 31ca0a4
@dodo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/
2  src/
@@ -126,7 +126,7 @@ class Tag extends EventEmitter
attr: (key, value) =>
if typeof key is 'string'
- if not value?
+ if value is undefined
attr = @builder?.query('attr', this, key)
# attr is not defined if attr is undefined
# attr doesn't have a value when attr is null
Please sign in to comment.
Something went wrong with that request. Please try again.