I hereby claim:
- I am codequistador on github.
- I am jdaing (https://keybase.io/jdaing) on keybase.
- I have a public key ASB4_1qpgBM_ShcClWrAHZvpj8TE9a9aEGas0RKZTzLR6Ao
To claim this, I am signing this object:
<LearningCard | |
renderMedia={() => <LearningCardMedia data-selenium="media" url="" />} | |
renderFooter={() => <LearningCardFooter data-selenium="footer" />} | |
render () { | |
<CardFooter>{this.props.renderFooter(this.state.isFocused)}</CardFooter> |
const Stars = (props) => { | |
const numberOfStars = 1 + Math.floor(Math.random()*9); | |
return ( | |
<div className="col-5"> | |
{_.range(numberOfStars).map(i => | |
<i key={i} className="fa fa-star"></i> | |
)} | |
</div> | |
) |
const Card = (props) => { | |
return ( | |
<div style={{margin: '1em'}}> | |
<img width="75" src={props.avatar_url} /> | |
<div style={{display: 'inline-block', marginLeft: 10}}> | |
<div style={{fontSize: '1.25em', fontWeight: 'bold'}}>{props.name}</div> | |
<div>{props.company}</div> | |
</div> | |
</div> | |
); |
class Button extends React.Component { | |
handleClick = () => { | |
this.props.onClickFunction(this.props.incrementValue); | |
}; | |
render() { | |
return ( | |
<button | |
onClick={this.handleClick} > | |
+{this.props.incrementValue} |
I hereby claim:
To claim this, I am signing this object:
$(document).ready(function() { | |
var id = '#dialog'; | |
//Get the screen height and width | |
var maskHeight = $(document).height(); | |
var maskWidth = $(window).width(); | |
//Set heigth and width to mask to fill up the whole screen | |
$('#mask').css({'width':maskWidth,'height':maskHeight}); |
overlay { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background-color: rgba(88, 89, 91, .5); | |
z-index: 1; | |
} |
var event_tracking = [ | |
//id, category, label | |
[ '#pnav ul li ul li a', 'nav', 'top nav' ], | |
[ '#pnav-reg', 'cta', 'top nav registration' ], | |
[ '#hero-reg', 'cta', 'hero registration' ], | |
[ '#early-reg', 'cta', 'early registration' ], | |
[ '#why-reg', 'cta', 'why registration' ], | |
[ '#fam-reg', 'cta', 'family discovery registration' ], | |
[ '#fourday-reg', 'cta', 'four day registration' ], | |
[ '#oneday-reg', 'cta', 'one day registration' ], |
//Ensure all registered marks and trademarks have sup tags! | |
$('body *').contents().filter(function () { | |
if (((this.nodeType == 3) && this.nodeValue.match(/(®|™)/))) { | |
if (!$(this).parent().is('sup')) { | |
var newText = []; | |
$.each(this.nodeValue.split(" "), function (k, text) { | |
newText.push(text.replace(/(®|™)/, "<sup>$1</sup>")); | |
}); | |
if (newText.length > 0) { | |
var html = $(this).parent().html().replace(this.nodeValue, newText.join(" ")); |