made with esnextbin
This file contains hidden or 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
handleScroll = (evt) => { | |
// Calculate new scrollTop positions | |
// for left and right panes based on | |
// DOM nodes and evt.target.scrollTop | |
this.leftPaneScrollTop = … | |
this.rightPaneScrollTop = … | |
} |
This file contains hidden or 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
class ScrollPane extends React.Component { | |
componentDidUpdate() { | |
// Each time we get new props we set the | |
// new scrollTop position on the DOM element | |
this.el.scrollTop = this.props.scrollTop | |
} | |
render() { | |
<div ref={(el) => {this.el = el}}> | |
} | |
} |
This file contains hidden or 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
{ | |
"devDependencies": { | |
"ghooks": "^1.3.2" | |
}, | |
"config": { | |
"ghooks": { | |
"post-checkout": "./script/yarn-update.hook.sh $2 $3" | |
} | |
} | |
} |
This file contains hidden or 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
[core] | |
excludesfile = ~/.gitignore | |
autocrlf = false | |
pager = diff-so-fancy | less --tabs=4 -RFX | |
[alias] | |
st = status -sb | |
ci = commit | |
co = checkout | |
br = branch | |
df = diff --word-diff |
made with esnextbin
made with esnextbin
made with esnextbin
This file contains hidden or 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
<Card> | |
<h4 className="TaskListItem_title"> | |
<span className="TaskListItem_icon-type"> | |
<Icon name={iconMap[type]}/> | |
</span> | |
{title} <span className="TaskListItem_id">#{id}</span> | |
</h4> | |
<div className="TaskListItem_stats"> | |
<p className="TaskListItem_stat-item"><Icon name="code-fork"/> {commits}</p> |
This file contains hidden or 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
> webpack | |
Hash: 92670583f688a262fdad | |
Version: webpack 1.10.1 | |
Time: 65ms | |
Asset Size Chunks Chunk Names | |
chunk-manifest.json 68 bytes [emitted] | |
vendor.6d107863983028982ef4.js 3.71 kB 0 [emitted] vendor | |
1.c4116058de00860e5aa8.js 107 bytes 1 [emitted] |