This file contains hidden or 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
| module.exports = (grunt) -> | |
| # Package | |
| # ======= | |
| pkg = require './package.json' | |
| folders = | |
| src: 'mpg_src' | |
| dev: 'mpg' | |
| dist: 'mpg_dist' |
This file contains hidden or 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
| alias setdocs="~/Dropbox/Scripts/set_htdocs_open_localhost.sh" |
This file contains hidden or 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
| // // ######################## | |
| // // ######################## | |
| // // ######################## | |
| // // ######################## | |
| // GALLERY SHORTCODE OVERWRITE | |
| // Bind to header | |
| add_action('wp_head', 'header_init'); | |
| // Remove default shortcode | |
| remove_shortcode('gallery', 'gallery_shortcode'); |
This file contains hidden or 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
| jst: | |
| options: | |
| processName: (filename) -> | |
| return filename.replace('<%= BASE_PATH %>/templates/','').replace('.jst','') | |
| compile: | |
| expand: true | |
| cwd: '<%= BASE_PATH %>/templates/' | |
| src: ['**/*.jst'] | |
| dest: '<%= DEVELOPMENT_PATH %>/scripts/templates/' | |
| ext: '.js' |