From 9c58e5894cf4890289a5bc33da59699d7452b4b6 Mon Sep 17 00:00:00 2001 From: Cezar Cretu Date: Tue, 18 Mar 2014 04:03:53 +0200 Subject: [PATCH] XmlReader indentation fixes --- RequireJsNet/Configuration/XmlReader.cs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/RequireJsNet/Configuration/XmlReader.cs b/RequireJsNet/Configuration/XmlReader.cs index 2fa4d4b..52010c1 100644 --- a/RequireJsNet/Configuration/XmlReader.cs +++ b/RequireJsNet/Configuration/XmlReader.cs @@ -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; } @@ -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; } @@ -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; }