Last active
August 29, 2015 14:25
-
-
Save nstarke/97798a4faf4e3afb60c7 to your computer and use it in GitHub Desktop.
EmberJS one-liner to find unsafe handlebars parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# searches for {{{ or }}} in all .handlebars or .hbs files | |
# {{{ and }}} signify unsafe template parameters in EmberJS | |
# tested on OS X 10.10 | |
egrep -r --include "*.handlebars" --include "*.hbs" "\{\{\{|\}\}\}" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment