Change variable from snake_case to camelCase.

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
This commit is contained in:
Kristján Oddsson 2015-04-05 21:14:34 +00:00
parent dfe80af6e4
commit 7482077975
1 changed files with 4 additions and 4 deletions

View File

@ -9,14 +9,14 @@ var ContainerList = React.createClass({
render: function () { render: function () {
var self = this; var self = this;
var containers = this.props.containers.map(function (container) { var containers = this.props.containers.map(function (container) {
var container_id = container.Id; var containerId = container.Id;
if (!container_id && container.State.Downloading) { if (!containerId && container.State.Downloading) {
// Fall back to the container image name when there is no id. (when the // Fall back to the container image name when there is no id. (when the
// image is downloading). // image is downloading).
container_id = container.Image; containerId = container.Image;
} }
return ( return (
<ContainerListItem key={container_id} container={container} start={self._start} /> <ContainerListItem key={containerId} container={container} start={self._start} />
); );
}); });
var newItem; var newItem;