Skip to content
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

IE, local html, cssRules access is denied #155

Merged
merged 1 commit into from
Apr 19, 2015
Merged

IE, local html, cssRules access is denied #155

merged 1 commit into from
Apr 19, 2015

Commits on Apr 19, 2015

  1. IE, local html, cssRules access is denied

    IE, open html file directly from hard disk(insead of from a http server), cssRules access is denied.
    
    Thus an expection is thrown. But in the catch statement, another one is thrown again thus caused the whole mermaid code break. 
    
    In this line `console.warn('Invalid CSS selector "' + rule.selectorText + '"', err);`  rule is undefined, so exception will be thrown if we don't check.
    tylerlong committed Apr 19, 2015
    Configuration menu
    Copy the full SHA
    e0d90de View commit details
    Browse the repository at this point in the history