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
### Keybase proof | |
I hereby claim: | |
* I am chrisfey on github. | |
* I am chrisfeyuk (https://keybase.io/chrisfeyuk) on keybase. | |
* I have a public key ASD8GbXsaVdWE-JO-nyC8K-RShiUJ_v2kdujwwxE_wiuCgo | |
To claim this, I am signing this object: |
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
#!/bin/sh | |
for file in `git diff --name-only --cached --relative | grep '\.kt[s"]\?$'`; do | |
echo "Formatting: $file" | |
ktlint -F --relative $file | |
git add -u $file | |
done |
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
angular.module('ng-twitter') | |
.directive('twitter', function() { | |
return { | |
template: '<div><div class="ng-twt-widget-preview"><!-- twitter preview will go in this element --></div></div>', | |
restrict: 'A', | |
controller: 'TwitterController', | |
scope: { | |
widgetId: '=' | |
}, | |
link: function(scope, element, attrs) { |