What is routeNotSet error?

When using Guided Learning in a Single Page Application (SPA), one must call

iridize('api.route.wait', {}) 

This tells Guided Learning that this is an SPA and to wait for the route to be set before loading any content.

If within 5 seconds after the page loaded the route is still not set Guided Learning will issue the routeNotSet error to the browser's console. This error log was added to assist developers in embedding Guided Learning. The error does not affect the loading of Guided Learning and as soon as 'api.route.update' is called the content will be loaded correctly.

To configure this timeout set iridize.setRouteTimeoutMillis in your embed code.