mikaeljorhult / brackets-todo

Brackets/Edge Code extension that displays all TODO comments in current document or project.
144 stars 37 forks source link

Fix Bug: "case":"false" in .todo file is invalid #33

Closed anzhihun closed 10 years ago

anzhihun commented 10 years ago

Because userSettings.case is 'false', it is a string. So it is not equal to the false of boolean. The code "settings.case !== false" is always true.

mikaeljorhult commented 10 years ago

As long as you use false, with out ", it will work so I think it's just a typo in the readme. Will update. Thanks for reporting it!