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
| #!/bin/bash | |
| # Hoa script, Check if script is being run by root | |
| if [[ $EUID -ne 0 ]]; then | |
| printf "This script must be run as root!\n" | |
| exit 1 | |
| fi | |
| DIVIDER="\n***************************************\n\n" |
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
| <?php | |
| /** | |
| * All custom functions should be defined in this class | |
| * and tied to WP hooks/filters w/in the constructor method | |
| */ | |
| class Custom_Functions { | |
| // Custom metaboxes and fields configuration |
| <?php | |
| //write kazua | |
| function convGtJDate($src) { | |
| list($year, $month, $day) = explode('/', $src); | |
| if (!@checkdate($month, $day, $year) || $year < 1869 || strlen($year) !== 4 | |
| || strlen($month) !== 2 || strlen($day) !== 2) return false; | |
| $date = str_replace('/', '', $src); | |
| if ($date >= 19890108) { | |
| $gengo = '平成'; |