Add double quotes #2
This commit is contained in:
parent
383b5e3bd2
commit
81c310c500
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
"use strict";
|
||||||
|
|
||||||
var React = require('react-native');
|
var React = require("react-native");
|
||||||
var {
|
var {
|
||||||
Image,
|
Image,
|
||||||
PixelRatio,
|
PixelRatio,
|
||||||
|
@ -10,8 +10,8 @@ var {
|
||||||
View
|
View
|
||||||
} = React;
|
} = React;
|
||||||
|
|
||||||
var getImage = require('./helpers/getImage'),
|
var getImage = require("./helpers/getImage"),
|
||||||
screen = require('Dimensions').get('window');
|
screen = require("Dimensions").get("window");
|
||||||
|
|
||||||
var ShotCell = React.createClass({
|
var ShotCell = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
|
@ -38,16 +38,16 @@ var styles = StyleSheet.create({
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
row: {
|
row: {
|
||||||
backgroundColor: 'white',
|
backgroundColor: "white",
|
||||||
flexDirection: 'column'
|
flexDirection: "column"
|
||||||
},
|
},
|
||||||
cellImage: {
|
cellImage: {
|
||||||
backgroundColor: 'transparent',
|
|
||||||
height: 300,
|
height: 300,
|
||||||
width: screen.width
|
width: screen.width,
|
||||||
|
backgroundColor: "transparent"
|
||||||
},
|
},
|
||||||
cellBorder: {
|
cellBorder: {
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
backgroundColor: "rgba(0, 0, 0, 0.2)",
|
||||||
// Trick to get the thinest line the device can display
|
// Trick to get the thinest line the device can display
|
||||||
height: 1 / PixelRatio.get(),
|
height: 1 / PixelRatio.get(),
|
||||||
marginLeft: 4,
|
marginLeft: 4,
|
||||||
|
|
Loading…
Reference in New Issue