Ver Fonte

Remove braces

fergaldoyle há 11 anos atrás
pai
commit
041472237c
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      src/directives/repeat.js

+ 1 - 3
src/directives/repeat.js

@@ -683,9 +683,7 @@ module.exports = {
 
 function findPrevVm (vm, anchor, id) {
   var el = vm.$el.previousSibling
-  if (!el) {
-      return
-  }
+  if (!el) return
   while (
     (!el.__vue__ || el.__vue__.$options._repeatId !== id) &&
     el !== anchor