Skip to content

Commit

Permalink
Fix node 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeti-or committed Apr 13, 2017
1 parent 6479591 commit aef4df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
@@ -1,5 +1,5 @@
var reactMappings = require('./reactMappings');
var { valToStr } = require('./helpers');
var valToStr = require('./helpers').valToStr;

function JSXNode(tag, props, children) {
this.tag = tag || 'div';
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.js
@@ -1,6 +1,6 @@
const expect = require('chai').expect;

const { objToStr } = require('../lib/helpers');
const objToStr = require('../lib/helpers').objToStr;


describe('helpers: objToStr', () => {
Expand Down

0 comments on commit aef4df0

Please sign in to comment.