Skip to content
Browse files

处理noscope元素的生成

  • Loading branch information...
1 parent bfea35a commit f9ad0381f71a93d626bca143f9be2ae42e20226b @RubyLouvre committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 node.js
View
2 node.js
@@ -360,7 +360,7 @@ define("node", ["support", "class", "query", "data"].concat(top.dispatchEvent ?
tr: [2, "<table><tbody>"],
td: [3, "<table><tbody><tr>"],
//IE678在用innerHTML生成节点时存在BUG,不能直接创建script,link,meta,style与HTML5的新标签
- _default: $.support.createAll ? [0, ""] : [1, "X<div>"] //div可以不用闭合
+ _default: $.support.noscope? [1, "X<div>"] :[0, ""] //div可以不用闭合
},
insertHooks = {
prepend: function(el, node) {

0 comments on commit f9ad038

Please sign in to comment.
Something went wrong with that request. Please try again.