From 1acb590d876a13e57071921c0592bc6e93f84b0d Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Mon, 5 Jan 2015 14:45:19 -0800 Subject: [PATCH] Fix #843 Revert accidental changes to doc comments. --- src/js/WinJS/Controls/ListView.js | 2 +- src/js/WinJS/Controls/ListView/_Layouts.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/js/WinJS/Controls/ListView.js b/src/js/WinJS/Controls/ListView.js index 38dc807ab..85a8cc125 100644 --- a/src/js/WinJS/Controls/ListView.js +++ b/src/js/WinJS/Controls/ListView.js @@ -518,7 +518,7 @@ define([ } }, - /// + /// /// Gets or sets how the ListView reacts when the user taps or clicks an item. /// The tap or click can invoke the item, select it and invoke it, or have no /// effect. diff --git a/src/js/WinJS/Controls/ListView/_Layouts.js b/src/js/WinJS/Controls/ListView/_Layouts.js index 3b0da3764..4aeb5656e 100644 --- a/src/js/WinJS/Controls/ListView/_Layouts.js +++ b/src/js/WinJS/Controls/ListView/_Layouts.js @@ -228,7 +228,7 @@ define([ }; } - // Signal ListView's own measurement operation. + // Signal ListView's own measurement operation. // ListView always needs an opportunity to measure, even if layout cannot. site.readyToMeasure(); @@ -241,14 +241,14 @@ define([ _Base.Namespace._moduleDefine(exports, "WinJS.UI", { Layout: _Base.Class.define(function Layout_ctor() { - /// - /// + /// + /// /// Creates a new Layout object. /// - /// + /// /// The set of options to be applied initially to the new Layout object. /// - /// + /// /// The new Layout object. /// /// @@ -737,7 +737,7 @@ define([ } else if (adjustedKey === Key.rightArrow) { var desiredIndex = currentItem.index + 1; desiredIndex = (that._site.header ? desiredIndex : Math.min(that._groups.length - 1, currentItem.index + 1)); - return { + return { type: (desiredIndex >= that._groups.length ? _UI.ObjectType.header : _UI.ObjectType.groupHeader), index: (desiredIndex >= that._groups.length ? 0 : desiredIndex) };