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
// This is a remake concept of http://ihi.im/app.js using [jtmpl](http://jtmpl.com) as only dependency | |
(function () { | |
var model = { | |
// Route: share | |
'#share': function () { | |
this.route = '#share-template' |
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
py_files=`git diff --name-only HEAD|grep '.py$'` | |
grep -n 'pdb.set_trace()' $py_files && echo -e "\033[1;31m Debugger statements!!!\033[0m" && exit 1 | |
pyflakes $py_files && exit || echo -e "\033[1;31m Lint error!\033[0m" | |
exit 1 |
NewerOlder