diff forms.js @ 8:efe8dbd34780

Rename cx method to cnode and define it if xmpp.js didn’t.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 26 Aug 2010 23:50:04 +0200
parents 9ee956af41e3
children 5fc4ee90c1bc
line wrap: on
line diff
--- a/forms.js
+++ b/forms.js
@@ -87,7 +87,7 @@ exports.build = function(type, desc, con
 				field.s('value').t(md.toString());
 		}
 
-		x.cx(field);
+		x.cnode(field);
 	}
 	if (field)
 		return x;