I hereby claim:
- I am mars on github.
- I am marsi (https://keybase.io/marsi) on keybase.
- I have a public key whose fingerprint is DFC9 5BAD 42CF D15F 589A 9436 7F70 7FA1 F236 B857
To claim this, I am signing this object:
# Monkey-patch on Capybara!!! | |
# | |
class Capybara::Selenium::Driver < Capybara::Driver::Base | |
# Patch to avoid `@browser.navigate.to('about:blank')` which hangs sometimes. | |
# | |
def reset! | |
# Use instance variable directly so we avoid starting the browser just to reset the session | |
if @browser | |
begin @browser.manage.delete_all_cookies |
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
// Top-level Route component receives the router in context and passes it onto each child's props | |
export default class AppView extends React.Component { | |
render() { | |
return ( | |
<div className="container"> | |
{ | |
// Add `props.router` to each route component | |
React.Children.map(this.props.children, c => { |