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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Default HTML File</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="stylesheets/screen.css"> | |
</head> | |
<body> |
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
@mixin clearfix() { | |
&:before, | |
&:after { | |
content: ""; | |
display: table; | |
} | |
&:after { | |
clear: both; | |
} | |
} |
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
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-ms-box-sizing: border-box; | |
-o-box-sizing: border-box; | |
box-sizing: border-box | |
} | |
body { | |
background-color: #fff; |
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
doctype | |
html(lang="en") | |
head | |
title Default Jade File | |
meta(charset="utf-8") | |
meta(name="viewport",content-width="width=device-width") | |
//link(rel="stylesheet", href="style/style.css") | |
body | |
h1 Hello World!!!!! |
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
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"path": ".", | |
"folder_exclude_patterns": | |
[ | |
"node_modules", | |
".sass-cache" |
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": "ProjectName", | |
"description": "Just testing out my workflow.", | |
"version": "0.1.0", | |
"author": "Jason Landry", | |
"private": true, | |
"devDependencies": { | |
"grunt": "~0.4.x", | |
"grunt-contrib-sass": "~0.7.x", | |
"grunt-contrib-watch": "~0.6.x", |
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
module.exports = function(grunt) { | |
// configure the tasks | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// copy from the source directory to build | |
copy: { | |
build: { |
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
//Include jQuery if needed. Including it here will reduce HTTP requests | |
var base = { | |
init: function () { | |
//Do stuff | |
} | |
}; |
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
// Plugin for removing orphans from pieces of text. | |
// Inspired by http://www.learningjquery.com/2008/07/three-quick-ways-to-avoid-widows | |
// Author: Jason Landry | |
// Web: http://inkbase.com | |
(function( $ ){ | |
$.fn.adoptOrphans = function() { | |
this.each(function() { | |
var result = ''; | |
var array = $(this).html().split(' '); | |
var lWord = array.pop(); |
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
.ir { | |
font: 0/0 a; | |
color: transparent; | |
background-color: transparent; | |
} |