-/* $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
* 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')
-/* $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
* 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')