import { iter } from "./access";

// iter form and replace fieldset types
export function process(node){
	iter.bind(this)(node,function(node){
		if(node.type == 6){
			// this is mutative
			if (node.inode.dataset.appearance == "hidden") {
				node.inode.disabled = true;
				node.inode.hidden = true;
			}
		}
	});
}

@@ -1,8 +1,43 @@
+import %7B ensureDoc %7D from %22./doc%22;%0A
 import %7B
@@ -344,10 +344,46 @@
 %09%7D%0A%09%7D);%0A
+%09return ensureDoc.bind(this)(node);%0A
 %7D%0A

return node as well