Remove trailing whitespaces

This commit is contained in:
Aya Morisawa
2016-01-27 19:45:48 +09:00
parent d6c51c607b
commit 7d69a900a5
+80 -80
View File
@@ -4,16 +4,16 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/* *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
@@ -394,7 +394,7 @@ declare module WinJS.Binding {
/**
* Creates a List object.
* @constructor
* @constructor
* @param list The array containing the elements to initalize the list.
* @param options You can set two Boolean options: binding and proxy. If options.binding is true, the list contains the result of calling as on the element values. If options.proxy is true, the list specified as the first parameter is used as the storage for the List. This option should be used with care, because uncoordinated edits to the data storage may result in errors.
**/
@@ -954,7 +954,7 @@ declare module WinJS.Binding {
/**
* Creates a template that provides a reusable declarative binding element.
* @constructor
* @constructor
* @param element The DOM element to convert to a template.
* @param options If this parameter is supplied, the template is loaded from the URI and the content of the element parameter is ignored. You can add the following options: href.
**/
@@ -1217,7 +1217,7 @@ declare module WinJS {
/**
* Creates an Error object with the specified name and message properties.
* @constructor
* @constructor
* @param name The name of this error. The name is meant to be consumed programmatically and should not be localized.
* @param message The message for this error. The message is meant to be consumed by humans and should be localized.
**/
@@ -1249,7 +1249,7 @@ declare module WinJS {
/**
* A promise provides a mechanism to schedule work to be done on a value that has not yet been computed. It is a convenient abstraction for managing interactions with asynchronous APIs. For more information about asynchronous programming, see Asynchronous programming. For more information about promises in JavaScript, see Asynchronous programming in JavaScript. For more information about using promises, see the WinJS Promise sample.
* @constructor
* @constructor
* @param init The function that is called during construction of the Promise that contains the implementation of the operation that the Promise will represent. This can be synchronous or asynchronous, depending on the nature of the operation. Note that placing code within this function does not automatically run it asynchronously; that must be done explicitly with other asynchronous APIs such as setImmediate, setTimeout, requestAnimationFrame, and the Windows Runtime asynchronous APIs. The init function is given three arguments: completeDispatch, errorDispatch, progressDispatch. This parameter is optional.
* @param onCancel The function to call if a consumer of this promise wants to cancel its undone work. Promises are not required to support cancellation.
**/
@@ -3634,7 +3634,7 @@ declare module WinJS.UI {
/**
* Creates a new AppBar object.
* @constructor
* @constructor
* @param element The DOM element that will host the control.
* @param options The set of properties and values to apply to the new AppBar.
**/
@@ -3744,7 +3744,7 @@ declare module WinJS.UI {
//#region Properties
/**
* Gets or sets how the app bar is displayed when hidden is true.
* Gets or sets how the app bar is displayed when hidden is true.
**/
closedDisplayMode: string;
@@ -3795,7 +3795,7 @@ declare module WinJS.UI {
/**
* Creates a new AppBarCommand object.
* @constructor
* @constructor
* @param element The DOM element that will host the control.
* @param options The set of properties and values to apply to the new AppBarCommand.
**/
@@ -3953,7 +3953,7 @@ declare module WinJS.UI {
/**
* Creates a new FlipView.
* @constructor
* @constructor
* @param element The DOM element that hosts the control.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the pageselected event, add a property named "onpageselected" and set its value to the event handler.
**/
@@ -4095,7 +4095,7 @@ declare module WinJS.UI {
/**
* Creates a new GridLayout object.
* @constructor
* @constructor
* @param options The set of properties and values to apply to the new GridLayout.
**/
constructor(options?: any);
@@ -4106,15 +4106,15 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param beginScrollPosition
* @param wholeItem
* @param beginScrollPosition
* @param wholeItem
**/
calculateFirstVisible(beginScrollPosition: number, wholeItem: boolean): void;
/**
* This method is no longer supported.
* @param endScrollPosition
* @param wholeItem
* @param endScrollPosition
* @param wholeItem
**/
calculateLastVisible(endScrollPosition: number, wholeItem: boolean): void;
@@ -4148,22 +4148,22 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param itemIndex
* @param itemIndex
**/
getItemPosition(itemIndex: number): void;
/**
* This method is no longer supported.
* @param itemIndex
* @param element
* @param keyPressed
* @param itemIndex
* @param element
* @param keyPressed
**/
getKeyboardNavigatedItem(itemIndex: number, element: any, keyPressed: any): void;
/**
* This method is no longer supported.
* @param beginScrollPosition
* @param endScrollPosition
* @param beginScrollPosition
* @param endScrollPosition
**/
getScrollbarRange(beginScrollPosition: number, endScrollPosition: number): void;
@@ -4188,7 +4188,7 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param elements
* @param elements
**/
itemsAdded(elements: any): void;
@@ -4206,50 +4206,50 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param elements
* @param elements
**/
itemsRemoved(elements: any): void;
/**
* This API supports the WinJS infrastructure and is not intended to be used directly from your code.
* @param tree
* @param changedRange
* @param modifiedItems
* @param modifiedGroups
* @param tree
* @param changedRange
* @param modifiedItems
* @param modifiedGroups
**/
layout(tree: any, changedRange: any, modifiedItems: any, modifiedGroups: any): void;
/**
* This method is no longer supported.
* @param groupIndex
* @param groupIndex
* @param element A DOM element.
**/
layoutHeader(groupIndex: number, element: any): void;
/**
* This method is no longer supported.
* @param itemIndex
* @param itemIndex
* @param element A DOM element.
**/
layoutItem(itemIndex: number, element: any): void;
/**
* This method is no longer supported.
* @param element
* @param element
**/
prepareHeader(element: HTMLElement): void;
/**
* This method is no longer supported.
* @param itemIndex
* @param itemIndex
* @param element A DOM element.
**/
prepareItem(itemIndex: number, element: any): void;
/**
* This method is no longer supported.
* @param item
* @param newItem
* @param item
* @param newItem
**/
releaseItem(item: any, newItem: any): void;
@@ -4260,7 +4260,7 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param layoutSite
* @param layoutSite
**/
setSite(layoutSite: any): void;
@@ -4271,8 +4271,8 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param beginScrollPosition
* @param endScrollPositionScrollPosition
* @param beginScrollPosition
* @param endScrollPositionScrollPosition
**/
startLayout(beginScrollPosition: number, endScrollPositionScrollPosition: number): void;
@@ -4283,7 +4283,7 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param count
* @param count
**/
updateBackdrop(count: number): void;
@@ -4371,7 +4371,7 @@ declare module WinJS.UI {
/**
* Creates a new ItemContainer.
* @constructor
* @constructor
* @param element The DOM element hosts the new ItemContainer. For the ItemContainer to be accessible, this element must have its role attribute set to "list" or "listbox". If tapBehavior is set to none and selectionDisabled is true, then use the "list" role; otherwise, use the "listbox" role.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events.
**/
@@ -4489,7 +4489,7 @@ declare module WinJS.UI {
/**
* Creates a new ListLayout.
* @constructor
* @constructor
* @param options An object that contains one or more property/value pairs to apply to the new ListLayout. Each property of the options object corresponds to one of the object's properties or events. Event names must begin with "on".
**/
constructor(options?: any);
@@ -4500,15 +4500,15 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param beginScrollPosition
* @param wholeItem
* @param beginScrollPosition
* @param wholeItem
**/
calculateFirstVisible(beginScrollPosition: number, wholeItem: boolean): void;
/**
* This method is no longer supported.
* @param endScrollPosition
* @param wholeItem
* @param endScrollPosition
* @param wholeItem
**/
calculateLastVisible(endScrollPosition: number, wholeItem: boolean): void;
@@ -4542,22 +4542,22 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param itemIndex
* @param itemIndex
**/
getItemPosition(itemIndex: number): void;
/**
* This method is no longer supported.
* @param itemIndex
* @param element
* @param keyPressed
* @param itemIndex
* @param element
* @param keyPressed
**/
getKeyboardNavigatedItem(itemIndex: number, element: HTMLElement, keyPressed: any): void;
/**
* This method is no longer supported.
* @param beginScrollPosition
* @param endScrollPosition
* @param beginScrollPosition
* @param endScrollPosition
**/
getScrollbarRange(beginScrollPosition: number, endScrollPosition: number): void;
@@ -4580,14 +4580,14 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param elements
* @param elements
**/
itemsAdded(elements: any): void;
/**
* This API supports the WinJS infrastructure and is not intended to be used directly from your code.
* @param firstPixel
* @param lastPixel
* @param firstPixel
* @param lastPixel
**/
itemsFromRange(firstPixel: number, lastPixel: number): void;
@@ -4598,50 +4598,50 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param elements
* @param elements
**/
itemsRemoved(elements: any): void;
/**
* This API supports the WinJS infrastructure and is not intended to be used directly from your code.
* @param tree
* @param changedRange
* @param modifiedItems
* @param modifiedGroups
* @param tree
* @param changedRange
* @param modifiedItems
* @param modifiedGroups
**/
layout(tree: any, changedRange: any, modifiedItems: any, modifiedGroups: any): void;
/**
* This method is no longer supported.
* @param groupIndex
* @param groupIndex
* @param element A DOM element.
**/
layoutHeader(groupIndex: number, element: any): void;
/**
* This method is no longer supported.
* @param itemIndex
* @param itemIndex
* @param element A DOM element.
**/
layoutItem(itemIndex: number, element: any): void;
/**
* This method is no longer supported.
* @param element
* @param element
**/
prepareHeader(element: HTMLElement): void;
/**
* This method is no longer supported.
* @param itemIndex
* @param itemIndex
* @param element A DOM element.
**/
prepareItem(itemIndex: number, element: any): void;
/**
* This method is no longer supported.
* @param item
* @param newItem
* @param item
* @param newItem
**/
releaseItem(item: any, newItem: any): void;
@@ -4652,7 +4652,7 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param layoutSite
* @param layoutSite
**/
setSite(layoutSite: any): void;
@@ -4663,8 +4663,8 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param beginScrollPosition
* @param endScrollPositionScrollPosition
* @param beginScrollPosition
* @param endScrollPositionScrollPosition
**/
startLayout(beginScrollPosition: number, endScrollPositionScrollPosition: number): void;
@@ -4675,7 +4675,7 @@ declare module WinJS.UI {
/**
* This method is no longer supported.
* @param count
* @param count
**/
updateBackdrop(count: number): void;
@@ -4735,7 +4735,7 @@ declare module WinJS.UI {
/**
* Creates a new ListView.
* @constructor
* @constructor
* @param element The DOM element that hosts the ListView control.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the selectionchanged event, add a property named "onselectionchanged" to the options object and set its value to the event handler.
**/
@@ -4996,7 +4996,7 @@ declare module WinJS.UI {
/**
* Creates a new Pivot.
* @constructor
* @constructor
* @param element The DOM element hosts the new Pivot.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the cancel event, add a property named "oncancel" to the options object and set its value to the event handler.
**/
@@ -5102,7 +5102,7 @@ declare module WinJS.UI {
/**
* Creates a new PivotItem.
* @constructor
* @constructor
* @param element The DOM element hosts the new PivotItem.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the cancel event, add a property named "oncancel" to the options object and set its value to the event handler.
**/
@@ -5147,7 +5147,7 @@ declare module WinJS.UI {
/**
* Creates a new Repeater control.
* @constructor
* @constructor
* @param elemnt The DOM element that will host the new control. The Repeater will create an element if this value is null.
* @param options An object that contains one or more property/value pairs to apply to the new Repeater. Each property of the options object corresponds to one of the object's properties or events. Event names must begin with "on".
**/
@@ -5299,7 +5299,7 @@ declare module WinJS.UI {
/**
* Creates a new SemanticZoom.
* @constructor
* @constructor
* @param element The DOM element that hosts the SemanticZoom.
* @param options An object that contains one or more property/value pairs to apply to the new control. This object can contain these properties: initiallyZoomedOut Boolean, zoomFactor 0.20.85.
**/
@@ -5424,7 +5424,7 @@ declare module WinJS.UI {
/**
* Creates a new TabContainer.
* @constructor
* @constructor
* @param element The DOM element that hosts the TabContainer control.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties.
**/
@@ -5465,7 +5465,7 @@ declare module WinJS.UI {
/**
* Creates a new ToggleSwitch.
* @constructor
* @constructor
* @param element The DOM that hosts the control.
* @param options An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the change event, add a property named "onchange" to the options object and set its value to the event handler.
**/
@@ -5638,7 +5638,7 @@ declare module WinJS.UI {
/**
* Initializes the VirtualizedDataSource base class of a custom data source.
* @constructor
* @constructor
* @param listDataAdapter The object that supplies data to the VirtualizedDataSource.
* @param options An object that can contain properties that specify additional options for the VirtualizedDataSource. It supports these properties: cacheSize.
**/
@@ -6830,7 +6830,7 @@ declare module WinJS.Utilities {
/**
* Indicates whether the app is running on Windows Phone.
**/
**/
var isPhone: boolean;
//#endregion Properties