From: Alan Knowles Date: Thu, 21 Feb 2019 07:29:56 +0000 (+0800) Subject: roojs-bootstrap.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=3479adf40af6b5d00c170045b9bfca500d1dabd4 roojs-bootstrap.js roojs-bootstrap-debug.js roojs-calendar.js roojs-calendar-debug.js --- diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 5ff5fadb95..4533e2648c 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -177,6 +177,8 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, { * = some of our projects use a flat rendering of the output, and try and overlay it with dynamic data. * -- this is a bit of a nightmare... and is even more confusing to debug.. * + * + * */ addxtype : function(tree,cntr) { @@ -250,7 +252,13 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, { return ret; }, - + /** + * add a child to this element + * - turn the child.cfg into a child_instance + * - call child_instance.render( this { getContainerMethod()} ) + * - loop through the children, and call addxtype.. (reall this) on newly created child. + * + */ addxtypeChild : function (tree, cntr, is_body) { diff --git a/roojs-calendar-debug.js b/roojs-calendar-debug.js index b1dd605f60..3aa3fa9675 100644 --- a/roojs-calendar-debug.js +++ b/roojs-calendar-debug.js @@ -163,6 +163,8 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, { * = some of our projects use a flat rendering of the output, and try and overlay it with dynamic data. * -- this is a bit of a nightmare... and is even more confusing to debug.. * + * + * */ addxtype : function(tree,cntr) { @@ -236,7 +238,13 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, { return ret; }, - + /** + * add a child to this element + * - turn the child.cfg into a child_instance + * - call child_instance.render( this { getContainerMethod()} ) + * - loop through the children, and call addxtype.. (reall this) on newly created child. + * + */ addxtypeChild : function (tree, cntr, is_body) {