This file contains 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
import React from 'react'; | |
import { connect } from 'react-redux' | |
import PropTypes from 'prop-types' | |
import Page from '../components/page'; | |
export class Index extends React.Component { | |
static contextTypes = { | |
store: PropTypes.object, | |
} |
This file contains 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
// Expected (note that 0 on the second line is directly under 9 on the first line) | |
0 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 0 | |
0 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 0 | |
0 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 0 | |
0 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 0 | |
0 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 0 | |
0 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 0 | |
0 9 8 7 6 5 4 3 2 1 2 3 4 |
This file contains 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
d=>{for(a=e=b=0,c='';a<((4*d.length+2)/3|0);c+=`${x='ABCDEFGHIJKLMNOPQRSTUVWXYZ'}${x.toLowerCase()}0123456789+/`[b>>2*(++a&3)&63])a&3^3&&(b=b<<8^d[e++]);while(a++&3)c+="=";return c} |