Defer Ajax requests until initialization is complete

I think we still need pageId for comet requests (at least it's used in
calcCometPath)


On Thu, Aug 21, 2014 at 4:53 PM, Antonio Salazar Cardozo <
notifications@github.com> wrote:

> In web/webkit/src/main/resources/toserve/lift.js:
>
> >            var attributes = document.body.attributes,
> >                cometGuid, cometVersion,
> >                comets = {};
> >            for (var i = 0; i < attributes.length; ++i) {
> >              if (attributes[i].name == 'data-lift-gc') {
> >                pageId = attributes[i].value;
> > -              lift.startGc();
> > +              if (settings.enableGc) {
>
> Shall we just move this into the attributes test? (if (attributes[i].name
> == 'data-lift-gc' && settings.enableGc))
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lift/framework/pull/1616/files#r16543437>.
>