Skip to content

Commit

Permalink
Rename image -> esper
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Feb 28, 2017
1 parent 0d566a7 commit 7f3bba1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/components/image/image.js → src/components/esper/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const React = require('react')
const { PropTypes } = React
const { Toolbar } = require('../toolbar')

const Image = ({ photo, isVisible }) => (
<section id="image">
const EsperImage = ({ photo, isVisible }) => (
<section id="esper">
<header>
<Toolbar draggable={ARGS.frameless}/>
</header>
Expand All @@ -16,15 +16,15 @@ const Image = ({ photo, isVisible }) => (
</section>
)

Image.propTypes = {
EsperImage.propTypes = {
photo: PropTypes.object,
isVisible: PropTypes.bool
}

Image.defaultProps = {
EsperImage.defaultProps = {
isVisible: false
}

module.exports = {
Image
EsperImage
}
File renamed without changes.
4 changes: 2 additions & 2 deletions src/components/item/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const React = require('react')
const { PureComponent, PropTypes } = React
const { ItemPanel } = require('./panel')
const { Resizable } = require('../resizable')
const { Image } = require('../image')
const { EsperImage } = require('../esper')
const { NotePad } = require('../note')
const { MODE } = require('../../constants/project')
const { pick } = require('../../common/util')
Expand Down Expand Up @@ -68,7 +68,7 @@ class ItemView extends PureComponent {
onResize={this.handleEsperResize}
min={20}
max={90}>
<Image isVisible photo={photo}/>
<EsperImage isVisible photo={photo}/>
</Resizable>
<NotePad/>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/stylesheets/components/_image.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// Image
// Esper
// --------------------------------------------------

#image {
height: 50%;
#esper {
height: 100%;
background: $image-bg;
display: flex;
justify-content: center;
Expand Down

0 comments on commit 7f3bba1

Please sign in to comment.