inliner.js
authorAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 06:22:15 +0000 (14:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 06:22:15 +0000 (14:22 +0800)
inliner.js

index 7226dd7..0632701 100644 (file)
@@ -24,7 +24,7 @@
         }
         var cn = [];
         
-        if (dom.childNodes.length > 50) {
+        if (dom.childNodes.length > 100) {
             console.log(dom);
             throw "too many child nodes?" + dom.childNodes.length ;
         }
@@ -32,7 +32,7 @@
             cn.push(dom.childNodes[i]);
         }
         
-        if (cn.length > 50) {
+        if (cn.length > 100) {
             console.log(dom);
             throw "too many child nodes? cn";
         }