// self.schema = schema = schema || new Schema();
};
-Roo.apply(Roo.htmleditor.TidySerializer.prototype, {
+Roo.htmleditor.TidySerializer.prototype = {
/**
* @param {boolean} inner do the inner of the node.
*/
inner : false,
- writer : false;
+ writer : false,
/**
* Serializes the specified node into a string.
writer.end(name);
return;
}
-
- do {
- walk(node);
- } while (node = node.next);
- }
- writer.end(name);
+ while (node) {
+ walk(node);
+ node = node.nextNode;
}
- }
+ writer.end(name);
+
+
}
// Serialize element and treat all non elements as fragments
-};
-};
+};