comparison mquery.js @ 113:c0bfff39abe3

Basic in and out navigation support added to funcall expressions. Added toHTML methods to listlit and arraylit.
author Mike Pavone <pavone@retrodev.com>
date Sun, 14 Apr 2013 23:09:46 -0700
parents d715fb3c39ab
children
comparison
equal deleted inserted replaced
112:c0cf9444cf88 113:c0bfff39abe3
113 ajax('POST', url, data, onSuccess, onFail, onOthers); 113 ajax('POST', url, data, onSuccess, onFail, onOthers);
114 } 114 }
115 115
116 function newEl(tagname, props) 116 function newEl(tagname, props)
117 { 117 {
118 console.log('tagname:', tagname, 'props:', props);
119 var el = document.createElement(tagname); 118 var el = document.createElement(tagname);
120 if (typeof props == 'object') { 119 if (typeof props == 'object') {
121 each(props, function (key, val) { 120 each(props, function (key, val) {
122 el[key] = val; 121 el[key] = val;
123 }); 122 });