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

add null check #389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Nov 6, 2015

  1. add null check

    The reason for adding this null check is that sometimes, for eg. in case of building yuidoc for https://github.com/photonstorm/phaser, when you try to toggle from 'classes' panel to 'modules' panel, the following error is being thrown -:
    
    ```Uncaught TypeError: Cannot read property 'toLowerCase' of null```.
    
    For catching this error, I think adding a null check would be a good solution. Although I think, there might be some other reason which is leading to the error in the above case. Please check this. For your reference, version of my yuidoc is 0.9.0 .
    papriwalprateek committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    ee6d8e6 View commit details
    Browse the repository at this point in the history