]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove debugger
authorEvan You <yyx990803@gmail.com>
Thu, 10 Oct 2019 19:37:17 +0000 (15:37 -0400)
committerEvan You <yyx990803@gmail.com>
Thu, 10 Oct 2019 19:37:28 +0000 (15:37 -0400)
packages/runtime-dom/src/nodeOps.ts

index 7e6b6ed3ce06dce10fe671b7df2484ea428b5fdc..accc701955cc3a29f298cb64e2f4c51be562cfd7 100644 (file)
@@ -4,11 +4,7 @@ const svgNS = 'http://www.w3.org/2000/svg'
 export const nodeOps = {
   insert: (child: Node, parent: Node, anchor?: Node) => {
     if (anchor != null) {
-      try {
-        parent.insertBefore(child, anchor)
-      } catch (e) {
-        debugger
-      }
+      parent.insertBefore(child, anchor)
     } else {
       parent.appendChild(child)
     }