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
'use strict' | |
module.exports = (grunt) -> | |
path = require('path') | |
# load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach grunt.loadNpmTasks | |
require('time-grunt')(grunt) | |
# config | |
grunt.initConfig |
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
<strong class="style-label">Headings</strong> | |
<h1>Header one</h1> | |
<h2>Header two</h2> | |
<h3>Header three</h3> | |
<h4>Header four</h4> | |
<h5>Header five</h5> | |
<h6>Header six</h6> | |
<strong class="style-label">Blockquotes</strong class="style-label"> | |
Single line blockquote: | |
<blockquote>Stay hungry. Stay foolish.</blockquote> |
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
var fs = require('fs'), | |
stub = require('./stub'), | |
_ = require('underscore'), | |
request = require('request'); | |
// config for local file | |
var basePath = "images/", | |
data = stub.data, | |
urlRoot = "http://cdn.catalogs.com/"; |
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
var concat = require('gulp-concat'); | |
module.exports = function() { | |
return gulp.task("concat_app", function() { | |
gulp.src(["public/js/app/classes/*.js"]) | |
.pipe(concat("classes.js")) | |
.pipe(gulp.dest("public/js")); |
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
var watch = require('gulp-watch'), | |
livereload = require('gulp-livereload'); | |
gulp = require("./gulp")([ | |
"nodemon", | |
"coffee", | |
"stylus", | |
"concat_app", | |
"concat_vendor", | |
"uglify_app", |
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
{ | |
"name": "static", | |
"version": "1.0.0", | |
"description": "Static", | |
"devDependencies": { | |
"coffee-script": "~1.3.3", | |
"grunt": "~0.4.1", | |
"matchdep": "~0.3.0", | |
"grunt-contrib-watch": "~0.5.3", | |
"grunt-concurrent": "~0.4.1", |
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
"use strict" | |
module.exports = (grunt) -> | |
# load all grunt tasks | |
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks | |
config = | |
assets: "assets" | |
dist: "public" |
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
open = require('open') | |
fs = require('fs') | |
module.exports = (grunt) -> | |
grunt.initConfig | |
openFiles: | |
options: | |
filename: "index.html" | |
appName: "Firefox" | |
path: "./" |
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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) { | |
background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-1x}"), "#{$file-1x}")); | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2), | |
only screen and ( min--moz-device-pixel-ratio: 2), |
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
"use strict" | |
module.exports = (grunt) -> | |
# load all grunt tasks | |
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks | |
# config | |
grunt.initConfig | |
watch: |