Skip to content

Commit

Permalink
#24: Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftyp committed Nov 6, 2016
1 parent 2d1c04a commit 9c4f7c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/state/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const createInitialTree = ({
provisionalNode
}) => {
const pauser = new Rx.BehaviorSubject(true);
if (rootPauser) rootPauser.subscribe(pauser.onNext.bind(pauser));
if (rootPauser) rootPauser.subscribe(pauser.onNext.bind(pauser));
if (!hookMap) {
hookMap = new WeakMap();
}
Expand Down
8 changes: 4 additions & 4 deletions test/state/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ test('should be able to hook into tree node', t => {
const initialVal = {
a: 1,
b: {
val: 2
}
val: 2
}
};
const finalVal = {
a: 43,
b: {
val: 53
}
val: 53
}
};
const state = createState();
const action = new Rx.Subject();
Expand Down

0 comments on commit 9c4f7c0

Please sign in to comment.