hello
i have a few iFrames loading the Caja lib..
so i have tried to load the lib from the parent page, but something get 
wrong..

        console.log(window.parent.caja);
        
       window.parent.caja.initialize({
        cajaServer: 'https://caja.appspot.com/',
        debug: true
      });

and Parent

$.getScript('//caja.appspot.com/caja.js', function () {
loadFunc();
});


i got this on the consul:
Uncaught TypeError: Cannot set property 'plugin_dispatchEvent___' of 
undefined
    at makeDomicileAndEmitter (ses-single-frame.js?debug=1:29542)
    at Object.makeES5Frame (ses-single-frame.js?debug=1:29456)
    at caja.js?_=1493711102536:264

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to