Skip to content

Instantly share code, notes, and snippets.

View crissmancd's full-sized avatar

Chad Crissman crissmancd

View GitHub Profile
#= Trying to put the last condition into its own function
#= Leaving the "not" in the last condition in the list WORKS:
parentIsText = ->
$(target.parentNode).hasClass("cke_dialog_ui_input_text")
true if elementIsNotTarget and elementHasNoTarget and parentIsNotSelect and not parentIsText
#= Putting the "not" inside the last condition function DOES NOT WORK
parentIsNotText = ->
@crissmancd
crissmancd / simple-grid.scss
Last active February 23, 2017 20:35
Simple grid example
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.row {
margin-left: -20px;
margin-right: -20px;