git flow feature start <branchname>
starts a new branch
git commit -am "commit message"
make commits as usual
git pull
from master branch, pull in latest changes from the repo (repeat often)
git pull origin <branchname>
<html style="overflow-x:hidden"></html> |
var genericHandler = function(evt) { | |
evt.preventDefault ? evt.preventDefault() : evt.returnValue = false; | |
}; |
addListener = (elt, type, fn) -> | |
if elt.addEventListener then elt.addEventListener(type, fn, false) | |
else if elt.attachEvent then elt.attachEvent('on' + type, fn) |
debug = if console?.log? then true else false | |
# ... # | |
console.log "error" if debug |
git flow feature start <branchname>
starts a new branch
git commit -am "commit message"
make commits as usual
git pull
from master branch, pull in latest changes from the repo (repeat often)
git pull origin <branchname>
window.setTimeout( | |
function() { | |
(Math.floor(Math.random()*(100)) % 2 ) ? console.log('Chipotle') : console.log('Venue'); | |
}, | |
3600000 // deliberate for an hour before deciding | |
); |
li { | |
display: block; | |
height: 50px; | |
line-height: 50px; /* line-height is the same as the height of this element */ | |
text-align: center; | |
width: 140px; | |
} | |
li a { | |
display: block; /* fills the li */ |
nav { | |
border: 4px solid #333; | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
-ms-box-sizing: border-box; | |
box-sizing: border-box; | |
padding: 0 8px; | |
width: 100% | |
} |
// test to see if the browser supports native html5 placeholders | |
jQuery.support.placeholder = (function(){ | |
var i = document.createElement('input'); | |
return 'placeholder' in i; | |
})(); | |
// if the browser doesn't support placeholders (IE9!!!!!!), do them manually | |
if (!$.support.placeholder) { | |
$("input").each(function(){ | |
var current = $(this); |