Skip to content

Commit

Permalink
Merge pull request #102 from jdiamond/dev
Browse files Browse the repository at this point in the history
Release 1.15.3
  • Loading branch information
Romanx committed Jul 21, 2015
2 parents bba83ca + 1c1d50e commit 23f9cce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Nustache.Core/JValueIdentifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ public static object GetValue(object jValue)
}

if (typeOfValue == "Integer") // JTokenType.Integer
{
return GetValue<long>(jValueType, jValueType);
{
return GetValue<long>(jValueType, jValue);
}

if (typeOfValue == "Float") // JTokenType.Float
{
return GetValue<double>(jValueType, jValueType);
{
return GetValue<double>(jValueType, jValue);
}

return null;
Expand Down

0 comments on commit 23f9cce

Please sign in to comment.