Skip to content

Commit

Permalink
fix(utils): Minor formatting improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
byrondover authored and davideast committed Jan 23, 2017
1 parent 253401f commit fc3774a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export function unwrapMapFn (snapshot:firebase.database.DataSnapshot): AFUnwrapp
$value: unwrapped
};
}
Object.defineProperty(unwrapped, '$key', {value: snapshot.ref.key, enumerable: false});
Object.defineProperty(unwrapped, '$key', {
value: snapshot.ref.key,
enumerable: false
});
Object.defineProperty(unwrapped, '$exists', {
value: () => {
return snapshot.exists();
Expand Down

0 comments on commit fc3774a

Please sign in to comment.