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
open = require('open') | |
fs = require('fs') | |
module.exports = (grunt) -> | |
grunt.initConfig | |
openFiles: | |
options: | |
filename: "index.html" | |
appName: "Firefox" | |
path: "./" |
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
"use strict" | |
module.exports = (grunt) -> | |
# load all grunt tasks | |
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks | |
config = | |
assets: "assets" | |
dist: "public" |
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
{ | |
"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 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 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 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 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
exports.config = { | |
api: "api.catalogs.com", | |
root: "http://shopii.catalogs.com", | |
port: 1234, | |
fb: { | |
appId: '246541675489369' | |
}, | |
environment: 'development' | |
}; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
"use strict" | |
module.exports = (grunt) -> | |
# load all grunt tasks | |
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks | |
# config | |
grunt.initConfig | |
watch: |
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
<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> |
OlderNewer