01org/appframework — pull request #659 by Philzen (2014-04-17 13:48:33+00:00)
Title: # DRY refactored condition to exit early

Getting started with [jscpd](https://github.com/kucherenko/jscpd/) if found this little code redundancy.

Refactored it into a documented function that also exits earlier.