-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document.defaultView.getComputedStyle is null #9
Comments
I get an error
https://github.com/kudago/waterfall/blob/master/jquery.waterfall.js#L564 |
me too. |
I'm getting the same error.
https://github.com/kudago/waterfall/blob/master/jquery.waterfall.js#L960 |
I figured out my error issue My theme file had my concatenated script loading in the head along with jQuery. Once I moved the files to the footer there was no error. I assume it's because the scripts were blocking the DOM from finish loading so once the scripts fired there wasn't a |
Probably not specific to this plugin, is anyone getting a
null
returned from callingdocument.defaultView.getComputedStyle
?https://github.com/dfcreative/jquery.waterfall/blob/master/jquery.waterfall.js#L572
It happens when i am running a Jasmine test.
Hacky but not sure if its right to wrap it with a conditional..
if(style != null)
?The text was updated successfully, but these errors were encountered: