kriszyp / xstyle

A declarative, reactive framework that extends CSS

Home Page:http://kriszyp.github.com/xstyle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2c8377040ed6bda5fb0f28f92b44149331ae05cd introduces exception

Ognian opened this issue · comments

Hello,
starting with this commit 2c83770 I get the following exception:

bildschirmfoto 2014-09-30 um 15 59 00

where css.js is xstyle/css.js

function checkForParser(styleSheetElement){
                var parser = testElementStyle('x-parse', null, 'content');
--->                var sheet = styleSheetElement.sheet || styleSheetElement.styleSheet;

styleSheetElement is undefined to to the following call in line 70 of css.js

            if(displayStyle == "none"){
                return checkForParser();  <--- no argument
            }

Can you fix this?

Thanks
Ognian

Should be fixed with 7efa4ac (can you verify that it works for you?)

Yes, this works.
Thanks a lot
Ognian