Skip to content

Commit

Permalink
Fix an issue with Tome's Root property
Browse files Browse the repository at this point in the history
  • Loading branch information
kefniark committed Oct 31, 2016
1 parent f3498c7 commit 01436bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tomes/TomeArray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public TomeArray(JArray data, JToken root)
//
for (var i = 0; i < data.Count; i += 1)
{
Add(Tome.Conjure(data[i], root));
Add(Tome.Conjure(data[i], this.root));
}

//
Expand Down
2 changes: 1 addition & 1 deletion Tomes/TomeObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public TomeObject(JObject data, JToken root)
//
foreach (JProperty property in data.Properties())
{
Add(property.Name, Tome.Conjure(property.Value, root));
Add(property.Name, Tome.Conjure(property.Value, this.root));
}

//
Expand Down

0 comments on commit 01436bb

Please sign in to comment.