Explorar o código

adjust comment indentation

Evan You %!s(int64=10) %!d(string=hai) anos
pai
achega
dc9fc33ce8
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      src/fragment/fragment.js

+ 5 - 5
src/fragment/fragment.js

@@ -157,11 +157,11 @@ Fragment.prototype.beforeRemove = function () {
     this.childFrags[i].beforeRemove(false)
   }
   for (i = 0, l = this.children.length; i < l; i++) {
-   // Call destroy for all contained instances,
-   // with remove:false and defer:true.
-   // Defer is necessary because we need to
-   // keep the children to call detach hooks
-   // on them.
+    // Call destroy for all contained instances,
+    // with remove:false and defer:true.
+    // Defer is necessary because we need to
+    // keep the children to call detach hooks
+    // on them.
     this.children[i].$destroy(false, true)
   }
   var dirs = this.unlink.dirs