Updating comments w/ content shape alternate examples and a little addtl. cleanup

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-19 11:09:59 -07:00
parent 01f39dd860
commit 91a88c2e90
3 changed files with 6 additions and 7 deletions

View File

@@ -12,7 +12,6 @@ using Orchard.Settings;
using Orchard.UI;
using Orchard.UI.Resources;
using Orchard.UI.Zones;
using Orchard.Utility.Extensions;
// ReSharper disable InconsistentNaming
@@ -75,9 +74,10 @@ namespace Orchard.Core.Shapes {
// 'List' shapes start with several empty collections
builder.Describe("List")
.OnCreated(created => {
created.Shape.Tag = "ul";
created.Shape.ItemClasses = new List<string>();
created.Shape.ItemAttributes = new Dictionary<string, string>();
var list = created.Shape;
list.Tag = "ul";
list.ItemClasses = new List<string>();
list.ItemAttributes = new Dictionary<string, string>();
});
}