Quantcast

[HtmlUnit] SVN: [14120] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ javascript/host/dom/NodeListTest.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[HtmlUnit] SVN: [14120] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ javascript/host/dom/NodeListTest.java

asashour-2
Revision: 14120
          http://sourceforge.net/p/htmlunit/code/14120
Author:   asashour
Date:     2017-04-16 08:59:17 +0000 (Sun, 16 Apr 2017)
Log Message:
-----------
code style

Modified Paths:
--------------
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/NodeListTest.java

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/NodeListTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/NodeListTest.java 2017-04-16 08:24:19 UTC (rev 14119)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/NodeListTest.java 2017-04-16 08:59:17 UTC (rev 14120)
@@ -119,12 +119,12 @@
         final String html = "<html><head><title>test</title>\n"
             + "<script>\n"
             + "  function test() {\n"
-            + "   var nodeList = document.querySelectorAll('*');\n"
-            + "   if (nodeList.forEach) {\n"
-            + "     nodeList.forEach(myFunction, 'something');\n"
-            + "   } else {\n"
-            + "     alert('no forEach');\n"
-            + "   }\n"
+            + "    var nodeList = document.querySelectorAll('*');\n"
+            + "    if (nodeList.forEach) {\n"
+            + "      nodeList.forEach(myFunction, 'something');\n"
+            + "    } else {\n"
+            + "      alert('no forEach');\n"
+            + "    }\n"
             + "  }\n"
             + "  function myFunction(value, index, list, arg) {\n"
             + "    alert(value + ' ' + index + ' ' + list + ' ' + arg);\n"


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop
Loading...