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
//Thumbnail.js | |
import React from 'react'; | |
import CardMenu from './CardMenu'; | |
import { addLayer } from "../../actions/layerActions"; | |
export default class Thumbnail extends React.Component { | |
static propTypes = { | |
name: React.PropTypes.string, | |
}; |
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
//Thumbnail.js | |
import React from 'react'; | |
import CardMenu from './CardMenu'; | |
import { addLayer } from "../../actions/layerActions"; | |
export default class Thumbnail extends React.Component { | |
static propTypes = { | |
name: React.PropTypes.string, | |
}; |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
export default class Slider extends React.Component { | |
constructor(props) { |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { addLayer } from "../actions/layerActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
export default class Slider extends React.Component { | |
constructor(props) { |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { addLayer } from "../actions/layerActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
export default class Slider extends React.Component { | |
constructor(props) { |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { addLayer } from "../actions/layerActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
export default class Slider extends React.Component { | |
constructor(props) { |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { addLayer } from "../actions/layerActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
export default class Slider extends React.Component { | |
constructor(props) { |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
@connect((store) => { | |
return { | |
user: store.user, |
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
import React from "react"; | |
import Title from "./Slider/Title"; | |
import { fetchThumbs } from "../actions/thumbActions"; | |
import { connect } from "react-redux"; | |
import Thumbnail from "./Slider/Thumbnail"; | |
import _ from "lodash"; | |
@connect((store) => { | |
return { |
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
#!/usr/bin/python | |
class Cow(object): | |
""" | |
the cow needs to have 1 stomach with 4 | |
sections! | |
(but here we only have one for simplicity) | |
""" | |
def __init__(self,stomach): # <- here we injected out stomach dependency | |
#into the cow class |