Handle Event Not Ready

<String> LViS.Event.ON_NOT_READY

LViS.Event.ON_NOT_READY is fired to tell The App that it should not call methods on the platform. Event object until it receives Handle Event Ready JavaScript event.

It is triggered in these cases:

Example

var currentEvent = LViS.getEvent(),
    newEvent = LViS.Listings.get('266f5619-d056-41f9-b379-ace5238c28a8');

currentEvent.bind(LViS.Event.ON_NOT_READY, function () {
  // this JS event will be fired immidiately 
  // after a new event will be set as active
});

LViS.setEvent(newEvent);