message: Fixed: js lint.
diff: @@ -17,7 +17,7 @@ export default function() {
  }
  element = element.replace('%TYPE%', type);
  return element;
  - }
  + };
  const createCollapsibleItem = (key, value, type, children) => {
  const tpl = collapsible ? 'itemCollapsibleOpen' : 'itemCollapsible';
  @@ -26,17 +26,17 @@ export default function() {
  element = element.replace('%TYPE%', type);
  element = element.replace('%CHILDREN%', children);
  return element;
  - }
  + };
  const handleChildren = (key, value, type) => {
  let children = '';
  for (const item in value) {
  - const key = item
  + const key = item;
  const val = value[key];
  children += handleItem(key, val);
  }
  return createCollapsibleItem(key, value, type, children);
  - }
  + };
  const handleItem = (key, value) => {
  const type = typeof value;
  @@ -44,9 +44,9 @@ export default function() {
  return handleChildren(key, value, type);
  }
  return createItem(key, value, type);
  - }
  + };
  - const parseObject = (responseJson) => {
  + const parseObject = responseJson => {
  let displayJson = '<div class="json">';
  for (const item in responseJson) {
  const key = item;
  @@ -55,15 +55,12 @@ export default function() {
  }
  displayJson += '</div>';
  return displayJson;
  - }
  + };
  this.refs.jsonviewer.innerHTML = parseObject(json);
  };
  - const json = this.opts.json;
  this.on('mount', () => {
  updateJsonViewer();
  - }).on('updated', () => {
  - updateJsonViewer();
  });
  }
  