Skip to content

Commit

Permalink
[fixed] internal instance check
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Nov 21, 2016
1 parent 02c4f4c commit 1aaaee3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "bill",
"version": "3.2.4",
"version": "3.2.5",
"description": "css selectors for React Elements",
"main": "lib/index.js",
"scripts": {
"tdd": "karma start",
"test": "karma start --single-run",
"test-all": "npm run react:13 && npm test && npm run react:14 && npm test && npm run react:15.3 && npm test && npm run react:15.4 && npm test",
"test-current": "karma start --single-run",
"test": "npm run react:13 && npm run test-current && npm run react:14 && npm run test-current && npm run react:15.3 && npm run test-current && npm run react:15.4 && npm run test-current",
"lint": "eslint src",
"react:clean": "rimraf node_modules/react node_modules/react-dom",
"react:13": "npm run react:clean && npm i react@0.13.x",
Expand Down
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export let isReactInstance = obj =>
(has(obj, '_instance') ||
has(obj, '_mountOrder') ||
has(obj, '_nativeNode') ||
has(obj, '_hostNode') ||
has(obj, '_rootNodeID'));

export let getRenderedChildren = ifDef({
Expand Down

0 comments on commit 1aaaee3

Please sign in to comment.