Browse Source

no need to remove ref during compilation

Evan You 10 years ago
parent
commit
371850b666
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/util/dom.js

+ 0 - 1
src/util/dom.js

@@ -306,7 +306,6 @@ exports.findRef = function (node) {
     for (var i = 0, l = attrs.length; i < l; i++) {
       var name = attrs[i].name
       if (refRE.test(name)) {
-        node.removeAttribute(name)
         return _.camelize(name.replace(refRE, ''))
       }
     }