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
### Create GZIP Content Helper | |
### Add this snippet to the config.rb | |
### Add the activate :gzip to the build section | |
helpers do | |
def gzip_css_on_build(key, media = "screen") | |
o = stylesheet_link_tag(key, { :media => media }) | |
o.sub!(".css", ".css.gz") if build? | |
o |
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
/** | |
* Stripe | |
* | |
* @param object opts Options Object | |
* @see https://support.stripe.com/questions/which-currencies-does-stripe-support | |
* @todo Make functions variables in this | |
*/ | |
Stripe : function ( opts ) | |
{ |
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
## | |
# Middleman Thor file | |
# Provides specific tasks in the development life cycle of a middleman project | |
# | |
# @usage $ thor list | |
# @author Ian Warner <[email protected]> | |
# @author Marek Piechocki <[email protected]> | |
# @see http://whatisthor.com/ | |
## |
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
/** | |
* Post install script | |
*/ | |
// Import | |
import fs from 'fs-extra' | |
// UI | |
import { formatDateStandard } from 'industry-ui/components/utils/formatDate' |