Merge pull request #1209 from pygy/fix-is
`is` should be passed as `{is: is}`
This commit is contained in:
commit
6da45aa871
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ module.exports = function($window) {
|
|||
var is = attrs && attrs.is
|
||||
|
||||
var element = ns ?
|
||||
is ? $doc.createElementNS(ns, tag, is) : $doc.createElementNS(ns, tag) :
|
||||
is ? $doc.createElement(tag, is) : $doc.createElement(tag)
|
||||
is ? $doc.createElementNS(ns, tag, {is: is}) : $doc.createElementNS(ns, tag) :
|
||||
is ? $doc.createElement(tag, {is: is}) : $doc.createElement(tag)
|
||||
vnode.dom = element
|
||||
|
||||
if (attrs != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue