Iframe-resizer: define.amd is present in browser, iFrameResize is undefined

Created on 4 Nov 2016  路  4Comments  路  Source: davidjbradshaw/iframe-resizer

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... }

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:

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukashanssondn picture lukashanssondn  路  7Comments

mcodev1 picture mcodev1  路  9Comments

speedpacer picture speedpacer  路  6Comments

thomasbilk picture thomasbilk  路  4Comments

mouse0270 picture mouse0270  路  6Comments