+ },
+ n : 0,
+ fillAugments : function(d, ext, cb )
+ {
+ Roo.docs.init.n++;
+ if (Roo.docs.init.n > 20) {
+ return;
+ }
+ if (!ext.length) {
+ cb(d);
+ return;
+ }
+ var next = ext.shift();
+ d.augments.push(next);
+ var ax = new Roo.data.Connection({});
+ ax.request({
+ url : this.prefix + 'symbols/' + next + '.json',
+ method : 'GET',
+ success : function(res, o)
+ {
+
+ var r = Roo.decode(res.responseText);
+
+
+ // copy methods that are not constructors..
+
+ r.methods.forEach(function(m) {
+
+ if (d.methods.find(function(e) {
+ return e.name == m.name;
+ })) {
+ return;
+ }
+ if (m.isConstructor || m.static) {
+ return;
+ }
+ d.methods.push(m);
+ });
+
+ r.props.forEach(function(m) {
+ if (m.isConstant) {
+ return;
+ }
+ if (d.props.find(function(e) {
+ return e.name == m.name;
+ })) {
+ return;
+ }
+
+ d.props.push(m);
+ });
+
+ r.events.forEach(function(m) {
+ if (d.events.find(function(e) {
+ return e.name == m.name;
+ })) {
+ return;
+ }
+ d.events.push(m);
+ });
+
+
+
+ this.fillAugments(d,ext, cb)
+
+ },
+ scope : this
+ });