In first iframe "onload" fires twice. In second iframe onload fires once, but css is applied.
I'm using the same method as in importLoad.
This is the second iframe
define (['css! first', 'css! second'], function () {
// Never called because second.css is not loaded because onload not working
})
https://gist.github.com/bk201-/2aeb7b6ff1897d8aed2a
I run on localhost test.html.
In first iframe "onload" fires twice. In second iframe onload fires once, but css is applied.
I'm using the same method as in importLoad.
This is the second iframe define (['css! first', 'css! second'], function () { // Never called because second.css is not loaded because onload not working })