Browse Source

v0.8.5b patch

Evan You 12 years ago
parent
commit
23cdb4b7a3
2 changed files with 1 additions and 13 deletions
  1. 1 13
      dist/vue.js
  2. 0 0
      dist/vue.min.js

+ 1 - 13
dist/vue.js

@@ -1289,7 +1289,7 @@ CompilerProto.bindDirective = function (directive) {
 
     // for empty or literal directives, simply call its bind()
     // and we're done.
-    if (directive.isEmpty || directive.isLiteral) {
+    if (directive.isEmpty || !directive._update) {
         if (directive.bind) directive.bind()
         return
     }
@@ -2226,13 +2226,6 @@ function Directive (definition, expression, rawKey, compiler, node) {
         return
     }
 
-    // for literal directives, all we need
-    // is the expression as the value.
-    if (this.isLiteral) {
-        this.value = expression.trim()
-        return
-    }
-
     this.expression = expression.trim()
     this.rawKey     = rawKey
     
@@ -3249,11 +3242,6 @@ module.exports = {
                     }
                 })
             }
-            // in case `$destroy` is called directly on a repeated vm
-            // make sure the vm's data is properly removed
-            item.$compiler.observer.on('hook:afterDestroy', function () {
-                col.remove(data)
-            })
         }
     },
 

File diff suppressed because it is too large
+ 0 - 0
dist/vue.min.js


Some files were not shown because too many files changed in this diff