*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 12 Jul 2005 13:09:07 +0000 (13:09 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 12 Jul 2005 13:09:07 +0000 (13:09 +0000)
tests/js-test/js/httpd/ml_clean.js
tests/js-test/js/httpd/ml_machine.js

index 14de995..e0283c6 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: ml_clean.js,v 1.3 2005/07/12 12:13:48 mmondor Exp $ */
+/* $Id: ml_clean.js,v 1.4 2005/07/12 13:09:07 mmondor Exp $ */
 
 /*
  * Copyright (c) 2004-2005, Matthew Mondor
@@ -138,7 +138,7 @@ MLTag.prototype = {
                 * recursion to process MLTag ones, which may also have their
                 * respective bodies and closing tags.
                 */
-               for (var i = 0; i < this.contents.length; i++) {
+               for (var i in this.contents) {
                        var a = this.contents[i];
 
                        if (typeof a == 'object')
index c0ead8b..d9783e9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: ml_machine.js,v 1.3 2005/07/12 12:13:48 mmondor Exp $ */
+/* $Id: ml_machine.js,v 1.4 2005/07/12 13:09:07 mmondor Exp $ */
 
 /*
  * Copyright (c) 2004-2005, Matthew Mondor
@@ -95,7 +95,7 @@ MLTag.prototype = {
                 * recursion to process MLTag ones, which may also have their
                 * respective bodies and closing tags.
                 */
-               for (var i = 0; i < this.contents.length; i++) {
+               for (var i in this.contents) {
                        var a = this.contents[i];
 
                        if (typeof a == 'object')