Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Register Event Callback is not firing when i add the vunits.js file using javascript #6106

Open
shmdhussain opened this issue Jan 4, 2016 · 0 comments

Comments

@shmdhussain
Copy link

The register event is not firing when I am testing the browser is supporting the viewport units using modernizr and adding the fallback as below

`if(Modernizr && Modernizr.viewportunits){
setTimeout(function(){
addScript('scripts/lib/viewportFallback/vunits.js');
}, 1000)

    alert("not supported vw");
}
else{
  alert("supported vw");
}`

I added the prefixfree.js in the index page initially, i am doing angular application.

The register event is fired when i included it in index page but not fired when i included by javascriopt as above

Thanks in advance for any help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant