if (typeof define === 'function' && define.amd) {
define([],factory);
}
this option is not working some of the websites, i checked in the console as well
Steps to reproduce,
Go to Facebook.com
open console
paste the iframeResizer.js in the console and hit enter
now check iFrameResize object is still undefined, please let me know what is the issue, i am facing this with some website which having below object
define.amd
Object { vendor: "dojotoolkit.org"__proto__: Object... }
Looks like a bug with the Dojo toolkit.
Same problem here.
Can you give us some more details about the bug within the Dojo toolkit @davidjbradshaw ? Maybe a link to their issue or some bug tracker? That would make it easier to find out what the problem is and when it might be resolved.
Thanks in advance :+1:
Seriously. I've just spent 2 hours in the debugger to figure out that iframe-resizer isn't quite getting initialized correctly. It would be great to have any idea what's going on here, or that there's a way to fix it.
Anyone who ends up here in the future #468 Has more information.
Most helpful comment
Same problem here.
Can you give us some more details about the bug within the Dojo toolkit @davidjbradshaw ? Maybe a link to their issue or some bug tracker? That would make it easier to find out what the problem is and when it might be resolved.
Thanks in advance :+1: