easyXDM icon indicating copy to clipboard operation
easyXDM copied to clipboard

Lazy configuration may result in two iframes when two requests are sent directly after each other

Open timmolendijk opened this issue 11 years ago • 0 comments

var connection = new easyXDM.Rpc({
        remote: 'http://api.nouncy.eu/provider',
        lazy: true  // <-- the culprit
    }, {
        remote: {
            xhr: {}
        }
    });

connection.xhr("mock");
connection.xhr("mock");

This can lead to two iframes being created.

See a live demo here.

timmolendijk avatar Apr 04 '13 23:04 timmolendijk