miickel / gulp-angular-templatecache

Concatenates and registers AngularJS templates in the $templateCache.
MIT License
524 stars 103 forks source link

Allow empty header and footer #160

Closed tandrewnichols closed 5 years ago

tandrewnichols commented 5 years ago

@simonua - Use "in" instead of "||" since empty string is falsy

Fixes #147

simonua commented 5 years ago

@tandrewnichols, thank you very much for the PR and the added test within the PR! Using in is advantageous here, I agree.