This is no longer needed as Emmet supports JSX - you just need to turn it all on. Did a quick tutorial: http://wesbos.com/emmet-react-jsx-sublime/
Thanks, @wesbos
- Using emmet in jsx files
- Emmet expands text when js autocomplete needed
| const FakeComponent = () => { | |
| return ( | |
| <AnimatedRoutes exitBeforeEnter initial={false}> | |
| <RouteTransition exact path="/some-route"> | |
| <NewUsers /> | |
| </RouteTransition> | |
| <RouteTransition exact path="/yo" > | |
| <Users /> | |
| </RouteTransition> | |
| </AnimatedRoutes> |
| (function($) { | |
| $.fn.serializeFiles = function() { | |
| var form = $(this), | |
| formData = new FormData() | |
| formParams = form.serializeArray(); | |
| $.each(form.find('input[type="file"]'), function(i, tag) { | |
| $.each($(tag)[0].files, function(i, file) { | |
| formData.append(tag.name, file); | |
| }); |
This is no longer needed as Emmet supports JSX - you just need to turn it all on. Did a quick tutorial: http://wesbos.com/emmet-react-jsx-sublime/
Thanks, @wesbos
| // Adding current user to www-data | |
| sudo adduser $USER www-data | |
| //change ownership to user:www-data and | |
| sudo chown $USER:www-data -R /var/www/html | |
| sudo chmod u=rwX,g=srX,o=rX -R /var/www/html | |
| // change file permissions of existing files and folders to 755/644 | |
| sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \; |