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
'use strict'; | |
import React from 'react'; | |
import Radium from 'radium'; | |
import DetailInfo from './DetailInfo.jsx'; | |
import Paddle from './Paddle.jsx'; | |
import Screen from './Screen.jsx'; | |
import ScreenInfo from './ScreenInfo.jsx'; | |
import get from 'lodash.get'; |
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
'use strict'; | |
import React, { PropTypes } from 'react'; | |
import Radium from 'radium'; | |
import get from 'lodash.get'; | |
class Screen extends React.Component { | |
render() { | |
return ( | |
<div> |
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
'use strict'; | |
import React, { PropTypes } from 'react'; | |
import Radium from 'radium'; | |
import get from 'lodash.get'; | |
const styles = { | |
info : { | |
position : 'absolute', | |
top : '213px', |
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
'use strict'; | |
import React, { PropTypes } from 'react'; | |
import Radium from 'radium'; | |
import get from 'lodash.get'; | |
const styles = { | |
idPokemon : { | |
position : 'absolute', | |
top : '467px', |
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
'use strict'; | |
import React, { PropTypes } from 'react'; | |
import Radium from 'radium'; | |
const styles = { | |
rightArrow : { | |
height : '31px', | |
width : '32px', | |
backgroundColor : 'red', |
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
'use strict'; | |
import React from 'react'; | |
import Radium from 'radium'; | |
import getPokemon from '../client/getPokemon'; | |
class Pokedex extends React.Component { | |
constructor() { | |
super(); | |
this.state = {id : 0}; |
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
'use strict'; | |
import React from 'react'; | |
import getPokemon from '../client/getPokemon'; | |
class Pokedex extends React.Component { | |
constructor() { | |
super(); | |
this.state = {id : 0}; | |
this.arrowRight = this.arrowRight.bind(this); |
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
'use strict'; | |
import request from 'superagent'; | |
const path = '/graphql'; | |
const queryParam = '?graphqlQuery='; | |
function getQuery(idPokemon) { | |
return ` | |
{ |
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
'use strict'; | |
import React from 'react'; | |
class Pokedex extends React.Component { | |
constructor() { | |
super(); | |
this.state = {id : 0}; | |
this.arrowRight = this.arrowRight.bind(this); | |
this.arrowLeft = this.arrowLeft.bind(this); |
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
<html> | |
<head> | |
<meta charset="utf8"> | |
<title>PokeReact !</title> | |
</head> | |
<body> | |
<div id="app"/> | |
<script src="/bundle.js"></script> | |
</body> | |
</html> |
NewerOlder