Skip to content

Commit

Permalink
XmlReader indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CezarCretu committed Mar 18, 2014
1 parent fdcdb46 commit 9c58e58
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions RequireJsNet/Configuration/XmlReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ private RequirePaths GetPaths(XElement root)
var pathEl = root.Descendants("paths").FirstOrDefault();
if (pathEl != null)
{
paths.PathList = pathEl.Descendants("path").Select(r => new RequirePath
{
Key = r.Attribute("key").Value,
Value = r.Attribute("value").Value
}).ToList();
paths.PathList = pathEl.Descendants("path")
.Select(r => new RequirePath
{
Key = r.Attribute("key").Value,
Value = r.Attribute("value").Value
}).ToList();
}
return paths;
}
Expand All @@ -59,7 +60,8 @@ private RequireShim GetShim(XElement root)
if (shimEl != null)
{
shim.ShimEntries = shimEl.Descendants("dependencies")
.Select(ShimEntryReader).ToList();
.Select(ShimEntryReader)
.ToList();
}
return shim;
}
Expand Down Expand Up @@ -91,7 +93,8 @@ private RequireMap GetMap(XElement root)
if (mapEl != null)
{
map.MapElements = mapEl.Descendants("replace")
.Select(MapElementReader).ToList();
.Select(MapElementReader)
.ToList();
}
return map;
}
Expand Down

0 comments on commit 9c58e58

Please sign in to comment.