MCPcopy
hub / github.com/CodeboxIDE/codebox / initIframe

Function initIframe

client/vendors/socket.io.js:3634–3651  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3632 };
3633
3634 function initIframe () {
3635 if (self.iframe) {
3636 self.form.removeChild(self.iframe);
3637 }
3638
3639 try {
3640 // ie6 dynamic iframes with target="" support (thanks Chris Lambacher)
3641 iframe = document.createElement('<iframe name="'+ self.iframeId +'">');
3642 } catch (e) {
3643 iframe = document.createElement('iframe');
3644 iframe.name = self.iframeId;
3645 }
3646
3647 iframe.id = self.iframeId;
3648
3649 self.form.appendChild(iframe);
3650 self.iframe = iframe;
3651 };
3652
3653 initIframe();
3654

Callers 2

completeFunction · 0.85
socket.io.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected