diff --git a/HubSpot-pace/HubSpot-pace.d.ts b/HubSpot-pace/HubSpot-pace.d.ts index e10e0316ac20a4..7770ba68cc9f09 100644 --- a/HubSpot-pace/HubSpot-pace.d.ts +++ b/HubSpot-pace/HubSpot-pace.d.ts @@ -3,7 +3,7 @@ // Definitions by: Borislav Zhivkov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module HubSpotPaceInterfaces { +declare namespace HubSpotPaceInterfaces { interface PaceOptions { /** * How long should it take for the bar to animate to a new point after receiving it diff --git a/OpenJsCad/openjscad.d.ts b/OpenJsCad/openjscad.d.ts index 75d55a4d77be88..c0bdbdc1f9940e 100644 --- a/OpenJsCad/openjscad.d.ts +++ b/OpenJsCad/openjscad.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module THREE { +declare namespace THREE { var CSG: { fromCSG: (csg: CSG, defaultColor: any) => { colorMesh: Mesh; @@ -144,7 +144,7 @@ declare module THREE { function RenderableSprite(): void; function Projector(): void; } -declare module OpenJsCad { +declare namespace OpenJsCad { interface ILog { (x: string): void; prevLogTime?: number; @@ -404,7 +404,7 @@ declare class CSG extends CxG implements ICenter { toStlString(): string; toAMFString(m: IAMFStringOptions): Blob; } -declare module CSG { +declare namespace CSG { function fnNumberSort(a: any, b: any): number; function parseOption(options: any, optionname: any, defaultvalue: any): any; function parseOptionAs3DVector(options: any, optionname: any, defaultvalue: any): Vector3D; @@ -546,7 +546,7 @@ declare module CSG { toStlString(): string; } } -declare module CSG.Polygon { +declare namespace CSG.Polygon { class Shared { color: any; tag: any; @@ -557,7 +557,7 @@ declare module CSG.Polygon { getHash(): any; } } -declare module CSG { +declare namespace CSG { class PolygonTreeNode { parent: any; children: any; @@ -869,7 +869,7 @@ declare class CAG extends CxG implements ICenter { toDxf(): Blob; static PathsToDxf(paths: CSG.Path2D[]): Blob; } -declare module CAG { +declare namespace CAG { class Vertex { pos: CSG.Vector2D; tag: number; @@ -905,7 +905,7 @@ interface CAG_extrude_options { twistangle?: number; twiststeps?: number; } -declare module CSG { +declare namespace CSG { class Polygon2D extends CAG { constructor(points: Vector2D[]); } diff --git a/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts b/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts index cad584d3eea9ce..41bd1d1632d3c6 100644 --- a/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts +++ b/PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts @@ -7,7 +7,7 @@ /** * The PayPalItem class defines an optional itemization for a payment. - * + * * @see https://developer.paypal.com/docs/api/#item-object for more details. */ declare class PayPalItem { @@ -51,7 +51,7 @@ declare class PayPalItem { /** * The PayPalPaymentDetails class defines optional amount details. - * + * * @see https://developer.paypal.com/webapps/developer/docs/api/#details-object for more details. */ declare class PayPalPaymentDetails { @@ -256,18 +256,18 @@ declare class PayPalConfiguration { /** * For single payments, options for the shipping address. - * + * * - 0 - PayPalShippingAddressOptionNone: no shipping address applies. - * + * * - 1 - PayPalShippingAddressOptionProvided: shipping address will be provided by your app, * in the shippingAddress property of PayPalPayment. - * + * * - 2 - PayPalShippingAddressOptionPayPal: user will choose from shipping addresses on file * for their PayPal account. - * + * * - 3 - PayPalShippingAddressOptionBoth: user will choose from the shipping address provided by your app, * in the shippingAddress property of PayPalPayment, plus the shipping addresses on file for the user's PayPal account. - * + * * Defaults to 0 (PayPalShippingAddressOptionNone). */ payPalShippingAddressOption: number; @@ -277,26 +277,26 @@ declare class PayPalConfiguration { * the SDK will remember the user's PayPal username or phone number; * if the user pays via their credit card, then the SDK will remember * the PayPal Vault token representing the user's credit card. - * + * * If set to false, then any previously-remembered username, phone number, or * credit card token will be erased, and subsequent payment information will * not be remembered. - * + * * Defaults to true. */ rememberUser: boolean; /** * If not set, or if set to nil, defaults to the device's current language setting. - * + * * Can be specified as a language code ("en", "fr", "zh-Hans", etc.) or as a locale ("en_AU", "fr_FR", "zh-Hant_HK", etc.). * If the library does not contain localized strings for a specified locale, then will fall back to the language. E.g., "es_CO" -> "es". * If the library does not contain localized strings for a specified language, then will fall back to American English. - * + * * If you specify only a language code, and that code matches the device's currently preferred language, * then the library will attempt to use the device's current region as well. * E.g., specifying "en" on a device set to "English" and "United Kingdom" will result in "en_GB". - * + * * These localizations are currently included: * da,de,en,en_AU,en_GB,en_SV,es,es_MX,fr,he,it,ja,ko,nb,nl,pl,pt,pt_BR,ru,sv,tr,zh-Hans,zh-Hant_HK,zh-Hant_TW. */ @@ -319,7 +319,7 @@ declare class PayPalConfiguration { /** * Sandbox credentials can be difficult to type on a mobile device. Setting this flag to true will * cause the sandboxUserPassword and sandboxUserPin to always be pre-populated into login fields. - * + * * This setting will have no effect if the operation mode is production. * Defaults to false. */ @@ -385,18 +385,18 @@ interface PayPalConfigurationOptions { /** * For single payments, options for the shipping address. - * + * * - 0 - PayPalShippingAddressOptionNone?: no shipping address applies. - * + * * - 1 - PayPalShippingAddressOptionProvided?: shipping address will be provided by your app, * in the shippingAddress property of PayPalPayment. - * + * * - 2 - PayPalShippingAddressOptionPayPal?: user will choose from shipping addresses on file * for their PayPal account. - * + * * - 3 - PayPalShippingAddressOptionBoth?: user will choose from the shipping address provided by your app, * in the shippingAddress property of PayPalPayment, plus the shipping addresses on file for the user's PayPal account. - * + * * Defaults to 0 (PayPalShippingAddressOptionNone). */ payPalShippingAddressOption?: number; @@ -406,26 +406,26 @@ interface PayPalConfigurationOptions { * the SDK will remember the user's PayPal username or phone number; * if the user pays via their credit card, then the SDK will remember * the PayPal Vault token representing the user's credit card. - * + * * If set to false, then any previously-remembered username, phone number, or * credit card token will be erased, and subsequent payment information will * not be remembered. - * + * * Defaults to true. */ rememberUser?: boolean; /** * If not set, or if set to nil, defaults to the device's current language setting. - * + * * Can be specified as a language code ("en", "fr", "zh-Hans", etc.) or as a locale ("en_AU", "fr_FR", "zh-Hant_HK", etc.). * If the library does not contain localized strings for a specified locale, then will fall back to the language. E.g., "es_CO" -> "es". * If the library does not contain localized strings for a specified language, then will fall back to American English. - * + * * If you specify only a language code, and that code matches the device's currently preferred language, * then the library will attempt to use the device's current region as well. * E.g., specifying "en" on a device set to "English" and "United Kingdom" will result in "en_GB". - * + * * These localizations are currently included: * da,de,en,en_AU,en_GB,en_SV,es,es_MX,fr,he,it,ja,ko,nb,nl,pl,pt,pt_BR,ru,sv,tr,zh-Hans,zh-Hant_HK,zh-Hant_TW. */ @@ -448,7 +448,7 @@ interface PayPalConfigurationOptions { /** * Sandbox credentials can be difficult to type on a mobile device. Setting this flag to true will * cause the sandboxUserPassword and sandboxUserPin to always be pre-populated into login fields. - * + * * This setting will have no effect if the operation mode is production. * Defaults to false. */ @@ -469,7 +469,7 @@ interface PayPalConfigurationOptions { //#region cdv-plugin-paypal-mobile-sdk.js -declare module PayPalCordovaPlugin { +declare namespace PayPalCordovaPlugin { export interface PayPalClientIds { PayPalEnvironmentProduction: string; @@ -545,7 +545,7 @@ declare module PayPalCordovaPlugin { * the recommended time to preconnect is on page load. * * @param environment available options are "PayPalEnvironmentNoNetwork", "PayPalEnvironmentProduction" and "PayPalEnvironmentSandbox" - * @param configuration PayPalConfiguration object, for Future Payments merchantName, merchantPrivacyPolicyURL + * @param configuration PayPalConfiguration object, for Future Payments merchantName, merchantPrivacyPolicyURL * and merchantUserAgreementURL must be set be set * @param completionCallback a callback function on success */ @@ -592,7 +592,7 @@ declare module PayPalCordovaPlugin { /** * Please Read Docs on Future Payments at https://github.com/paypal/PayPal-iOS-SDK#future-payments - * + * * @param completionCallback a callback function accepting a js object with future payment authorization * @param cancelCallback a callback function accepting a reason string, called when the user canceled without agreement */ @@ -600,7 +600,7 @@ declare module PayPalCordovaPlugin { /** * Please Read Docs on Profile Sharing at https://github.com/paypal/PayPal-iOS-SDK#profile-sharing - * + * * @param scopes scopes Set of requested scope-values. Accepted scopes are: openid, profile, address, email, phone, futurepayments and paypalattributes * See https://developer.paypal.com/docs/integration/direct/identity/attributes/ for more details * @param completionCallback a callback function accepting a js object with future payment authorization diff --git a/_debugger/_debugger.d.ts b/_debugger/_debugger.d.ts index ff7f363595993c..14bf5d49c76c33 100644 --- a/_debugger/_debugger.d.ts +++ b/_debugger/_debugger.d.ts @@ -5,7 +5,7 @@ /// -declare module NodeJS { +declare namespace NodeJS { export module _debugger { export interface Packet { raw: string; diff --git a/ace/ace.d.ts b/ace/ace.d.ts index 9a299ee0665059..4a137075b07977 100644 --- a/ace/ace.d.ts +++ b/ace/ace.d.ts @@ -3,7 +3,7 @@ // Definitions by: Diullei Gomes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module AceAjax { +declare namespace AceAjax { export interface Delta { action: string; diff --git a/acorn/acorn.d.ts b/acorn/acorn.d.ts index 6e4c40185f59a8..755aab2a5419d6 100644 --- a/acorn/acorn.d.ts +++ b/acorn/acorn.d.ts @@ -5,7 +5,7 @@ /// -declare module acorn { +declare namespace acorn { var version: string; function parse(input: string, options?: Options): ESTree.Program; function parseExpressionAt(input: string, pos: number, options?: Options): ESTree.Expression; diff --git a/adm-zip/adm-zip.d.ts b/adm-zip/adm-zip.d.ts index ab0bd243ca78dd..19298149c3bbce 100644 --- a/adm-zip/adm-zip.d.ts +++ b/adm-zip/adm-zip.d.ts @@ -216,7 +216,7 @@ declare module "adm-zip" { * @param targetPath Target location * @param overwrite If the file already exists at the target path, the file * will be overwriten if this is true. Default is FALSE - * @param callback The callback function will be called afeter extraction + * @param callback The callback function will be called afeter extraction */ extractAllToAsync(targetPath: string, overwrite: boolean, callback: (error: Error) => void): void; /** @@ -233,7 +233,7 @@ declare module "adm-zip" { toBuffer(): Buffer; } - module AdmZip { + namespace AdmZip { /** * The ZipEntry is more than a structure representing the entry inside the * zip file. Beside the normal attributes and headers a entry can have, the diff --git a/ag-grid/ag-grid.d-2.1.2.ts b/ag-grid/ag-grid.d-2.1.2.ts index a3ef1a2f325a91..615dc066cb9a5b 100644 --- a/ag-grid/ag-grid.d-2.1.2.ts +++ b/ag-grid/ag-grid.d-2.1.2.ts @@ -2,7 +2,8 @@ // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module ag.grid { + +declare namespace ag.grid { class ColumnChangeEvent { private type; private column; @@ -28,7 +29,7 @@ declare module ag.grid { isIndividualColumnResized(): boolean; } } -declare module ag.grid { +declare namespace ag.grid { class Utils { private static isSafari; private static isIE; @@ -84,7 +85,7 @@ declare module ag.grid { static isBrowserSafari(): boolean; } } -declare module ag.grid { +declare namespace ag.grid { class Constants { static STEP_EVERYTHING: number; static STEP_FILTER: number; @@ -109,7 +110,7 @@ declare module ag.grid { static KEY_RIGHT: number; } } -declare module ag.grid { +declare namespace ag.grid { class Column { static colIdSequence: number; colDef: ColDef; @@ -128,7 +129,7 @@ declare module ag.grid { setMinimum(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ColumnGroup { pinned: any; name: any; @@ -146,7 +147,7 @@ declare module ag.grid { addToVisibleColumns(colsToAdd: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class GridOptionsWrapper { private gridOptions; private groupHeaders; @@ -230,7 +231,7 @@ declare module ag.grid { private getCallbackForEvent(eventName); } } -declare module ag.grid { +declare namespace ag.grid { class LoggerFactory { private logging; init(gridOptionsWrapper: GridOptionsWrapper): void; @@ -243,7 +244,7 @@ declare module ag.grid { log(message: string): void; } } -declare module ag.grid { +declare namespace ag.grid { class Events { /** A new set of columns has been entered, everything has potentially changed. */ static EVENT_COLUMN_EVERYTHING_CHANGED: string; @@ -279,7 +280,7 @@ declare module ag.grid { static EVENT_READY: string; } } -declare module ag.grid { +declare namespace ag.grid { class EventService { private allListeners; private globalListeners; @@ -291,7 +292,7 @@ declare module ag.grid { dispatchEvent(eventType: string, event?: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class MasterSlaveService { private gridOptionsWrapper; private columnController; @@ -308,7 +309,7 @@ declare module ag.grid { onColumnEvent(event: ColumnChangeEvent): void; } } -declare module ag.grid { +declare namespace ag.grid { class ColumnApi { private _columnController; constructor(_columnController: ColumnController); @@ -407,7 +408,7 @@ declare module ag.grid { private getTotalColWidth(includePinned); } } -declare module ag.grid { +declare namespace ag.grid { interface CsvExportParams { skipHeader?: boolean; skipFooters?: boolean; @@ -426,7 +427,7 @@ declare module ag.grid { private escape(value); } } -declare module ag.grid { +declare namespace ag.grid { class ExpressionService { private expressionToFunctionCache; private logger; @@ -436,13 +437,13 @@ declare module ag.grid { private createFunctionBody(expression); } } -declare module ag.grid { +declare namespace ag.grid { interface TextAndNumberFilterParameters { /** What to do when new rows are loaded. The default is to reset the filter, to keep it in line with 'set' filters. If you want to keep the selection, then set this value to 'keep'. */ newRowsAction?: string; } } -declare module ag.grid { +declare namespace ag.grid { class TextFilter implements Filter { private filterParams; private filterChangedCallback; @@ -473,7 +474,7 @@ declare module ag.grid { private getApi(); } } -declare module ag.grid { +declare namespace ag.grid { class NumberFilter implements Filter { private filterParams; private filterChangedCallback; @@ -504,7 +505,7 @@ declare module ag.grid { private getApi(); } } -declare module ag.grid { +declare namespace ag.grid { interface ColDef { /** If sorting by default, set it here. Set to 'asc' or 'desc' */ sort?: string; @@ -594,7 +595,7 @@ declare module ag.grid { onCellContextMenu?: Function; } } -declare module ag.grid { +declare namespace ag.grid { class SetFilterModel { private colDef; private filterParams; @@ -635,7 +636,7 @@ declare module ag.grid { } } /** The filter parameters for set filter */ -declare module ag.grid { +declare namespace ag.grid { interface SetFilterParameters { /** Same as cell renderer for grid (you can use the same one in both locations). Setting it separatly here allows for the value to be rendered differently in the filter. */ cellRenderer?: Function; @@ -649,7 +650,7 @@ declare module ag.grid { suppressRemoveEntries?: boolean; } } -declare module ag.grid { +declare namespace ag.grid { class SetFilter implements Filter { private eGui; private filterParams; @@ -697,7 +698,7 @@ declare module ag.grid { private createApi(); } } -declare module ag.grid { +declare namespace ag.grid { class PopupService { private ePopupParent; init(ePopupParent: any): void; @@ -705,7 +706,7 @@ declare module ag.grid { addAsModalPopup(eChild: any, closeOnEsc: boolean): (event: any) => void; } } -declare module ag.grid { +declare namespace ag.grid { interface RowNode { /** Unique ID for the node. Can be though of as the index of the row in the original list, * however exceptions apply so don't depend on uniqueness. */ @@ -754,7 +755,7 @@ declare module ag.grid { _childrenMap?: {}; } } -declare module ag.grid { +declare namespace ag.grid { class FilterManager { private $compile; private $scope; @@ -793,7 +794,7 @@ declare module ag.grid { showFilter(column: Column, eventSource: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class TemplateService { templateCache: any; waitingCallbacks: any; @@ -803,7 +804,7 @@ declare module ag.grid { handleHttpResult(httpResult: any, url: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class SelectionRendererFactory { private angularGrid; private selectionController; @@ -811,7 +812,7 @@ declare module ag.grid { createSelectionCheckbox(node: any, rowIndex: any): HTMLInputElement; } } -declare module ag.vdom { +declare namespace ag.vdom { class VElement { static idSequence: number; private id; @@ -824,7 +825,7 @@ declare module ag.vdom { toHtmlString(): string; } } -declare module ag.vdom { +declare namespace ag.vdom { class VHtmlElement extends VElement { private type; private classes; @@ -855,7 +856,7 @@ declare module ag.vdom { fireElementAttachedToChildren(element: Element): void; } } -declare module ag.vdom { +declare namespace ag.vdom { class VWrapperElement extends VElement { private wrappedElement; constructor(wrappedElement: Element); @@ -863,7 +864,7 @@ declare module ag.vdom { elementAttached(element: Element): void; } } -declare module ag.grid { +declare namespace ag.grid { class RenderedCell { private vGridCell; private vSpanWithValue; @@ -924,7 +925,7 @@ declare module ag.grid { private addClasses(); } } -declare module ag.grid { +declare namespace ag.grid { class RenderedRow { vPinnedRow: any; vBodyRow: any; @@ -974,7 +975,7 @@ declare module ag.grid { private addDynamicClasses(); } } -declare module ag.grid { +declare namespace ag.grid { class SvgFactory { static theInstance: SvgFactory; static getInstance(): SvgFactory; @@ -990,10 +991,10 @@ declare module ag.grid { createArrowUpDownSvg(): Element; } } -declare module ag.grid { +declare namespace ag.grid { function groupCellRendererFactory(gridOptionsWrapper: GridOptionsWrapper, selectionRendererFactory: SelectionRendererFactory, expressionService: ExpressionService): (params: any) => HTMLSpanElement; } -declare module ag.grid { +declare namespace ag.grid { class RowRenderer { private columnModel; private gridOptionsWrapper; @@ -1057,7 +1058,7 @@ declare module ag.grid { startEditingNextCell(rowIndex: any, column: any, shiftKey: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class SelectionController { private eParentsOfRows; private angularGrid; @@ -1094,7 +1095,7 @@ declare module ag.grid { private updateGroupParentsIfNeeded(); } } -declare module ag.grid { +declare namespace ag.grid { class RenderedHeaderElement { private eRoot; private dragStartX; @@ -1110,7 +1111,7 @@ declare module ag.grid { stopDragging(listenersToRemove: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class RenderedHeaderCell extends RenderedHeaderElement { private static DEFAULT_SORTING_ORDER; private eHeaderCell; @@ -1148,7 +1149,7 @@ declare module ag.grid { private addHeaderClassesFromCollDef(); } } -declare module ag.grid { +declare namespace ag.grid { class RenderedHeaderGroupCell extends RenderedHeaderElement { private eHeaderGroup; private eHeaderGroupCell; @@ -1178,7 +1179,7 @@ declare module ag.grid { onDragging(dragChange: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class HeaderRenderer { private gridOptionsWrapper; private columnController; @@ -1200,7 +1201,7 @@ declare module ag.grid { onIndividualColumnResized(column: Column): void; } } -declare module ag.grid { +declare namespace ag.grid { class GroupCreator { private valueService; init(valueService: ValueService): void; @@ -1208,7 +1209,7 @@ declare module ag.grid { isExpanded(expandByDefault: any, level: any): boolean; } } -declare module ag.grid { +declare namespace ag.grid { class InMemoryRowController { private gridOptionsWrapper; private columnController; @@ -1257,7 +1258,7 @@ declare module ag.grid { private createFooterNode(groupNode); } } -declare module ag.grid { +declare namespace ag.grid { class VirtualPageRowController { rowRenderer: any; datasourceVersion: any; @@ -1304,7 +1305,7 @@ declare module ag.grid { }; } } -declare module ag.grid { +declare namespace ag.grid { class PaginationController { eGui: any; btNext: any; @@ -1346,7 +1347,7 @@ declare module ag.grid { setupComponents(): void; } } -declare module ag.grid { +declare namespace ag.grid { class BorderLayout { private eNorthWrapper; private eSouthWrapper; @@ -1386,7 +1387,7 @@ declare module ag.grid { setSouthVisible(visible: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class GridPanel { private masterSlaveService; private gridOptionsWrapper; @@ -1451,7 +1452,7 @@ declare module ag.grid { private scrollPinned(bodyTopPosition); } } -declare module ag.grid { +declare namespace ag.grid { class DragAndDropService { static theInstance: DragAndDropService; static getInstance(): DragAndDropService; @@ -1465,7 +1466,7 @@ declare module ag.grid { } } declare function require(name: string): any; -declare module ag.grid { +declare namespace ag.grid { class AgList { private eGui; private uniqueId; @@ -1516,7 +1517,7 @@ declare module ag.grid { getGui(): any; } } -declare module ag.grid { +declare namespace ag.grid { class ColumnSelectionPanel { private gridOptionsWrapper; private columnController; @@ -1532,7 +1533,7 @@ declare module ag.grid { getGui(): any; } } -declare module ag.grid { +declare namespace ag.grid { class GroupSelectionPanel { gridOptionsWrapper: any; columnController: ColumnController; @@ -1548,7 +1549,7 @@ declare module ag.grid { private onItemMoved(fromIndex, toIndex); } } -declare module ag.grid { +declare namespace ag.grid { class AgDropdownList { private itemSelectedListeners; private eValue; @@ -1572,7 +1573,7 @@ declare module ag.grid { setModel(model: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class ValuesSelectionPanel { private gridOptionsWrapper; private columnController; @@ -1588,7 +1589,7 @@ declare module ag.grid { private beforeDropListener(newItem); } } -declare module ag.grid { +declare namespace ag.grid { class VerticalStack { isLayoutPanel: any; childPanels: any; @@ -1599,14 +1600,14 @@ declare module ag.grid { doLayout(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ToolPanel { layout: any; constructor(); init(columnController: any, inMemoryRowController: any, gridOptionsWrapper: GridOptionsWrapper, popupService: PopupService, eventService: EventService): void; } } -declare module ag.grid { +declare namespace ag.grid { interface GridOptions { virtualPaging?: boolean; toolPanelSuppressPivot?: boolean; @@ -1693,7 +1694,7 @@ declare module ag.grid { columnApi?: ColumnApi; } } -declare module ag.grid { +declare namespace ag.grid { class GridApi { private grid; private rowRenderer; @@ -1790,7 +1791,7 @@ declare module ag.grid { refreshPivot(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ValueService { private gridOptionsWrapper; private expressionService; @@ -1801,7 +1802,7 @@ declare module ag.grid { private getValueCallback(data, node, field); } } -declare module ag.grid { +declare namespace ag.grid { class Grid { private virtualRowCallbacks; private gridOptions; @@ -1863,7 +1864,7 @@ declare module ag.grid { doLayout(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ComponentUtil { static SIMPLE_PROPERTIES: string[]; static SIMPLE_NUMBER_PROPERTIES: string[]; @@ -1879,7 +1880,7 @@ declare module ag.grid { static toNumber(value: any): number; } } -declare module ag.grid { +declare namespace ag.grid { class AgGridNg2 { private elementDef; private _agGrid; @@ -1974,11 +1975,11 @@ declare module ag.grid { private globalEventListener(eventType, event); } } -declare module ag.grid { +declare namespace ag.grid { } declare var exports: any; declare var module: any; -declare module ag.grid { +declare namespace ag.grid { interface Filter { getGui(): any; isFilterActive(): boolean; diff --git a/ag-grid/ag-grid.d.ts b/ag-grid/ag-grid.d.ts index 699bb42ffb0e0b..3fe37571b163ee 100644 --- a/ag-grid/ag-grid.d.ts +++ b/ag-grid/ag-grid.d.ts @@ -2,7 +2,8 @@ // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module ag.grid { + +declare namespace ag.grid { class ColumnChangeEvent { private type; private column; @@ -28,7 +29,7 @@ declare module ag.grid { isIndividualColumnResized(): boolean; } } -declare module ag.grid { +declare namespace ag.grid { class Utils { private static isSafari; private static isIE; @@ -84,7 +85,7 @@ declare module ag.grid { static isBrowserSafari(): boolean; } } -declare module ag.grid { +declare namespace ag.grid { class Constants { static STEP_EVERYTHING: number; static STEP_FILTER: number; @@ -109,7 +110,7 @@ declare module ag.grid { static KEY_RIGHT: number; } } -declare module ag.grid { +declare namespace ag.grid { class Column { static colIdSequence: number; colDef: ColDef; @@ -128,7 +129,7 @@ declare module ag.grid { setMinimum(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ColumnGroup { pinned: any; name: any; @@ -146,7 +147,7 @@ declare module ag.grid { addToVisibleColumns(colsToAdd: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class GridOptionsWrapper { private gridOptions; private groupHeaders; @@ -230,7 +231,7 @@ declare module ag.grid { private getCallbackForEvent(eventName); } } -declare module ag.grid { +declare namespace ag.grid { class LoggerFactory { private logging; init(gridOptionsWrapper: GridOptionsWrapper): void; @@ -243,7 +244,7 @@ declare module ag.grid { log(message: string): void; } } -declare module ag.grid { +declare namespace ag.grid { class Events { /** A new set of columns has been entered, everything has potentially changed. */ static EVENT_COLUMN_EVERYTHING_CHANGED: string; @@ -279,7 +280,7 @@ declare module ag.grid { static EVENT_READY: string; } } -declare module ag.grid { +declare namespace ag.grid { class EventService { private allListeners; private globalListeners; @@ -291,7 +292,7 @@ declare module ag.grid { dispatchEvent(eventType: string, event?: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class MasterSlaveService { private gridOptionsWrapper; private columnController; @@ -308,7 +309,7 @@ declare module ag.grid { onColumnEvent(event: ColumnChangeEvent): void; } } -declare module ag.grid { +declare namespace ag.grid { class ColumnApi { private _columnController; constructor(_columnController: ColumnController); @@ -407,7 +408,7 @@ declare module ag.grid { private getTotalColWidth(includePinned); } } -declare module ag.grid { +declare namespace ag.grid { interface CsvExportParams { skipHeader?: boolean; skipFooters?: boolean; @@ -426,7 +427,7 @@ declare module ag.grid { private escape(value); } } -declare module ag.grid { +declare namespace ag.grid { class ExpressionService { private expressionToFunctionCache; private logger; @@ -436,13 +437,13 @@ declare module ag.grid { private createFunctionBody(expression); } } -declare module ag.grid { +declare namespace ag.grid { interface TextAndNumberFilterParameters { /** What to do when new rows are loaded. The default is to reset the filter, to keep it in line with 'set' filters. If you want to keep the selection, then set this value to 'keep'. */ newRowsAction?: string; } } -declare module ag.grid { +declare namespace ag.grid { class TextFilter implements Filter { private filterParams; private filterChangedCallback; @@ -473,7 +474,7 @@ declare module ag.grid { private getApi(); } } -declare module ag.grid { +declare namespace ag.grid { class NumberFilter implements Filter { private filterParams; private filterChangedCallback; @@ -504,7 +505,7 @@ declare module ag.grid { private getApi(); } } -declare module ag.grid { +declare namespace ag.grid { interface ColDef { /** If sorting by default, set it here. Set to 'asc' or 'desc' */ sort?: string; @@ -594,7 +595,7 @@ declare module ag.grid { onCellContextMenu?: Function; } } -declare module ag.grid { +declare namespace ag.grid { class SetFilterModel { private colDef; private filterParams; @@ -635,7 +636,7 @@ declare module ag.grid { } } /** The filter parameters for set filter */ -declare module ag.grid { +declare namespace ag.grid { interface SetFilterParameters { /** Same as cell renderer for grid (you can use the same one in both locations). Setting it separatly here allows for the value to be rendered differently in the filter. */ cellRenderer?: Function; @@ -649,7 +650,7 @@ declare module ag.grid { suppressRemoveEntries?: boolean; } } -declare module ag.grid { +declare namespace ag.grid { class SetFilter implements Filter { private eGui; private filterParams; @@ -697,7 +698,7 @@ declare module ag.grid { private createApi(); } } -declare module ag.grid { +declare namespace ag.grid { class PopupService { private ePopupParent; init(ePopupParent: any): void; @@ -705,7 +706,7 @@ declare module ag.grid { addAsModalPopup(eChild: any, closeOnEsc: boolean): (event: any) => void; } } -declare module ag.grid { +declare namespace ag.grid { interface RowNode { /** Unique ID for the node. Can be though of as the index of the row in the original list, * however exceptions apply so don't depend on uniqueness. */ @@ -754,7 +755,7 @@ declare module ag.grid { _childrenMap?: {}; } } -declare module ag.grid { +declare namespace ag.grid { class FilterManager { private $compile; private $scope; @@ -793,7 +794,7 @@ declare module ag.grid { showFilter(column: Column, eventSource: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class TemplateService { templateCache: any; waitingCallbacks: any; @@ -803,7 +804,7 @@ declare module ag.grid { handleHttpResult(httpResult: any, url: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class SelectionRendererFactory { private angularGrid; private selectionController; @@ -811,7 +812,7 @@ declare module ag.grid { createSelectionCheckbox(node: any, rowIndex: any): HTMLInputElement; } } -declare module ag.vdom { +declare namespace ag.vdom { class VElement { static idSequence: number; private id; @@ -824,7 +825,7 @@ declare module ag.vdom { toHtmlString(): string; } } -declare module ag.vdom { +declare namespace ag.vdom { class VHtmlElement extends VElement { private type; private classes; @@ -855,7 +856,7 @@ declare module ag.vdom { fireElementAttachedToChildren(element: Element): void; } } -declare module ag.vdom { +declare namespace ag.vdom { class VWrapperElement extends VElement { private wrappedElement; constructor(wrappedElement: Element); @@ -863,7 +864,7 @@ declare module ag.vdom { elementAttached(element: Element): void; } } -declare module ag.grid { +declare namespace ag.grid { class RenderedCell { private vGridCell; private vSpanWithValue; @@ -924,7 +925,7 @@ declare module ag.grid { private addClasses(); } } -declare module ag.grid { +declare namespace ag.grid { class RenderedRow { vPinnedRow: any; vBodyRow: any; @@ -974,7 +975,7 @@ declare module ag.grid { private addDynamicClasses(); } } -declare module ag.grid { +declare namespace ag.grid { class SvgFactory { static theInstance: SvgFactory; static getInstance(): SvgFactory; @@ -990,10 +991,10 @@ declare module ag.grid { createArrowUpDownSvg(): Element; } } -declare module ag.grid { +declare namespace ag.grid { function groupCellRendererFactory(gridOptionsWrapper: GridOptionsWrapper, selectionRendererFactory: SelectionRendererFactory, expressionService: ExpressionService): (params: any) => HTMLSpanElement; } -declare module ag.grid { +declare namespace ag.grid { class RowRenderer { private columnModel; private gridOptionsWrapper; @@ -1057,7 +1058,7 @@ declare module ag.grid { startEditingNextCell(rowIndex: any, column: any, shiftKey: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class SelectionController { private eParentsOfRows; private angularGrid; @@ -1094,7 +1095,7 @@ declare module ag.grid { private updateGroupParentsIfNeeded(); } } -declare module ag.grid { +declare namespace ag.grid { class RenderedHeaderElement { private eRoot; private dragStartX; @@ -1110,7 +1111,7 @@ declare module ag.grid { stopDragging(listenersToRemove: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class RenderedHeaderCell extends RenderedHeaderElement { private static DEFAULT_SORTING_ORDER; private eHeaderCell; @@ -1148,7 +1149,7 @@ declare module ag.grid { private addHeaderClassesFromCollDef(); } } -declare module ag.grid { +declare namespace ag.grid { class RenderedHeaderGroupCell extends RenderedHeaderElement { private eHeaderGroup; private eHeaderGroupCell; @@ -1178,7 +1179,7 @@ declare module ag.grid { onDragging(dragChange: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class HeaderRenderer { private gridOptionsWrapper; private columnController; @@ -1200,7 +1201,7 @@ declare module ag.grid { onIndividualColumnResized(column: Column): void; } } -declare module ag.grid { +declare namespace ag.grid { class GroupCreator { private valueService; init(valueService: ValueService): void; @@ -1208,7 +1209,7 @@ declare module ag.grid { isExpanded(expandByDefault: any, level: any): boolean; } } -declare module ag.grid { +declare namespace ag.grid { class InMemoryRowController { private gridOptionsWrapper; private columnController; @@ -1257,7 +1258,7 @@ declare module ag.grid { private createFooterNode(groupNode); } } -declare module ag.grid { +declare namespace ag.grid { class VirtualPageRowController { rowRenderer: any; datasourceVersion: any; @@ -1304,7 +1305,7 @@ declare module ag.grid { }; } } -declare module ag.grid { +declare namespace ag.grid { class PaginationController { eGui: any; btNext: any; @@ -1346,7 +1347,7 @@ declare module ag.grid { setupComponents(): void; } } -declare module ag.grid { +declare namespace ag.grid { class BorderLayout { private eNorthWrapper; private eSouthWrapper; @@ -1386,7 +1387,7 @@ declare module ag.grid { setSouthVisible(visible: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class GridPanel { private masterSlaveService; private gridOptionsWrapper; @@ -1451,7 +1452,7 @@ declare module ag.grid { private scrollPinned(bodyTopPosition); } } -declare module ag.grid { +declare namespace ag.grid { class DragAndDropService { static theInstance: DragAndDropService; static getInstance(): DragAndDropService; @@ -1464,7 +1465,7 @@ declare module ag.grid { addDropTarget(eDropTarget: any, dropTargetCallback: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class AgList { private eGui; private uniqueId; @@ -1515,7 +1516,7 @@ declare module ag.grid { getGui(): any; } } -declare module ag.grid { +declare namespace ag.grid { class ColumnSelectionPanel { private gridOptionsWrapper; private columnController; @@ -1531,7 +1532,7 @@ declare module ag.grid { getGui(): any; } } -declare module ag.grid { +declare namespace ag.grid { class GroupSelectionPanel { gridOptionsWrapper: any; columnController: ColumnController; @@ -1547,7 +1548,7 @@ declare module ag.grid { private onItemMoved(fromIndex, toIndex); } } -declare module ag.grid { +declare namespace ag.grid { class AgDropdownList { private itemSelectedListeners; private eValue; @@ -1571,7 +1572,7 @@ declare module ag.grid { setModel(model: any): void; } } -declare module ag.grid { +declare namespace ag.grid { class ValuesSelectionPanel { private gridOptionsWrapper; private columnController; @@ -1587,7 +1588,7 @@ declare module ag.grid { private beforeDropListener(newItem); } } -declare module ag.grid { +declare namespace ag.grid { class VerticalStack { isLayoutPanel: any; childPanels: any; @@ -1598,14 +1599,14 @@ declare module ag.grid { doLayout(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ToolPanel { layout: any; constructor(); init(columnController: any, inMemoryRowController: any, gridOptionsWrapper: GridOptionsWrapper, popupService: PopupService, eventService: EventService): void; } } -declare module ag.grid { +declare namespace ag.grid { interface GridOptions { virtualPaging?: boolean; toolPanelSuppressPivot?: boolean; @@ -1692,7 +1693,7 @@ declare module ag.grid { columnApi?: ColumnApi; } } -declare module ag.grid { +declare namespace ag.grid { class GridApi { private grid; private rowRenderer; @@ -1789,7 +1790,7 @@ declare module ag.grid { refreshPivot(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ValueService { private gridOptionsWrapper; private expressionService; @@ -1800,7 +1801,7 @@ declare module ag.grid { private getValueCallback(data, node, field); } } -declare module ag.grid { +declare namespace ag.grid { class Grid { private virtualRowCallbacks; private gridOptions; @@ -1862,7 +1863,7 @@ declare module ag.grid { doLayout(): void; } } -declare module ag.grid { +declare namespace ag.grid { class ComponentUtil { static SIMPLE_PROPERTIES: string[]; static SIMPLE_NUMBER_PROPERTIES: string[]; @@ -1878,7 +1879,7 @@ declare module ag.grid { static toNumber(value: any): number; } } -declare module ag.grid { +declare namespace ag.grid { class AgGridNg2 { private elementDef; private _agGrid; @@ -1973,11 +1974,11 @@ declare module ag.grid { private globalEventListener(eventType, event); } } -declare module ag.grid { +declare namespace ag.grid { } declare var exports: any; declare var module: any; -declare module ag.grid { +declare namespace ag.grid { interface Filter { getGui(): any; isFilterActive(): boolean; diff --git a/agenda/agenda.d.ts b/agenda/agenda.d.ts index 3bc7b1c85a6214..011676bc866958 100644 --- a/agenda/agenda.d.ts +++ b/agenda/agenda.d.ts @@ -435,7 +435,7 @@ declare module "agenda" { stop(cb: Callback): void; } - module Agenda { + namespace Agenda { } diff --git a/alertify/alertify.d.ts b/alertify/alertify.d.ts index 9033188b9e5423..aa9219282ab489 100644 --- a/alertify/alertify.d.ts +++ b/alertify/alertify.d.ts @@ -5,7 +5,7 @@ declare var alertify: alertify.IAlertifyStatic; -declare module alertify { +declare namespace alertify { interface IAlertifyStatic { /** * Create an alert dialog box @@ -16,7 +16,7 @@ declare module alertify { * @since 0.0.1 */ alert(message: string, fn?: Function, cssClass?: string): IAlertifyStatic; - + /** * Create a confirm dialog box * @param message The message passed from the callee @@ -26,7 +26,7 @@ declare module alertify { * @since 0.0.1 */ confirm(message: string, fn?: Function, cssClass?: string): IAlertifyStatic; - + /** * Extend the log method to create custom methods * @param type Custom method name @@ -34,7 +34,7 @@ declare module alertify { * @since 0.0.1 */ extend(type: string): (message: string, wait?: number) => IAlertifyStatic; - + /** * Initialize Alertify and create the 2 main elements. * Initialization will happen automatically on the first @@ -42,7 +42,7 @@ declare module alertify { * @since 0.0.1 */ init(): void; - + /** * Show a new log message box * @param message The message passed from the callee @@ -52,7 +52,7 @@ declare module alertify { * @since 0.0.1 */ log(message: string, type?: string, wait?: number): IAlertifyStatic; - + /** * Create a prompt dialog box * @param message The message passed from the callee @@ -63,7 +63,7 @@ declare module alertify { * @since 0.0.1 */ prompt(message: string, fn?: Function, placeholder?: string, cssClass?: string): IAlertifyStatic; - + /** * Shorthand for log messages * @param message The message passed from the callee @@ -71,7 +71,7 @@ declare module alertify { * @since 0.0.1 */ success(message: string): IAlertifyStatic; - + /** * Shorthand for log messages * @param message The message passed from the callee @@ -79,14 +79,14 @@ declare module alertify { * @since 0.0.1 */ error(message: string): IAlertifyStatic; - + /** * Used to set alertify properties * @param Properties * @since 0.2.11 */ set(args: IProperties): void; - + /** * The labels used for dialog buttons */ @@ -105,13 +105,13 @@ declare module alertify { interface IProperties { /** Default value for milliseconds display of log messages */ delay?: number; - + /** Default values for display of labels */ labels?: ILabels; - + /** Default button for focus */ buttonFocus?: string; - + /** Should buttons be displayed in reverse order */ buttonReverse?: boolean; } @@ -121,4 +121,4 @@ declare module alertify { ok?: string; cancel?: string; } -} \ No newline at end of file +} diff --git a/alt/alt.d.ts b/alt/alt.d.ts index 9613b8cfa3e636..20da159f3526ae 100644 --- a/alt/alt.d.ts +++ b/alt/alt.d.ts @@ -5,7 +5,7 @@ /// -declare module AltJS { +declare namespace AltJS { interface StoreReduce { action:any; diff --git a/amcharts/AmCharts.d.ts b/amcharts/AmCharts.d.ts index a2b40133e6b199..02d2c540a02796 100644 --- a/amcharts/AmCharts.d.ts +++ b/amcharts/AmCharts.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// AmCharts object (it's not a class) is create automatically when amcharts.js or amstock.js file is included in a web page. -declare module AmCharts { +declare namespace AmCharts { /** Set it to true if you have base href set for your page. This will fix rendering problems in Firefox caused by base href. */ var baseHref: boolean; @@ -29,7 +29,7 @@ declare module AmCharts { /** AmPieChart class creates pie/donut chart. In order to display pie chart you need to set at least three properties - dataProvider, titleField and valueField. @example - var chartData = [{title:"Pie I have eaten",value:70},{title:"Pie I haven\'t eaten",value:30}]; + var chartData = [{title:"Pie I have eaten",value:70},{title:"Pie I haven\'t eaten",value:30}]; var chart = new AmCharts.AmPieChart(); chart.valueField = "value"; chart.titleField = "title"; @@ -113,7 +113,7 @@ declare module AmCharts { outlineAlpha: number; /** Pie outline color. #FFFFFF */ outlineColor: string; - /** Pie outline thickness. + /** Pie outline thickness. @default 1 */ outlineThickness: number; @@ -219,7 +219,7 @@ declare module AmCharts { chart.dataProvider = chartData; chart.categoryField = "country"; chart.startDuration = 2; - + var valueAxis = new AmCharts.ValueAxis(); valueAxis.axisAlpha = 0.15; valueAxis.minimum = 0; @@ -227,13 +227,13 @@ declare module AmCharts { valueAxis.axisTitleOffset = 20; valueAxis.gridCount = 5; chart.addValueAxis(valueAxis); - + var graph = new AmCharts.AmGraph(); graph.valueField = "litres"; graph.bullet = "round"; graph.balloonText = "[[value]] litres of beer per year" chart.addGraph(graph); - + chart.write("chartdiv"); } */ @@ -262,7 +262,7 @@ declare module AmCharts { {x:1, y:6, value:35} ]; - var chart = new AmCharts.AmXYChart(); + var chart = new AmCharts.AmXYChart(); chart.pathToImages = "../../amcharts/javascript/images/"; chart.dataProvider = chartData; chart.marginLeft = 35; @@ -276,7 +276,7 @@ declare module AmCharts { var yAxis = new AmCharts.ValueAxis(); yAxis.position = "bottom"; yAxis.autoGridCount = true; - chart.addValueAxis(yAxis); + chart.addValueAxis(yAxis); var graph = new AmCharts.AmGraph(); graph.valueField = "value"; @@ -292,7 +292,7 @@ declare module AmCharts { var chartScrollbar = new AmCharts.ChartScrollbar(); chartScrollbar.hideResizeGrips = false; chart.addChartScrollbar(chartScrollbar); - + chart.write("chartdiv); */ class AmXYChart extends AmRectangularChart { @@ -368,7 +368,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val } /** ImagesSettings is a class which holds common settings of all MapImage objects. */ class ImagesSettings { - /** Opacity of the image. + /** Opacity of the image. @default 1 */ alpha: number; @@ -382,7 +382,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val color: string; /** Height of a description window. */ descriptionWindowHeight: number; - /** Width of a description window. + /** Width of a description window. @default 250 */ descriptionWindowWidth: number; @@ -392,7 +392,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val descriptionWindowY: number; /** Label color. #000000 */ labelColor: string; - /** Font size of a label. + /** Font size of a label. @default 11 */ labelfontSize: string; @@ -589,7 +589,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** Adds event listener of the type "rollOutStockEvent" or "rollOverStockEvent" or "clickStockEvent" to the object. @param type // Either "rollOutStockEvent" or "rollOverStockEvent" or "clickStockEvent". - @param handler + @param handler If the type is "rollOutStockEvent", dispatched when the user rolls-out of the Stock event (bullet). If the type is "rollOverStockEvent", dispatched when the user rolls-over of the Stock event (bullet). If the type is "clickStockEvent", dispatched when the user clicks on the Stock event (bullet). @@ -941,7 +941,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val @default 11 */ fontSize: string; - /** If you set this to true, the lines of the chart will be distorted and will produce hand-drawn effect. Try to adjust chart.handDrawScatter and chart.handDrawThickness properties for a more scattered result. + /** If you set this to true, the lines of the chart will be distorted and will produce hand-drawn effect. Try to adjust chart.handDrawScatter and chart.handDrawThickness properties for a more scattered result. @Default false */ handDrawn: boolean; @@ -953,7 +953,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val @Default 1 */ handDrawThickness: number; - /** Time, in milliseconds after which balloon is hidden if the user rolls-out of the object. Might be useful for AmMap to avoid balloon flickering while moving mouse over the areas. Note, this is not duration of fade-out. Duration of fade-out is set in AmBalloon class. + /** Time, in milliseconds after which balloon is hidden if the user rolls-out of the object. Might be useful for AmMap to avoid balloon flickering while moving mouse over the areas. Note, this is not duration of fade-out. Duration of fade-out is set in AmBalloon class. @Default 150 */ hideBalloonTime: number; @@ -966,19 +966,19 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** This setting affects touch-screen devices only. If a chart is on a page, and panEventsEnabled are set to true, the page won't move if the user touches the chart first. If a chart is big enough and occupies all the screen of your touch device, the user won’t be able to move the page at all. That's why the default value is "false". If you think that selecting/panning the chart or moving/pinching the map is a primary purpose of your users, you should set panEventsEnabled to true. */ panEventsEnabled: boolean; /** Specifies absolute or relative path to amCharts files, i.e. "amcharts/". (where all .js files are located) - If relative URLs are used, they will be relative to the current web page, displaying the chart. - You can also set path globally, using global JavaScript variable AmCharts_path. If this variable is set, and "path" is not set in chart config, the chart will assume the path from the global variable. This allows setting amCharts path globally. I.e.: + If relative URLs are used, they will be relative to the current web page, displaying the chart. + You can also set path globally, using global JavaScript variable AmCharts_path. If this variable is set, and "path" is not set in chart config, the chart will assume the path from the global variable. This allows setting amCharts path globally. I.e.: var AmCharts_path = "/libs/amcharts/"; "path" parameter will be used by the charts to locate it's files, like images, plugins or patterns.*/ - path: string; + path: string; /** Specifies path to the folder where images like resize grips, lens and similar are. IMPORTANT: Since V3.14.12, you should use "path" to point to amCharts directory instead. The "pathToImages" will be automatically set and does not need to be in the chart config, unless you keep your images separately from other amCharts files. */ pathToImages: string; - /** Precision of percent values. -1 means percent values won't be rounded at all and show as they are. + /** Precision of percent values. -1 means percent values won't be rounded at all and show as they are. @default 2 */ percentPrecision: number; - /** Precision of values. -1 means values won't be rounded at all and show as they are. + /** Precision of values. -1 means values won't be rounded at all and show as they are. @Default 1*/ precision: number; /** Prefixes which are used to make big numbers shorter: 2M instead of 2000000, etc. Prefixes are used on value axes and in the legend. To enable prefixes, set usePrefixes property to true. [{number:1e+3,prefix:"k"},{number:1e+6,prefix:"M"},{number:1e+9,prefix:"G"},{number:1e+12,prefix:"T"},{number:1e+15,prefix:"P"},{number:1e+18,prefix:"E"},{number:1e+21,prefix:"Z"},{number:1e+24,prefix:"Y"}] */ @@ -987,7 +987,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val prefixesOfSmallNumbers: any[]; /** Theme of a chart. Config files of themes can be found in amcharts/themes/ folder. More info about using themes. */ theme: string; - /** Thousands separator. + /** Thousands separator. @default . */ thousandsSeparator: string; @@ -1115,7 +1115,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** Adds a graph to the chart. */ addGraph(graph: AmGraph); - /** Adds a legend to the chart. By default, you don't need to create div for your legend, however if you want it to be positioned in some different way, you can create div anywhere you want and pass id or reference to your div as a second parameter. (NOTE: This method will not work on StockPanel.) */ + /** Adds a legend to the chart. By default, you don't need to create div for your legend, however if you want it to be positioned in some different way, you can create div anywhere you want and pass id or reference to your div as a second parameter. (NOTE: This method will not work on StockPanel.) */ /** Adds value axis to the chart. One value axis is created automatically, so if you don't want to change anything or add more value axes, you don't need to add it. */ @@ -1203,33 +1203,33 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** SerialDataItem holds all the information about each series. When working with a chart, you do not create SerialDataItem objects or change it's properties directly. Consider properties of a SerialDataItem read-only - change values in chart's data provider if you need to. When serial chart parses dataProvider, it generates "chartData" array. Objects of this array are SerialDataItem objects. */ class SerialDataItem { - + /** You can access each GraphDataItem using this object. The data structure is: graphDataItem = serialDataItem.axes[axisId].graphs[graphId]. */ axes: Object; - + /** category value. String if parseDates is false, Date if true. */ category: any; - + /** Timestamp of a series date. Avalable only if parseDates property of CategoryAxis is set to true. */ time: number; - + /** Coordinate (horizontal or vertical, depends on chart's rotate property) of the series. */ x: number; } class CategoryAxis extends AxisBase { - + /** When parse dates is on for the category axis, the chart will try to highlight the beginning of the periods, like month, in bold. Set this to false to disable the functionality. @default true */ boldPeriodBeginning: boolean; - + /** Date formats of different periods. Possible period values: fff - milliseconds, ss - seconds, mm - minutes, hh - hours, DD - days, MM - months, WW - weeks, YYYY - years. Check this page for date formatting strings. [{period:'fff',format:'JJ:NN:SS'},{period:'ss',format:'JJ:NN:SS'},{period:'mm',format:'JJ:NN'},{period:'hh',format:'JJ:NN'},{period:'DD',format:'MMM DD'},{period:'WW',format:'MMM DD'},{period:'MM',format:'MMM'},{period:'YYYY',format:'YYYY'}] */ dateFormats: any[]; - + /** In case your category axis values are Date objects and parseDates is set to true, the chart will parse dates and will place your data points at irregular intervals. However if you want dates to be parsed (displayed on the axis, baloons, etc), but data points to be placed at equal intervals (omiting dates with no data), set equalSpacing to true. */ equalSpacing: boolean; - + /** Field in data provider which specifies if the category value should always be shown. For example: categoryAxis.forceShowField = "forceShow"; Field in data provider which specifies if the category value should always be shown. For example: categoryAxis.forceShowField = "forceShow"; And in data: {category:"one", forceShow:true, value:100} @@ -1256,7 +1256,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** Number Returns coordinate of the date, in case parseDates is set to true. if parseDates is false, use categoryToCoordinate method. date - Date object */ dateToCoordinate(date: Date); - + /** Number Returns index of the category which is most close to specified coordinate. x - coordinate */ xToIndex(x: number); } @@ -1332,7 +1332,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** AmRectangularChart is a base class of AmSerialChart and AmXYChart. It can not be instantiated explicitly.*/ class AmRectangularChart extends AmCoordinateChart { - /** The angle of the 3D part of plot area. This creates a 3D effect (if the "depth3D" is > 0). + /** The angle of the 3D part of plot area. This creates a 3D effect (if the "depth3D" is > 0). @default 0 */ angle: number; @@ -1348,7 +1348,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val chartCursor: ChartCursor; /** Chart scrollbar. */ chartScrollbar: ChartScrollbar; - /** The depth of the 3D part of plot area. This creates a 3D effect (if the "angle" is > 0). + /** The depth of the 3D part of plot area. This creates a 3D effect (if the "angle" is > 0). @default 0*/ depth3D: number; /** Number of pixels between the container's bottom border and plot area. This space can be used for bottom axis' values. If autoMargin is true and bottom side has axis, this property is ignored. @@ -1363,7 +1363,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val @default 20 */ marginRight: number; - /** Flag which should be set to false if you need margins to be recalculated on next chart.validateNow() call. + /** Flag which should be set to false if you need margins to be recalculated on next chart.validateNow() call. @default false */ marginsUpdated: boolean; @@ -1375,24 +1375,24 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val @default 0 */ plotAreaBorderAlpha: number; - /** The color of the plot area's border. Note, the it is invisible by default, as plotAreaBorderAlpha default value is 0. Set it to a value higher than 0 to make it visible. + /** The color of the plot area's border. Note, the it is invisible by default, as plotAreaBorderAlpha default value is 0. Set it to a value higher than 0 to make it visible. @default '#000000'*/ plotAreaBorderColor: string; - /** Opacity of plot area. Plural form is used to keep the same property names as our Flex charts'. Flex charts can accept array of numbers to generate gradients. Although you can set array here, only first value of this array will be used. + /** Opacity of plot area. Plural form is used to keep the same property names as our Flex charts'. Flex charts can accept array of numbers to generate gradients. Although you can set array here, only first value of this array will be used. @default 0 */ plotAreaFillAlphas: number; - /** You can set both one color if you need a solid color or array of colors to generate gradients, for example: ["#000000", "#0000CC"] + /** You can set both one color if you need a solid color or array of colors to generate gradients, for example: ["#000000", "#0000CC"] @default '#FFFFFF' */ plotAreaFillColors: any; - /** If you are using gradients to fill the plot area, you can use this property to set gradient angle. The only allowed values are horizontal and vertical: 0, 90, 180, 270. + /** If you are using gradients to fill the plot area, you can use this property to set gradient angle. The only allowed values are horizontal and vertical: 0, 90, 180, 270. @default 0 */ plotAreaGradientAngle: number; /** Array of trend lines added to a chart. You can add trend lines to a chart using this array or access already existing trend lines */ trendLines: TrendLine[]; - /** Opacity of zoom-out button background. + /** Opacity of zoom-out button background. @default 0 */ zoomOutButtonAlpha: number; @@ -1418,7 +1418,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val zoomOutButtonRollOverAlpha: number; /** Text in the zoom-out button. Show all */ zoomOutText: string; - + /** Adds a ChartCursor object to a chart */ addChartCursor(cursor: ChartCursor); /** Adds a ChartScrollbar to a chart */ @@ -1430,7 +1430,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val removeChartCursor(); /** Removes scrollbar from the chart */ removeChartScrollbar(); - /** Removes a trend line from a chart. + /** Removes a trend line from a chart. You should call chart.validateNow() in order the changes to be visible. */ removeTrendLine(trendLine: TrendLine); } @@ -1470,7 +1470,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val categoryBalloonColor: string; /** Category balloon date format (used only if category axis parses dates). Check this page for instructions on how to format dates. MMM DD, YYYY */ categoryBalloonDateFormat: string; - /** Specifies whether category balloon is enabled. + /** Specifies whether category balloon is enabled. @default true */ categoryBalloonEnabled: boolean; @@ -1539,17 +1539,17 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** AmSerialChart is the class you have to use for majority of chart types. The supported chart types are: line, area, column, bar, step line, smoothed line, candlestick and OHLC. The chart can be rotated by 90 degrees so the column chart becomes bar chart. The chart supports simple and logarithmic scales, it can have multiple value axes. The chart can place data points at equal intervals or can parse dates and place data points at irregular intervals. @example var chartData = [{title:"sample 1",value:130},{title:"sample 2",value:26}]; - + var chart = new AmCharts.AmSerialChart(); chart.categoryField = "title"; chart.dataProvider = chartData; - + var graph = new AmCharts.AmGraph(); graph.valueField = "value"; graph.type = "column"; graph.fillAlphas = 1; chart.addGraph(graph); - + chart.write("chartdiv"); */ class AmSerialChart extends AmRectangularChart { @@ -1581,7 +1581,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val maxSelectedSeries: number; /** The longest time span allowed to select (in milliseconds) for example, 259200000 will limit selection to 3 days. */ maxSelectedTime: number; - /** The shortest time span allowed to select (in milliseconds) for example, 1000 will limit selection to 1 second. + /** The shortest time span allowed to select (in milliseconds) for example, 1000 will limit selection to 1 second. @default 0 */ minSelectedTime: number; @@ -1830,7 +1830,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** Specifies if label is bold or not. */ bold: boolean; /** Color of a label */ - color: string; + color: string; /** Unique id of a Label. You don't need to set it, unless you want to. */ id: string; /** Rotation angle. */ @@ -2156,7 +2156,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** Value balloon color. Will use graph or data item color if not set. */ balloonColor: string; /** If you set some function, the graph will call it and pass GraphDataItem and AmGraph object to it. This function should return a string which will be displayed in a balloon. */ - balloonFunction(graphDataItem: GraphDataItem, amGraph: AmGraph): string; + balloonFunction(graphDataItem: GraphDataItem, amGraph: AmGraph): string; /** Balloon text. You can use tags like [[value]], [[description]], [[percents]], [[open]], [[category]] [[value]] */ balloonText: string; /** Specifies if the line graph should be placed behind column graphs */ @@ -2431,7 +2431,7 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val /** Specifies whether values on axis can only be integers or both integers and doubles. */ integersOnly: boolean; /** You can use this function to format Value axis labels. This function is called and these parameters are passed: labelFunction(value, valueText, valueAxis); -Where value is numeric value, valueText is formatted string and valueAxis is a reference to valueAxis object. +Where value is numeric value, valueText is formatted string and valueAxis is a reference to valueAxis object. If axis type is "date", labelFunction will pass different arguments: labelFunction(valueText, date, valueAxis) @@ -2510,7 +2510,7 @@ Your function should return string.*/ removeGuide(guide: Guide); /** Removes event listener from the object. */ removeListener(obj: any, type: string, handler: any); - + /** One value axis can be synchronized with another value axis. You should set synchronizationMultiplyer in order for this to work. */ synchronizeWithAxis(axis:ValueAxis); /** XY Chart only. Zooms-in the axis to the provided values. */ @@ -2534,15 +2534,15 @@ Your function should return string.*/ /** Removes event listener from chart object. */ removeListener(chart: AmChart, type: string, handler: any); } - + class Title { /** @default 1 */ alpha: number; - /** Specifies if the tile is bold or not. + /** Specifies if the tile is bold or not. @default false*/ bold: boolean; /** Text color of a title. */ - color: string; + color: string; /** Unique id of a Title. You don't need to set it, unless you want to. */ id: string; /** Text size */ @@ -2555,4 +2555,4 @@ Your function should return string.*/ libs: Object; menu: Object; } -} \ No newline at end of file +} diff --git a/amqplib/amqplib.d.ts b/amqplib/amqplib.d.ts index f78dda301d2cfb..6c393014f996d3 100644 --- a/amqplib/amqplib.d.ts +++ b/amqplib/amqplib.d.ts @@ -7,7 +7,7 @@ /// declare module "amqplib/properties" { - module Replies { + namespace Replies { interface Empty { } interface AssertQueue { @@ -29,7 +29,7 @@ declare module "amqplib/properties" { } } - module Options { + namespace Options { interface AssertQueue { exclusive?: boolean; durable?: boolean; diff --git a/analytics-node/analytics-node.d.ts b/analytics-node/analytics-node.d.ts index 9faaabee58899c..aed257c9cc7e03 100644 --- a/analytics-node/analytics-node.d.ts +++ b/analytics-node/analytics-node.d.ts @@ -3,7 +3,7 @@ // Definitions by: Andrew Fong // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module AnalyticsNode { +declare namespace AnalyticsNode { interface Integrations { [index: string]: boolean; diff --git a/angular-agility/angular-agility.d.ts b/angular-agility/angular-agility.d.ts index b757116ce8ad84..33a8c3b8a49f11 100644 --- a/angular-agility/angular-agility.d.ts +++ b/angular-agility/angular-agility.d.ts @@ -5,38 +5,38 @@ /// -declare module aa { +declare namespace aa { export interface ILabelStrategies { [strategyName: string]: (element:ng.IAugmentedJQueryStatic, labelText:string, isRequired:boolean)=>void; } - + export interface IFieldGroupStrategies { [strategyName: string]: (element:ng.IAugmentedJQueryStatic)=>void; } - + export interface IValMsgPlacementStrategies { [strategyName: string]: (formFieldElement:ng.IAugmentedJQueryStatic, formName:string, formFieldName:string)=>void; } - + export interface IValidIconStrategy { validIcon:string; invalidIcon:string; getContainer(element:ng.IAugmentedJQueryStatic):void; } - + export interface ISpinnerClickStrategies { [strategyName: string]: (element:ng.IAugmentedJQueryStatic)=>void; } - + export interface IOnNavigateAwayStrategies { [strategyName: string]: (rootFormScope:ng.IScope, rootForm:ng.IAugmentedJQueryStatic, $injector:ng.auto.IInjectorService)=>void; } - + export interface IValidationMessages { [validationKey: string]: string; } - + export interface IGlobalSettings { [settingName: string]: any; } @@ -53,18 +53,18 @@ declare module aa { valMsgForTemplate:string; confirmResetStrategy:()=>boolean; globalSettings:IGlobalSettings; - + labelStrategies:ILabelStrategies; fieldGroupStrategies:IFieldGroupStrategies; valMsgPlacementStrategies:IValMsgPlacementStrategies; spinnerClickStrategies:ISpinnerClickStrategies; onNavigateAwayStrategies:IOnNavigateAwayStrategies; } - + export interface INotifyPredicate { (message:string, options:any, notifier:any):any; } - + export interface INotifyDefaults { success: INotifyPredicate; info: INotifyPredicate; @@ -72,7 +72,7 @@ declare module aa { danger: INotifyPredicate; error: INotifyPredicate; } - + export interface INotifyConfig { name:string; template?:string; @@ -80,14 +80,14 @@ declare module aa { options:INotifyOptions; namedDefaults:INotifyDefaults; } - + export interface INotifyOptions { cssClasses?:string; messageType:string; allowHtml:boolean; message:string; } - + export interface INotifyConfigProvider extends ng.IServiceProvider { notifyConfigs:any; defaultTargetContainerName:string; @@ -95,7 +95,7 @@ declare module aa { addOrUpdateNotifyConfig(name:string, opts:INotifyConfig):void; optionsTransformer(options:INotifyOptions, $sce:ng.ISCEService):void; } - + export interface IExternalFormValidationConfig { validations:any; ignore?:any; @@ -103,4 +103,4 @@ declare module aa { resolve?:any; resolveFn?:(modelValue:string)=>string; } -} \ No newline at end of file +} diff --git a/angular-bootstrap-calendar/angular-bootstrap-calendar.d.ts b/angular-bootstrap-calendar/angular-bootstrap-calendar.d.ts index 0d92b3be84a541..e32dcfca68f0ad 100644 --- a/angular-bootstrap-calendar/angular-bootstrap-calendar.d.ts +++ b/angular-bootstrap-calendar/angular-bootstrap-calendar.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.bootstrap.calendar { +declare namespace angular.bootstrap.calendar { interface IEvent { /** * The title of the event @@ -110,7 +110,7 @@ declare module angular.bootstrap.calendar { badgeTotal: number; } - module events { + namespace events { interface IOnEventClick { (calendarEvent: IEvent): void; } @@ -135,4 +135,4 @@ declare module angular.bootstrap.calendar { (calendarDate: Date, calendarNextView: string): void; } } -} \ No newline at end of file +} diff --git a/angular-bootstrap-lightbox/angular-bootstrap-lightbox.d.ts b/angular-bootstrap-lightbox/angular-bootstrap-lightbox.d.ts index 59248e968dee5c..9c7438b042ce6a 100644 --- a/angular-bootstrap-lightbox/angular-bootstrap-lightbox.d.ts +++ b/angular-bootstrap-lightbox/angular-bootstrap-lightbox.d.ts @@ -3,7 +3,7 @@ // Definitions by: Roland Zwaga // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module angular.bootstrap.lightbox { +declare namespace angular.bootstrap.lightbox { export interface ILightboxImageInfo { url: string; @@ -48,4 +48,4 @@ declare module angular.bootstrap.lightbox { calculateImageDimensionLimits:(dimensions:IImageDimensionParameter)=>IImageDimensionLimits; calculateModalDimensions:(dimensions:IModalDimensionsParameter)=>IModalDimensions; } -} \ No newline at end of file +} diff --git a/angular-cookie/angular-cookie.d.ts b/angular-cookie/angular-cookie.d.ts index 9bc3de6b4eb609..02700ea1bd7220 100644 --- a/angular-cookie/angular-cookie.d.ts +++ b/angular-cookie/angular-cookie.d.ts @@ -3,63 +3,63 @@ // Definitions by: Borislav Zhivkov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module angular.cookie { +declare namespace angular.cookie { interface CookieService { /** * Get all cookies */ (): any; - + /** * Get a cookie with a specific key */ (key: string): any; - + /** * Create a cookie */ (key: string, value: any, options?: CookieOptions): any; - + /** * Remove a cookie */ remove(key: string, options?: CookieOptions): void; } - + interface CookieOptions { /** * The domain tells the browser to which domain the cookie should be sent. If you don't specify it, it becomes the domain of the page that sets the cookie. */ domain?: string; - + /** * The path gives you the chance to specify a directory where the cookie is active. */ path?: string; - + /** * Each cookie has an expiry date after which it is trashed. If you don't specify the expiry date the cookie is trashed when you close the browser. */ expires?: number; - + /** * Allows you to set the expiration time in hours, minutes, seconds, or `milliseconds. If this is not specified, any expiration time specified will default to days. */ expirationUnit?: string; - + /** * The Secure attribute is meant to keep cookie communication limited to encrypted transmission, directing browsers to use cookies only via secure/encrypted connections. */ secure?: boolean; - + /** * The method that will be used to encode the cookie value (should be passed when using Set). */ encode?: (value: any) => any; - + /** * The method that will be used to decode extracted cookie values (should be passed when using Get). */ decode?: (value: any) => any; } -} \ No newline at end of file +} diff --git a/angular-dialog-service/angular-dialog-service.d.ts b/angular-dialog-service/angular-dialog-service.d.ts index cd9c35f8975aa3..3d75e322220e09 100644 --- a/angular-dialog-service/angular-dialog-service.d.ts +++ b/angular-dialog-service/angular-dialog-service.d.ts @@ -6,7 +6,7 @@ /// /// -declare module angular.dialogservice { +declare namespace angular.dialogservice { interface IDialogOptions { /** diff --git a/angular-dynamic-locale/angular-dynamic-locale.d.ts b/angular-dynamic-locale/angular-dynamic-locale.d.ts index 2c76e8a54afccb..4b7a1f9656a669 100644 --- a/angular-dynamic-locale/angular-dynamic-locale.d.ts +++ b/angular-dynamic-locale/angular-dynamic-locale.d.ts @@ -10,7 +10,7 @@ declare module "angular-dynamic-locale" { export = ng; } -declare module angular.dynamicLocale { +declare namespace angular.dynamicLocale { interface tmhDynamicLocaleService { set(locale: string): void; @@ -23,4 +23,4 @@ declare module angular.dynamicLocale { useStorage(storageName: string): void; useCookieStorage(): void; } -} \ No newline at end of file +} diff --git a/angular-environment/angular-environment.d.ts b/angular-environment/angular-environment.d.ts index bb38b8f0aa02ef..483474410c7e6e 100644 --- a/angular-environment/angular-environment.d.ts +++ b/angular-environment/angular-environment.d.ts @@ -3,7 +3,7 @@ // Definitions by: Matt Wheatley // Definitions: https://github.com/LiberisLabs -declare module angular.environment { +declare namespace angular.environment { interface ServiceProvider { /** * Sets the configuration object diff --git a/angular-formly/angular-formly.d.ts b/angular-formly/angular-formly.d.ts index 50a71c125aad72..206d3294f905ee 100644 --- a/angular-formly/angular-formly.d.ts +++ b/angular-formly/angular-formly.d.ts @@ -14,7 +14,7 @@ declare module 'angular-formly' { export = angularFormlyDefaultExport; } -declare module AngularFormly { +declare namespace AngularFormly { interface IFieldArray extends Array { diff --git a/angular-fullscreen/angular-fullscreen.d.ts b/angular-fullscreen/angular-fullscreen.d.ts index 6fc31fbc5b91de..414754db4339cf 100644 --- a/angular-fullscreen/angular-fullscreen.d.ts +++ b/angular-fullscreen/angular-fullscreen.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.fullscreen { +declare namespace angular.fullscreen { /** * Prefixing interface name with "I" is not recommended: http://www.typescriptlang.org/Handbook#writing-dts-files diff --git a/angular-gettext/angular-gettext-tests.ts b/angular-gettext/angular-gettext-tests.ts index 0b0532fc4f594e..d15924331d394a 100644 --- a/angular-gettext/angular-gettext-tests.ts +++ b/angular-gettext/angular-gettext-tests.ts @@ -1,7 +1,7 @@ /// -module angular_gettext_tests { - +namespace angular_gettext_tests { + // Configuring angular-gettext // https://angular-gettext.rocketeer.be/dev-guide/configure/ @@ -15,12 +15,12 @@ module angular_gettext_tests { gettextCatalog.debug = true; }); - - // Marking strings in JavaScript code as translatable. - // https://angular-gettext.rocketeer.be/dev-guide/annotate-js/ + + // Marking strings in JavaScript code as translatable. + // https://angular-gettext.rocketeer.be/dev-guide/annotate-js/ angular.module("myApp").controller("helloController", function (gettext: angular.gettext.gettextFunction) { var myString = gettext("Hello"); - }); + }); //Translating directly in JavaScript. angular.module("myApp").controller("helloController", function (gettextCatalog: angular.gettext.gettextCatalog) { @@ -58,4 +58,4 @@ module angular_gettext_tests { gettextCatalog.loadRemote("/languages/" + lang + ".json"); }; }); -} \ No newline at end of file +} diff --git a/angular-gettext/angular-gettext.d.ts b/angular-gettext/angular-gettext.d.ts index 17a542e3983fcd..48734d44334dba 100644 --- a/angular-gettext/angular-gettext.d.ts +++ b/angular-gettext/angular-gettext.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.gettext { +declare namespace angular.gettext { interface gettextCatalog { ////////////// @@ -24,7 +24,7 @@ declare module angular.gettext { translatedMarkerSuffix: string; /** An object of loaded translation strings.Shouldn't be used directly. */ strings: {}; - /** The default language, in which you're application is written. This defaults to English and it's generally a bad idea to use anything else: if your language has different pluralization rules you'll end up with incorrect translations. Deprecated + /** The default language, in which you're application is written. This defaults to English and it's generally a bad idea to use anything else: if your language has different pluralization rules you'll end up with incorrect translations. Deprecated * @deprecreated */ baseLanguage: string; @@ -51,7 +51,7 @@ declare module angular.gettext { /** Get the correct pluralized (but untranslated) string for the value of n. */ getStringForm(string: string, n: number): string; - /** Translate a string with the given context. Uses Angular.JS interpolation, so something like this will do what you expect: + /** Translate a string with the given context. Uses Angular.JS interpolation, so something like this will do what you expect: * var hello = gettextCatalog.getString("Hello {{name}}!", { name: "Ruben" }); * // var hello will be "Hallo Ruben!" in Dutch. * The context parameter is optional: pass null (or don't pass anything) if you're not using it: this skips interpolation and is a lot faster. diff --git a/angular-google-analytics/angular-google-analytics-service.d.ts b/angular-google-analytics/angular-google-analytics-service.d.ts index d59a9a24419fdd..98012807406ead 100644 --- a/angular-google-analytics/angular-google-analytics-service.d.ts +++ b/angular-google-analytics/angular-google-analytics-service.d.ts @@ -3,7 +3,7 @@ // Definitions by: Matt Wheatley // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module angular.google.analytics { +declare namespace angular.google.analytics { interface AnalyticsService { /** * @summary If logging is enabled then all outbound calls are accessible via an in-memory array. diff --git a/angular-google-analytics/angular-google-analytics.d.ts b/angular-google-analytics/angular-google-analytics.d.ts index 22d53cddc3060d..03ef64ba75fea8 100644 --- a/angular-google-analytics/angular-google-analytics.d.ts +++ b/angular-google-analytics/angular-google-analytics.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.google.analytics { +declare namespace angular.google.analytics { /** * @summary Interface for {@link AnalysticsProvider}. * @interface diff --git a/angular-growl-v2/angular-growl-v2.d.ts b/angular-growl-v2/angular-growl-v2.d.ts index b6eb555b00fe3c..7b67678b85a0fa 100644 --- a/angular-growl-v2/angular-growl-v2.d.ts +++ b/angular-growl-v2/angular-growl-v2.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.growl { +declare namespace angular.growl { /** * Global Time-To-Leave configuration. @@ -39,7 +39,7 @@ declare module angular.growl { */ interface IGrowlMessage extends IGrowlMessageConfig { text: string; - + /** * Destroy the message. */ diff --git a/angular-hotkeys/angular-hotkeys.d.ts b/angular-hotkeys/angular-hotkeys.d.ts index 20c1b3573f6706..407d1c73139bcb 100644 --- a/angular-hotkeys/angular-hotkeys.d.ts +++ b/angular-hotkeys/angular-hotkeys.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.hotkeys { +declare namespace angular.hotkeys { interface HotkeysProvider { template: string; diff --git a/angular-http-auth/angular-http-auth.d.ts b/angular-http-auth/angular-http-auth.d.ts index 453eeaac91308d..d5fb52fd6c8a1a 100644 --- a/angular-http-auth/angular-http-auth.d.ts +++ b/angular-http-auth/angular-http-auth.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.httpAuth { +declare namespace angular.httpAuth { interface IAuthService { loginConfirmed(data?:any, configUpdater?:Function):void; loginCancelled(data?:any, reason?:any):void; diff --git a/angular-httpi/angular-httpi.d.ts b/angular-httpi/angular-httpi.d.ts index c06af86a3b5bfa..d9aa2b5609e479 100644 --- a/angular-httpi/angular-httpi.d.ts +++ b/angular-httpi/angular-httpi.d.ts @@ -5,7 +5,7 @@ /// -declare module Httpi { +declare namespace Httpi { export interface HttpiPayload extends ng.IRequestShortcutConfig { method?: string; url?: string; @@ -39,4 +39,4 @@ declare module Httpi { setKeepTrailingSlash(newKeepTrailingSlash: boolean): HttpiResource; } -} \ No newline at end of file +} diff --git a/angular-idle/angular-idle.d.ts b/angular-idle/angular-idle.d.ts index efe79856b3f913..0a980204cb3e01 100644 --- a/angular-idle/angular-idle.d.ts +++ b/angular-idle/angular-idle.d.ts @@ -5,94 +5,94 @@ /// -declare module angular.idle { +declare namespace angular.idle { /** * Used to configure the Title service. */ interface ITitleProvider extends IServiceProvider { - + /** * Enables or disables the Title functionality. - * + * * @param enabled Boolean, default is true. */ enabled(enabled: boolean): void; } - + interface ITitleService { - + /** * Allows the title functionality to be enabled or disabled on the fly. */ setEnabled(enabled: boolean): void; - + /** * Returns whether or not the title functionality has been enabled. */ isEnabled(): boolean; - + /** * Will store val as the "original" title of the document. - * - * Tracking the original title is important when restoring the title after displaying, for example, the idle warning message. + * + * Tracking the original title is important when restoring the title after displaying, for example, the idle warning message. */ original(val: string): void; - + /** * Returns the "original" title value that has been previously set. - * - * Tracking the original title is important when restoring the title after displaying, for example, the idle warning message. + * + * Tracking the original title is important when restoring the title after displaying, for example, the idle warning message. */ original(): string; - + /** * Changes the actual title of the document. */ value(val: string): void; - + /** * Returns the current document title. */ value(): string; - + /** * If overwrite is false or unspecified, updates the "original" title with the current document title * if it has not already been stored. If overwrite is true, the current document title is stored regardless. */ store(overwrite?: boolean): void; - + /** * Sets the title to the original value (if it was stored or set previously). */ restore(): void; - + /** * Sets the text to use as the message displayed when the user is idle. */ idleMessage(val: string): void; - + /** * Gets the text to use as the message displayed when the user is idle. */ idleMessage(): string; - + /** * Sets the text to use as the message displayed when the user is timed out. */ timedOutMessage(val: string): void; - + /** * Gets the text to use as the message displayed when the user is timed out. */ timedOutMessage(): string; - + /** * Stores the original title if it hasn't been already, determines the number minutes, seconds, * and total seconds from countdown, and displays the idleMessage with the aforementioned values interpolated. */ setAsIdle(countdown: number): void; - + /** * Stores the original title if it hasn't been already, and displays the timedOutMessage. */ @@ -105,19 +105,19 @@ declare module angular.idle { interface IKeepAliveProvider extends IServiceProvider { /** - * If configured, options will be used to issue a request using $http. - * If the value is null, no HTTP request will be issued. - * You can specify a string, which it will assume to be a URL to a simple GET request. + * If configured, options will be used to issue a request using $http. + * If the value is null, no HTTP request will be issued. + * You can specify a string, which it will assume to be a URL to a simple GET request. * Otherwise, you can use the same options $http takes. However, cache will always be false. - * + * * @param value May be string or IRequestConfig, default is null. */ http(value: string | IRequestConfig): void; /** - * This specifies how often the keepalive event is triggered and the + * This specifies how often the keepalive event is triggered and the * HTTP request is issued. - * + * * @param seconds Integer, default is 10 minutes. Must be greater than 0. */ interval(seconds: number): void; @@ -126,7 +126,7 @@ declare module angular.idle { /** * Keepalive will use a timeout to periodically wake, broadcast a Keepalive event on the root scope, * and optionally make an $http request. By default, the Idle service will stop and start Keepalive - * when a user becomes idle or returns from idle, respectively. It is also started automatically when + * when a user becomes idle or returns from idle, respectively. It is also started automatically when * Idle.watch() is called. This can be disabled by configuring the IdleProvider. */ interface IKeepAliveService { @@ -145,7 +145,7 @@ declare module angular.idle { * Performs one ping only. */ ping(): void; - + /** * Changes the interval value at runtime. * You will need to restart the pinging process by calling start() manually for the changes to be reflected. @@ -158,26 +158,26 @@ declare module angular.idle { */ interface IIdleProvider extends IServiceProvider { /** - * Specifies the DOM events the service will watch to reset the idle timeout. + * Specifies the DOM events the service will watch to reset the idle timeout. * Multiple events should be separated by a space. - * + * * @param events string, default 'mousemove keydown DOMMouseScroll mousewheel mousedown' */ interrupt(events: string): void; /** - * The idle timeout duration in seconds. After this amount of time passes without the user - * performing an action that triggers one of the watched DOM events, the user is considered + * The idle timeout duration in seconds. After this amount of time passes without the user + * performing an action that triggers one of the watched DOM events, the user is considered * idle. - * + * * @param seconds integer, default is 20min */ idle(seconds: number): void; /** - * The amount of time the user has to respond (in seconds) before they have been considered + * The amount of time the user has to respond (in seconds) before they have been considered * timed out. - * + * * @param seconds integer, default is 30s */ timeout(seconds: number): void; @@ -187,14 +187,14 @@ declare module angular.idle { * and reset the idle state. If false or off, you will need to manually call watch() * when you want to start watching for idleness again. If notIdle, user activity will * only automatically interrupt if the user is not yet idle. - * + * * @param enabled boolean or string, possible values: off/false, idle/true, or notIdle */ autoResume(enabled: boolean | string): void; /** * When true, the Keepalive service is automatically stopped and started as needed. - * + * * @param enabled boolean, default is true */ keepalive(enabled: boolean): void; @@ -202,9 +202,9 @@ declare module angular.idle { /** * Idle, once watch() is called, will start a timeout which if expires, will enter a warning state - * countdown. Once the countdown reaches zero, idle will broadcast a timeout event indicating the - * user has timed out (where your app should log them out or whatever you like). If the user performs - * an action that triggers a watched DOM event that bubbles up to document.body, this will reset the + * countdown. Once the countdown reaches zero, idle will broadcast a timeout event indicating the + * user has timed out (where your app should log them out or whatever you like). If the user performs + * an action that triggers a watched DOM event that bubbles up to document.body, this will reset the * idle/warning state and start the process over again. */ interface IIdleService { @@ -219,13 +219,13 @@ declare module angular.idle { getTimeout(): number; /** - * Updates the idle value (see IdleProvider.idle()) and + * Updates the idle value (see IdleProvider.idle()) and * restarts the watch if its running. */ setIdle(idle: number): void; /** - * Updates the timeout value (see IdleProvider.timeout()) and + * Updates the timeout value (see IdleProvider.timeout()) and * restarts the watch if its running. */ setTimeout(timeout: number): void; @@ -234,7 +234,7 @@ declare module angular.idle { * Whether user has timed out (meaning idleDuration + timeout has passed without any activity) */ isExpired(): boolean; - + /** * Whether or not the watch() has been called and it is watching for idleness. */ diff --git a/angular-jwt/angular-jwt.d.ts b/angular-jwt/angular-jwt.d.ts index 5696ee3c56d474..d8c719e2ef5b26 100644 --- a/angular-jwt/angular-jwt.d.ts +++ b/angular-jwt/angular-jwt.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.jwt { +declare namespace angular.jwt { interface JwtToken { iss: string; diff --git a/angular-load/angular-load.d.ts b/angular-load/angular-load.d.ts index 52677d8d2c5d27..cd806c31f328d0 100644 --- a/angular-load/angular-load.d.ts +++ b/angular-load/angular-load.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.load { +declare namespace angular.load { interface IAngularLoadService { loadScript(url:string): ng.IPromise; diff --git a/angular-loading-bar/angular-loading-bar.d.ts b/angular-loading-bar/angular-loading-bar.d.ts index d312dda960bade..22a00f9ee7e7e4 100644 --- a/angular-loading-bar/angular-loading-bar.d.ts +++ b/angular-loading-bar/angular-loading-bar.d.ts @@ -6,7 +6,7 @@ /// -declare module angular { +declare namespace angular { interface IRequestShortcutConfig { /** @@ -16,8 +16,8 @@ declare module angular { } } -declare module angular.loadingBar { - +declare namespace angular.loadingBar { + interface ILoadingBarProvider{ /** * Turn the spinner on or off diff --git a/angular-local-storage/angular-local-storage.d.ts b/angular-local-storage/angular-local-storage.d.ts index e18f9f694af354..b2bcf377d2fd95 100644 --- a/angular-local-storage/angular-local-storage.d.ts +++ b/angular-local-storage/angular-local-storage.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.local.storage { +declare namespace angular.local.storage { interface ILocalStorageServiceProvider extends angular.IServiceProvider { /** * Setter for the prefix diff --git a/angular-localForage/angular-localForage.d.ts b/angular-localForage/angular-localForage.d.ts index a930c427ce44eb..edc4ca268dbc17 100644 --- a/angular-localForage/angular-localForage.d.ts +++ b/angular-localForage/angular-localForage.d.ts @@ -6,7 +6,7 @@ /// /// -declare module angular.localForage { +declare namespace angular.localForage { interface LocalForageConfig { driver?:string; diff --git a/angular-locker/angular-locker.d.ts b/angular-locker/angular-locker.d.ts index 8f2712d5c3148d..3327521f1aaf34 100644 --- a/angular-locker/angular-locker.d.ts +++ b/angular-locker/angular-locker.d.ts @@ -10,7 +10,7 @@ declare module "angular-locker" { export = _; } -declare module angular.locker { +declare namespace angular.locker { interface ILockerServicePutFunction { (current: any): any } @@ -69,7 +69,7 @@ declare module angular.locker { * Add a new item to storage (even if it already exists) * * @param {Mixed} key The key to add - * @param {Mixed} value The value to add + * @param {Mixed} value The value to add */ put(key: string, value: any): ILockerService | boolean; /** @@ -77,7 +77,7 @@ declare module angular.locker { * * @param {Mixed} key The key to add * @param {Mixed} putFunction The default to pass to function if doesn't already exist - * @param {Mixed} value The value to add + * @param {Mixed} value The value to add */ put(key: string, putFunction: ILockerServicePutFunction, value: any): ILockerService | boolean; /** @@ -167,4 +167,4 @@ declare module angular.locker { */ defaults(lockerSettings: ILockerSettings): void; } -} \ No newline at end of file +} diff --git a/angular-material/angular-material-0.8.3.d.ts b/angular-material/angular-material-0.8.3.d.ts index 0152d4398d5b20..599a39ba9bd045 100644 --- a/angular-material/angular-material-0.8.3.d.ts +++ b/angular-material/angular-material-0.8.3.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module angular.material { +declare namespace angular.material { interface MDBottomSheetOptions { templateUrl?: string; diff --git a/angular-material/angular-material-0.9.0.d.ts b/angular-material/angular-material-0.9.0.d.ts index f2b23f81d2a9fd..daeedc008506b6 100644 --- a/angular-material/angular-material-0.9.0.d.ts +++ b/angular-material/angular-material-0.9.0.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module angular.material { +declare namespace angular.material { interface MDBottomSheetOptions { templateUrl?: string; diff --git a/angular-material/angular-material.d.ts b/angular-material/angular-material.d.ts index 372c2f6d68e20a..6ba65473ed7932 100644 --- a/angular-material/angular-material.d.ts +++ b/angular-material/angular-material.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module angular.material { +declare namespace angular.material { interface IBottomSheetOptions { templateUrl?: string; diff --git a/angular-meteor/angular-meteor.d.ts b/angular-meteor/angular-meteor.d.ts index ba42d36075cccc..1e14ae9659a568 100644 --- a/angular-meteor/angular-meteor.d.ts +++ b/angular-meteor/angular-meteor.d.ts @@ -6,36 +6,36 @@ /// /// -declare module angular.meteor { +declare namespace angular.meteor { interface IRootScopeService extends angular.IRootScopeService { /** * The current logged in user and it's data. it is null if the user is not logged in. A reactive data source. */ currentUser: Meteor.User; - + /** - * True if a login method (such as Meteor.loginWithPassword, Meteor.loginWithFacebook, or Accounts.createUser) is currently in progress. + * True if a login method (such as Meteor.loginWithPassword, Meteor.loginWithFacebook, or Accounts.createUser) is currently in progress. * A reactive data source. Can be use to display animation while user is logging in. */ loggingIn: boolean; } - + interface IScope extends angular.IScope, IRootScopeService { /** * A method to get a $scope variable and watch it reactivly - * + * * @param scopeVariableName - The name of the scope's variable to bind to * @param [objectEquality=false] - Watch the object equality using angular.equals instead of comparing for reference equality, deeper watch but also slower */ getReactively(scopeVariableName: string, objectEquality?: boolean): ReactiveResult; - + /** * A service which is a wrapper for Meteor.subscribe. It subscribes to a Meteor.publish method in the client and returns a AngularJS promise when ready. * Calling $scope.subscribe will automatically stop the subscription when the scope is destroyed. - * + * * @param name - Name of the subscription. Matches the name of the server's publish() call. * @param publisherArguments - Optional arguments passed to publisher function on server. - * + * * @return The promise solved successfully when subscription is ready. The success promise holds the subscription handle. */ subscribe(name: string, ...publisherArguments: any[]): angular.IPromise; @@ -57,206 +57,206 @@ declare module angular.meteor { * The autorun method is part of the ReactiveContext, and available on every context and $scope. * The argument of this method is a callback, which will be called each time Autorun will be used. * The Autorun will stop automatically when when it's context ($scope) is destroyed. - * + * * @param runFunc - The function to run. It receives one argument: the Computation object that will be returned. */ autorun(runFunc : () => void) : Tracker.Computation; } - + /** * $meteor in angularjs */ interface IMeteorService { /** * A service that wraps the Meteor collections to enable reactivity within AngularJS. - * - * @param collection - A Meteor Collection or a reactive function to bind to. + * + * @param collection - A Meteor Collection or a reactive function to bind to. * - Reactive function can be used with $scope.getReactively to add $scope variable as reactive variable to the cursor. - * @param [autoClientSave=true] - By default, changes in the Angular collection will automatically update the Meteor collection. + * @param [autoClientSave=true] - By default, changes in the Angular collection will automatically update the Meteor collection. * - However if set to false, changes in the client won't be automatically propagated back to the Meteor collection. */ collection(collection: Mongo.Collection|ReactiveResult|Function|(()=>T), autoClientSave?: boolean): AngularMeteorCollection; - + /** * A service that wraps the Meteor collections to enable reactivity within AngularJS. - * - * @param collection - A Meteor Collection or a reactive function to bind to. + * + * @param collection - A Meteor Collection or a reactive function to bind to. * - Reactive function can be used with $scope.getReactively to add $scope variable as reactive variable to the cursor. - * @param [autoClientSave=true] - By default, changes in the Angular collection will automatically update the Meteor collection. + * @param [autoClientSave=true] - By default, changes in the Angular collection will automatically update the Meteor collection. * - However if set to false, changes in the client won't be automatically propagated back to the Meteor collection. * @param [updateCollection] - A collection object which will be used for updates (insert, update, delete). */ collection(collection: Mongo.Collection|ReactiveResult|Function|(()=>T), autoClientSave: boolean, updateCollection: Mongo.Collection): AngularMeteorCollection2; - + /** - * A service that wraps a Meteor object to enable reactivity within AngularJS. + * A service that wraps a Meteor object to enable reactivity within AngularJS. * Finds the first document that matches the selector, as ordered by sort and skip options. Wraps collection.findOne - * + * * @param collection - A Meteor Collection to bind to. - * @param selector - A query describing the documents to find or just the ID of the document. - * - $meteor.object will find the first document that matches the selector, + * @param selector - A query describing the documents to find or just the ID of the document. + * - $meteor.object will find the first document that matches the selector, * - as ordered by sort and skip options, exactly like Meteor's collection.findOne - * @param [autoClientSave=true] - By default, changes in the Angular object will automatically update the Meteor object. + * @param [autoClientSave=true] - By default, changes in the Angular object will automatically update the Meteor object. * - However if set to false, changes in the client won't be automatically propagated back to the Meteor object. */ object(collection: Mongo.Collection, selector: Mongo.Selector|Mongo.ObjectID|string, autoClientSave?: boolean): AngularMeteorObject; - + /** * A service which is a wrapper for Meteor.subscribe. It subscribes to a Meteor.publish method in the client and returns a AngularJS promise when ready. - * + * * @param name - Name of the subscription. Matches the name of the server's publish() call. * @param publisherArguments - Optional arguments passed to publisher function on server. - * + * * @return The promise solved successfully when subscription is ready. The success promise holds the subscription handle. */ subscribe(name: string, ...publisherArguments: any[]): angular.IPromise; - + /** * A service service which wraps up Meteor.methods with AngularJS promises. - * + * * @param name - Name of method to invoke * @param methodArguments - Optional method arguments - * + * * @return The promise solves successfully with the return value of the method or return reject with the error from the method. */ call(name: string, ...methodArguments: any[]): angular.IPromise; - + // User Authentication BEGIN -> - + /** - * Returns a promise fulfilled with the currentUser when the user subscription is ready. + * Returns a promise fulfilled with the currentUser when the user subscription is ready. * This is useful when you want to grab the current user before the route is rendered. - * If there is no logged in user, it will return null. + * If there is no logged in user, it will return null. * See the “Authentication with Routers” section of our tutorial for more information and a full example. */ waitForUser(): angular.IPromise; - + /** - * Resolves the promise successfully if a user is authenticated and rejects otherwise. - * This is useful in cases where you want to require a route to have an authenticated user. - * You can catch the rejected promise and redirect the unauthenticated user to a different page, such as the login page. + * Resolves the promise successfully if a user is authenticated and rejects otherwise. + * This is useful in cases where you want to require a route to have an authenticated user. + * You can catch the rejected promise and redirect the unauthenticated user to a different page, such as the login page. * See the “Authentication with Routers” section of our tutorial for more information and a full example. */ requireUser(): angular.IPromise; - + /** - * Resolves the promise successfully if a user is authenticated and the validatorFn returns true; rejects otherwise. - * This is useful in cases where you want to require a route to have an authenticated user and do extra validation like the user's role or group. - * You can catch the rejected promise and redirect the unauthenticated user to a different page, such as the login page. + * Resolves the promise successfully if a user is authenticated and the validatorFn returns true; rejects otherwise. + * This is useful in cases where you want to require a route to have an authenticated user and do extra validation like the user's role or group. + * You can catch the rejected promise and redirect the unauthenticated user to a different page, such as the login page. * See the “Authentication with Routers” section of our tutorial for more information and a full example. - * - * The mandatory validator function will be called with the authenticated user as the single param and it's expected to return true in order to resolve. - * If it returns a string, the promise will be rejected using said string as the reason. + * + * The mandatory validator function will be called with the authenticated user as the single param and it's expected to return true in order to resolve. + * If it returns a string, the promise will be rejected using said string as the reason. * Any other return (false, null, undefined) will be rejected with the default "FORBIDDEN" reason. */ requireValidUser(validatorFn: (user: Meteor.User) => boolean|string): angular.IPromise; - + /** * Log the user in with a password. - * + * * @param user - Either a string interpreted as a username or an email; or an object with a single key: email, username or id. * @param password - The user's password. */ loginWithPassword(user: string|{email: string}|{username: string}|{id: string}, password: string): angular.IPromise; - + /** * Create a new user. More information: http://docs.meteor.com/#/full/accounts_createuser - * + * * @param options.username - A unique name for this user. Either this, or email is required. * @param options.email - The user's email address. Either this, or username is required. * @param options.password - The user's password. This is not sent in plain text over the wire. * @param options.profile - The user's profile, typically including the name field. */ createUser(options: {username?: string; email?: string; password: string; profile?: Object}): angular.IPromise; - + /** * Change the current user's password. Must be logged in. - * + * * @param oldPassword - The user's current password. This is not sent in plain text over the wire. * @param newPassword - A new password for the user. This is not sent in plain text over the wire. */ changePassword(oldPassword: string, newPassword: string): angular.IPromise; - + /** * Request a forgot password email. - * + * * @param options.email - The email address to send a password reset link. */ forgotPassword(options: {email: string}): angular.IPromise; - + /** * Reset the password for a user using a token received in email. Logs the user in afterwards. - * + * * @param token - The token retrieved from the reset password URL. * @param newPassword - A new password for the user. This is not sent in plain text over the wire. */ resetPassword(token: string, newPassword: string): angular.IPromise; - + /** * Marks the user's email address as verified. Logs the user in afterwards. - * + * * @param token - The token retrieved from the reset password URL. */ verifyEmail(token: string): angular.IPromise; - + loginWithFacebook: ILoginWithExternalService; loginWithTwitter: ILoginWithExternalService; loginWithGoogle: ILoginWithExternalService; loginWithGithub: ILoginWithExternalService; loginWithMeetup: ILoginWithExternalService; loginWithWeibo: ILoginWithExternalService; - + /** * Log the user out. - * + * * @return Resolves with no arguments on success, or reject with a Error argument on failure. */ logout(): angular.IPromise; - + /** - * Log out other clients logged in as the current user, but does not log out the client that calls this function. - * For example, when called in a user's browser, connections in that browser remain logged in, + * Log out other clients logged in as the current user, but does not log out the client that calls this function. + * For example, when called in a user's browser, connections in that browser remain logged in, * but any other browsers or DDP clients logged in as that user will be logged out. - * + * * @return Resolves with no arguments on success, or reject with a Error argument on failure. */ logoutOtherClients(): angular.IPromise; - + // <- User Authentication END // $meteorUtils BEGIN -> - + /** * @param scope - The AngularJS scope you use the autorun on. * @param fn - The function that will re-run every time a reactive variable changes inside it. */ autorun(scope: angular.IScope, fn: Function): void; - + /** * @param collectionName - The name of the collection you want to get back */ getCollectionByName(collectionName: string): Mongo.Collection; - + // <- $meteorUtils END // $meteorCamera BEGIN -> - + /** * A helper service for taking pictures across platforms. * Must add mdg:camera package to use! (meteor add mdg:camera) - * + * * @param [options] - options is an optional argument that is an Object with the following possible keys: * @param options.width - An integer that specifies the minimum width of the returned photo. * @param options.height - An integer that specifies the minimum height of the returned photo. * @param options.quality - A number from 0 to 100 specifying the desired quality of JPEG encoding. - * + * * @return The promise solved successfully when the picture is taken with the data as a parameter or rejected with an error as a parameter in case of error. */ getPicture(options?: {width?: number; height?: number; quality?: number}): angular.IPromise; - + // <- $meteorCamera END - + /** * A service that binds a scope variable to a Meteor Session variable. - * + * * @param sessionKey - The name of the session variable * @return An object with a single function bind - to bind to that variable. */ @@ -268,34 +268,34 @@ declare module angular.meteor { bind: (scope: IScope, model: string) => void; }; } - + /** * An object that connects a Meteor Object to an AngularJS scope variable. - * - * The object contains also all the properties from the generic type T, + * + * The object contains also all the properties from the generic type T, * unfortunately TypeScript doesn't at the moment allow to extend a generic type (see https://github.com/Microsoft/TypeScript/issues/2225 for details and updates). * For a workaround, you'll need to implement an interface which will merge AngularMeteorObject together with T and cast it, like this: - * + * * interface TodoAngularMeteorObject extends ITodo, AngularMeteorObject { } * var todo = $meteor.object(TodoCollection, 'TodoID'); */ interface AngularMeteorObject { /** - * @param [doc] - The doc to save to the Meteor Object. If nothing is passed, the method saves everything in the AngularMeteorObject as is. + * @param [doc] - The doc to save to the Meteor Object. If nothing is passed, the method saves everything in the AngularMeteorObject as is. * - Unchanged properties will be overridden with their existing values, which may trigger hooks. * - If doc is passed, the method only updates the Meteor Object with the properties passed, and no other changes will be saved. - * + * * @return Returns a promise with an error in case for an error or a number of successful docs changed in case of success. */ save(doc?: T): angular.IPromise; - + /** * Reset the current value of the object to the one in the server. */ reset(): void; - + /** - * Returns a copy of the AngularMeteorObject with all the AngularMeteor-specific internal properties removed. + * Returns a copy of the AngularMeteorObject with all the AngularMeteor-specific internal properties removed. * The returned object is then safe to use as a parameter for method calls, or anywhere else where the data needs to be converted to JSON. */ getRawObject(): T; @@ -303,17 +303,17 @@ declare module angular.meteor { /** * A shorten (Syntactic sugar) function for the $meteor.subscribe function. * Takes only one parameter and not returns a promise like $meteor.subscribe does. - * + * * @param subscriptionName - The subscription name to subscribe to. Exactly like the first parameter in $meteor.subscribe service. - */ + */ subscribe(subscriptionName:string): AngularMeteorObject; } - + /** * An object that connects a Meteor Collection to an AngularJS scope variable */ interface AngularMeteorCollection extends AngularMeteorCollection2 { } - + /** * An object that connects a Meteor Collection to an AngularJS scope variable, * but can use a differen type for updates. @@ -321,32 +321,32 @@ declare module angular.meteor { interface AngularMeteorCollection2 extends Array { /** * @param [docs] - The docs to save to the Meteor Collection. - * - If the docs parameter is empty, the method saves everything in the AngularMeteorCollection as is. - * - If an object is passed, the method pushes that object into the AngularMeteorCollection. + * - If the docs parameter is empty, the method saves everything in the AngularMeteorCollection as is. + * - If an object is passed, the method pushes that object into the AngularMeteorCollection. * - If an array is passed, the method pushes all objects in the array into the AngularMeteorCollection. */ save(docs?: U|U[]): void; - - /** + + /** * @param [keys] - The keys of the object to remove from the Meteor Collection. - * - If nothing is passed, the method removes all the documents from the AngularMeteorCollection. - * - If an object is passed, the method removes the object with that key from the AngularMeteorCollection. + * - If nothing is passed, the method removes all the documents from the AngularMeteorCollection. + * - If an object is passed, the method removes the object with that key from the AngularMeteorCollection. * - If an array is passed, the method removes all objects that matches the keys in the array from the AngularMeteorCollection. */ remove(keys?: U|string|number|string[]|number[]): void; - + /** * A shorten (Syntactic sugar) function for the $meteor.subscribe function. * Takes only one parameter and not returns a promise like $meteor.subscribe does. - * + * * @param subscriptionName - The subscription name to subscribe to. Exactly like the first parameter in $meteor.subscribe service. */ subscribe(subscriptionName:string): AngularMeteorCollection2; } - + interface ILoginWithExternalService { (options: Meteor.LoginWithExternalServiceOptions): angular.IPromise; } - + interface ReactiveResult { } } diff --git a/angular-modal/angular-modal.d.ts b/angular-modal/angular-modal.d.ts index 0effea95ccf578..0bc46ee1f183f1 100644 --- a/angular-modal/angular-modal.d.ts +++ b/angular-modal/angular-modal.d.ts @@ -6,7 +6,7 @@ /// /// -declare module angularModal { +declare namespace angularModal { type AngularModalControllerDefinition = (new (...args: any[]) => any) | Function | string; // Possible arguments to IControllerService diff --git a/angular-notifications/angular-notifications.d.ts b/angular-notifications/angular-notifications.d.ts index b83f6a3c57d616..58a388e580ffdd 100644 --- a/angular-notifications/angular-notifications.d.ts +++ b/angular-notifications/angular-notifications.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.notifications { +declare namespace angular.notifications { interface IAnimation { duration: number; diff --git a/angular-notify/angular-notify.d.ts b/angular-notify/angular-notify.d.ts index 45b8ff26c81a0b..541d06d720f3ec 100644 --- a/angular-notify/angular-notify.d.ts +++ b/angular-notify/angular-notify.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.cgNotify { +declare namespace angular.cgNotify { interface INotifyService { @@ -51,7 +51,7 @@ declare module angular.cgNotify { * Optional. Currently center and right are the only acceptable values. */ position? : string; - + /** * Optional. The duration (in milliseconds) of the message. A duration of 0 will prevent the message from closing automatically. */ @@ -99,7 +99,7 @@ declare module angular.cgNotify { * The default element that contains each notification. Defaults to document.body. */ container? : any; - + /** * The maximum number of total notifications that can be visible at one time. Older notifications will be closed when the maximum is reached. */ diff --git a/angular-odata-resources/angular-odata-resources.d.ts b/angular-odata-resources/angular-odata-resources.d.ts index 549741b7820a21..04c9ef3cfea524 100644 --- a/angular-odata-resources/angular-odata-resources.d.ts +++ b/angular-odata-resources/angular-odata-resources.d.ts @@ -5,8 +5,8 @@ /// -declare module OData { - +declare namespace OData { + /** * Currently supported options for the $resource factory options argument. */ diff --git a/angular-protractor/angular-protractor.d.ts b/angular-protractor/angular-protractor.d.ts index 2af6d9a6849f72..fa2928c1365769 100644 --- a/angular-protractor/angular-protractor.d.ts +++ b/angular-protractor/angular-protractor.d.ts @@ -5,7 +5,7 @@ /// -declare module protractor { +declare namespace protractor { //region Wrapped webdriver Items class ActionSequence extends webdriver.ActionSequence {} @@ -24,12 +24,12 @@ declare module protractor { var CommandName: webdriver.ICommandName; var Key: webdriver.IKey; - module error { + namespace error { class Error extends webdriver.error.Error {} var ErrorCode: webdriver.error.IErrorCode; } - module logging { + namespace logging { class Preferences extends webdriver.logging.Preferences { } class Entry extends webdriver.logging.Entry { } @@ -40,7 +40,7 @@ declare module protractor { function getLevel(nameOrValue: number): webdriver.logging.ILevel; } - module promise { + namespace promise { class Thenable extends webdriver.promise.Thenable { } class Promise extends webdriver.promise.Promise { } class Deferred extends webdriver.promise.Deferred { } @@ -283,7 +283,7 @@ declare module protractor { function setDefaultFlow(flow: webdriver.promise.ControlFlow): void; } - module stacktrace { + namespace stacktrace { class Frame extends webdriver.stacktrace.Frame { } class Snapshot extends webdriver.stacktrace.Snapshot { } @@ -311,7 +311,7 @@ declare module protractor { var BROWSER_SUPPORTED: boolean; } - module until { + namespace until { class Condition extends webdriver.until.Condition { } /** @@ -501,7 +501,7 @@ declare module protractor { function titleMatches(regex: RegExp): webdriver.until.Condition; } - module ExpectedConditions { + namespace ExpectedConditions { /** * Negates the result of a promise. * diff --git a/angular-scenario/angular-scenario.d.ts b/angular-scenario/angular-scenario.d.ts index bcbeaac77caaf3..f405a0a9c0a182 100644 --- a/angular-scenario/angular-scenario.d.ts +++ b/angular-scenario/angular-scenario.d.ts @@ -5,13 +5,13 @@ /// -declare module ng { +declare namespace ng { export interface IAngularStatic { scenario: any; } } -declare module angularScenario { +declare namespace angularScenario { export interface RunFunction { (functionToRun: any): any; diff --git a/angular-scroll/angular-scroll-tests.ts b/angular-scroll/angular-scroll-tests.ts index cd4a4fbca152ec..d7c319df9a5ef6 100644 --- a/angular-scroll/angular-scroll-tests.ts +++ b/angular-scroll/angular-scroll-tests.ts @@ -1,6 +1,6 @@ /// -module TestApp { +namespace TestApp { class TestController { @@ -61,4 +61,4 @@ module TestApp { angular.module('testApp', ['duScroll']) .controller('testController', TestController); -} \ No newline at end of file +} diff --git a/angular-scroll/angular-scroll.d.ts b/angular-scroll/angular-scroll.d.ts index c4686be1beea0b..1c96194e8b3ad9 100644 --- a/angular-scroll/angular-scroll.d.ts +++ b/angular-scroll/angular-scroll.d.ts @@ -6,7 +6,7 @@ /// -declare module duScroll { +declare namespace duScroll { /** * Extends the angular.element object returned by the $document sercive with a few jQuery like functions. @@ -41,4 +41,4 @@ declare module duScroll { duScrollTop(): number; duScrollLeft(): number; } -} \ No newline at end of file +} diff --git a/angular-signalr-hub/angular-signalr-hub-tests.ts b/angular-signalr-hub/angular-signalr-hub-tests.ts index fc08ac7d913ed0..d20457bcdcb83f 100644 --- a/angular-signalr-hub/angular-signalr-hub-tests.ts +++ b/angular-signalr-hub/angular-signalr-hub-tests.ts @@ -5,12 +5,12 @@ angular .module('app', ['SignalR']) .factory('Employees', ngSignalrTest.EmployeesFactory); -module ngSignalrTest { +namespace ngSignalrTest { export class EmployeesFactory { static $inject = ['$rootScope', 'Hub', '$timeout']; private hub: ngSignalr.Hub; public all: Array; - + constructor($rootScope: ng.IRootScopeService, Hub: ngSignalr.HubFactory, $timeout: ng.ITimeoutService) { // declaring the hub connection this.hub = new Hub('employee', { @@ -27,45 +27,45 @@ module ngSignalrTest { $rootScope.$apply(); } }, - + // server-side methods methods: ['lock', 'unlock'], - + // query params sent on initial connection queryParams:{ 'token': 'exampletoken' }, - + // handle connection error errorHandler: (message: string) => { console.error(message); }, - + stateChanged: (state: SignalR.StateChanged) => { // your code here } }); } - + private find(id: number) { for (var i = 0; i < this.all.length; i++) { if (this.all[i].Id === id) return this.all[i]; } - + return null; } - + public edit = (employee: Employee) => { employee.Edit = true; this.hub.invoke('lock', employee.Id); }; - + public done = (employee: Employee) => { employee.Edit = false; this.hub.invoke('unlock', employee.Id); } } - + interface Employee { Id: number; Name: string; diff --git a/angular-signalr-hub/angular-signalr-hub.d.ts b/angular-signalr-hub/angular-signalr-hub.d.ts index 0f70401ff325e2..03fa6427eb614d 100644 --- a/angular-signalr-hub/angular-signalr-hub.d.ts +++ b/angular-signalr-hub/angular-signalr-hub.d.ts @@ -5,7 +5,7 @@ /// -declare module ngSignalr { +declare namespace ngSignalr { interface HubFactory { /** * Creates a new Hub connection @@ -56,7 +56,7 @@ declare module ngSignalr { logging?: boolean; /** - * Use a shared global connection or create a new one just for this hub, defaults to true + * Use a shared global connection or create a new one just for this hub, defaults to true */ useSharedConnection?: boolean; diff --git a/angular-spinner/angular-spinner-tests.ts b/angular-spinner/angular-spinner-tests.ts index cb50a9c37faded..4f3f870233eeaa 100644 --- a/angular-spinner/angular-spinner-tests.ts +++ b/angular-spinner/angular-spinner-tests.ts @@ -2,9 +2,9 @@ var myApp = angular.module('testModule'); -module AngularSpinnerTest { +namespace AngularSpinnerTest { var app = angular.module("angularSpinnerTest", ["angular-spinner"]); - + app.config(['usSpinnerService', function(usSpinnerService: ISpinnerService) { usSpinnerService.spin('key1'); usSpinnerService.stop('key2'); diff --git a/angular-storage/angular-storage.d.ts b/angular-storage/angular-storage.d.ts index 7ed9537709ab08..cb46cd1d7c71b0 100644 --- a/angular-storage/angular-storage.d.ts +++ b/angular-storage/angular-storage.d.ts @@ -3,7 +3,7 @@ // Definitions by: Matthew DeKrey // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module angular.a0.storage { +declare namespace angular.a0.storage { interface IStoreService extends INamespacedStoreService { /** * Returns a namespaced store @@ -15,34 +15,34 @@ declare module angular.a0.storage { */ getNamespacedStore(namespace: string, storage?: string, delimiter?: string): INamespacedStoreService; } - + interface INamespacedStoreService { /** * Sets a new value to the storage with the key name. It can be any object. - * + * * @param {String} name - The key name for the location of the value * @param value - The value to store */ set(name: string, value: any): void; - + /** - * Returns the saved value with they key name. - * + * Returns the saved value with they key name. + * * @param {String} name - The key name for the location of the value * @returns The saved value; if you saved an object, you get an object */ get(name: string): any; - + /** * Deletes the saved value with the key name - * + * * @param {String} name - The key name for the location of the value to remove */ - remove(name: string): void; + remove(name: string): void; } - + interface IStoreProvider { - + /** * Sets the storage. * @@ -50,4 +50,4 @@ declare module angular.a0.storage { */ setStore(storage: string): void; } -} \ No newline at end of file +} diff --git a/angular-strap/angular-strap-tests.ts b/angular-strap/angular-strap-tests.ts index 90c7a2bdeabfca..c052ffad4f371f 100644 --- a/angular-strap/angular-strap-tests.ts +++ b/angular-strap/angular-strap-tests.ts @@ -1,7 +1,7 @@ /// /// -module angularStrapTests { +namespace angularStrapTests { import ngStrap = mgcrea.ngStrap; @@ -9,7 +9,7 @@ module angularStrapTests { // Modal /////////////////////////////////////////////////////////////////////////// - module modalTests { + namespace modalTests { interface IDemoCtrlScope extends ngStrap.modal.IModalScope { showModal: () => void; @@ -54,7 +54,7 @@ module angularStrapTests { // Aside /////////////////////////////////////////////////////////////////////////// - module asideTests { + namespace asideTests { angular.module('demoApp') .config($asideConfig) @@ -85,7 +85,7 @@ module angularStrapTests { var defaults: ngStrap.aside.IAsideOptions = {}; defaults.animation = 'am-fadeAndSlideLeft'; defaults.placement = 'left'; - + angular.extend($asideProvider.defaults, defaults); } } @@ -94,8 +94,8 @@ module angularStrapTests { /////////////////////////////////////////////////////////////////////////// // Alert /////////////////////////////////////////////////////////////////////////// - - module alertTests { + + namespace alertTests { angular.module('demoApp') .config($alertConfig) @@ -127,8 +127,8 @@ module angularStrapTests { /////////////////////////////////////////////////////////////////////////// // Tooltip /////////////////////////////////////////////////////////////////////////// - - module tooltipTests { + + namespace tooltipTests { angular.module('demoApp') .config($tooltipConfig) @@ -139,7 +139,7 @@ module angularStrapTests { drct.restrict = 'EA'; drct.link = link; return drct; - + function link(scope: ng.IScope, elem: ng.IAugmentedJQuery, attrs: ng.IAttributes): void { var options: ngStrap.tooltip.ITooltipOptions = {}; options.title = 'My Title'; @@ -147,11 +147,11 @@ module angularStrapTests { } } - function $tooltipConfig($tooltipProvider: ngStrap.tooltip.ITooltipProvider): void { + function $tooltipConfig($tooltipProvider: ngStrap.tooltip.ITooltipProvider): void { var defaults: ngStrap.tooltip.ITooltipOptions = {}; defaults.animation = 'am-flip-x'; defaults.trigger = 'hover'; - + angular.extend($tooltipProvider.defaults, defaults); }; } @@ -160,8 +160,8 @@ module angularStrapTests { /////////////////////////////////////////////////////////////////////////// // Popover /////////////////////////////////////////////////////////////////////////// - - module popoverTests { + + namespace popoverTests { angular.module('demoApp') .config($popoverConfig) @@ -172,11 +172,11 @@ module angularStrapTests { drct.restrict = 'EA'; drct.link = link; return drct; - - function link(scope: ng.IScope, elem: ng.IAugmentedJQuery, attrs: ng.IAttributes): void { + + function link(scope: ng.IScope, elem: ng.IAugmentedJQuery, attrs: ng.IAttributes): void { var options: ngStrap.tooltip.ITooltipOptions = {}; options.title = 'My Title'; - + $popover(elem, options); } } @@ -189,190 +189,190 @@ module angularStrapTests { angular.extend($popoverProvider.defaults, defaults); }; } - + /////////////////////////////////////////////////////////////////////////// // Typeahead /////////////////////////////////////////////////////////////////////////// - - module typeaheadTests { - + + namespace typeaheadTests { + angular.module('myApp') .config($typeaheadConfig); - - function $typeaheadConfig($typeaheadProvider: ngStrap.typeahead.ITypeaheadProvider) { + + function $typeaheadConfig($typeaheadProvider: ngStrap.typeahead.ITypeaheadProvider) { var defaults: ngStrap.typeahead.ITypeaheadOptions = {} defaults.animation = 'am-flip-x'; defaults.minLength = 2; defaults.limit = 8; - + angular.extend($typeaheadProvider.defaults, defaults); } } - - + + /////////////////////////////////////////////////////////////////////////// // Datepicker /////////////////////////////////////////////////////////////////////////// - - module datepickerTests { - + + namespace datepickerTests { + angular.module('myApp') .config($datepickerConfig); - + function $datepickerConfig($datepickerProvider: ngStrap.datepicker.IDatepickerProvider): void { var defaults: ngStrap.datepicker.IDatepickerOptions = {}; defaults.dateFormat = 'dd/MM/yyyy'; defaults.startWeek = 1; - + angular.extend($datepickerProvider.defaults, defaults); }; } - - + + /////////////////////////////////////////////////////////////////////////// // Timepicker /////////////////////////////////////////////////////////////////////////// - - module timepickerTests { - + + namespace timepickerTests { + angular.module('myApp') .config($timepickerConfig); - + function $timepickerConfig($timepickerProvider: ngStrap.timepicker.ITimepickerProvider): void { var defaults: ngStrap.timepicker.ITimepickerOptions = {}; defaults.timeFormat = 'HH:mm'; defaults.length = 7; - + angular.extend($timepickerProvider.defaults, defaults); }; } - - + + /////////////////////////////////////////////////////////////////////////// // Select /////////////////////////////////////////////////////////////////////////// - - module selectTests { - + + namespace selectTests { + angular.module('myApp') .config($selectConfig); - + function $selectConfig($selectProvider: ngStrap.select.ISelectProvider): void { var defaults: ngStrap.select.ISelectOptions = {}; defaults.animation = 'am-flip-x'; defaults.sort = false; - + angular.extend($selectProvider.defaults, defaults); } } - - + + /////////////////////////////////////////////////////////////////////////// // Tabs /////////////////////////////////////////////////////////////////////////// - - module tabTests { - + + namespace tabTests { + angular.module('myApp') .config($tabConfig); - + function $tabConfig($tabProvider: ngStrap.tab.ITabProvider) { var defaults: ngStrap.tab.ITabOptions = {}; defaults.animation = 'am-flip-x'; - + angular.extend($tabProvider.defaults, defaults); } } - + /////////////////////////////////////////////////////////////////////////// // Collapse /////////////////////////////////////////////////////////////////////////// - - module collapseTests { - + + namespace collapseTests { + angular.module('myApp') .config($collapseConfig); - + function $collapseConfig($collapseProvider: ngStrap.collapse.ICollapseProvider):void { var defaults: ngStrap.collapse.ICollapseOptions = {}; defaults.animation = 'am-flip-x'; - + angular.extend($collapseProvider.defaults, defaults); } } - - + + /////////////////////////////////////////////////////////////////////////// // Dropdown /////////////////////////////////////////////////////////////////////////// - - module dropdownTests { - + + namespace dropdownTests { + angular.module('myApp') .config($dropdownConfig); - + function $dropdownConfig($dropdownProvider: ngStrap.dropdown.IDropdownProvider):void { var defaults: ngStrap.dropdown.IDropdownOptions = {}; defaults.animation = 'am-flip-x'; defaults.trigger = 'hover'; - + angular.extend($dropdownProvider.defaults, defaults); } } - - + + /////////////////////////////////////////////////////////////////////////// // Navbar /////////////////////////////////////////////////////////////////////////// - - module navbarTests { - + + namespace navbarTests { + angular.module('myApp') .config($navbarConfig); - + function $navbarConfig($navbarProvider: ngStrap.navbar.INavbarProvider):void { var defaults: ngStrap.navbar.INavbarOptions = {}; defaults.activeClass = 'in'; - + angular.extend($navbarProvider.defaults, defaults); } } - - + + /////////////////////////////////////////////////////////////////////////// // Scrollspy /////////////////////////////////////////////////////////////////////////// - - module scrollspyTests { - + + namespace scrollspyTests { + angular.module('myApp') .config($scrollspyConfig); - + function $scrollspyConfig($scrollspyProvider: ngStrap.scrollspy.IScrollspyProvider):void { var defaults: ngStrap.scrollspy.IScrollspyOptions = {}; defaults.offset = 0; defaults.target = 'my-selector'; - + angular.extend($scrollspyProvider.defaults, defaults); } } - - + + /////////////////////////////////////////////////////////////////////////// // Affix /////////////////////////////////////////////////////////////////////////// - - module affixTests { - + + namespace affixTests { + angular.module('myApp') .config($affixConfig); - + function $affixConfig($affixProvider: ngStrap.affix.IAffixProvider):void { var defaults: ngStrap.affix.IAffixOptions = {}; defaults.offsetTop = 100; - + angular.extend($affixProvider.defaults, defaults); } } -} \ No newline at end of file +} diff --git a/angular-strap/angular-strap.d.ts b/angular-strap/angular-strap.d.ts index d3e6361eade468..5b85f77de1b126 100644 --- a/angular-strap/angular-strap.d.ts +++ b/angular-strap/angular-strap.d.ts @@ -6,30 +6,30 @@ /// -declare module mgcrea.ngStrap { +declare namespace mgcrea.ngStrap { /////////////////////////////////////////////////////////////////////////// // Modal // see http://mgcrea.github.io/angular-strap/#/modals /////////////////////////////////////////////////////////////////////////// - module modal { - + namespace modal { + interface IModalService { (config?: IModalOptions): IModal; } - + interface IModalProvider { defaults: IModalOptions; } - + interface IModal { $promise: ng.IPromise; show: () => void; hide: () => void; toggle: () => void; } - + interface IModalOptions { animation?: string; backdropAnimation?: string; @@ -47,7 +47,7 @@ declare module mgcrea.ngStrap { id?: string; scope?: ng.IScope; } - + interface IModalScope extends ng.IScope { $show: () => void; $hide: () => void; @@ -61,23 +61,23 @@ declare module mgcrea.ngStrap { // see http://mgcrea.github.io/angular-strap/#/asides /////////////////////////////////////////////////////////////////////////// - module aside { - + namespace aside { + interface IAsideService { (config?: IAsideOptions): IAside; } - + interface IAsideProvider { defaults: IAsideOptions; } - + interface IAside { $promise: ng.IPromise; show: () => void; hide: () => void; toggle: () => void; } - + interface IAsideOptions { animation?: string; placement?: string; @@ -92,7 +92,7 @@ declare module mgcrea.ngStrap { contentTemplate?: string; scope?: ng.IScope; } - + interface IAsideScope extends ng.IScope { $show: () => void; $hide: () => void; @@ -107,23 +107,23 @@ declare module mgcrea.ngStrap { // see http://mgcrea.github.io/angular-strap/#/alerts /////////////////////////////////////////////////////////////////////////// - module alert { - + namespace alert { + interface IAlertService { (config?: IAlertOptions): IAlert; } - + interface IAlertProvider { defaults: IAlertOptions; } - + interface IAlert { $promise: ng.IPromise; show: () => void; hide: () => void; toggle: () => void; } - + interface IAlertOptions { animation?: string; placement?: string; @@ -137,37 +137,37 @@ declare module mgcrea.ngStrap { duration?: number | boolean; dismissable?: boolean; } - + interface IAlertScope extends ng.IScope { $show: () => void; $hide: () => void; $toggle: () => void; } } - + /////////////////////////////////////////////////////////////////////////// // Tooltip // see http://mgcrea.github.io/angular-strap/#/tooltips /////////////////////////////////////////////////////////////////////////// - module tooltip { - + namespace tooltip { + interface ITooltipService { (element: ng.IAugmentedJQuery, config?: ITooltipOptions): ITooltip; } - + interface ITooltipProvider { defaults: ITooltipOptions; } - + interface ITooltip { $promise: ng.IPromise; show: () => void; hide: () => void; toggle: () => void; } - + interface ITooltipOptions { animation?: string; placement?: string; @@ -183,13 +183,13 @@ declare module mgcrea.ngStrap { id?: string; viewport?: string | { selector: string; padding: string | number }; } - + interface ITooltipScope extends ng.IScope { $show: () => void; $hide: () => void; $toggle: () => void; $setEnabled: (isEnabled: boolean) => void; - } + } } @@ -198,23 +198,23 @@ declare module mgcrea.ngStrap { // see http://mgcrea.github.io/angular-strap/#/popovers /////////////////////////////////////////////////////////////////////////// - module popover { - + namespace popover { + interface IPopoverService { (element: ng.IAugmentedJQuery, config?: IPopoverOptions): IPopover; } - + interface IPopoverProvider { defaults: IPopoverOptions; } - + interface IPopover { $promise: ng.IPromise; show: () => void; hide: () => void; toggle: () => void; } - + interface IPopoverOptions { animation?: string; placement?: string; @@ -231,7 +231,7 @@ declare module mgcrea.ngStrap { id?: string; viewport?: string | { selector: string; padding: string | number }; } - + interface IPopoverScope extends ng.IScope { $show: () => void; $hide: () => void; @@ -246,23 +246,23 @@ declare module mgcrea.ngStrap { // see http://mgcrea.github.io/angular-strap/#/typeaheads /////////////////////////////////////////////////////////////////////////// - module typeahead { - + namespace typeahead { + interface ITypeaheadService { (element: ng.IAugmentedJQuery, controller: any, config?: ITypeaheadOptions): ITypeahead; } - + interface ITypeaheadProvider { defaults: ITypeaheadOptions; } - + interface ITypeahead { $promise: ng.IPromise; show: () => void; hide: () => void; toggle: () => void; } - + interface ITypeaheadOptions { animation?: string; placement?: string; @@ -280,38 +280,38 @@ declare module mgcrea.ngStrap { } } - + /////////////////////////////////////////////////////////////////////////// // Datepicker // see http://mgcrea.github.io/angular-strap/#/datepickers /////////////////////////////////////////////////////////////////////////// - module datepicker { - + namespace datepicker { + interface IDatepickerService { (element: ng.IAugmentedJQuery, controller: any, config?: IDatepickerOptions): IDatepicker; } - + interface IDatepickerProvider { defaults: IDatepickerOptions; } - + interface IDatepicker { - update: (date: Date) => void; - updateDisabledDates: (dateRanges: IDatepickerDateRange[]) => void; + update: (date: Date) => void; + updateDisabledDates: (dateRanges: IDatepickerDateRange[]) => void; select: (dateConstructorArg: string | number | number[], keep: boolean) => void; - setMode: (mode: any) => void; + setMode: (mode: any) => void; int: () => void; destroy: () => void; show: () => void; hide: () => void; } - + interface IDatepickerDateRange { start: Date; end: Date; } - + interface IDatepickerOptions { animation?: string; placement?: string; @@ -339,26 +339,26 @@ declare module mgcrea.ngStrap { } } - + /////////////////////////////////////////////////////////////////////////// // Timepicker // see http://mgcrea.github.io/angular-strap/#/timepickers /////////////////////////////////////////////////////////////////////////// - module timepicker { + namespace timepicker { interface ITimepickerService { (element: ng.IAugmentedJQuery, controller: any, config?: ITimepickerOptions): ITimepicker; } - + interface ITimepickerProvider { defaults: ITimepickerOptions; } - + interface ITimepicker { - + } - + interface ITimepickerOptions { animation?: string; placement?: string; @@ -382,33 +382,33 @@ declare module mgcrea.ngStrap { iconUp?: string; iconDown?: string; arrowBehaviour?: string; - } + } } - + /////////////////////////////////////////////////////////////////////////// // Button // see http://mgcrea.github.io/angular-strap/#/buttons /////////////////////////////////////////////////////////////////////////// // No definitions for this module - - + + /////////////////////////////////////////////////////////////////////////// // Select // see http://mgcrea.github.io/angular-strap/#/selects /////////////////////////////////////////////////////////////////////////// - module select { - + namespace select { + interface ISelectService { (element: ng.IAugmentedJQuery, controller: any, config: ISelectOptions): ISelect; } - + interface ISelectProvider { defaults: ISelectOptions; } - + interface ISelect { update: (matches: any) => void; active: (index: number) => number; @@ -416,7 +416,7 @@ declare module mgcrea.ngStrap { show: () => void; hide: () => void; } - + interface ISelectOptions { animation?: string; placement?: string; @@ -437,23 +437,23 @@ declare module mgcrea.ngStrap { id?: string; } } - + /////////////////////////////////////////////////////////////////////////// // Tabs // see http://mgcrea.github.io/angular-strap/#/tabs /////////////////////////////////////////////////////////////////////////// - module tab { - + namespace tab { + interface ITabProvider { defaults: ITabOptions; } - + interface ITabService { defaults: ITabOptions; controller: any; } - + interface ITabOptions { animation?: string; template?: string; @@ -461,19 +461,19 @@ declare module mgcrea.ngStrap { activeClass?: string; } } - - + + /////////////////////////////////////////////////////////////////////////// // Collapses // see http://mgcrea.github.io/angular-strap/#/collapses /////////////////////////////////////////////////////////////////////////// - module collapse { - + namespace collapse { + interface ICollapseProvider { defaults: ICollapseOptions; } - + interface ICollapseOptions { animation?: string; activeClass?: string; @@ -482,29 +482,29 @@ declare module mgcrea.ngStrap { allowMultiple?: boolean; } } - - + + /////////////////////////////////////////////////////////////////////////// // Dropdowsn // see http://mgcrea.github.io/angular-strap/#/dropdowns /////////////////////////////////////////////////////////////////////////// - - module dropdown { - + + namespace dropdown { + interface IDropdownProvider { defaults: IDropdownOptions; } - + interface IDropdownService { (element: ng.IAugmentedJQuery, config: IDropdownOptions): IDropdown; } - + interface IDropdown { show: () => void; hide: () => void; destroy: () => void; } - + interface IDropdownOptions { animation?: string; placement?: string; @@ -515,81 +515,81 @@ declare module mgcrea.ngStrap { template?: string; } } - - + + /////////////////////////////////////////////////////////////////////////// // Navbar // see http://mgcrea.github.io/angular-strap/#/navbars /////////////////////////////////////////////////////////////////////////// - - module navbar { - + + namespace navbar { + interface INavbarProvider { defaults: INavbarOptions; } - + interface INavbarOptions { activeClass?: string; routeAttr?: string; } - + interface INavbarService { defaults: INavbarOptions; } } - - + + /////////////////////////////////////////////////////////////////////////// // Scrollspy // see http://mgcrea.github.io/angular-strap/#/scrollspy /////////////////////////////////////////////////////////////////////////// - - module scrollspy { - + + namespace scrollspy { + interface IScrollspyProvider { defaults: IScrollspyOptions; } - + interface IScrollspyService { (element: ng.IAugmentedJQuery, options: IScrollspyOptions): IScrollspy; } - + interface IScrollspy { checkOffsets: () => void; trackElement: (target: any, source: any) => void; untrackElement: (target: any, source: any) => void; activate: (index: number) => void; } - + interface IScrollspyOptions { target?: string; offset?: number; } } - - + + /////////////////////////////////////////////////////////////////////////// // Affix // see http://mgcrea.github.io/angular-strap/#/affix /////////////////////////////////////////////////////////////////////////// - - module affix { - + + namespace affix { + interface IAffixProvider { defaults: IAffixOptions; } - + interface IAffixService { (element: ng.IAugmentedJQuery, options: IAffixOptions): IAffix; } - + interface IAffix { init: () => void; destroy: () => void; checkPositionWithEventLoop: () => void; checkPosition: () => void; } - + interface IAffixOptions { offsetTop?: number; offsetBottom?: number; diff --git a/angular-toastr/angular-toastr.d.ts b/angular-toastr/angular-toastr.d.ts index e0414436a3c010..04e7714d33ad76 100644 --- a/angular-toastr/angular-toastr.d.ts +++ b/angular-toastr/angular-toastr.d.ts @@ -10,7 +10,7 @@ declare module "angular-toastr" { export = _; } -declare module angular.toastr { +declare namespace angular.toastr { interface IToastBaseConfig { allowHtml?: boolean; closeButton?: boolean; @@ -77,13 +77,13 @@ declare module angular.toastr { interface IToastrService { /** * Return the number of active toasts in screen. - */ + */ active(): number; /** * Remove toast from screen. If no toast is passed in, all toasts will be closed. * * @param {IToast} toast Optional toast object to delete - */ + */ clear(toast?: IToast): void; /** * Create error toast notification message. @@ -91,7 +91,7 @@ declare module angular.toastr { * @param {String} message Message to show on toast * @param {String} title Title to show on toast * @param {IToastOptions} options Override default toast options - */ + */ error(message: string, title?: string, options?: IToastOptions): IToast; /** * Create info toast notification message. @@ -99,7 +99,7 @@ declare module angular.toastr { * @param {String} message Message to show on toast * @param {String} title Title to show on toast * @param {IToastOptions} options Override default toast options - */ + */ info(message: string, title?: string, options?: IToastOptions): IToast; /** * Create success toast notification message. @@ -107,7 +107,7 @@ declare module angular.toastr { * @param {String} message Message to show on toast * @param {String} title Title to show on toast * @param {IToastOptions} options Override default toast options - */ + */ success(message: string, title?: string, options?: IToastOptions): IToast; /** * Create warning toast notification message. @@ -115,7 +115,7 @@ declare module angular.toastr { * @param {String} message Message to show on toast * @param {String} title Title to show on toast * @param {IToastOptions} options Override default toast options - */ + */ warning(message: string, title?: string, options?: IToastOptions): IToast; } -} \ No newline at end of file +} diff --git a/angular-toasty/angular-toasty.d.ts b/angular-toasty/angular-toasty.d.ts index d301d3356bce35..bec5bb32f17849 100644 --- a/angular-toasty/angular-toasty.d.ts +++ b/angular-toasty/angular-toasty.d.ts @@ -5,7 +5,7 @@ /// -declare module toasty { +declare namespace toasty { interface IToastyService { /** diff --git a/angular-touchspin/angular-touchspin.d.ts b/angular-touchspin/angular-touchspin.d.ts index 41051867e748fb..5423b17e55ef7e 100644 --- a/angular-touchspin/angular-touchspin.d.ts +++ b/angular-touchspin/angular-touchspin.d.ts @@ -11,7 +11,7 @@ declare module "angular-touchspin" { export = _; } -declare module angularTouchSpin { +declare namespace angularTouchSpin { interface ITouchSpinOptions { min?: number; max?: number; @@ -40,4 +40,4 @@ declare module angularTouchSpin { interface ITouchSpinConfigProvider { defaults(touchSpinOptions: ITouchSpinOptions): void; } -} \ No newline at end of file +} diff --git a/angular-translate/angular-translate.d.ts b/angular-translate/angular-translate.d.ts index dce6b3ad7fee7d..774562b85546a8 100644 --- a/angular-translate/angular-translate.d.ts +++ b/angular-translate/angular-translate.d.ts @@ -10,7 +10,7 @@ declare module "angular-translate" { export = ngt; } -declare module angular.translate { +declare namespace angular.translate { interface ITranslationTable { [key: string]: any; @@ -110,7 +110,7 @@ declare module angular.translate { } } -declare module angular { +declare namespace angular { interface IFilterService { (name:'translate'): { (translationId: string, interpolateParams?: any, interpolation?: string): string; diff --git a/angular-ui-bootstrap/angular-ui-bootstrap.d.ts b/angular-ui-bootstrap/angular-ui-bootstrap.d.ts index 1c9e79c7a0548e..64518c0cd6b0a1 100644 --- a/angular-ui-bootstrap/angular-ui-bootstrap.d.ts +++ b/angular-ui-bootstrap/angular-ui-bootstrap.d.ts @@ -16,7 +16,7 @@ declare module 'angular-ui-bootstrap' { export = _; } -declare module angular.ui.bootstrap { +declare namespace angular.ui.bootstrap { interface IAccordionConfig { /** diff --git a/angular-ui-router/angular-ui-router-tests.ts b/angular-ui-router/angular-ui-router-tests.ts index 07711b9b87b512..ba42f16cf45e1b 100644 --- a/angular-ui-router/angular-ui-router-tests.ts +++ b/angular-ui-router/angular-ui-router-tests.ts @@ -208,7 +208,7 @@ class UrlLocatorTestService implements IUrlLocatorTestService { myApp.service("urlLocatorTest", UrlLocatorTestService); -module UiViewScrollProviderTests { +namespace UiViewScrollProviderTests { var app = angular.module("uiViewScrollProviderTests", ["ui.router"]); app.config(['$uiViewScrollProvider', function($uiViewScrollProvider: ng.ui.IUiViewScrollProvider) { @@ -227,7 +227,7 @@ interface ITestUserService { handleLogin: () => ng.IPromise<{}>; } -module UrlRouterProviderTests { +namespace UrlRouterProviderTests { var app = angular.module("urlRouterProviderTests", ["ui.router"]); app.config(($urlRouterProvider: ng.ui.IUrlRouterProvider) => { diff --git a/angular-ui-router/angular-ui-router.d.ts b/angular-ui-router/angular-ui-router.d.ts index 2180d8e0a37e3e..17d1570983797d 100644 --- a/angular-ui-router/angular-ui-router.d.ts +++ b/angular-ui-router/angular-ui-router.d.ts @@ -28,7 +28,7 @@ declare module 'angular-ui-router' { export type IType = angular.ui.IType; } -declare module angular.ui { +declare namespace angular.ui { interface IState { name?: string; @@ -88,12 +88,12 @@ declare module angular.ui { * Arbitrary data object, useful for custom configuration. */ data?: any; - + /** * Boolean (default true). If false will not re-trigger the same state just because a search/query parameter has changed. Useful for when you'd like to modify $location.search() without triggering a reload. */ reloadOnSearch?: boolean; - + /** * Boolean (default true). If false will reload state on everytransitions. Useful for when you'd like to restore all data to its initial state. */ diff --git a/angular-ui-scroll/angular-ui-scroll-tests.ts b/angular-ui-scroll/angular-ui-scroll-tests.ts index 1a85dd6b5873e6..528d39e5529d94 100644 --- a/angular-ui-scroll/angular-ui-scroll-tests.ts +++ b/angular-ui-scroll/angular-ui-scroll-tests.ts @@ -1,7 +1,7 @@ /// var myApp = angular.module('application', ['ui.scroll', 'ui.scroll.jqlite']); -module application { +namespace application { interface IItem { id: number; content: string; diff --git a/angular-ui-scroll/angular-ui-scroll.d.ts b/angular-ui-scroll/angular-ui-scroll.d.ts index f11cd053eac58a..168c6ba27185b9 100644 --- a/angular-ui-scroll/angular-ui-scroll.d.ts +++ b/angular-ui-scroll/angular-ui-scroll.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.ui { +declare namespace angular.ui { interface IScrollDatasource { /** * The datasource object implements methods and properties to be used by the directive to access the data diff --git a/angular-ui-sortable/angular-ui-sortable.d.ts b/angular-ui-sortable/angular-ui-sortable.d.ts index 1f355c55351ca3..ac3ac89fc744b8 100644 --- a/angular-ui-sortable/angular-ui-sortable.d.ts +++ b/angular-ui-sortable/angular-ui-sortable.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.ui { +declare namespace angular.ui { interface UISortableOptions extends SortableOptions { 'ui-floating'?: string|boolean; diff --git a/angular-ui-tree/angular-ui-tree.d.ts b/angular-ui-tree/angular-ui-tree.d.ts index 57b161219c16c4..66909cf90fb266 100644 --- a/angular-ui-tree/angular-ui-tree.d.ts +++ b/angular-ui-tree/angular-ui-tree.d.ts @@ -5,7 +5,7 @@ /// -declare module AngularUITree { +declare namespace AngularUITree { interface IEventSourceInfo { cloneModel: any; index: number; diff --git a/angular-wizard/angular-wizard.d.ts b/angular-wizard/angular-wizard.d.ts index e2a12374c57a88..347a1308279508 100644 --- a/angular-wizard/angular-wizard.d.ts +++ b/angular-wizard/angular-wizard.d.ts @@ -3,7 +3,7 @@ // Definitions by: Marko Jurisic , Ronald Wildenberg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module angular.mgoAngularWizard { +declare namespace angular.mgoAngularWizard { interface WizardHandler { wizard(name?: string): Wizard; addWizard(name: string, wizard: Wizard): void; diff --git a/angular.throttle/angular.throttle.d.ts b/angular.throttle/angular.throttle.d.ts index ba29392519ab05..354d6b3f980c4e 100644 --- a/angular.throttle/angular.throttle.d.ts +++ b/angular.throttle/angular.throttle.d.ts @@ -5,7 +5,7 @@ /// -declare module angular { +declare namespace angular { interface IAngularStatic { throttle:( fn:Function, throttle:number, options?:{leading?:boolean; trailing?:boolean;} ) => Function; } diff --git a/angularLocalStorage/angularLocalStorage.d.ts b/angularLocalStorage/angularLocalStorage.d.ts index 7bbe4f8707aa10..35bb5928c19f4a 100644 --- a/angularLocalStorage/angularLocalStorage.d.ts +++ b/angularLocalStorage/angularLocalStorage.d.ts @@ -5,7 +5,7 @@ /// -declare module angular.localStorage { +declare namespace angular.localStorage { interface ILocalStorageService { set(key: string, value: any): any; get(key: string): any; diff --git a/angularjs-toaster/angularjs-toaster.d.ts b/angularjs-toaster/angularjs-toaster.d.ts index af0012944b7dcd..ee184620aeb694 100644 --- a/angularjs-toaster/angularjs-toaster.d.ts +++ b/angularjs-toaster/angularjs-toaster.d.ts @@ -5,7 +5,7 @@ /// -declare module ngtoaster { +declare namespace ngtoaster { interface IToasterService { pop(params:IPopParams): void /** diff --git a/angularjs/angular-animate.d.ts b/angularjs/angular-animate.d.ts index 47608226651170..b53418a76a883f 100644 --- a/angularjs/angular-animate.d.ts +++ b/angularjs/angular-animate.d.ts @@ -13,7 +13,7 @@ declare module "angular-animate" { /** * ngAnimate module (angular-animate.js) */ -declare module angular.animate { +declare namespace angular.animate { interface IAnimateFactory { (...args: any[]): IAnimateCallbackObject; } diff --git a/angularjs/angular-component-router.d.ts b/angularjs/angular-component-router.d.ts index d89b5b8a51ed45..e015a712a1281c 100644 --- a/angularjs/angular-component-router.d.ts +++ b/angularjs/angular-component-router.d.ts @@ -5,7 +5,7 @@ /// -declare module angular { +declare namespace angular { /** * `Instruction` is a tree of {@link ComponentInstruction}s with all the information needed * to transition each component in the app to a given route, including all auxiliary routes. diff --git a/angularjs/angular-cookies.d.ts b/angularjs/angular-cookies.d.ts index a4b7dd69f87f38..e96ae7a67141e9 100644 --- a/angularjs/angular-cookies.d.ts +++ b/angularjs/angular-cookies.d.ts @@ -14,7 +14,7 @@ declare module "angular-cookies" { /** * ngCookies module (angular-cookies.js) */ -declare module angular.cookies { +declare namespace angular.cookies { /** * Cookies options @@ -22,13 +22,13 @@ declare module angular.cookies { */ interface ICookiesOptions { /** - * The cookie will be available only for this path and its sub-paths. + * The cookie will be available only for this path and its sub-paths. * By default, this would be the URL that appears in your base tag. */ path?: string; /** * The cookie will be available only for this domain and its sub-domains. - * For obvious security reasons the user agent will not accept the cookie if the + * For obvious security reasons the user agent will not accept the cookie if the * current domain is not a sub domain or equals to the requested domain. */ domain?: string; diff --git a/angularjs/angular-mocks.d.ts b/angularjs/angular-mocks.d.ts index eabe3a3c4f91e0..ade823572a4e70 100644 --- a/angularjs/angular-mocks.d.ts +++ b/angularjs/angular-mocks.d.ts @@ -23,7 +23,7 @@ declare module "angular-mocks/ngAnimateMock" { /////////////////////////////////////////////////////////////////////////////// // ngMock module (angular-mocks.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular { +declare namespace angular { /////////////////////////////////////////////////////////////////////////// // AngularStatic @@ -32,7 +32,7 @@ declare module angular { interface IAngularStatic { mock: IMockStatic; } - + // see https://docs.angularjs.org/api/ngMock/function/angular.mock.inject interface IInjectStatic { (...fns: Function[]): any; @@ -104,27 +104,27 @@ declare module angular { interface IHttpBackendService { /** * Flushes all pending requests using the trained responses. - * @param count Number of responses to flush (in the order they arrived). If undefined, all pending requests will be flushed. + * @param count Number of responses to flush (in the order they arrived). If undefined, all pending requests will be flushed. */ flush(count?: number): void; - + /** * Resets all request expectations, but preserves all backend definitions. */ resetExpectations(): void; - + /** * Verifies that all of the requests defined via the expect api were made. If any of the requests were not made, verifyNoOutstandingExpectation throws an exception. */ verifyNoOutstandingExpectation(): void; - + /** * Verifies that there are no outstanding requests that need to be flushed. */ verifyNoOutstandingRequest(): void; /** - * Creates a new request expectation. + * Creates a new request expectation. * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false. * Returns an object with respond method that controls how a matched request is handled. * @param method HTTP method. @@ -160,17 +160,17 @@ declare module angular { * @param headers HTTP headers object to be compared with the HTTP headers in the request. */ expectHEAD(url: string | RegExp | ((url: string) => boolean), headers?: Object): mock.IRequestHandler; - + /** * Creates a new request expectation for JSONP requests. * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, or if function returns false. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. - */ + */ expectJSONP(url: string | RegExp | ((url: string) => boolean)): mock.IRequestHandler; /** - * Creates a new request expectation for PATCH requests. + * Creates a new request expectation for PATCH requests. * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. @@ -180,7 +180,7 @@ declare module angular { expectPATCH(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object): mock.IRequestHandler; /** - * Creates a new request expectation for POST requests. + * Creates a new request expectation for POST requests. * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. @@ -190,7 +190,7 @@ declare module angular { expectPOST(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object): mock.IRequestHandler; /** - * Creates a new request expectation for PUT requests. + * Creates a new request expectation for PUT requests. * Throws a preformatted error if expectation(s) don't match supplied string, regular expression, object, or if function returns false. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. @@ -200,7 +200,7 @@ declare module angular { expectPUT(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object): mock.IRequestHandler; /** - * Creates a new backend definition. + * Creates a new backend definition. * Returns an object with respond method that controls how a matched request is handled. * @param method HTTP method. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. @@ -210,7 +210,7 @@ declare module angular { when(method: string, url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for DELETE requests. + * Creates a new backend definition for DELETE requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation. @@ -218,7 +218,7 @@ declare module angular { whenDELETE(url: string | RegExp | ((url: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for GET requests. + * Creates a new backend definition for GET requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation. @@ -226,7 +226,7 @@ declare module angular { whenGET(url: string | RegExp | ((url: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for HEAD requests. + * Creates a new backend definition for HEAD requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation. @@ -234,7 +234,7 @@ declare module angular { whenHEAD(url: string | RegExp | ((url: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for JSONP requests. + * Creates a new backend definition for JSONP requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param headers HTTP headers object or function that receives the headers and returns true if the headers match the current expectation. @@ -242,7 +242,7 @@ declare module angular { whenJSONP(url: string | RegExp | ((url: string) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for PATCH requests. + * Creates a new backend definition for PATCH requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation. @@ -251,7 +251,7 @@ declare module angular { whenPATCH(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for POST requests. + * Creates a new backend definition for POST requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation. @@ -260,7 +260,7 @@ declare module angular { whenPOST(url: string | RegExp | ((url: string) => boolean), data?: string | RegExp | Object | ((data: string) => boolean), headers?: Object | ((object: Object) => boolean)): mock.IRequestHandler; /** - * Creates a new backend definition for PUT requests. + * Creates a new backend definition for PUT requests. * Returns an object with respond method that controls how a matched request is handled. * @param url HTTP url string, regular expression or function that receives a url and returns true if the url matches the current expctation. * @param data HTTP request body string, json object, regular expression or function that receives the data and returns true if the data matches the current expectation. @@ -272,16 +272,16 @@ declare module angular { export module mock { // returned interface by the the mocked HttpBackendService expect/when methods interface IRequestHandler { - + /** - * Controls the response for a matched request using a function to construct the response. + * Controls the response for a matched request using a function to construct the response. * Returns the RequestHandler object for possible overrides. * @param func Function that receives the request HTTP method, url, data, and headers and returns an array containing response status (number), data, headers, and status text. */ respond(func: ((method: string, url: string, data: string | Object, headers: Object) => [number, string | Object, Object, string])): IRequestHandler; /** - * Controls the response for a matched request using supplied static data to construct the response. + * Controls the response for a matched request using supplied static data to construct the response. * Returns the RequestHandler object for possible overrides. * @param status HTTP status code to add to the response. * @param data Data to add to the response. @@ -291,7 +291,7 @@ declare module angular { respond(status: number, data: string | Object, headers?: Object, responseText?: string): IRequestHandler; /** - * Controls the response for a matched request using the HTTP status code 200 and supplied static data to construct the response. + * Controls the response for a matched request using the HTTP status code 200 and supplied static data to construct the response. * Returns the RequestHandler object for possible overrides. * @param data Data to add to the response. * @param headers Headers object to add to the response. diff --git a/angularjs/angular-resource.d.ts b/angularjs/angular-resource.d.ts index 93effcc6976aef..caae65ccb2a09d 100644 --- a/angularjs/angular-resource.d.ts +++ b/angularjs/angular-resource.d.ts @@ -13,7 +13,7 @@ declare module 'angular-resource' { /////////////////////////////////////////////////////////////////////////////// // ngResource module (angular-resource.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular.resource { +declare namespace angular.resource { /** * Currently supported options for the $resource factory options argument. @@ -74,7 +74,7 @@ declare module angular.resource { responseType?: string; interceptor?: IHttpInterceptor; } - + // Allow specify more resource methods // No need to add duplicates for all four overloads. interface IResourceMethod { @@ -84,7 +84,7 @@ declare module angular.resource { (params: Object, success: Function, error?: Function): T; (params: Object, data: Object, success?: Function, error?: Function): T; } - + // Allow specify resource moethod which returns the array // No need to add duplicates for all four overloads. interface IResourceArrayMethod { @@ -182,7 +182,7 @@ declare module angular.resource { } /** extensions to base ng based on using angular-resource */ -declare module angular { +declare namespace angular { interface IModule { /** creating a resource service factory */ diff --git a/angularjs/angular-route.d.ts b/angularjs/angular-route.d.ts index de70527b8b196e..19dbf048967d39 100644 --- a/angularjs/angular-route.d.ts +++ b/angularjs/angular-route.d.ts @@ -13,7 +13,7 @@ declare module "angular-route" { /////////////////////////////////////////////////////////////////////////////// // ngRoute module (angular-route.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular.route { +declare namespace angular.route { /////////////////////////////////////////////////////////////////////////// // RouteParamsService @@ -35,7 +35,7 @@ declare module angular.route { // May not always be available. For instance, current will not be available // to a controller that was not initialized as a result of a route maching. current?: ICurrentRoute; - + /** * Causes $route service to update the current URL, replacing current route parameters with those specified in newParams. * Provided property names that match the route's path segment definitions will be interpolated into the diff --git a/angularjs/angular-sanitize.d.ts b/angularjs/angular-sanitize.d.ts index 1e0e607d9c1c64..d87515adcaf6b5 100644 --- a/angularjs/angular-sanitize.d.ts +++ b/angularjs/angular-sanitize.d.ts @@ -14,7 +14,7 @@ declare module "angular-sanitize" { /////////////////////////////////////////////////////////////////////////////// // ngSanitize module (angular-sanitize.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular.sanitize { +declare namespace angular.sanitize { /////////////////////////////////////////////////////////////////////////// // SanitizeService diff --git a/angularjs/angular-tests.ts b/angularjs/angular-tests.ts index c450a78ba57b54..126178ca81861a 100644 --- a/angularjs/angular-tests.ts +++ b/angularjs/angular-tests.ts @@ -91,7 +91,7 @@ angular.module('http-auth-interceptor', []) }]); -module HttpAndRegularPromiseTests { +namespace HttpAndRegularPromiseTests { interface Person { firstName: string; lastName: string; @@ -174,7 +174,7 @@ module HttpAndRegularPromiseTests { // Test for AngularJS Syntax -module My.Namespace { +namespace My.Namespace { export var x: any; // need to export something for module to kick in } @@ -247,7 +247,7 @@ foo.then((x) => { }); // $q signature tests -module TestQ { +namespace TestQ { interface TResult { a: number; b: string; @@ -346,7 +346,7 @@ httpFoo.success((data, status, headers, config) => { // Deferred signature tests -module TestDeferred { +namespace TestDeferred { var any: any; interface TResult { @@ -386,7 +386,7 @@ module TestDeferred { } } -module TestInjector { +namespace TestInjector { let $injector: angular.auto.IInjectorService; $injector.strictDi = true; @@ -397,7 +397,7 @@ module TestInjector { // Promise signature tests -module TestPromise { +namespace TestPromise { var result: any; var any: any; @@ -479,7 +479,7 @@ var isolateScope: ng.IScope = element.isolateScope(); // $timeout signature tests -module TestTimeout { +namespace TestTimeout { interface TResult { a: number; b: string; @@ -920,7 +920,7 @@ angular.module('copyExample', []) $scope.reset(); }]); -module locationTests { +namespace locationTests { var $location: ng.ILocationService; diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 9a67f81028b821..48918a80ca926c 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -23,7 +23,7 @@ declare module 'angular' { /////////////////////////////////////////////////////////////////////////////// // ng module (angular.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular { +declare namespace angular { // not directly implemented, but ensures that constructed class implements $get interface IServiceProviderClass { diff --git a/angularjs/legacy/angular-1.0-tests.ts b/angularjs/legacy/angular-1.0-tests.ts index 3459c9e18d8e65..33138c0c2f7667 100644 --- a/angularjs/legacy/angular-1.0-tests.ts +++ b/angularjs/legacy/angular-1.0-tests.ts @@ -82,7 +82,7 @@ angular.module('http-auth-interceptor', []) }]); -module HttpAndRegularPromiseTests { +namespace HttpAndRegularPromiseTests { interface Person { firstName: string; lastName: string; @@ -151,7 +151,7 @@ module HttpAndRegularPromiseTests { // Test for AngularJS Syntax -module My.Namespace { +namespace My.Namespace { export var x; // need to export something for module to kick in } diff --git a/angularjs/legacy/angular-1.0.d.ts b/angularjs/legacy/angular-1.0.d.ts index 76622af23880db..6e8420b9d24d93 100644 --- a/angularjs/legacy/angular-1.0.d.ts +++ b/angularjs/legacy/angular-1.0.d.ts @@ -16,7 +16,7 @@ interface Function { /////////////////////////////////////////////////////////////////////////////// // ng module (angular.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng { +declare namespace ng { // All service providers extend this interface interface IServiceProvider { @@ -679,7 +679,7 @@ declare module ng { scope?: any; link?: Function; compile?: Function; - controller?: any; + controller?: any; } /////////////////////////////////////////////////////////////////////////// diff --git a/angularjs/legacy/angular-1.2-tests.ts b/angularjs/legacy/angular-1.2-tests.ts index 894681c6cbc106..71e96d0804b5ad 100644 --- a/angularjs/legacy/angular-1.2-tests.ts +++ b/angularjs/legacy/angular-1.2-tests.ts @@ -87,7 +87,7 @@ angular.module('http-auth-interceptor', []) }]); -module HttpAndRegularPromiseTests { +namespace HttpAndRegularPromiseTests { interface Person { firstName: string; lastName: string; @@ -170,7 +170,7 @@ module HttpAndRegularPromiseTests { // Test for AngularJS Syntax -module My.Namespace { +namespace My.Namespace { export var x: any; // need to export something for module to kick in } diff --git a/angularjs/legacy/angular-1.2.d.ts b/angularjs/legacy/angular-1.2.d.ts index b7021ea9f1b884..fe018ba989ca2a 100644 --- a/angularjs/legacy/angular-1.2.d.ts +++ b/angularjs/legacy/angular-1.2.d.ts @@ -16,7 +16,7 @@ interface Function { /////////////////////////////////////////////////////////////////////////////// // ng module (angular.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng { +declare namespace ng { // not directly implemented, but ensures that constructed class implements $get interface IServiceProviderClass { diff --git a/angularjs/legacy/angular-1.4.d.ts b/angularjs/legacy/angular-1.4.d.ts index f7193d8b929220..22c504712e3c34 100644 --- a/angularjs/legacy/angular-1.4.d.ts +++ b/angularjs/legacy/angular-1.4.d.ts @@ -23,7 +23,7 @@ declare module 'angular' { /////////////////////////////////////////////////////////////////////////////// // ng module (angular.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular { +declare namespace angular { // not directly implemented, but ensures that constructed class implements $get interface IServiceProviderClass { diff --git a/angularjs/legacy/angular-animate-1.2.d.ts b/angularjs/legacy/angular-animate-1.2.d.ts index 0e3e032e534b2e..f4928bd0ca63e9 100644 --- a/angularjs/legacy/angular-animate-1.2.d.ts +++ b/angularjs/legacy/angular-animate-1.2.d.ts @@ -8,7 +8,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngAnimate module (angular-animate.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.animate { +declare namespace ng.animate { /////////////////////////////////////////////////////////////////////////// // AnimateService diff --git a/angularjs/legacy/angular-animate-1.3.d.ts b/angularjs/legacy/angular-animate-1.3.d.ts index b0471446fce687..c689203ff3eebf 100644 --- a/angularjs/legacy/angular-animate-1.3.d.ts +++ b/angularjs/legacy/angular-animate-1.3.d.ts @@ -13,7 +13,7 @@ declare module "angular-animate" { /** * ngAnimate module (angular-animate.js) */ -declare module angular.animate { +declare namespace angular.animate { interface IAnimateFactory extends Function { enter?: (element: ng.IAugmentedJQuery, doneFn: Function) => IAnimateCssRunner|void; leave?: (element: ng.IAugmentedJQuery, doneFn: Function) => IAnimateCssRunner|void; @@ -254,7 +254,7 @@ declare module angular.animate { } -declare module angular { +declare namespace angular { interface IModule { animate(cssSelector: string, animateFactory: angular.animate.IAnimateFactory): IModule; } diff --git a/angularjs/legacy/angular-cookies-1.0.d.ts b/angularjs/legacy/angular-cookies-1.0.d.ts index 86740e6c226d34..0b53de186b0ea7 100644 --- a/angularjs/legacy/angular-cookies-1.0.d.ts +++ b/angularjs/legacy/angular-cookies-1.0.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngCookies module (angular-cookies.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.cookies { +declare namespace ng.cookies { /////////////////////////////////////////////////////////////////////////// // CookieService diff --git a/angularjs/legacy/angular-cookies-1.2.d.ts b/angularjs/legacy/angular-cookies-1.2.d.ts index 9ed21620feef76..aaf08327e2988e 100644 --- a/angularjs/legacy/angular-cookies-1.2.d.ts +++ b/angularjs/legacy/angular-cookies-1.2.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngCookies module (angular-cookies.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.cookies { +declare namespace ng.cookies { /////////////////////////////////////////////////////////////////////////// // CookieService diff --git a/angularjs/legacy/angular-mocks-1.0.d.ts b/angularjs/legacy/angular-mocks-1.0.d.ts index ed9c6904b4dc96..340f58e3c6d6bd 100644 --- a/angularjs/legacy/angular-mocks-1.0.d.ts +++ b/angularjs/legacy/angular-mocks-1.0.d.ts @@ -15,7 +15,7 @@ declare var inject: (...fns: Function[]) => any; /////////////////////////////////////////////////////////////////////////////// // ngMock module (angular-mocks.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng { +declare namespace ng { /////////////////////////////////////////////////////////////////////////// // AngularStatic @@ -28,10 +28,10 @@ declare module ng { interface IMockStatic { // see http://docs.angularjs.org/api/angular.mock.debug debug(obj: any): string; - + // see http://docs.angularjs.org/api/angular.mock.inject inject(...fns: Function[]): any; - + // see http://docs.angularjs.org/api/angular.mock.module module(...modules: any[]): any; @@ -85,8 +85,8 @@ declare module ng { expect(method: string, url: string, data?: any, headers?: any): mock.IRequestHandler; expect(method: string, url: RegExp, data?: any, headers?: any): mock.IRequestHandler; expect(method: RegExp, url: string, data?: any, headers?: any): mock.IRequestHandler; - expect(method: RegExp, url: RegExp, data?: any, headers?: any): mock.IRequestHandler; - + expect(method: RegExp, url: RegExp, data?: any, headers?: any): mock.IRequestHandler; + when(method: string, url: string, data?: string, headers?: any): mock.IRequestHandler; when(method: string, url: RegExp, data?: string, headers?: any): mock.IRequestHandler; when(method: string, url: string, data?: RegExp, headers?: any): mock.IRequestHandler; @@ -94,8 +94,8 @@ declare module ng { when(method: RegExp, url: string, data?: string, headers?: any): mock.IRequestHandler; when(method: RegExp, url: RegExp, data?: string, headers?: any): mock.IRequestHandler; when(method: RegExp, url: string, data?: RegExp, headers?: any): mock.IRequestHandler; - when(method: RegExp, url: RegExp, data?: RegExp, headers?: any): mock.IRequestHandler; - + when(method: RegExp, url: RegExp, data?: RegExp, headers?: any): mock.IRequestHandler; + expectDELETE(url: string, headers?: any): mock.IRequestHandler; expectDELETE(url: RegExp, headers?: any): mock.IRequestHandler; expectGET(url: string, headers?: any): mock.IRequestHandler; @@ -131,13 +131,13 @@ declare module ng { whenPUT(url: RegExp, data?: string, headers?: any): mock.IRequestHandler; whenPUT(url: string, data?: RegExp, headers?: any): mock.IRequestHandler; whenPUT(url: RegExp, data?: RegExp, headers?: any): mock.IRequestHandler; - } + } export module mock { - + // returned interface by the the mocked HttpBackendService expect/when methods interface IRequestHandler { - respond(func: Function): void; + respond(func: Function): void; respond(status: number, data?: any, headers?: any): void; respond(data: any, headers?: any): void; @@ -145,6 +145,6 @@ declare module ng { passThrough(): void; } - } + } } diff --git a/angularjs/legacy/angular-mocks-1.2.d.ts b/angularjs/legacy/angular-mocks-1.2.d.ts index 048952cdf4ac33..2a1ce25196b35a 100644 --- a/angularjs/legacy/angular-mocks-1.2.d.ts +++ b/angularjs/legacy/angular-mocks-1.2.d.ts @@ -14,7 +14,7 @@ declare var inject: (...fns: Function[]) => any; /////////////////////////////////////////////////////////////////////////////// // ngMock module (angular-mocks.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng { +declare namespace ng { /////////////////////////////////////////////////////////////////////////// // AngularStatic @@ -59,7 +59,7 @@ declare module ng { flushNext(expectedDelay?: number): void; verifyNoPendingTasks(): void; } - + /////////////////////////////////////////////////////////////////////////// // IntervalService // see https://code.angularjs.org/1.2.26/docs/api/ngMock/service/$interval diff --git a/angularjs/legacy/angular-resource-1.0.d.ts b/angularjs/legacy/angular-resource-1.0.d.ts index fa9ca0885dec17..07f5f7e0ff1d47 100644 --- a/angularjs/legacy/angular-resource-1.0.d.ts +++ b/angularjs/legacy/angular-resource-1.0.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngResource module (angular-resource.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.resource { +declare namespace ng.resource { /////////////////////////////////////////////////////////////////////////// // ResourceService @@ -20,7 +20,7 @@ declare module ng.resource { /////////////////////////////////////////////////////////////////////////// interface IResourceService { (url: string, paramDefaults?: any, - /** example: {update: { method: 'PUT' }, delete: deleteDescriptor } + /** example: {update: { method: 'PUT' }, delete: deleteDescriptor } where deleteDescriptor : IActionDescriptor */ actionDescriptors?: any): IResourceClass; } @@ -73,7 +73,7 @@ declare module ng.resource { } /** extensions to base ng based on using angular-resource */ -declare module ng { +declare namespace ng { interface IModule { /** creating a resource service factory */ diff --git a/angularjs/legacy/angular-resource-1.2.d.ts b/angularjs/legacy/angular-resource-1.2.d.ts index f3c3fbe65c59e9..b0ccb5e7e6a292 100644 --- a/angularjs/legacy/angular-resource-1.2.d.ts +++ b/angularjs/legacy/angular-resource-1.2.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngResource module (angular-resource.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.resource { +declare namespace ng.resource { /////////////////////////////////////////////////////////////////////////// // ResourceService @@ -136,7 +136,7 @@ declare module ng.resource { } /** extensions to base ng based on using angular-resource */ -declare module ng { +declare namespace ng { interface IModule { /** creating a resource service factory */ diff --git a/angularjs/legacy/angular-resource-1.3.d.ts b/angularjs/legacy/angular-resource-1.3.d.ts index 0d105e1cc8573f..798bc0a581f28b 100644 --- a/angularjs/legacy/angular-resource-1.3.d.ts +++ b/angularjs/legacy/angular-resource-1.3.d.ts @@ -13,7 +13,7 @@ declare module 'angular-resource' { /////////////////////////////////////////////////////////////////////////////// // ngResource module (angular-resource.js) /////////////////////////////////////////////////////////////////////////////// -declare module angular.resource { +declare namespace angular.resource { /** * Currently supported options for the $resource factory options argument. @@ -169,7 +169,7 @@ declare module angular.resource { } /** extensions to base ng based on using angular-resource */ -declare module angular { +declare namespace angular { interface IModule { /** creating a resource service factory */ diff --git a/angularjs/legacy/angular-route-1.2.d.ts b/angularjs/legacy/angular-route-1.2.d.ts index 6545176b30c89f..9c1dd4aa25b9d4 100644 --- a/angularjs/legacy/angular-route-1.2.d.ts +++ b/angularjs/legacy/angular-route-1.2.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngRoute module (angular-route.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.route { +declare namespace ng.route { /////////////////////////////////////////////////////////////////////////// // RouteParamsService @@ -40,8 +40,8 @@ declare module ng.route { // to a controller that was not initialized as a result of a route maching. current?: ICurrentRoute; } - - + + /** * see https://code.angularjs.org/1.2.26/docs/api/ngRoute/provider/$routeProvider#when for API documentation */ @@ -62,24 +62,24 @@ declare module ng.route { /** * {string=|function()=} * Html template as a string or a function that returns an html template as a string which should be used by ngView or ngInclude directives. This property takes precedence over templateUrl. - * + * * If template is a function, it will be called with the following parameters: - * + * * {Array.} - route parameters extracted from the current $location.path() by applying the current route */ template?: string; /** * {string=|function()=} * Path or function that returns a path to an html template that should be used by ngView. - * + * * If templateUrl is a function, it will be called with the following parameters: - * + * * {Array.} - route parameters extracted from the current $location.path() by applying the current route */ templateUrl?: any; /** * {Object.=} - An optional map of dependencies which should be injected into the controller. If any of these dependencies are promises, the router will wait for them all to be resolved or one to be rejected before the controller is instantiated. If all the promises are resolved successfully, the values of the resolved promises are injected and $routeChangeSuccess event is fired. If any of the promises are rejected the $routeChangeError event is fired. The map object is: - * + * * - key - {string}: a name of a dependency to be injected into the controller. * - factory - {string|function}: If string then it is an alias for a service. Otherwise if function, then it is injected and the return value is treated as the dependency. If the result is a promise, it is resolved before its value is injected into the controller. Be aware that ngRoute.$routeParams will still refer to the previous route within these resolve functions. Use $route.current.params to access the new route parameters, instead. */ @@ -87,9 +87,9 @@ declare module ng.route { /** * {(string|function())=} * Value to update $location path with and trigger route redirection. - * + * * If redirectTo is a function, it will be called with the following parameters: - * + * * - {Object.} - route parameters extracted from the current $location.path() by applying the current route templateUrl. * - {string} - current $location.path() * - {Object} - current $location.search() @@ -97,14 +97,14 @@ declare module ng.route { */ redirectTo?: any; /** - * Reload route when only $location.search() or $location.hash() changes. - * + * Reload route when only $location.search() or $location.hash() changes. + * * This option defaults to true. If the option is set to false and url in the browser changes, then $routeUpdate event is broadcasted on the root scope. */ reloadOnSearch?: boolean; /** * Match routes without being case sensitive - * + * * This option defaults to false. If the option is set to true, then the particular route can be matched without being case sensitive */ caseInsensitiveMatch?: boolean; @@ -123,21 +123,21 @@ declare module ng.route { interface IRouteProvider extends IServiceProvider { /** * Sets route definition that will be used on route change when no other route definition is matched. - * + * * @params Mapping information to be assigned to $route.current. */ otherwise(params: IRoute): IRouteProvider; /** * Adds a new route definition to the $route service. - * + * * @param path Route path (matched against $location.path). If $location.path contains redundant trailing slash or is missing one, the route will still match and the $location.path will be updated to add or drop the trailing slash to exactly match the route definition. - * + * * - path can contain named groups starting with a colon: e.g. :name. All characters up to the next slash are matched and stored in $routeParams under the given name when the route matches. * - path can contain named groups starting with a colon and ending with a star: e.g.:name*. All characters are eagerly stored in $routeParams under the given name when the route matches. * - path can contain optional named groups with a question mark: e.g.:name?. * * For example, routes like /color/:color/largecode/:largecode*\/edit will match /color/brown/largecode/code/with/slashes/edit and extract: color: brown and largecode: code/with/slashes. - * + * * @param route Mapping information to be assigned to $route.current on route match. */ when(path: string, route: IRoute): IRouteProvider; diff --git a/angularjs/legacy/angular-sanitize-1.0.d.ts b/angularjs/legacy/angular-sanitize-1.0.d.ts index 12b0121c0e1901..510a7bc82bf060 100644 --- a/angularjs/legacy/angular-sanitize-1.0.d.ts +++ b/angularjs/legacy/angular-sanitize-1.0.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngSanitize module (angular-sanitize.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.sanitize { +declare namespace ng.sanitize { /////////////////////////////////////////////////////////////////////////// // SanitizeService diff --git a/angularjs/legacy/angular-sanitize-1.2.d.ts b/angularjs/legacy/angular-sanitize-1.2.d.ts index 115bb77e222210..cbd559688ac59c 100644 --- a/angularjs/legacy/angular-sanitize-1.2.d.ts +++ b/angularjs/legacy/angular-sanitize-1.2.d.ts @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////////// // ngSanitize module (angular-sanitize.js) /////////////////////////////////////////////////////////////////////////////// -declare module ng.sanitize { +declare namespace ng.sanitize { /////////////////////////////////////////////////////////////////////////// // SanitizeService @@ -25,7 +25,7 @@ declare module ng.sanitize { /////////////////////////////////////////////////////////////////////////// export module filter { - // Finds links in text input and turns them into html links. + // Finds links in text input and turns them into html links. // Supports http/https/ftp/mailto and plain email address links. // see https://code.angularjs.org/1.2.26/docs/api/ngSanitize/filter/linky interface ILinky { diff --git a/angularjs/legacy/angular-scenario-1.0.d.ts b/angularjs/legacy/angular-scenario-1.0.d.ts index c4118b47abcdd2..ff0c87075f96b1 100644 --- a/angularjs/legacy/angular-scenario-1.0.d.ts +++ b/angularjs/legacy/angular-scenario-1.0.d.ts @@ -3,7 +3,7 @@ // Definitions by: RomanoLindano // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module angularScenario { +declare namespace angularScenario { export interface AngularModel { scenario: any; } @@ -46,25 +46,25 @@ declare module angularScenario { reload(): void; window(): testWindow; location(): testLocation; - } - + } + export interface Matchers { toEqual(value: any): void; - toBe(value: any): void; - toBeDefined(): void; - toBeTruthy(): void; - toBeFalsy(): void; - toMatch(regularExpression: any): void; - toBeNull(): void; + toBe(value: any): void; + toBeDefined(): void; + toBeTruthy(): void; + toBeFalsy(): void; + toMatch(regularExpression: any): void; + toBeNull(): void; toContain(value: any): void; - toBeLessThan(value: any): void; - toBeGreaterThan(value: any): void; + toBeLessThan(value: any): void; + toBeGreaterThan(value: any): void; } - export interface CustomMatchers extends Matchers{ + export interface CustomMatchers extends Matchers{ } - export interface Expect extends CustomMatchers { + export interface Expect extends CustomMatchers { not(): angularScenario.CustomMatchers; } @@ -92,7 +92,7 @@ declare module angularScenario { export interface Select { option(value: any): any; option(...listOfValues: any[]): any; - } + } export interface Element { count(): Future; @@ -111,7 +111,7 @@ declare module angularScenario { scrollLeft(): Future; scrollTop(): Future; offset(): Future; - + val(value: any): void; text(value: any): void; html(value: any): void; diff --git a/angularjs/legacy/angular-scenario-1.2.d.ts b/angularjs/legacy/angular-scenario-1.2.d.ts index 7f6b6cbb860650..75490855bf3531 100644 --- a/angularjs/legacy/angular-scenario-1.2.d.ts +++ b/angularjs/legacy/angular-scenario-1.2.d.ts @@ -5,13 +5,13 @@ /// -declare module ng { +declare namespace ng { export interface IAngularStatic { scenario: any; } } -declare module angularScenario { +declare namespace angularScenario { export interface RunFunction { (functionToRun: any): any; diff --git a/angulartics/angulartics-tests.ts b/angulartics/angulartics-tests.ts index 549b0c4b4ab913..f5a7190bd6a7d3 100644 --- a/angulartics/angulartics-tests.ts +++ b/angulartics/angulartics-tests.ts @@ -1,7 +1,7 @@ /// /// -module Analytics { +namespace Analytics { angular.module("angulartics.app", ["angulartics"]) .config(["$analyticsProvider", ($analyticsProvider:angulartics.IAnalyticsServiceProvider) => { angulartics.waitForVendorApi("location", 1000, (message: string) => { @@ -20,7 +20,7 @@ module Analytics { $analyticsProvider.registerPageTrack((path:string, locationObj:angular.ILocationService) => { console.log("viewed " + path); }); - - $analyticsProvider.settings.pageTracking.basePath = "/my/base/path"; + + $analyticsProvider.settings.pageTracking.basePath = "/my/base/path"; }]); } diff --git a/angulartics/angulartics.d.ts b/angulartics/angulartics.d.ts index 348b651cea71bf..8714e1a9035d42 100644 --- a/angulartics/angulartics.d.ts +++ b/angulartics/angulartics.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module angulartics { +declare namespace angulartics { interface IAngularticsStatic { waitForVendorApi(objectName:string, delay:number, containsField?:any, registerFn?:any, onTimeout?:boolean): void; @@ -33,9 +33,9 @@ declare module angulartics { registerSetUsername(callback: (username: string) => any): void registerSetUserProperties(callback: (userProperties: any) => any): void registerSetSuperProperties(callback: (superProperties: any) => any): void - - settings: { - pageTracking: { + + settings: { + pageTracking: { autoTrackingVirtualPages: boolean, autoTrackingFirstPage: boolean, basePath: string, diff --git a/animation-frame/animation-frame-tests.ts b/animation-frame/animation-frame-tests.ts index 39a9f893756e4e..f7b1648303f7bf 100644 --- a/animation-frame/animation-frame-tests.ts +++ b/animation-frame/animation-frame-tests.ts @@ -1,5 +1,5 @@ /// -module AnimationFrameTests { +namespace AnimationFrameTests { var animation = new AnimationFrame(); function frame() { animation.request(frame); diff --git a/any-db-transaction/any-db-transaction.d.ts b/any-db-transaction/any-db-transaction.d.ts index 62a8a35f3a194d..675f18e9cc678c 100644 --- a/any-db-transaction/any-db-transaction.d.ts +++ b/any-db-transaction/any-db-transaction.d.ts @@ -9,7 +9,7 @@ declare module "any-db-transaction" { import anyDB = require("any-db"); - module begin { + namespace begin { /** * Transaction objects are are simple wrappers around a Connection that also implement the Queryable API, * but guarantee that all queries take place within a single database transaction or not at all. Note that diff --git a/anydb-sql/anydb-sql.d.ts b/anydb-sql/anydb-sql.d.ts index 30b23d2473e841..6b5f0b2cd60245 100644 --- a/anydb-sql/anydb-sql.d.ts +++ b/anydb-sql/anydb-sql.d.ts @@ -12,7 +12,7 @@ declare module "anydb-sql" { interface Dictionary { [key:string]:T; } - module anydbSQL { + namespace anydbSQL { export interface OrderByValueNode {} export interface ColumnDefinition { primaryKey?:boolean; diff --git a/appletvjs/appletvjs.d.ts b/appletvjs/appletvjs.d.ts index 7c5688a8f5af86..743ad7849c6fbe 100644 --- a/appletvjs/appletvjs.d.ts +++ b/appletvjs/appletvjs.d.ts @@ -10,7 +10,7 @@ declare var Settings: AppleTVJS.Settings; declare function evaluateScripts(scripts: string[], complete: (success: boolean) => void): void; -declare module AppleTVJS { +declare namespace AppleTVJS { interface App { /** @@ -98,7 +98,7 @@ declare module AppleTVJS { class Interstitial { /** The starttime of the interstitial. */ starttime: number; - + /** The duration of the interstitial. */ duration: number; } @@ -115,29 +115,29 @@ declare module AppleTVJS { } class MediaItem { - /** - * Creates a new MediaItem object from the information stored in the URL location. + /** + * Creates a new MediaItem object from the information stored in the URL location. * @type: Valid values are: audio, video. Defaults to video. * @url: The URL pointing to the media item information. * */ constructor(type: string, url?: string); - /** - * The domain that the rating applies to. + /** + * The domain that the rating applies to. * There are three valid values for this property: movie, music, and tvshow. * */ contentRatingDomain: string; - /** - * The rating for a video item. - * The rating is a value from 0-1000. This value corresponds to a specific rating - * used by different countries. For example, a rating value can represent a PG-13 + /** + * The rating for a video item. + * The rating is a value from 0-1000. This value corresponds to a specific rating + * used by different countries. For example, a rating value can represent a PG-13 * rating in the United State and a MA15+ in Australia. * */ contentRatingRanking: number; - /** - * A value indicating whether the item has explicit lyrics. + /** + * A value indicating whether the item has explicit lyrics. * This property is ignored if the MediaItem object type is video. * */ isExplicit: boolean; @@ -154,8 +154,8 @@ declare module AppleTVJS { /** The title of the media item. */ title: string; - /** - * The type of media item. + /** + * The type of media item. * The valid values for this attribute are audio and video. * */ type: string; @@ -169,11 +169,11 @@ declare module AppleTVJS { /** An array of interstitial objects. */ interstitials: Interstitial[]; - /** - * The number, in seconds, that a media item starts playing at. - * Use this to begin playing a MediaItem object at a time other than - * at the beginning of the object. If this property contains anything - * other than 0, the player displays “Resume” instead of + /** + * The number, in seconds, that a media item starts playing at. + * Use this to begin playing a MediaItem object at a time other than + * at the beginning of the object. If this property contains anything + * other than 0, the player displays “Resume” instead of * “Play from beginning” on playback. * */ resumeTime: number; @@ -352,16 +352,16 @@ declare module AppleTVJS { class Playlist { /** Returns the MediaItem located in the indicated array index. */ item(index: number): MediaItem; - + /** The number of items in the playlist. */ length: number; - + /** Removes a media item from the end of a playlist. */ pop(): MediaItem; - + /** Adds a media item to the end of a playlist. */ push(object: MediaItem): void; - + /** Deletes the indicated array elements and replaces them with the specified elements. */ splice(index: number, howManu: number, object: MediaItem): MediaItem[]; } diff --git a/applicationinsights/applicationinsights.d.ts b/applicationinsights/applicationinsights.d.ts index 5ea68d90f7bc0b..2f8c53e0f17866 100644 --- a/applicationinsights/applicationinsights.d.ts +++ b/applicationinsights/applicationinsights.d.ts @@ -28,7 +28,7 @@ interface AutoCollectRequests { } -declare module ContractsModule { +declare namespace ContractsModule { enum DataPointType { Measurement = 0, Aggregation = 1, @@ -352,7 +352,7 @@ interface Client { * @param properties map[string, string] - additional data used to filter events and metrics in the portal. Defaults to empty. * @param dependencyKind ContractsModule.DependencyKind of this dependency. Defaults to Other. * @param async True if the dependency was executed asynchronously, false otherwise. Defaults to false - * @param dependencySource ContractsModule.DependencySourceType of this dependency. Defaults to Undefined. + * @param dependencySource ContractsModule.DependencySourceType of this dependency. Defaults to Undefined. */ trackDependency(name: string, commandName: string, elapsedTimeMs: number, success: boolean, dependencyTypeName?: string, properties?: {}, dependencyKind?: any, async?: boolean, dependencySource?: number): void; /** @@ -463,4 +463,4 @@ interface ApplicationInsights { declare module "applicationinsights" { const applicationinsights: ApplicationInsights; export = applicationinsights; -} \ No newline at end of file +} diff --git a/arbiter/Arbiter.d.ts b/arbiter/Arbiter.d.ts index 5c929ea7849671..259e17767f972c 100644 --- a/arbiter/Arbiter.d.ts +++ b/arbiter/Arbiter.d.ts @@ -5,14 +5,14 @@ // May 22 2013 -declare module ArbiterDef { +declare namespace ArbiterDef { export interface SubscribeHandler { (data: any, message: string, subscriber_context: any): void; } export interface SubscribeOptions { /** - * By default, all subscribers have a priority of 0. Higher values get higher + * By default, all subscribers have a priority of 0. Higher values get higher * priority and are executed first. Negative values are allowed. */ priority?: number; @@ -23,7 +23,7 @@ declare module ArbiterDef { async?: boolean; /** - * If your subscriber is not interested in any past messages that may have been + * If your subscriber is not interested in any past messages that may have been * persisted, you can force them to be ignored. */ persist?: boolean; @@ -32,19 +32,19 @@ declare module ArbiterDef { export interface PublishOptions { /** * By default, subscribers can return "false" to prevent subsequent subscribers from - * receiving the message. By passing cancelable:false in the options, the publisher + * receiving the message. By passing cancelable:false in the options, the publisher * can prevent canceling. */ cancelable?: boolean; /** - * If the publishers wants subscribers to be notified even if they subscribe later, + * If the publishers wants subscribers to be notified even if they subscribe later, * setting the persist flag will do that. */ persist?: boolean; /** - * If you wish to notify the subscribers but return from the publish() call before + * If you wish to notify the subscribers but return from the publish() call before * the subscriber functions execute, use asynchronous mode */ async?: boolean; @@ -63,7 +63,7 @@ declare module ArbiterDef { /** * Publishes a message to all subscribers. * Returns: true on success, false if any subscriber has thrown a js exception. - * + * * @param msg Message may be in any format, but may not contain [ ,*]. A structure like a/b/c is recommended by convention, to allow messages to be categorized. * @param data Pass data to subscribers that contains details about the message. */ diff --git a/archy/archy.d.ts b/archy/archy.d.ts index 0b44de2b076d98..f4e13ef8a96804 100644 --- a/archy/archy.d.ts +++ b/archy/archy.d.ts @@ -7,7 +7,7 @@ declare module "archy" { function archy(obj: archy.Data, prefix?: string, opts?: archy.Options): string; function archy(obj: string, prefix?: string, opts?: archy.Options): string; - module archy { + namespace archy { interface Data { label: string; nodes?: (Data | string)[]; diff --git a/asciify/asciify.d.ts b/asciify/asciify.d.ts index 4dc24ae1b9fbac..4cef1bcc5cb9f2 100644 --- a/asciify/asciify.d.ts +++ b/asciify/asciify.d.ts @@ -21,7 +21,7 @@ declare module "asciify" { function asciify(text: string, options: string, callback: AsciifyCallback): void; function asciify(text: string, options: AsciifyOptions, callback: AsciifyCallback): void; - module asciify { + namespace asciify { function getFonts(callback: (err: Error, fonts: string[]) => void): void; } diff --git a/assert/assert.d.ts b/assert/assert.d.ts index e5c88a0ba624bf..d7cb02eb381e1e 100644 --- a/assert/assert.d.ts +++ b/assert/assert.d.ts @@ -7,7 +7,7 @@ // copy from assert external module in node.d.ts declare function assert(value:any, message?:string):void; -declare module assert { +declare namespace assert { export class AssertionError implements Error { name:string; message:string; diff --git a/async-writer/async-writer.d.ts b/async-writer/async-writer.d.ts index 65a309c4476c24..56c5bb898bd7ea 100644 --- a/async-writer/async-writer.d.ts +++ b/async-writer/async-writer.d.ts @@ -9,7 +9,7 @@ declare module 'async-writer' { import stream = require('stream'); import events = require('events'); - module async_writer { + namespace async_writer { interface EventFunction { (event: string, callback: Function): void; } diff --git a/asyncblock/asyncblock.d.ts b/asyncblock/asyncblock.d.ts index a0223aa09ca3e2..6ec1ad157923d6 100644 --- a/asyncblock/asyncblock.d.ts +++ b/asyncblock/asyncblock.d.ts @@ -7,7 +7,7 @@ declare module "asyncblock" { function asyncblock(f: (flow: asyncblock.IFlow) => void, callback?: (err: any, res: T) => void): void; - module asyncblock { + namespace asyncblock { export function nostack(f: (flow: asyncblock.IFlow) => void, callback?: (err: any, res: T) => void): void; export interface IFlow { diff --git a/atmosphere/atmosphere.d.ts b/atmosphere/atmosphere.d.ts index 8d0a72bb5c596f..bf26ba0db4782a 100644 --- a/atmosphere/atmosphere.d.ts +++ b/atmosphere/atmosphere.d.ts @@ -3,7 +3,7 @@ // Definitions by: Kai Toedter // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Atmosphere { +declare namespace Atmosphere { interface Atmosphere { /** * The atmosphere API is a little bit special here: the first parameter can either be diff --git a/atom-keymap/atom-keymap.d.ts b/atom-keymap/atom-keymap.d.ts index 24256b83685ac7..89b022a67aec00 100644 --- a/atom-keymap/atom-keymap.d.ts +++ b/atom-keymap/atom-keymap.d.ts @@ -5,7 +5,7 @@ /// -declare module AtomKeymap { +declare namespace AtomKeymap { type Disposable = AtomEventKit.Disposable; /** Instance side of KeyBinding class. */ diff --git a/atom/api-docs.d.ts b/atom/api-docs.d.ts index db3fa27e020915..41ea32a27763ad 100644 --- a/atom/api-docs.d.ts +++ b/atom/api-docs.d.ts @@ -16,7 +16,7 @@ api.json example https://gist.github.com/vvakame/10f8d2f3884affc32476 */ -declare module AtomDocTypes { +declare namespace AtomDocTypes { interface Metadata { classes: { [className: string]: ClassInfo; }; } diff --git a/atom/atom.d.ts b/atom/atom.d.ts index bc0326264fa51b..31fa76eb4af54a 100644 --- a/atom/atom.d.ts +++ b/atom/atom.d.ts @@ -23,7 +23,7 @@ interface Window { profile(description:string, fn:Function):any; // return fn result } -declare module AtomCore { +declare namespace AtomCore { // https://atom.io/docs/v0.84.0/advanced/view-system interface IWorkspaceViewStatic { diff --git a/auth0-angular/auth0-angular.d.ts b/auth0-angular/auth0-angular.d.ts index 5228d706babc05..fef9dbd3ef71f3 100644 --- a/auth0-angular/auth0-angular.d.ts +++ b/auth0-angular/auth0-angular.d.ts @@ -5,7 +5,7 @@ /// -declare module auth0.angular { +declare namespace auth0.angular { interface IAuth0ClientOptions { /** @@ -65,7 +65,7 @@ declare module auth0.angular { (error: any): void; } - interface IAuth0Service { + interface IAuth0Service { /** * Hooks to internal Angular events so that a user will be redirected to the login page if trying to visit a restricted resource */ @@ -156,7 +156,7 @@ declare module auth0.angular { * Configures the auth service * @param options Client options passed into Auth0 */ - init(options: IAuth0ClientOptions): void; + init(options: IAuth0ClientOptions): void; /** * @param event Name of the event to handle. @@ -164,4 +164,4 @@ declare module auth0.angular { */ on(event: string, handler: (...args: any[]) => any): void; } -} \ No newline at end of file +} diff --git a/autobahn/autobahn.d.ts b/autobahn/autobahn.d.ts index 8e6c8bdbacaf8e..9ca4c562cc1485 100644 --- a/autobahn/autobahn.d.ts +++ b/autobahn/autobahn.d.ts @@ -5,7 +5,7 @@ /// -declare module autobahn { +declare namespace autobahn { export class Session { id: number; diff --git a/axios/axios.d.ts b/axios/axios.d.ts index 62f0254f5fbddf..44083f7960374a 100644 --- a/axios/axios.d.ts +++ b/axios/axios.d.ts @@ -3,7 +3,7 @@ // Definitions by: Marcel Buesing // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Axios { +declare namespace Axios { interface IThenable { then(onFulfilled?: (value: R) => U | IThenable, onRejected?: (error: any) => U | IThenable): IThenable; diff --git a/azure-mobile-apps/azure-mobile-apps.d.ts b/azure-mobile-apps/azure-mobile-apps.d.ts index 5441515fee23ff..0a42fa9ecf24d5 100644 --- a/azure-mobile-apps/azure-mobile-apps.d.ts +++ b/azure-mobile-apps/azure-mobile-apps.d.ts @@ -24,10 +24,10 @@ declare module "azure-mobile-apps/src/logger" { declare module "azure-mobile-apps/src/query" { var query: Azure.MobileApps.Query; - export = query; + export = query; } -declare module Azure.MobileApps { +declare namespace Azure.MobileApps { // the additional Platforms namespace is required to avoid collisions with the main Express namespace export module Platforms { export module Express { @@ -61,7 +61,7 @@ declare module Azure.MobileApps { delete: TableOperation; undelete: TableOperation; } - + interface TableOperation { (operationHandler: (context: Context) => void): Table; use(...middleware: Middleware[]): Table; @@ -133,7 +133,7 @@ declare module Azure.MobileApps { cors?: Configuration.Cors; notifications?: Configuration.Notifications; } - + export module Configuration { // it would be nice to have the config for various providers in separate interfaces, // but this is the simplest solution to support variations of the current setup @@ -208,7 +208,7 @@ declare module Azure.MobileApps { } // general - var nh: Azure.ServiceBus.NotificationHubService; + var nh: Azure.ServiceBus.NotificationHubService; interface Context { query: QueryJs; id: string | number; @@ -234,11 +234,11 @@ declare module Azure.MobileApps { interface ApiDefinition { authorize?: boolean; - get?: Middleware | Middleware[]; - post?: Middleware | Middleware[]; - patch?: Middleware | Middleware[]; - put?: Middleware | Middleware[]; - delete?: Middleware | Middleware[]; + get?: Middleware | Middleware[]; + post?: Middleware | Middleware[]; + patch?: Middleware | Middleware[]; + put?: Middleware | Middleware[]; + delete?: Middleware | Middleware[]; } interface Thenable { @@ -268,12 +268,12 @@ declare module Azure.MobileApps { } // additions to the Express modules -declare module Express { +declare namespace Express { interface Request { azureMobile: Azure.MobileApps.Context } - + interface Response { results?: any; } -} \ No newline at end of file +} diff --git a/azure-mobile-services-client/AzureMobileServicesClient.d.ts b/azure-mobile-services-client/AzureMobileServicesClient.d.ts index 4339744c62f31c..f93ca868c7df11 100644 --- a/azure-mobile-services-client/AzureMobileServicesClient.d.ts +++ b/azure-mobile-services-client/AzureMobileServicesClient.d.ts @@ -3,8 +3,8 @@ // Definitions by: Morosinotto Daniele // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Microsoft.WindowsAzure { - +declare namespace Microsoft.WindowsAzure { + // MobileServiceClient object based on Microsoft Azure documentation: http://msdn.microsoft.com/en-us/library/windowsazure/jj554219.aspx interface MobileServiceClient { new (applicationUrl: string, applicationKey: string): MobileServiceClient; @@ -21,7 +21,7 @@ declare module Microsoft.WindowsAzure { withFilter(serviceFilter: (request: any, next: (request: any, callback: (error:any, response: any) => void ) => void, callback: (error: any, response: any) => void ) => void ) : MobileServiceClient; invokeApi(apiName: string, options?:InvokeApiOptions): asyncPromise; } - + interface InvokeApiOptions { method?: string; @@ -29,7 +29,7 @@ declare module Microsoft.WindowsAzure { headers?: Object; parameters?: Object; } - + // User object based on Microsoft Azure documentation: http://msdn.microsoft.com/en-us/library/windowsazure/jj554220.aspx interface User { getIdentities(): any;// { [providerName: string]: { userId: string, accessToken: string, accessTokenSecret?: string }; }; @@ -78,7 +78,7 @@ declare module Microsoft.WindowsAzure { // Interface to describe Query object fluent creation based on Microsoft Azure documentation: http://msdn.microsoft.com/en-us/library/windowsazure/jj613353.aspx interface IQuery { read(paramsQS?: Object): asyncPromise; - + orderBy(...propName: string[]): IQuery; orderByDescending(...propName: string[]): IQuery; select(...propNameSelected: string[]): IQuery; diff --git a/azure-sb/azure-sb.d.ts b/azure-sb/azure-sb.d.ts index afa4074a99a7b5..1c8b087815f3a4 100644 --- a/azure-sb/azure-sb.d.ts +++ b/azure-sb/azure-sb.d.ts @@ -3,11 +3,11 @@ // Definitions by: Microsoft Azure // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Azure.ServiceBus { +declare namespace Azure.ServiceBus { interface Callback { (error: any, response: any): void; } - + interface NotificationHubRegistration { RegistrationId: string; ChannelUri?: string; @@ -19,7 +19,7 @@ declare module Azure.ServiceBus { MpnsHeaders?: any; Expiry?: Date; } - + export class NotificationHubService { new(hubName: string, endpointOrConnectionString: string, sharedAccessKeyName?: string, sharedAccessKeyValue?: string): NotificationHubService; hubName: string; @@ -46,7 +46,7 @@ declare module Azure.ServiceBus { */ } - export module Apns { + export module Apns { interface Payload { expiry?: Date; aps?: Object; @@ -55,7 +55,7 @@ declare module Azure.ServiceBus { sound?: string; payload: Object; } - + interface Service { new(service: NotificationHubService): Service; send(tags: string | string[], payload: Apns.Payload, callback?: Callback): void; @@ -79,31 +79,31 @@ declare module Azure.ServiceBus { listRegistrationsByGcmRegistrationId(gcmRegistrationId: string, optionsOrCallback?: { top: number, skip: number } | Callback, callback?: Callback): void; } } - + export module Mpns { interface Service { } } - + export module Wns { interface Payload { - text1?: string; - text2?: string; - text3?: string; + text1?: string; + text2?: string; + text3?: string; text4?: string; - image1src?: string; - image1alt?: string; - image2src?: string; - image2alt?: string; - image3src?: string; - image3alt?: string; - image4src?: string; + image1src?: string; + image1alt?: string; + image2src?: string; + image2alt?: string; + image3src?: string; + image3alt?: string; + image4src?: string; image4alt?: string; lang?: string; - type?: string; + type?: string; } - + interface Options { headers: Object; } - + interface Service { new(service: NotificationHubService): Service; sendTileSquareBlock(tags: string | string[], payload: any, optionsOrCallback?: Options | Callback, callback?: Callback): void; @@ -170,4 +170,4 @@ declare module Azure.ServiceBus { listRegistrationsByChannel(channel: string, optionsOrCallback?: { top: number, skip: number } | Callback, callback?: Callback): void; } } -} \ No newline at end of file +} diff --git a/babylonjs/babylon.d.ts b/babylonjs/babylon.d.ts index bb5b6ebaa0933b..7e129ee4a712de 100644 --- a/babylonjs/babylon.d.ts +++ b/babylonjs/babylon.d.ts @@ -3,7 +3,7 @@ // Definitions by: David Catuhe // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module BABYLON { +declare namespace BABYLON { class _DepthCullingState { private _isDepthTestDirty; private _isDepthMaskDirty; @@ -413,7 +413,7 @@ interface HTMLMediaElement { crossOrigin: string; } -declare module BABYLON { +declare namespace BABYLON { /** * Node is the basic class for all scene objects (Mesh, Light Camera). */ @@ -493,7 +493,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface IDisposable { dispose(): void; } @@ -974,7 +974,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Action { triggerOptions: any; trigger: number; @@ -995,7 +995,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { /** * ActionEvent is the event beint sent when an action is triggered. */ @@ -1117,7 +1117,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Condition { _actionManager: ActionManager; _evaluationId: number; @@ -1160,7 +1160,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SwitchBooleanAction extends Action { propertyPath: string; private _target; @@ -1244,7 +1244,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class InterpolateValueAction extends Action { propertyPath: string; value: any; @@ -1259,7 +1259,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Animatable { target: any; fromFrame: number; @@ -1286,7 +1286,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class AnimationRange { name: string; from: number; @@ -1379,7 +1379,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface IEasingFunction { ease(gradient: number): number; } @@ -1451,7 +1451,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Analyser { SMOOTHING: number; FFT_SIZE: number; @@ -1485,7 +1485,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class AudioEngine { private _audioContext; private _audioContextInitialized; @@ -1506,7 +1506,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Sound { name: string; autoplay: boolean; @@ -1602,7 +1602,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SoundTrack { private _outputAudioNode; private _inputAudioNode; @@ -1626,7 +1626,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Bone extends Node { name: string; children: Bone[]; @@ -1656,7 +1656,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Skeleton { name: string; id: string; @@ -1695,7 +1695,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ArcRotateCamera extends TargetCamera { alpha: number; beta: number; @@ -1787,7 +1787,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VRCameraMetrics { hResolution: number; vResolution: number; @@ -1894,7 +1894,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class DeviceOrientationCamera extends FreeCamera { private _offsetX; private _offsetY; @@ -1913,7 +1913,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class FollowCamera extends TargetCamera { radius: number; rotationOffset: number; @@ -1940,7 +1940,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class FreeCamera extends TargetCamera { ellipsoid: Vector3; keysUp: number[]; @@ -1980,13 +1980,13 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class GamepadCamera extends UniversalCamera { constructor(name: string, position: Vector3, scene: Scene); } } -declare module BABYLON { +declare namespace BABYLON { class AnaglyphFreeCamera extends FreeCamera { interaxialDistance: number; constructor(name: string, position: Vector3, interaxialDistance: number, scene: Scene); @@ -2008,7 +2008,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class TargetCamera extends Camera { cameraDirection: Vector3; cameraRotation: Vector2; @@ -2057,7 +2057,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class TouchCamera extends FreeCamera { private _offsetX; private _offsetY; @@ -2077,7 +2077,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class UniversalCamera extends TouchCamera { gamepad: Gamepad; private _gamepads; @@ -2092,7 +2092,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VirtualJoysticksCamera extends FreeCamera { private _leftjoystick; private _rightjoystick; @@ -2104,7 +2104,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Collider { radius: Vector3; retry: number; @@ -2141,7 +2141,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { var CollisionWorker: string; interface ICollisionCoordinator { getNewPosition(position: Vector3, velocity: Vector3, collider: Collider, maximumRetry: number, excludedMesh: AbstractMesh, onNewPosition: (collisionIndex: number, newPosition: Vector3, collidedMesh?: AbstractMesh) => void, collisionIndex: number): void; @@ -2277,7 +2277,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { var WorkerIncluded: boolean; class CollisionCache { private _meshes; @@ -2321,7 +2321,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class IntersectionInfo { bu: number; bv: number; @@ -2345,7 +2345,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class DebugLayer { private _scene; private _camera; @@ -2402,7 +2402,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class BoundingBox { minimum: Vector3; maximum: Vector3; @@ -2429,7 +2429,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class BoundingInfo { minimum: Vector3; maximum: Vector3; @@ -2447,7 +2447,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class BoundingSphere { minimum: Vector3; maximum: Vector3; @@ -2464,7 +2464,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Layer { name: string; texture: Texture; @@ -2486,7 +2486,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class LensFlare { size: number; position: number; @@ -2498,7 +2498,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class LensFlareSystem { name: string; lensFlares: LensFlare[]; @@ -2530,7 +2530,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class DirectionalLight extends Light implements IShadowLight { direction: Vector3; position: Vector3; @@ -2558,7 +2558,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class HemisphericLight extends Light { direction: Vector3; groundColor: Color3; @@ -2572,7 +2572,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface IShadowLight { id: string; position: Vector3; @@ -2613,7 +2613,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PointLight extends Light implements IShadowLight { position: Vector3; private _worldMatrix; @@ -2632,7 +2632,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SpotLight extends Light implements IShadowLight { position: Vector3; direction: Vector3; @@ -2656,7 +2656,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface ISceneLoaderPlugin { extensions: string; importMesh: (meshesNames: any, scene: Scene, data: any, rootUrl: string, meshes: AbstractMesh[], particleSystems: ParticleSystem[], skeletons: Skeleton[]) => boolean; @@ -2688,7 +2688,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SIMDVector3 { static TransformCoordinatesToRefSIMD(vector: Vector3, transformation: Matrix, result: Vector3): void; static TransformCoordinatesFromFloatsToRefSIMD(x: number, y: number, z: number, transformation: Matrix, result: Vector3): void; @@ -2706,7 +2706,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Color3 { r: number; g: number; @@ -3229,7 +3229,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class EffectFallbacks { private _defines; private _currentRank; @@ -3303,7 +3303,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class MaterialDefines { _keys: string[]; isEqual(other: MaterialDefines): boolean; @@ -3374,7 +3374,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class MultiMaterial extends Material { subMaterials: Material[]; constructor(name: string, scene: Scene); @@ -3385,7 +3385,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ShaderMaterial extends Material { private _shaderPath; private _options; @@ -3427,7 +3427,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class FresnelParameters { isEnabled: boolean; leftColor: Color3; @@ -3504,7 +3504,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class AbstractMesh extends Node implements IDisposable { private static _BILLBOARDMODE_NONE; private static _BILLBOARDMODE_X; @@ -3708,7 +3708,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class CSG { private polygons; matrix: Matrix; @@ -3734,7 +3734,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Geometry implements IGetSetVerticesData { id: string; delayLoadState: number; @@ -3790,7 +3790,7 @@ declare module BABYLON { static ImportGeometry(parsedGeometry: any, mesh: Mesh): void; static Parse(parsedVertexData: any, scene: Scene, rootUrl: string): Geometry; } - module Geometry.Primitives { + namespace Geometry.Primitives { class _Primitive extends Geometry { private _beingRegenerated; private _canBeRegenerated; @@ -3924,7 +3924,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class GroundMesh extends Mesh { generateOctree: boolean; private _worldInverse; @@ -3965,7 +3965,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { /** * Creates an instance based on a source mesh. */ @@ -3995,7 +3995,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class LinesMesh extends Mesh { color: Color3; alpha: number; @@ -4012,7 +4012,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class _InstancesBatch { mustReturn: boolean; visibleInstances: InstancedMesh[][]; @@ -4236,7 +4236,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface IGetSetVerticesData { isVerticesDataPresent(kind: string): boolean; getVerticesData(kind: string, copyWhenShared?: boolean): number[] | Int32Array | Float32Array; @@ -4411,7 +4411,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class MeshBuilder { static CreateBox(name: string, options: { width?: number; @@ -4610,7 +4610,7 @@ declare module BABYLON { } } -declare module BABYLON.Internals { +declare namespace BABYLON.Internals { class MeshLODLevel { distance: number; mesh: Mesh; @@ -4618,7 +4618,7 @@ declare module BABYLON.Internals { } } -declare module BABYLON { +declare namespace BABYLON { /** * A simplifier interface for future simplification implementations. */ @@ -4741,7 +4741,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Polygon { static Rectangle(xmin: number, ymin: number, xmax: number, ymax: number): Vector2[]; static Circle(radius: number, cx?: number, cy?: number, numberOfSides?: number): Vector2[]; @@ -4763,7 +4763,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SubMesh { materialIndex: number; verticesStart: number; @@ -4802,7 +4802,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VertexBuffer { private _mesh; private _engine; @@ -4849,7 +4849,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Particle { position: Vector3; direction: Vector3; @@ -4864,7 +4864,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ParticleSystem implements IDisposable { name: string; static BLENDMODE_ONEONE: number; @@ -4944,7 +4944,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SolidParticle { idx: number; color: Color4; @@ -4971,7 +4971,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { /** * Full documentation here : http://doc.babylonjs.com/tutorials/Solid_Particle_System */ @@ -5192,7 +5192,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface IPhysicsEnginePlugin { name: string; initialize(iterations?: number): any; @@ -5251,19 +5251,19 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class AnaglyphPostProcess extends PostProcess { constructor(name: string, ratio: number, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); } } -declare module BABYLON { +declare namespace BABYLON { class BlackAndWhitePostProcess extends PostProcess { constructor(name: string, ratio: number, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); } } -declare module BABYLON { +declare namespace BABYLON { class BlurPostProcess extends PostProcess { direction: Vector2; blurWidth: number; @@ -5271,14 +5271,14 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ColorCorrectionPostProcess extends PostProcess { private _colorTableTexture; constructor(name: string, colorTableUrl: string, ratio: number, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); } } -declare module BABYLON { +declare namespace BABYLON { class ConvolutionPostProcess extends PostProcess { kernel: number[]; constructor(name: string, kernel: number[], ratio: number, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); @@ -5291,20 +5291,20 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class DisplayPassPostProcess extends PostProcess { constructor(name: string, ratio: number, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); } } -declare module BABYLON { +declare namespace BABYLON { class FilterPostProcess extends PostProcess { kernelMatrix: Matrix; constructor(name: string, kernelMatrix: Matrix, ratio: number, camera?: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); } } -declare module BABYLON { +declare namespace BABYLON { class FxaaPostProcess extends PostProcess { texelWidth: number; texelHeight: number; @@ -5312,7 +5312,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class HDRRenderingPipeline extends PostProcessRenderPipeline implements IDisposable { /** * Public members @@ -5435,7 +5435,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class LensRenderingPipeline extends PostProcessRenderPipeline { /** * The chromatic aberration PostProcess id in the pipeline @@ -5526,13 +5526,13 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PassPostProcess extends PostProcess { constructor(name: string, ratio: number, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean); } } -declare module BABYLON { +declare namespace BABYLON { class PostProcess { name: string; onApply: (effect: Effect) => void; @@ -5566,7 +5566,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PostProcessManager { private _scene; private _indexBuffer; @@ -5582,7 +5582,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class RefractionPostProcess extends PostProcess { color: Color3; depth: number; @@ -5593,7 +5593,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SSAORenderingPipeline extends PostProcessRenderPipeline { /** * The PassPostProcess id in the pipeline that contains the original scene color @@ -5687,14 +5687,14 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class StereoscopicInterlacePostProcess extends PostProcess { private _stepSize; constructor(name: string, camB: Camera, postProcessA: PostProcess, isStereoscopicHoriz: boolean, samplingMode?: number); } } -declare module BABYLON { +declare namespace BABYLON { enum TonemappingOperator { Hable = 0, Reinhard = 1, @@ -5708,7 +5708,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VolumetricLightScatteringPostProcess extends PostProcess { private _volumetricLightScatteringPass; private _volumetricLightScatteringRTT; @@ -5806,7 +5806,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VRDistortionCorrectionPostProcess extends PostProcess { aspectRatio: number; private _isRightEye; @@ -5820,7 +5820,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ReflectionProbe { name: string; private _scene; @@ -5841,7 +5841,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class BoundingBoxRenderer { frontColor: Color3; backColor: Color3; @@ -5859,7 +5859,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class DepthRenderer { private _scene; private _depthMap; @@ -5876,7 +5876,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class EdgesRenderer { edgesWidthScalerForOrthographic: number; edgesWidthScalerForPerspective: number; @@ -5903,7 +5903,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class OutlineRenderer { private _scene; private _effect; @@ -5914,7 +5914,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class RenderingGroup { index: number; private _scene; @@ -5930,7 +5930,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class RenderingManager { static MAX_RENDERINGGROUPS: number; private _scene; @@ -5951,7 +5951,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Sprite { name: string; position: Vector3; @@ -5984,7 +5984,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SpriteManager { name: string; cellSize: number; @@ -6013,7 +6013,7 @@ declare module BABYLON { } } -declare module BABYLON.Internals { +declare namespace BABYLON.Internals { class AndOrNotEvaluator { static Eval(query: string, evaluateCallback: (val: any) => boolean): boolean; private static _HandleParenthesisContent(parenthesisContent, evaluateCallback); @@ -6021,7 +6021,7 @@ declare module BABYLON.Internals { } } -declare module BABYLON { +declare namespace BABYLON { interface IAssetTask { onSuccess: (task: IAssetTask) => void; onError: (task: IAssetTask) => void; @@ -6106,7 +6106,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Database { private callbackManifestChecked; private currentSceneUrl; @@ -6137,7 +6137,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class FilesInput { private _engine; private _currentScene; @@ -6162,7 +6162,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Gamepads { private babylonGamepads; private oneGamepadConnected; @@ -6289,7 +6289,7 @@ interface Navigator { webkitGamepads(func?: any): any; } -declare module BABYLON { +declare namespace BABYLON { interface ILoadingScreen { displayLoadingUI: () => void; hideLoadingUI: () => void; @@ -6311,7 +6311,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SceneOptimization { priority: number; apply: (scene: Scene) => boolean; @@ -6366,14 +6366,14 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SceneSerializer { static Serialize(scene: Scene): any; static SerializeMesh(toSerialize: any, withParents?: boolean, withChildren?: boolean): any; } } -declare module BABYLON { +declare namespace BABYLON { class SmartArray { data: Array; length: number; @@ -6391,7 +6391,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class SmartCollection { count: number; items: any; @@ -6411,7 +6411,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Tags { static EnableFor(obj: any): void; static DisableFor(obj: any): void; @@ -6425,7 +6425,7 @@ declare module BABYLON { } } -declare module BABYLON.Internals { +declare namespace BABYLON.Internals { interface DDSInfo { width: number; height: number; @@ -6444,7 +6444,7 @@ declare module BABYLON.Internals { } } -declare module BABYLON.Internals { +declare namespace BABYLON.Internals { class TGATools { private static _TYPE_NO_DATA; private static _TYPE_INDEXED; @@ -6470,7 +6470,7 @@ declare module BABYLON.Internals { } } -declare module BABYLON { +declare namespace BABYLON { interface IAnimatable { animations: Array; } @@ -6617,7 +6617,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { enum JoystickAxis { X = 0, Y = 1, @@ -6676,7 +6676,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VRDeviceOrientationFreeCamera extends FreeCamera { _alpha: number; _beta: number; @@ -6692,7 +6692,7 @@ declare module BABYLON { declare var HMDVRDevice: any; declare var PositionSensorVRDevice: any; -declare module BABYLON { +declare namespace BABYLON { class WebVRFreeCamera extends FreeCamera { _hmdDevice: any; _sensorDevice: any; @@ -6708,7 +6708,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { interface IOctreeContainer { blocks: Array>; } @@ -6731,7 +6731,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class OctreeBlock { entries: T[]; blocks: Array>; @@ -6755,7 +6755,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ShadowGenerator { private static _FILTER_NONE; private static _FILTER_VARIANCESHADOWMAP; @@ -6813,10 +6813,10 @@ declare module BABYLON { } } -declare module BABYLON.Internals { +declare namespace BABYLON.Internals { } -declare module BABYLON { +declare namespace BABYLON { class BaseTexture { name: string; delayLoadState: number; @@ -6855,7 +6855,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class CubeTexture extends BaseTexture { url: string; coordinatesMode: number; @@ -6873,7 +6873,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class DynamicTexture extends Texture { private _generateMipMaps; private _canvas; @@ -6889,7 +6889,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class MirrorTexture extends RenderTargetTexture { mirrorPlane: Plane; private _transformMatrix; @@ -6901,7 +6901,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class RawTexture extends Texture { format: number; constructor(data: ArrayBufferView, width: number, height: number, format: number, scene: Scene, generateMipMaps?: boolean, invertY?: boolean, samplingMode?: number); @@ -6914,7 +6914,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class RenderTargetTexture extends Texture { isCube: boolean; static _REFRESHRATE_RENDER_ONCE: number; @@ -6958,7 +6958,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class Texture extends BaseTexture { static NEAREST_SAMPLINGMODE: number; static BILINEAR_SAMPLINGMODE: number; @@ -7015,7 +7015,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class VideoTexture extends Texture { video: HTMLVideoElement; private _autoLaunch; @@ -7025,7 +7025,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class CannonJSPlugin implements IPhysicsEnginePlugin { private _useDeltaForWorldStep; private _world; @@ -7059,7 +7059,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class OimoJSPlugin implements IPhysicsEnginePlugin { private _world; private _registeredMeshes; @@ -7090,7 +7090,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PostProcessRenderEffect { private _engine; private _postProcesses; @@ -7124,7 +7124,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PostProcessRenderPass { private _enabled; private _renderList; @@ -7141,7 +7141,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PostProcessRenderPipeline { private _engine; private _renderEffects; @@ -7170,7 +7170,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class PostProcessRenderPipelineManager { private _renderPipelines; constructor(); @@ -7191,7 +7191,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class CustomProceduralTexture extends ProceduralTexture { private _animate; private _time; @@ -7207,7 +7207,7 @@ declare module BABYLON { } } -declare module BABYLON { +declare namespace BABYLON { class ProceduralTexture extends Texture { isCube: boolean; private _size; diff --git a/babyparse/babyparse.d.ts b/babyparse/babyparse.d.ts index b8c61c9cb7e885..6e8df86c3ef38d 100644 --- a/babyparse/babyparse.d.ts +++ b/babyparse/babyparse.d.ts @@ -3,7 +3,7 @@ // Definitions by: Charles Parker // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module BabyParse { +declare namespace BabyParse { interface Static { /** * Parse a csv string or a csv file @@ -18,37 +18,37 @@ declare module BabyParse { unparse(data: Array>, config?: UnparseConfig): string; unparse(data: UnparseObject, config?: UnparseConfig): string; - + /** * Read-Only Properties */ // An array of characters that are not allowed as delimiters. BAD_DELIMETERS: Array; - + // The true delimiter. Invisible. ASCII code 30. Should be doing the job we strangely rely upon commas and tabs for. RECORD_SEP: string; - + // Also sometimes used as a delimiting character. ASCII code 31. UNIT_SEP: string; - + // Whether or not the browser supports HTML5 Web Workers. If false, worker: true will have no effect. WORKERS_SUPPORTED: boolean; - + // The relative path to Papa Parse. This is automatically detected when Papa Parse is loaded synchronously. SCRIPT_PATH: string; - + /** * Configurable Properties */ // The size in bytes of each file chunk. Used when streaming files obtained from the DOM that exist on the local computer. Default 10 MB. LocalChunkSize: string; - + // Same as LocalChunkSize, but for downloading files from remote locations. Default 5 MB. RemoteChunkSize: string; - + // The delimiter used when it is left unspecified and cannot be detected automatically. Default is comma. DefaultDelimiter: string; - + /** * On Papa there are actually more classes exposed * but none of them are officially documented @@ -69,7 +69,7 @@ declare module BabyParse { download?: boolean; // default: false skipEmptyLines?: boolean; // default: false fastMode?: boolean; // default: undefined - + // Callbacks step?(results: ParseResult, parser: Parser): void; // default: undefined complete?(results: ParseResult): void; // default: undefined @@ -85,7 +85,7 @@ declare module BabyParse { fields: Array; data: string | Array; } - + interface ParseError { type: string; // A generalization of the error code: string; // Standardized error code @@ -100,10 +100,10 @@ declare module BabyParse { fields: Array; // Array of field names truncated: boolean; // Whether preview consumed all input } - + /** * @interface ParseResult - * + * * data: is an array of rows. If header is false, rows are arrays; otherwise they are objects of data keyed by the field name. * errors: is an array of errors * meta: contains extra information about the parse, such as delimiter used, the newline sequence, whether the process was aborted, etc. Properties in this object are not guaranteed to exist in all situations @@ -117,10 +117,10 @@ declare module BabyParse { interface Parser { // Parses the input parse(input: string): any; - + // Sets the abort flag abort(): void; - + // Gets the cursor position getCharIndex(): number; } @@ -132,4 +132,4 @@ declare var Baby:BabyParse.Static; declare module "babyparse"{ var Baby:BabyParse.Static; export = Baby; -} \ No newline at end of file +} diff --git a/backbone-associations/backbone-associations-tests.ts b/backbone-associations/backbone-associations-tests.ts index 5f656b8f2003a8..a75c6702ec2e0c 100644 --- a/backbone-associations/backbone-associations-tests.ts +++ b/backbone-associations/backbone-associations-tests.ts @@ -3,8 +3,8 @@ // borrowed from the Backbone.Associations tutorials // separated out into modules to avoid namespace clashes -module Backbone.Associations.Tests { - module OneToOne { +namespace Backbone.Associations.Tests { + namespace OneToOne { class EmployeeWithManager extends Backbone.AssociatedModel { constructor(options?) { super(options); @@ -28,7 +28,7 @@ module Backbone.Associations.Tests { } } - module OneToMany { + namespace OneToMany { class Location extends Backbone.AssociatedModel { defaults() { return { @@ -76,4 +76,4 @@ module Backbone.Associations.Tests { } } -} \ No newline at end of file +} diff --git a/backbone-associations/backbone-associations.d.ts b/backbone-associations/backbone-associations.d.ts index 3707737d762328..c093c0185475b0 100644 --- a/backbone-associations/backbone-associations.d.ts +++ b/backbone-associations/backbone-associations.d.ts @@ -5,7 +5,7 @@ /// -declare module Backbone { +declare namespace Backbone { export module Associations { /** Defines a 1:Many relationship type */ export var Many: string; @@ -41,7 +41,7 @@ declare module Backbone { /** A transformation function to convert the value before it is assigned to the key on the relatedModel */ map?: (...args: any[]) => any; } - + /** A Backbone model with special provision for handling relations to other models */ export class AssociatedModel extends Backbone.Model { /** Relations with their associated model */ @@ -72,4 +72,4 @@ declare module Backbone { /** Cleans up any parent relations on other AssociatedModels */ cleanup(): void; } -} \ No newline at end of file +} diff --git a/backbone-relational/backbone-relational.d.ts b/backbone-relational/backbone-relational.d.ts index b8c6ff13cd0a0e..d51991e55d5a88 100644 --- a/backbone-relational/backbone-relational.d.ts +++ b/backbone-relational/backbone-relational.d.ts @@ -7,7 +7,7 @@ /// /// -declare module Backbone { +declare namespace Backbone { class RelationalModel extends Model { /** * Do not use, prefer TypeScript's extend functionality. diff --git a/backbone.layoutmanager/backbone.layoutmanager.d.ts b/backbone.layoutmanager/backbone.layoutmanager.d.ts index 5ce5481571eda3..20514583675580 100644 --- a/backbone.layoutmanager/backbone.layoutmanager.d.ts +++ b/backbone.layoutmanager/backbone.layoutmanager.d.ts @@ -7,13 +7,13 @@ /// /// -declare module Backbone { +declare namespace Backbone { interface LayoutOptions extends ViewOptions { template?: string; views?: { [viewName: string]: View }; } - + interface LayoutManagerOptions { manage?: boolean; el?: boolean; @@ -26,11 +26,11 @@ declare module Backbone { beforeRender(): void; afterRender(): void; cleanup(): void; - + fetchTemplate(path: string): (context:any)=>string; async():(compiled:(context:any)=>void)=>void; promise(): JQueryPromise; - + getAllOptions(): LayoutOptions; getView(fn?:any): any; @@ -41,13 +41,13 @@ declare module Backbone { remove(): Layout; removeView(fn:any): Layout; - + render(): Layout; // return this renderViews(): Layout; // return this setView(name: any, view: U, insert?:boolean): U; // return view setViews(views:any): Layout; // return this then(fn:()=>void):void; - + static cache(path: string, contents?: any): any; static cleanViews(views: any): void; static configure(options: LayoutManagerOptions): void; diff --git a/backbone.localstorage/backbone.localstorage.d.ts b/backbone.localstorage/backbone.localstorage.d.ts index 9ff33b59e5112a..25c9e4cb7234cf 100644 --- a/backbone.localstorage/backbone.localstorage.d.ts +++ b/backbone.localstorage/backbone.localstorage.d.ts @@ -5,7 +5,7 @@ /// -declare module Backbone { +declare namespace Backbone { interface Serializer { serialize(item: any): any; deserialize(data: any): any; diff --git a/backbone.paginator/backbone.paginator-tests.ts b/backbone.paginator/backbone.paginator-tests.ts index 413c4c37361ddf..c05a07b9d19d83 100644 --- a/backbone.paginator/backbone.paginator-tests.ts +++ b/backbone.paginator/backbone.paginator-tests.ts @@ -2,7 +2,7 @@ /// /// -module BackbonePaginatorTests { +namespace BackbonePaginatorTests { class TestModel extends Backbone.Model{}; @@ -18,7 +18,7 @@ module BackbonePaginatorTests { }; - module InitializingWithNoOption { + namespace InitializingWithNoOption { class TestCollection extends Backbone.PageableCollection { constructor(){ @@ -32,7 +32,7 @@ module BackbonePaginatorTests { - module InitializingWithOptions { + namespace InitializingWithOptions { class TestCollection extends Backbone.PageableCollection { @@ -90,7 +90,7 @@ module BackbonePaginatorTests { - module Fetching { + namespace Fetching { class TestCollection extends Backbone.PageableCollection { constructor(models?: TestModel[], @@ -112,7 +112,7 @@ module BackbonePaginatorTests { - module Paging { + namespace Paging { class TestCollection extends Backbone.PageableCollection { constructor(models?: TestModel[], @@ -129,7 +129,7 @@ module BackbonePaginatorTests { var result:JQueryXHR|TestCollection = testCollection.getFirstPage(); testCollection.getFirstPage(options); - + // 'silent's type is boolean. (structural subtyping) testCollection.getFirstPage({silent: 'aa'}); // 'url's type is string. (structural subtyping) @@ -195,7 +195,7 @@ module BackbonePaginatorTests { - module Parse { + namespace Parse { class TestCollection extends Backbone.PageableCollection { constructor(models?: TestModel[], @@ -244,7 +244,7 @@ module BackbonePaginatorTests { - module Setting { + namespace Setting { class TestCollection extends Backbone.PageableCollection { constructor(models?: TestModel[], @@ -275,7 +275,7 @@ module BackbonePaginatorTests { - module Syncing { + namespace Syncing { class TestCollection extends Backbone.PageableCollection { constructor(models?: TestModel[], @@ -295,7 +295,7 @@ module BackbonePaginatorTests { - module Confllict { + namespace Confllict { var result:typeof Backbone.PageableCollection = Backbone.PageableCollection.noConflict(); diff --git a/backbone.paginator/backbone.paginator.d.ts b/backbone.paginator/backbone.paginator.d.ts index 3a8b8f0b62a069..b25691989369ae 100644 --- a/backbone.paginator/backbone.paginator.d.ts +++ b/backbone.paginator/backbone.paginator.d.ts @@ -5,7 +5,7 @@ /// -declare module Backbone { +declare namespace Backbone { interface PageableState { firstPage?: number; diff --git a/backbone.radio/backbone.radio.d.ts b/backbone.radio/backbone.radio.d.ts index 7fd7ce3c1f1dd4..50895b027539d9 100644 --- a/backbone.radio/backbone.radio.d.ts +++ b/backbone.radio/backbone.radio.d.ts @@ -5,7 +5,7 @@ /// -declare module Backbone { +declare namespace Backbone { interface Radio { tuneIn(channelName: string): Radio; tuneOut(channelName: string): Radio; @@ -13,7 +13,7 @@ declare module Backbone { channel(channelName: string): Radio.Channel; } - module Radio { + namespace Radio { var VERSION: string; var DEBUG: boolean; @@ -89,4 +89,4 @@ declare module Backbone { stopReplying(commandName?: string, callback?: (...args: any[]) => any, context?: any): Requests; } } -} +} diff --git a/backbone/backbone-global.d.ts b/backbone/backbone-global.d.ts index d71003bcb542c0..83004bd23b1344 100644 --- a/backbone/backbone-global.d.ts +++ b/backbone/backbone-global.d.ts @@ -5,7 +5,7 @@ /// -declare module Backbone { +declare namespace Backbone { interface AddOptions extends Silenceable { at?: number; diff --git a/backbone/backbone-tests.ts b/backbone/backbone-tests.ts index 4f719f92b08b1c..3b34710a4080ac 100644 --- a/backbone/backbone-tests.ts +++ b/backbone/backbone-tests.ts @@ -157,8 +157,8 @@ function test_collection() { Backbone.history.start(); -module v1Changes { - module events { +namespace v1Changes { + namespace events { function test_once() { var model = new Employee; model.once('invalid', () => { }, this); @@ -186,7 +186,7 @@ module v1Changes { } } - module ModelAndCollection { + namespace ModelAndCollection { function test_url() { Employee.prototype.url = () => '/employees'; EmployeeCollection.prototype.url = () => '/employees'; @@ -214,7 +214,7 @@ module v1Changes { } } - module Model { + namespace Model { function test_validationError() { var model = new Employee; if (model.validationError) { @@ -286,7 +286,7 @@ module v1Changes { } } - module Collection { + namespace Collection { function test_fetch() { var collection = new EmployeeCollection; collection.fetch({ reset: true }); @@ -302,7 +302,7 @@ module v1Changes { } } - module Router { + namespace Router { function test_navigate() { var router = new Backbone.Router; diff --git a/backbone/backbone-with-lodash-tests.ts b/backbone/backbone-with-lodash-tests.ts index 001882ca020828..e0b04880bf9eab 100644 --- a/backbone/backbone-with-lodash-tests.ts +++ b/backbone/backbone-with-lodash-tests.ts @@ -158,8 +158,8 @@ function test_collection() { Backbone.history.start(); -module v1Changes { - module events { +namespace v1Changes { + namespace events { function test_once() { var model = new Employee; model.once('invalid', () => { }, this); @@ -187,7 +187,7 @@ module v1Changes { } } - module ModelAndCollection { + namespace ModelAndCollection { function test_url() { Employee.prototype.url = () => '/employees'; EmployeeCollection.prototype.url = () => '/employees'; @@ -215,7 +215,7 @@ module v1Changes { } } - module Model { + namespace Model { function test_validationError() { var model = new Employee; if (model.validationError) { @@ -287,7 +287,7 @@ module v1Changes { } } - module Collection { + namespace Collection { function test_fetch() { var collection = new EmployeeCollection; collection.fetch({ reset: true }); @@ -303,7 +303,7 @@ module v1Changes { } } - module Router { + namespace Router { function test_navigate() { var router = new Backbone.Router; diff --git a/backgrid/backgrid.d.ts b/backgrid/backgrid.d.ts index a8a5548ffaa6db..d208faf4152343 100644 --- a/backgrid/backgrid.d.ts +++ b/backgrid/backgrid.d.ts @@ -5,7 +5,7 @@ /// -declare module Backgrid { +declare namespace Backgrid { interface GridOptions { columns: Column[]; diff --git a/baconjs/baconjs.d.ts b/baconjs/baconjs.d.ts index 944eeb687336a8..50823ba4229eaf 100644 --- a/baconjs/baconjs.d.ts +++ b/baconjs/baconjs.d.ts @@ -65,7 +65,7 @@ interface JQuery { } /** @module Bacon */ -declare module Bacon { +declare namespace Bacon { /** * @function * @description Creates an [EventStream]{@link Bacon.EventStream} from a `promise` Promise object such as JQuery Ajax. This stream will contain a single value or an error, followed immediately by stream end. You can use the optional `abort` flag (i.e. ´Bacon.fromPromise(p, true)´ to have the `abort` method of the given promise be called when all subscribers have been removed from the created stream. diff --git a/bardjs/bardjs-tests.ts b/bardjs/bardjs-tests.ts index 312b064963ae4e..b29900ad7d337a 100644 --- a/bardjs/bardjs-tests.ts +++ b/bardjs/bardjs-tests.ts @@ -4,7 +4,7 @@ /// /// -module bardTests { +namespace bardTests { var expect = chai.expect, assert = chai.assert; diff --git a/bardjs/bardjs.d.ts b/bardjs/bardjs.d.ts index a3d94bc9278946..4395ef6ddb62b8 100644 --- a/bardjs/bardjs.d.ts +++ b/bardjs/bardjs.d.ts @@ -10,7 +10,7 @@ /** * Module for bardjs functions */ -declare module bard { +declare namespace bard { /** * Replaces the ngMock'ed $httpBackend with the real one from ng thus * restoring the ability to issue AJAX calls to the backend with $http. diff --git a/benchmark/benchmark.d.ts b/benchmark/benchmark.d.ts index 4803c728690c35..c5c257aaaaabf8 100644 --- a/benchmark/benchmark.d.ts +++ b/benchmark/benchmark.d.ts @@ -60,7 +60,7 @@ declare module "benchmark" { toString(): string; } - module Benchmark { + namespace Benchmark { export interface Options { async?: boolean; defer?: boolean; diff --git a/better-curry/better-curry.d.ts b/better-curry/better-curry.d.ts index 8e8070cfdc5148..3de4a8c9ff1a46 100644 --- a/better-curry/better-curry.d.ts +++ b/better-curry/better-curry.d.ts @@ -5,7 +5,7 @@ declare var BetterCurry: BetterCurryModule.BetterCurry; -declare module BetterCurryModule { +declare namespace BetterCurryModule { export interface DelegateOptions { as?: string; @@ -47,4 +47,4 @@ declare module 'better-curry' { var bc: BetterCurryModule.BetterCurry; export = bc; -} \ No newline at end of file +} diff --git a/bgiframe/typescript.bgiframe.d.ts b/bgiframe/typescript.bgiframe.d.ts index 09aaf5151cb87f..4959783f72d847 100644 --- a/bgiframe/typescript.bgiframe.d.ts +++ b/bgiframe/typescript.bgiframe.d.ts @@ -12,7 +12,7 @@ * Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net) */ -declare module BgiFrame { +declare namespace BgiFrame { interface ISettings { top: string; left: string; diff --git a/big.js/big.js.d.ts b/big.js/big.js.d.ts index 15e22bb3daf3ae..52a653ba83e39a 100644 --- a/big.js/big.js.d.ts +++ b/big.js/big.js.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module BigJsLibrary { +declare namespace BigJsLibrary { export const enum RoundingMode { RoundTowardsZero = 0, @@ -15,7 +15,7 @@ declare module BigJsLibrary { interface BigJS extends BigJS_Constructors { /** The maximum number of decimal places of the results of operations involving division. - It is relevant only to the div and sqrt methods, and the pow method when the exponent is negative. + It is relevant only to the div and sqrt methods, and the pow method when the exponent is negative. @default 40 */ DP: number; @@ -42,7 +42,7 @@ declare module BigJsLibrary { (value: string): BigJS; /** A decimal value. */ (value: BigJS): BigJS; - + /** A decimal value. */ (): BigJS; } @@ -55,19 +55,19 @@ declare module BigJsLibrary { /** Compare @returns {Number} 1 = If the value of this Big number is greater than the value of n - -1 = If the value of this Big number is less than the value of n + -1 = If the value of this Big number is less than the value of n 0 = If this Big number and n have the same value */ cmp(n: number): number; /** Compare @returns {Number} 1 = If the value of this Big number is greater than the value of n - -1 = If the value of this Big number is less than the value of n + -1 = If the value of this Big number is less than the value of n 0 = If this Big number and n have the same value */ cmp(n: string): number; /** Compare @returns {Number} 1 = If the value of this Big number is greater than the value of n - -1 = If the value of this Big number is less than the value of n + -1 = If the value of this Big number is less than the value of n 0 = If this Big number and n have the same value */ cmp(n: BigJS): number; @@ -120,13 +120,13 @@ declare module BigJsLibrary { /** Returns a Big number whose value is the value of this Big number minus n. */ minus(n: BigJS): BigJS; - /** Returns a Big number whose value is the value of this Big number modulo n, i.e. the integer remainder of dividing this Big number by n. + /** Returns a Big number whose value is the value of this Big number modulo n, i.e. the integer remainder of dividing this Big number by n. The result will have the same sign as this Big number, and it will match that of Javascript's % operator (within the limits of its precision) and BigDecimal's remainder method. */ mod(n: number): BigJS; - /** Returns a Big number whose value is the value of this Big number modulo n, i.e. the integer remainder of dividing this Big number by n. + /** Returns a Big number whose value is the value of this Big number modulo n, i.e. the integer remainder of dividing this Big number by n. The result will have the same sign as this Big number, and it will match that of Javascript's % operator (within the limits of its precision) and BigDecimal's remainder method. */ mod(n: string): BigJS; - /** Returns a Big number whose value is the value of this Big number modulo n, i.e. the integer remainder of dividing this Big number by n. + /** Returns a Big number whose value is the value of this Big number modulo n, i.e. the integer remainder of dividing this Big number by n. The result will have the same sign as this Big number, and it will match that of Javascript's % operator (within the limits of its precision) and BigDecimal's remainder method. */ mod(n: BigJS): BigJS; @@ -137,7 +137,7 @@ declare module BigJsLibrary { /** Returns a Big number whose value is the value of this Big number plus n. */ plus(n: BigJS): BigJS; - /** Returns a Big number whose value is the value of this Big number raised to the power exp. + /** Returns a Big number whose value is the value of this Big number raised to the power exp. If exp is negative and the result has more fraction digits than is specified by Big.DP, it will be rounded to Big.DP decimal places using rounding mode Big.RM. @param exp integer, -1e+6 to 1e+6 inclusive */ pow(exp: number): BigJS; diff --git a/bigint/bigint.d.ts b/bigint/bigint.d.ts index bf055a8f1e4305..98cb205992a81f 100644 --- a/bigint/bigint.d.ts +++ b/bigint/bigint.d.ts @@ -6,7 +6,7 @@ // Development repository: https://github.com/Evgenus/bigint-typescript-definitions // For answers, fixes and cutting edge version please see development repository. -declare module BigInt { +declare namespace BigInt { export interface BigInt extends Array { } @@ -171,7 +171,7 @@ declare module BigInt { export function inverseMod(x: BigInt, n: BigInt): BigInt; /** - * return x**(-1) mod n, for integers x and n. + * return x**(-1) mod n, for integers x and n. * Return 0 if there is no inverse. * * @param {number} x The BigInt base. @@ -273,7 +273,7 @@ declare module BigInt { export function powMod(x: BigInt, y: BigInt, n: BigInt): BigInt; /** - * return an n-bit random BigInt (n>=1). + * return an n-bit random BigInt (n>=1). * If s=1, then the most significant of those n bits is set to 1. * * @param {number} n The number of bits (n>=1). @@ -329,7 +329,7 @@ declare module BigInt { export function str2bigInt(s: string, b: string, n?: number, m?: number): BigInt; /** - * return (x-y) for bigInts x and y. + * return (x-y) for bigInts x and y. * Negative answers will be 2s complement. * * @param {BigInt} x The minuend as BigInt. @@ -351,7 +351,7 @@ declare module BigInt { /** * do x=x+n where x is a bigInt and n is an integer. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt accumulator. @@ -361,7 +361,7 @@ declare module BigInt { /** * do x=x+y for bigInts x and y. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt accumulator. @@ -371,7 +371,7 @@ declare module BigInt { /** * do x=y on bigInts x and y. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt destination. @@ -381,7 +381,7 @@ declare module BigInt { /** * do x=n on bigInt x and integer n. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt destination. @@ -392,7 +392,7 @@ declare module BigInt { /** * set x to the greatest common divisor of bigInts x and y, (y is destroyed). * This never overflows its array. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt first dividend. @@ -402,7 +402,7 @@ declare module BigInt { /** * do x=x**(-1) mod n, for bigInts x and n. Returns 1 (0) if inverse does (doesn't) exist. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt base and the remainder result. @@ -414,7 +414,7 @@ declare module BigInt { /** * do x=x mod n for bigInts x and n. (This never overflows its array). - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt dividend and the remainder result. @@ -424,7 +424,7 @@ declare module BigInt { /** * do x=x*y for bigInts x and y. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt multiplicand and the product result. @@ -434,7 +434,7 @@ declare module BigInt { /** * do x=x*y mod n for bigInts x,y,n. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt multiplicand and the remainder result. @@ -446,7 +446,7 @@ declare module BigInt { /** * do x=x**y mod n, where x,y,n are bigInts (n is odd) and ** is exponentiation. * 0**0=1. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt base and the remainder result. @@ -458,7 +458,7 @@ declare module BigInt { /** * do b = an n-bit random BigInt. * if s=1, then nth bit (most significant bit) is set to 1. n>=1. - * + * * @private Intend to be internal function. * * @param {BigInt} b The BigInt destination. @@ -469,7 +469,7 @@ declare module BigInt { /** * do ans = a random k-bit true random prime (not just probable prime) with 1 in the msb. - * + * * @private Intend to be internal function. * * @param {BigInt} ans The destination. @@ -479,7 +479,7 @@ declare module BigInt { /** * do x=x-y for bigInts x and y. Negative answers will be 2s complement. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt minuend and the result difference. @@ -489,7 +489,7 @@ declare module BigInt { /** * do x=x+(y<<(ys*bpe)) - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt accumulator. @@ -500,7 +500,7 @@ declare module BigInt { /** * do carries and borrows so each element of the bigInt x fits in bpe bits. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt to process. @@ -509,7 +509,7 @@ declare module BigInt { /** * divide x by y giving quotient q and remainder r. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt dividend. @@ -522,7 +522,7 @@ declare module BigInt { /** * do x=floor(x/n) for bigInt x and integer n, and return the remainder. * This never overflows its array. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt dividend and the quotient result. @@ -534,7 +534,7 @@ declare module BigInt { /** * sets a,b,d to positive bigInts such that d = GCD_(x,y) = a*x-b*y. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt to process. @@ -546,9 +546,9 @@ declare module BigInt { export function eGCD_(x: BigInt, y: BigInt, d: BigInt, a: BigInt, b: BigInt): void; /** - * do x=floor(|x|/2)*sgn(x) for bigInt x in 2's complement. + * do x=floor(|x|/2)*sgn(x) for bigInt x in 2's complement. * This never overflows its array. - * + * * @private Intend to be internal function. * * @param {BigInt} x The BigInt to process. @@ -557,7 +557,7 @@ declare module BigInt { /** * left shift bigInt x by n bits. n -declare module Microsoft.Maps.AdvancedShapes { +declare namespace Microsoft.Maps.AdvancedShapes { export class EntityCollection { @@ -41,4 +41,4 @@ declare module Microsoft.Maps.AdvancedShapes { toString(): string; } -} \ No newline at end of file +} diff --git a/bingmaps/Microsoft.Maps.Directions.d.ts b/bingmaps/Microsoft.Maps.Directions.d.ts index 6a1105568f4396..fd0622f88071fb 100644 --- a/bingmaps/Microsoft.Maps.Directions.d.ts +++ b/bingmaps/Microsoft.Maps.Directions.d.ts @@ -5,7 +5,7 @@ /// -declare module Microsoft.Maps.Directions { +declare namespace Microsoft.Maps.Directions { export interface BusinessDetails { @@ -433,4 +433,4 @@ declare module Microsoft.Maps.Directions { routeLeg: RouteLeg; } -} \ No newline at end of file +} diff --git a/bingmaps/Microsoft.Maps.Search.d.ts b/bingmaps/Microsoft.Maps.Search.d.ts index a50c8b0b0664e3..d13163ef25619e 100644 --- a/bingmaps/Microsoft.Maps.Search.d.ts +++ b/bingmaps/Microsoft.Maps.Search.d.ts @@ -5,7 +5,7 @@ /// -declare module Microsoft.Maps.Search { +declare namespace Microsoft.Maps.Search { export interface Address { addressLine: string; diff --git a/bingmaps/Microsoft.Maps.Themes.BingTheme.d.ts b/bingmaps/Microsoft.Maps.Themes.BingTheme.d.ts index 5b1366d407aa4e..e13be2603b25d2 100644 --- a/bingmaps/Microsoft.Maps.Themes.BingTheme.d.ts +++ b/bingmaps/Microsoft.Maps.Themes.BingTheme.d.ts @@ -3,10 +3,10 @@ // Definitions by: Eric Todd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Microsoft.Maps.Themes { - +declare namespace Microsoft.Maps.Themes { + export class BingTheme { constructor(); } -} \ No newline at end of file +} diff --git a/bingmaps/Microsoft.Maps.Traffic.d.ts b/bingmaps/Microsoft.Maps.Traffic.d.ts index 027b544e2dd55b..1451c09000d125 100644 --- a/bingmaps/Microsoft.Maps.Traffic.d.ts +++ b/bingmaps/Microsoft.Maps.Traffic.d.ts @@ -5,10 +5,10 @@ /// -declare module Microsoft.Maps.Traffic { - +declare namespace Microsoft.Maps.Traffic { + export class TrafficManager { - + constructor(map: Map); hide(): void; @@ -21,4 +21,4 @@ declare module Microsoft.Maps.Traffic { showLegend():void; } -} \ No newline at end of file +} diff --git a/bingmaps/Microsoft.Maps.VenueMaps.d.ts b/bingmaps/Microsoft.Maps.VenueMaps.d.ts index 4f428f2bb01ec5..2d67bb3e69221a 100644 --- a/bingmaps/Microsoft.Maps.VenueMaps.d.ts +++ b/bingmaps/Microsoft.Maps.VenueMaps.d.ts @@ -5,7 +5,7 @@ /// -declare module Microsoft.Maps.VenueMaps { +declare namespace Microsoft.Maps.VenueMaps { export interface MouseResponse { eventArgs: MouseEventArgs; diff --git a/bingmaps/Microsoft.Maps.d.ts b/bingmaps/Microsoft.Maps.d.ts index 857105b168ef64..48edfcc2c47ec2 100644 --- a/bingmaps/Microsoft.Maps.d.ts +++ b/bingmaps/Microsoft.Maps.d.ts @@ -3,7 +3,7 @@ // Definitions by: Eric Todd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Microsoft.Maps { +declare namespace Microsoft.Maps { export enum AltitudeReference { ground, diff --git a/bingmaps/bingmaps-tests.ts b/bingmaps/bingmaps-tests.ts index 5842ee82df1ae8..08b3decd5b93bf 100644 --- a/bingmaps/bingmaps-tests.ts +++ b/bingmaps/bingmaps-tests.ts @@ -6,7 +6,7 @@ /// /// -module BingMapsTests { +namespace BingMapsTests { // An interactive set of Bing Maps AJAX control usages can be found at http://www.bingmapsportal.com/isdk/ajaxv7 // A full API description can be found at http://msdn.microsoft.com/en-us/library/gg427610.aspx @@ -90,4 +90,4 @@ module BingMapsTests { return location; } } -} \ No newline at end of file +} diff --git a/bip21/bip21.d.ts b/bip21/bip21.d.ts index 562fb7e343dd66..7dc62231645354 100644 --- a/bip21/bip21.d.ts +++ b/bip21/bip21.d.ts @@ -3,8 +3,8 @@ // Definitions by: Stefan Huber // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module bip21 { - export function decode(uri:string) : {address:string,amount?:number}; +declare namespace bip21 { + export function decode(uri:string) : {address:string,amount?:number}; export function encode(address:string,options?:any) : string; } diff --git a/blissfuljs/blissfuljs.d.ts b/blissfuljs/blissfuljs.d.ts index 3fb9e0204e0b11..9338929f16f4ea 100644 --- a/blissfuljs/blissfuljs.d.ts +++ b/blissfuljs/blissfuljs.d.ts @@ -11,7 +11,7 @@ interface Array { _: BlissNS.BlissBindedArray & BlissNS.BlissCollectionArray; } -declare module BlissNS { +declare namespace BlissNS { export type BlissDecoratedElement = Element & T; export type BlissDecoratedArrayElement = Array & BlissNS.BlissCollectionArray; diff --git a/blob-stream/blob-stream.d.ts b/blob-stream/blob-stream.d.ts index 4ebe454b58ecb6..cb7c6c1146710a 100644 --- a/blob-stream/blob-stream.d.ts +++ b/blob-stream/blob-stream.d.ts @@ -7,7 +7,7 @@ declare function BlobStream(): BlobStream.IBlobStream; -declare module BlobStream { +declare namespace BlobStream { interface IBlobStream extends NodeJS.WritableStream{ toBlob(type?: string): Blob; diff --git a/bluebird-retry/bluebird-retry.d.ts b/bluebird-retry/bluebird-retry.d.ts index c8ab6633ddd794..1210bf3b53bb05 100644 --- a/bluebird-retry/bluebird-retry.d.ts +++ b/bluebird-retry/bluebird-retry.d.ts @@ -9,7 +9,7 @@ declare module "bluebird-retry" { function retry(func:(param:T)=>void, options?:retry.Options):Promise; - module retry { + namespace retry { export interface Options { interval?:number; backoff?:number; @@ -21,4 +21,4 @@ declare module "bluebird-retry" { } export = retry; -} \ No newline at end of file +} diff --git a/bluebird/bluebird-1.0.d.ts b/bluebird/bluebird-1.0.d.ts index e6d1258ec51245..ab1cd02add46ac 100644 --- a/bluebird/bluebird-1.0.d.ts +++ b/bluebird/bluebird-1.0.d.ts @@ -580,7 +580,7 @@ declare class Promise implements Promise.Thenable { static filter(values: R[], filterer: (item: R, index: number, arrayLength: number) => boolean): Promise; } -declare module Promise { +declare namespace Promise { export interface RangeError extends Error { } export interface CancellationError extends Error { diff --git a/body-parser/body-parser.d.ts b/body-parser/body-parser.d.ts index 175a872c8bdde7..16f639dfaf0c57 100644 --- a/body-parser/body-parser.d.ts +++ b/body-parser/body-parser.d.ts @@ -40,7 +40,7 @@ declare module "body-parser" { extended?: boolean; }): express.RequestHandler; - module bodyParser { + namespace bodyParser { export function json(options?: { /** * if deflated bodies will be inflated. (default: true) diff --git a/boom/boom.d.ts b/boom/boom.d.ts index 0ab623cc5693e8..85c2e22b35eda1 100644 --- a/boom/boom.d.ts +++ b/boom/boom.d.ts @@ -5,7 +5,7 @@ /// -declare module Boom { +declare namespace Boom { export interface BoomError { data: any; diff --git a/bootpag/bootpag.d.ts b/bootpag/bootpag.d.ts index c09c67b78ce376..fef37711cd3a7c 100644 --- a/bootpag/bootpag.d.ts +++ b/bootpag/bootpag.d.ts @@ -5,7 +5,7 @@ /// -declare module JqueryBootpag { +declare namespace JqueryBootpag { /** * Bootpag plugin interface options */ @@ -31,12 +31,12 @@ declare module JqueryBootpag { leaps?: boolean; /** - * next button text (default "") + * next button text (default "�") */ next?: string; /** - * prev button text (default "") + * prev button text (default "�") */ prev?: string; @@ -123,4 +123,4 @@ interface JQuery { * @param handler : A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. */ on(eventName: "page", handler: JqueryBootpag.PageEventHandler): JQuery; -} \ No newline at end of file +} diff --git a/bootstrap-maxlength/bootstrap-maxlength.d.ts b/bootstrap-maxlength/bootstrap-maxlength.d.ts index 33d067a86beb8b..024ebcba5ff4a9 100644 --- a/bootstrap-maxlength/bootstrap-maxlength.d.ts +++ b/bootstrap-maxlength/bootstrap-maxlength.d.ts @@ -5,7 +5,7 @@ /// -declare module BootstrapMaxlength { +declare namespace BootstrapMaxlength { /** * Possible options for the position of the counter. (passed to $.fn.css) @@ -112,7 +112,7 @@ declare module BootstrapMaxlength { */ message?: string | ((currentText : string, maxLength: Number) => string), /** - * If true the input will count using utf8 bytesize/encoding. For example: the '' character is counted as two characters. + * If true the input will count using utf8 bytesize/encoding. For example: the '�' character is counted as two characters. * @default false */ utf8?: boolean, diff --git a/bootstrap-switch/bootstrap-switch.d.ts b/bootstrap-switch/bootstrap-switch.d.ts index e584e0d0094d02..b6738a9b8dba16 100644 --- a/bootstrap-switch/bootstrap-switch.d.ts +++ b/bootstrap-switch/bootstrap-switch.d.ts @@ -11,7 +11,7 @@ /// -declare module BootstrapSwitch { +declare namespace BootstrapSwitch { interface BootstrapSwitchChangeEventObject extends JQueryEventObject { state: boolean } @@ -99,4 +99,4 @@ interface JQuery { on(events: "switchChange.bootstrapSwitch", selector?: string, handler?: (eventobject: BootstrapSwitch.BootstrapSwitchChangeEventObject) => any): JQuery; on(events: "switchChange.bootstrapSwitch", handler?: (eventobject: BootstrapSwitch.BootstrapSwitchChangeEventObject) => any): JQuery; -} \ No newline at end of file +} diff --git a/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts b/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts index 0bd56fc3e390c7..1412ad47eb75a6 100644 --- a/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts +++ b/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Bootstrap datetimepicker v3 +// Type definitions for Bootstrap datetimepicker v3 // Project: http://eonasdan.github.io/bootstrap-datetimepicker // Definitions by: Jesica N. Fera // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -12,7 +12,7 @@ /// /// -declare module BootstrapV3DatetimePicker { +declare namespace BootstrapV3DatetimePicker { interface DatetimepickerChangeEventObject extends DatetimepickerEventObject { oldDate: moment.Moment; } diff --git a/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts b/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts index 72ef7786732cc7..d49a0d88149a65 100644 --- a/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts +++ b/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Bootstrap 3 Datepicker v4.17.37 +// Type definitions for Bootstrap 3 Datepicker v4.17.37 // Project: http://eonasdan.github.io/bootstrap-datetimepicker // Definitions by: Katona Péter // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -13,7 +13,7 @@ /// /// -declare module BootstrapV3DatetimePicker { +declare namespace BootstrapV3DatetimePicker { interface Datetimepicker { /**Clears the datepicker by setting the value to null */ @@ -25,7 +25,7 @@ declare module BootstrapV3DatetimePicker { * Parsing of the newDate parameter is made using moment library with the options.format and options.useStrict components configuration. * Throws: * - TypeError - in case the newDate cannot be parsed - * + * * Emits: * - dp.change - In case newDate is different from current moment */ @@ -202,7 +202,7 @@ declare module BootstrapV3DatetimePicker { * Throws: * - TypeError - if the parameter cannot be parsed using the options.format and options.useStrict configuration settings * - TypeError - if the parameter is before options.minDate - * + * * Emits: * - dp.change - if the new maxDate is after currently selected moment * - dp.error - if the new maxDate is after currently selected moment @@ -216,7 +216,7 @@ declare module BootstrapV3DatetimePicker { * Throws: * - TypeError - if the parameter cannot be parsed using the options.format and options.useStrict configuration settings * - TypeError - if the parameter is after options.maxDate - * + * * Emits: * - dp.change - if the new minDate is after currently selected moment * - dp.error - if the new minDate is after currently selected moment @@ -398,7 +398,7 @@ declare module BootstrapV3DatetimePicker { * @default: false */ keepOpen?: boolean; - /**See momentjs for valid locales. You must include moment-with-locales.js or a local js file. + /**See momentjs for valid locales. You must include moment-with-locales.js or a local js file. * @default: moment.locale() */ locale?: string; @@ -585,4 +585,4 @@ interface JQuery { off(events: "dp.update", handler: (eventobject: BootstrapV3DatetimePicker.Event) => any): JQuery; off(events: "dp.update", selector?: string, handler?: (eventobject: BootstrapV3DatetimePicker.UpdateEvent) => any): JQuery; -} \ No newline at end of file +} diff --git a/bowser/bowser.d.ts b/bowser/bowser.d.ts index e14cc162a74882..2bf1b3d510b5a8 100644 --- a/bowser/bowser.d.ts +++ b/bowser/bowser.d.ts @@ -8,7 +8,7 @@ declare module 'bowser' { export = def; } -declare module BowserModule { +declare namespace BowserModule { export interface IBowserUA { msie: boolean; diff --git a/box2d/box2dweb.d.ts b/box2d/box2dweb.d.ts index faac4e9469bfce..26411b2198249c 100644 --- a/box2d/box2dweb.d.ts +++ b/box2d/box2dweb.d.ts @@ -26,7 +26,7 @@ * 3. This notice may not be removed or altered from any source distribution. **/ -declare module Box2D.Common { +declare namespace Box2D.Common { /** * Color for debug drawing. Each value has the range [0, 1]. @@ -72,7 +72,7 @@ declare module Box2D.Common { } } -declare module Box2D.Common { +declare namespace Box2D.Common { /** * Controls Box2D global settings. @@ -224,7 +224,7 @@ declare module Box2D.Common { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * A 2-by-2 matrix. Stored in column-major order. @@ -337,7 +337,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * A 3-by3 matrix. Stored in column-major order. @@ -424,7 +424,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * Math utility functions. @@ -479,7 +479,7 @@ declare module Box2D.Common.Math { public static MulMV(A: b2Mat22, v: b2Vec2): b2Vec2; /** - * + * * @param A * @param v * @return @@ -487,7 +487,7 @@ declare module Box2D.Common.Math { public static MulTMV(A: b2Mat22, v: b2Vec2): b2Vec2; /** - * + * * @param T * @param v * @return @@ -495,7 +495,7 @@ declare module Box2D.Common.Math { public static MulX(T: b2Transform, v: b2Vec2): b2Vec2; /** - * + * * @param T * @param v * @return @@ -535,7 +535,7 @@ declare module Box2D.Common.Math { public static DistanceSquared(a: b2Vec2, b: b2Vec2): number; /** - * + * * @param s * @param a * @return @@ -543,7 +543,7 @@ declare module Box2D.Common.Math { public static MulFV(s: number, a: b2Vec2): b2Vec2; /** - * + * * @param A * @param B * @return @@ -551,7 +551,7 @@ declare module Box2D.Common.Math { public static AddMM(A: b2Mat22, B: b2Mat22): b2Mat22; /** - * + * * @param A * @param B * @return @@ -559,7 +559,7 @@ declare module Box2D.Common.Math { public static MulMM(A: b2Mat22, B: b2Mat22): b2Mat22; /** - * + * * @param A * @param B * @return @@ -689,7 +689,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may no coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position. @@ -752,7 +752,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames. @@ -802,7 +802,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * A 2D column vector. @@ -953,7 +953,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Common.Math { +declare namespace Box2D.Common.Math { /** * A 2D column vector with 3 elements. @@ -1039,7 +1039,7 @@ declare module Box2D.Common.Math { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Axis aligned bounding box. @@ -1113,7 +1113,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * We use contact ids to facilitate warm starting. @@ -1149,7 +1149,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * This structure is used to report contact points. @@ -1203,7 +1203,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Input for b2Distance. You have to option to use the shape radii in the computation. Even @@ -1237,7 +1237,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Output calculation for b2Distance. @@ -1266,7 +1266,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * A distance proxy is used by the GJK algorithm. It encapsulates any shape. @@ -1323,7 +1323,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * A dynamic tree arranges data in a binary tree to accelerate queries such as volume queries and ray casts. Leafs are proxies with an AABB. In the tree we expand the proxy AABB by b2_fatAABBFactor so that the proxy AABB is bigger than the client object. This allows the client object to move by small amounts without triggering a tree update. Nodes are pooled. @@ -1398,7 +1398,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * The broad-phase is used for computing pairs and performing volume queries and ray casts. This broad-phase does not persist pairs. Instead, this reports potentially new pairs. It is up to the client to consume the new pairs and to track subsequent overlap. @@ -1479,7 +1479,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Empty declaration, used in many callbacks within b2DynamicTree. @@ -1490,7 +1490,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * A manifold for two touching convex shapes. Box2D supports multiple types of contact: - clip point versus plane with radius - point versus point with radius (circles) The local point usage depends on the manifold type: -e_circles: the local center of circleA -e_faceA: the center of faceA -e_faceB: the center of faceB Similarly the local normal usage: -e_circles: not used -e_faceA: the normal on polygonA -e_faceB: the normal on polygonB We store contacts in this way so that position correction can account for movement, which is critical for continuous physics. All contact scenarios must be expressed in one of these types. This structure is stored across time steps, so we keep it small. @@ -1561,7 +1561,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. The local point usage depends on the manifold type: -e_circles: the local center of circleB -e_faceA: the local center of cirlceB or the clip point of polygonB -e_faceB: the clip point of polygonA This structure is stored across time steps, so we keep it small. Note: the impulses are used for internal caching and may not provide reliable contact forces, especially for high speed collisions. @@ -1606,7 +1606,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * An oriented bounding box. @@ -1630,7 +1630,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Ray cast input data. @@ -1662,7 +1662,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Results of a ray cast. @@ -1681,7 +1681,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * A line in space between two given vertices. @@ -1731,7 +1731,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Used to warm start b2Distance. Set count to zero on first call. @@ -1760,7 +1760,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Inpute parameters for b2TimeOfImpact @@ -1794,7 +1794,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * This is used to compute the current state of a contact manifold. @@ -1833,7 +1833,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * We use contact ids to facilitate warm starting. @@ -1862,7 +1862,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision { +declare namespace Box2D.Collision { /** * Interface for objects tracking overlap of many AABBs. @@ -1936,7 +1936,7 @@ declare module Box2D.Collision { } } -declare module Box2D.Collision.Shapes { +declare namespace Box2D.Collision.Shapes { /** * A circle shape. @@ -1959,7 +1959,7 @@ declare module Box2D.Collision.Shapes { /** * Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin, not the centroid. * @param massData Calculate the mass, this argument is `out`. - * @param density + * @param density **/ public ComputeMass(massData: b2MassData, density: number): void; @@ -2034,7 +2034,7 @@ declare module Box2D.Collision.Shapes { } } -declare module Box2D.Collision.Shapes { +declare namespace Box2D.Collision.Shapes { /** * This structure is used to build edge shapes. @@ -2063,7 +2063,7 @@ declare module Box2D.Collision.Shapes { } } -declare module Box2D.Collision.Shapes { +declare namespace Box2D.Collision.Shapes { /** * An edge shape. @@ -2219,7 +2219,7 @@ declare module Box2D.Collision.Shapes { } } -declare module Box2D.Collision.Shapes { +declare namespace Box2D.Collision.Shapes { /** * This holds the mass data computed for a shape. @@ -2243,7 +2243,7 @@ declare module Box2D.Collision.Shapes { } } -declare module Box2D.Collision.Shapes { +declare namespace Box2D.Collision.Shapes { /** * Convex polygon. The vertices must be in CCW order for a right-handed coordinate system with the z-axis coming out of the screen. @@ -2425,7 +2425,7 @@ declare module Box2D.Collision.Shapes { } } -declare module Box2D.Collision.Shapes { +declare namespace Box2D.Collision.Shapes { /** * A shape is used for collision detection. Shapes are created in b2Body. You can use shape for collision detection before they are attached to the world. @@ -2539,7 +2539,7 @@ declare module Box2D.Collision.Shapes { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * A rigid body. @@ -2916,14 +2916,14 @@ declare module Box2D.Dynamics { /** * Splits a body into two, preserving dynamic properties * @note This provides a feature specific to this port. - * @param callback + * @param callback * @return The newly created bodies from the split. **/ public Split(callback: (fixture: b2Fixture) => boolean): b2Body; } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * A body definition holds all the data needed to construct a rigid body. You can safely re-use body definitions. @@ -3005,7 +3005,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation. @@ -3033,7 +3033,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * Contact impulses for reporting. Impulses are used instead of forces because sub-step forces may approach infinity for rigid body collisions. These match up one-to-one with the contact points in b2Manifold. @@ -3052,7 +3052,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * Implement this class to get contact information. You can use these results for things like sounds and game logic. You can also get contact results by traversing the contact lists after the time step. However, you might miss some contacts because continuous physics leads to sub-stepping. Additionally you may receive multiple callbacks for the same contact in a single time step. You should strive to make your callbacks efficient because there may be many callbacks per time step. @@ -3088,7 +3088,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * Implement and register this class with a b2World to provide debug drawing of physics entities in your game. @@ -3281,7 +3281,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * Joints and shapes are destroyed when their associated body is destroyed. Implement this listener so that you may nullify references to these joints and shapes. @@ -3302,7 +3302,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * This holds contact filtering data. @@ -3332,7 +3332,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * A fixture is used to attach a shape to a body for collision detection. A fixture inherits its transform from its parent. Fixtures hold additional non-geometric data such as friction, collision filters, etc. Fixtures are created via b2Body::CreateFixture. @@ -3466,7 +3466,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * A fixture definition is used to create a fixture. This class defines an abstract fixture definition. You can reuse fixture definitions safely. @@ -3515,7 +3515,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics { +declare namespace Box2D.Dynamics { /** * The world class manages all physics entities, dynamic simulation, and asynchronous queries. @@ -3684,11 +3684,11 @@ declare module Box2D.Dynamics { /** * Ray-cast the world for all fixtures in the path of the ray. Your callback Controls whether you get the closest point, any point, or n-points The ray-cast ignores shapes that contain the starting point. - * @param callback A callback function which must be of signature: + * @param callback A callback function which must be of signature: * function Callback( - * fixture:b2Fixture, // The fixture hit by the ray - * point:b2Vec2, // The point of initial intersection - * normal:b2Vec2, // The normal vector at the point of intersection + * fixture:b2Fixture, // The fixture hit by the ray + * point:b2Vec2, // The point of initial intersection + * normal:b2Vec2, // The normal vector at the point of intersection * fraction:Number // The fractional length along the ray of the intersection * ):Number * Callback should return the new length of the ray as a fraction of the original length. By returning 0, you immediately terminate. By returning 1, you continue wiht the original ray. By returning the current fraction, you proceed to find the closest point. @@ -3783,7 +3783,7 @@ declare module Box2D.Dynamics { } } -declare module Box2D.Dynamics.Contacts { +declare namespace Box2D.Dynamics.Contacts { /** * The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points. @@ -3869,7 +3869,7 @@ declare module Box2D.Dynamics.Contacts { } } -declare module Box2D.Dynamics.Contacts { +declare namespace Box2D.Dynamics.Contacts { /** * A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body. @@ -3898,7 +3898,7 @@ declare module Box2D.Dynamics.Contacts { } } -declare module Box2D.Dynamics.Contacts { +declare namespace Box2D.Dynamics.Contacts { /** * This structure is used to report contact point results. @@ -3942,7 +3942,7 @@ declare module Box2D.Dynamics.Contacts { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Base class for controllers. Controllers are a convience for encapsulating common per-step functionality. @@ -4008,7 +4008,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Controller Edge. @@ -4047,7 +4047,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Calculates buoyancy forces for fluids in the form of a half plane. @@ -4108,7 +4108,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Applies an acceleration every frame, like gravity @@ -4127,7 +4127,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Applies an acceleration every frame, like gravity. @@ -4146,7 +4146,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Applies simplified gravity between every pair of bodies. @@ -4171,7 +4171,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Controllers { +declare namespace Box2D.Dynamics.Controllers { /** * Applies top down linear damping to the controlled bodies The damping is calculated by multiplying velocity by a matrix in local co-ordinates. @@ -4203,7 +4203,7 @@ declare module Box2D.Dynamics.Controllers { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * The base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors. @@ -4242,7 +4242,7 @@ declare module Box2D.Dynamics.Joints { /** * Get the reaction force on body2 at the joint anchor in Newtons. - * @param inv_dt + * @param inv_dt * @return Reaction force (N) **/ public GetReactionForce(inv_dt: number): Box2D.Common.Math.b2Vec2; @@ -4280,7 +4280,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Joint definitions are used to construct joints. @@ -4319,7 +4319,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge. A joint edge belongs to a doubly linked list maintained in each attached body. Each joint has two joint nodes, one for each attached body. @@ -4348,7 +4348,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod. @@ -4419,7 +4419,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Distance joint definition. This requires defining an anchor point on both bodies and the non-zero length of the distance joint. The definition uses local anchor points so that the initial configuration can violate the constraint slightly. This helps when saving and loading a game. @@ -4468,7 +4468,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction. @@ -4536,7 +4536,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Friction joint defintion. @@ -4578,7 +4578,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A gear joint is used to connect two joints together. Either joint can be a revolute or prismatic joint. You specify a gear ratio to bind the motions together: coordinate1 + ratio coordinate2 = constant The ratio can be negative or positive. If one joint is a revolute joint and the other joint is a prismatic joint, then the ratio will have units of length or units of 1/length. @@ -4626,7 +4626,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work). The provided joints must attach a dynamic body to a static body. @@ -4655,7 +4655,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A line joint. This joint provides one degree of freedom: translation along an axis fixed in body1. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction. @@ -4775,7 +4775,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Line joint definition. This requires defining a line of motion using an axis and an anchor point. The definition uses local anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a game. @@ -4843,7 +4843,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A mouse joint is used to make a point on a body track a specified world point. This a soft constraint with a maximum force. This allows the constraint to stretch and without applying huge forces. Note: this joint is not fully documented as it is intended primarily for the testbed. See that for more instructions. @@ -4926,7 +4926,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Mouse joint definition. This requires a world target point, tuning parameters, and the time step. @@ -4955,7 +4955,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in body1. Relative rotation is prevented. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction. @@ -5069,7 +5069,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Prismatic joint definition. This requires defining a line of motion using an axis and an anchor point. The definition uses local anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a game. @@ -5142,7 +5142,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * The pulley joint is connected to two bodies and two fixed ground points. The pulley supports a ratio such that: length1 + ratio length2 <= constant Yes, the force transmitted is scaled by the ratio. The pulley also enforces a maximum length limit on both sides. This is useful to prevent one side of the pulley hitting the top. @@ -5202,7 +5202,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Pulley joint definition. This requires two ground anchors, two dynamic body anchor points, max lengths for each side, and a pulley ratio. @@ -5272,7 +5272,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A revolute joint constrains to bodies to share a common point while they are free to rotate about the point. The relative rotation about the shared point is the joint angle. You can limit the relative rotation with a joint limit that specifies a lower and upper angle. You can use a motor to drive the relative rotation about the shared point. A maximum motor torque is provided so that infinite forces are not generated. @@ -5386,7 +5386,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Revolute joint definition. This requires defining an anchor point where the bodies are joined. The definition uses local anchor points so that the initial configuration can violate the constraint slightly. You also need to specify the initial relative angle for joint limits. This helps when saving and loading a game. The local anchor points are measured from the body's origin rather than the center of mass because: 1. you might not know where the center of mass will be. 2. if you add/remove shapes from a body and recompute the mass, the joints will be broken. @@ -5453,7 +5453,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate. @@ -5488,7 +5488,7 @@ declare module Box2D.Dynamics.Joints { } } -declare module Box2D.Dynamics.Joints { +declare namespace Box2D.Dynamics.Joints { /** * Weld joint definition. You need to specify local anchor points where they are attached and the relative body angle. The position of the anchor points is important for computing the reaction torque. diff --git a/breeze/breeze.d.ts b/breeze/breeze.d.ts index 14f793fed6fbb3..28a6be26c9085e 100644 --- a/breeze/breeze.d.ts +++ b/breeze/breeze.d.ts @@ -12,7 +12,7 @@ // Updated Jan 20 2015 for Breeze 1.5.2 and merging changes from DefinitelyTyped // Updated Feb 28 2015 add any/all clause on Predicate -declare module breeze.core { +declare namespace breeze.core { interface ErrorCallback { (error: Error): void; @@ -89,7 +89,7 @@ declare module breeze.core { export function formatString(format: string, ...args: any[]): string; } -declare module breeze { +declare namespace breeze { interface Entity { entityAspect: EntityAspect; @@ -962,7 +962,7 @@ declare module breeze { /** Creates a regular expression validator with a fixed expression. */ static makeRegExpValidator(validatorName: string, expression: RegExp, defaultMessage: string, context?: any): Validator; - /** Run this validator against the specified value. + /** Run this validator against the specified value. @param value {Object} Value to validate @param additionalContext {Object} Any additional contextual information that the Validator can make use of. @return {ValidationError|null} A ValidationError if validation fails, null otherwise */ @@ -990,7 +990,7 @@ declare module breeze { var version: string; } -declare module breeze.config { +declare namespace breeze.config { var ajax: string; var dataService: string; var functionRegistry: Object; @@ -1014,13 +1014,13 @@ declare module breeze.config { **/ export function getAdapterInstance(interfaceName: string, adapterName?: string): Object; /** - Initializes a single adapter implementation. Initialization means either newing a instance of the + Initializes a single adapter implementation. Initialization means either newing a instance of the specified interface and then calling "initialize" on it or simply calling "initialize" on the instance if it already exists. @method initializeAdapterInstance @param interfaceName {String} The name of the interface to which the adapter to initialize belongs. @param adapterName {String} - The name of a previously registered adapter to initialize. - @param [isDefault=true] {Boolean} - Whether to make this the default "adapter" for this interface. + @param [isDefault=true] {Boolean} - Whether to make this the default "adapter" for this interface. @return {an instance of the specified adapter} **/ export function initializeAdapterInstance(interfaceName: string, adapterName: string, isDefault?: boolean): void; @@ -1040,16 +1040,16 @@ declare module breeze.config { var objectRegistry: Object; /** Method use to register implementations of standard breeze interfaces. Calls to this method are usually - made as the last step within an adapter implementation. + made as the last step within an adapter implementation. @method registerAdapter @param interfaceName {String} - one of the following interface names "ajax", "dataService" or "modelLibrary" - @param adapterCtor {Function} - an ctor function that returns an instance of the specified interface. + @param adapterCtor {Function} - an ctor function that returns an instance of the specified interface. **/ export function registerAdapter(interfaceName: string, adapterCtor: Function): void; export function registerFunction(fn: Function, fnName: string): void; export function registerType(ctor: Function, typeName: string): void; //static setProperties(config: Object): void; //deprecated - /** + /** Set the promise implementation, if Q.js is not found. @param q - implementation of promise. @see http://wiki.commonjs.org/wiki/Promises/A */ @@ -1060,7 +1060,7 @@ declare module breeze.config { } /** Promises interface used by Breeze. Usually implemented by Q (https://github.com/kriskowal/q) or angular.$q using breeze.config.setQ(impl) */ -declare module breeze.promises { +declare namespace breeze.promises { interface IPromise { then(onFulfill: (value: T) => U, onReject?: (reason: any) => U): IPromise; then(onFulfill: (value: T) => IPromise, onReject?: (reason: any) => U): IPromise; diff --git a/browserify/browserify.d.ts b/browserify/browserify.d.ts index 217453b10634fe..a3a9c4efd17b33 100644 --- a/browserify/browserify.d.ts +++ b/browserify/browserify.d.ts @@ -5,7 +5,7 @@ /// -declare module Browserify { +declare namespace Browserify { /** * Options pertaining to an individual file. */ diff --git a/bson/bson.d.ts b/bson/bson.d.ts index 5bd5e6e952a23b..c311103ff3cccf 100644 --- a/bson/bson.d.ts +++ b/bson/bson.d.ts @@ -8,7 +8,7 @@ declare module 'bson' { - module bson { + namespace bson { export module BSONPure { diff --git a/bucks/bucks.d.ts b/bucks/bucks.d.ts index 8bef1fff3c2689..ab3a1f455ad3cf 100644 --- a/bucks/bucks.d.ts +++ b/bucks/bucks.d.ts @@ -3,7 +3,7 @@ // Definitions by: Shunsuke Ohtani // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Bucks { +declare namespace Bucks { interface BucksStatic { diff --git a/bufferstream/bufferstream.d.ts b/bufferstream/bufferstream.d.ts index b93eaf59a13f93..ee115d0ab531ba 100644 --- a/bufferstream/bufferstream.d.ts +++ b/bufferstream/bufferstream.d.ts @@ -64,7 +64,7 @@ declare module 'bufferstream' { */ length: number; } - module BufferStream { + namespace BufferStream { export interface Opts { /* diff --git a/bull/bull.d.ts b/bull/bull.d.ts index 0aa83df85c63c5..e04a9f21e84ca2 100644 --- a/bull/bull.d.ts +++ b/bull/bull.d.ts @@ -16,7 +16,7 @@ declare module "bull" { */ function Bull(queueName: string, redisPort: number, redisHost: string, redisOpt?: Redis.ClientOpts): Bull.Queue; - module Bull { + namespace Bull { export interface DoneCallback { (error?: Error, value?: any): void @@ -282,7 +282,7 @@ declare module "bull/lib/priority-queue" { */ function PQueue(queueName: string, redisPort: number, redisHost: string, redisOpt?: Redis.ClientOpts): PQueue.PriorityQueue; - module PQueue { + namespace PQueue { export interface AddOptions extends Bull.AddOptions { diff --git a/business-rules-engine/BasicValidators.d.ts b/business-rules-engine/BasicValidators.d.ts index bb152acf063e8c..aa176d94a2fb25 100644 --- a/business-rules-engine/BasicValidators.d.ts +++ b/business-rules-engine/BasicValidators.d.ts @@ -8,7 +8,7 @@ /// /// /// -declare module Validators { +declare namespace Validators { class LettersOnlyValidator implements Validation.IStringValidator { public isAcceptable(s: string): boolean; public tagName: string; diff --git a/business-rules-engine/Utils.d.ts b/business-rules-engine/Utils.d.ts index 030be3b0d955de..e9ca88a5471a59 100644 --- a/business-rules-engine/Utils.d.ts +++ b/business-rules-engine/Utils.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module Utils { +declare namespace Utils { class StringFce { static format(s: string, args: any): string; } diff --git a/business-rules-engine/Validation.d.ts b/business-rules-engine/Validation.d.ts index a7c2c431fa79ff..bcfd0d6d9a6598 100644 --- a/business-rules-engine/Validation.d.ts +++ b/business-rules-engine/Validation.d.ts @@ -5,7 +5,7 @@ /// /// -declare module Validation { +declare namespace Validation { interface IErrorCustomMessage { (config: any, args: any): string; } diff --git a/business-rules-engine/business-rules-engine.d.ts b/business-rules-engine/business-rules-engine.d.ts index d735a23f94ec96..a26e49492d75e5 100644 --- a/business-rules-engine/business-rules-engine.d.ts +++ b/business-rules-engine/business-rules-engine.d.ts @@ -6,7 +6,7 @@ // Source: typings/business-rules-engine/Validation.d.ts /// /// -declare module Validation { +declare namespace Validation { interface IErrorCustomMessage { (config: any, args: any): string; } diff --git a/bytes/bytes.d.ts b/bytes/bytes.d.ts index 1ebfb213fd68ce..b99ebee7c6e5a9 100644 --- a/bytes/bytes.d.ts +++ b/bytes/bytes.d.ts @@ -25,14 +25,14 @@ declare module 'bytes' { */ function bytes(value: string): number; - module bytes { + namespace bytes { /** * Format the given value in bytes into a string. - * + * * If the value is negative, take Math.abs(). If it is a float, * it is rounded. - * + * * @param {number} value * @param {BytesFormatOptions} [options] */ @@ -41,7 +41,7 @@ declare module 'bytes' { /** * Just return the input number value. - * + * * @param {number} value * @return {number} */ @@ -49,9 +49,9 @@ declare module 'bytes' { /** * Parse the string value into an integer in bytes. - * + * * If no unit is given, it is assumed the value is in bytes. - * + * * @param {string} value * @return {number} */ @@ -59,4 +59,4 @@ declare module 'bytes' { } export = bytes; -} \ No newline at end of file +} diff --git a/c3/c3.d.ts b/c3/c3.d.ts index 1e9da0c80ff4f9..32dee37dce68b5 100644 --- a/c3/c3.d.ts +++ b/c3/c3.d.ts @@ -5,7 +5,7 @@ /// -declare module c3 { +declare namespace c3 { type PrimitiveArray = Array; type FormatFunction = (v: any, id: string, i: number, j: number) => void; diff --git a/cal-heatmap/cal-heatmap.d.ts b/cal-heatmap/cal-heatmap.d.ts index 204abeb93f062d..85a20d6d9d5993 100644 --- a/cal-heatmap/cal-heatmap.d.ts +++ b/cal-heatmap/cal-heatmap.d.ts @@ -5,7 +5,7 @@ /// -declare module CalHeatMap +declare namespace CalHeatMap { interface CalHeatMapStatic { @@ -25,8 +25,8 @@ declare module CalHeatMap // Various update mode when using the update() API /** Reset the whole calendar data before inserting the new data. */ RESET_ALL_ON_UPDATE: number; - /** - * Update only the dates (subDomain) you pass in the data argument, replace their value by the new ones. + /** + * Update only the dates (subDomain) you pass in the data argument, replace their value by the new ones. * All other dates are leaved untouched. */ RESET_SINGLE_ON_UPDATE: number; @@ -434,8 +434,8 @@ declare module CalHeatMap legendMargin: number[]; /** List of dates to highlight */ highlight: Date[]; - /** - * Name of the items to represent in the calendar. + /** + * Name of the items to represent in the calendar. * First index is singular form, and the second index, the plural form. */ itemName: string[]; diff --git a/callsite/callsite.d.ts b/callsite/callsite.d.ts index be73af4decadfa..ffaa5d7e6ff657 100644 --- a/callsite/callsite.d.ts +++ b/callsite/callsite.d.ts @@ -5,7 +5,7 @@ declare module "callsite" { - module Callsite{ + namespace Callsite{ interface CallSite { getThis(): any; diff --git a/calq/calq.d.ts b/calq/calq.d.ts index acef955c2a9338..0d4eb5f347bf9e 100644 --- a/calq/calq.d.ts +++ b/calq/calq.d.ts @@ -11,7 +11,7 @@ interface Calq init(writeKey:string, options?:{[index:string]:any}):void; } -declare module Calq +declare namespace Calq { interface Action { @@ -33,4 +33,4 @@ declare module Calq } } -declare var calq:Calq; \ No newline at end of file +declare var calq:Calq; diff --git a/camljs/camljs.d.ts b/camljs/camljs.d.ts index c602dd91b662e1..b49337621d42ac 100644 --- a/camljs/camljs.d.ts +++ b/camljs/camljs.d.ts @@ -21,7 +21,7 @@ declare class CamlBuilder { */ static Expression(): CamlBuilder.IFieldExpression; } -declare module CamlBuilder { +declare namespace CamlBuilder { interface IView extends IJoinable, IFinalizable { Query(): IQuery; RowLimit(limit: number, paged?: boolean): IView; diff --git a/canvasjs/canvasjs-tests.ts b/canvasjs/canvasjs-tests.ts index 09b309f5ec5b88..c9fe45e9272757 100644 --- a/canvasjs/canvasjs-tests.ts +++ b/canvasjs/canvasjs-tests.ts @@ -1,6 +1,6 @@ /// -module CanvasJS.Tests { +namespace CanvasJS.Tests { // Column Chart var columnChart = new CanvasJS.Chart("chartContainer", { @@ -56,7 +56,7 @@ module CanvasJS.Tests { data: [ { type: "line", - //lineThickness: 3, + //lineThickness: 3, dataPoints: [ { x: new Date(2012, 0, 1), y: 450 }, { x: new Date(2012, 1, 1), y: 414 }, @@ -100,7 +100,7 @@ module CanvasJS.Tests { type: "spline", showInLegend: true, name: "Season 2", - // markerSize: 0, + // markerSize: 0, // color: "rgba(54,158,173,.6)", dataPoints: [ { label: "Ep. 1", y: 3858000 }, @@ -245,4 +245,4 @@ module CanvasJS.Tests { addCultureInfo("js", { days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }); -} \ No newline at end of file +} diff --git a/canvasjs/canvasjs.d.ts b/canvasjs/canvasjs.d.ts index 6c5abc2558b801..75ea058e3e20c7 100644 --- a/canvasjs/canvasjs.d.ts +++ b/canvasjs/canvasjs.d.ts @@ -3,37 +3,37 @@ // Definitions by: Mark Overholt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module CanvasJS { +declare namespace CanvasJS { class Chart { - - /** - * The current options of the chart. + + /** + * The current options of the chart. */ options: ChartOptions; - /** + /** * Initializes a new instance of CanvasJS Chart. * @param containerId the DOM ID of the location where the chart is to be rendered * @param options the options used to render the chart */ constructor(containerId: string, options?: ChartOptions); - /** - * Renders the chart. + /** + * Renders the chart. * @param options an optional set of options that will override the constructed values. */ render(options?: ChartOptions): void; } - /** + /** * Adds a new chart color set * @param the name of the color set * @param an array of colors. */ function addColorSet(colorSetName: string, colorSetArray: string[]): void; - - /** + + /** * Adds a new culture info for your chart * @param culture the name of the culture * @param the information used by this culture @@ -41,234 +41,234 @@ declare module CanvasJS { function addCultureInfo(culture: string, info: CultureInfo): void; interface CultureInfo { - /** + /** * Character used to separate fractional part from the whole number. */ decimalSeparator?: string; - /** + /** * Also referred to as Thousand Separator */ digitGroupSeparator?: string; - /** - * Text is shown inside the Button till v1.4 + /** + * Text is shown inside the Button till v1.4 * v1.5 onwards Text is shown as tooltip. */ zoomText?: string; - /** - * Text is shown inside the Button till v1.4 + /** + * Text is shown inside the Button till v1.4 * v1.5 onwards Text is shown as tooltip. */ panText?: string; - /** - * Text is shown inside the Button till v1.4 + /** + * Text is shown inside the Button till v1.4 * v1.5 onwards Text is shown as tooltip. */ resetText?: string; - /** + /** * Set text is shown instead of Save as PNG. */ savePNGText?: string; - /** + /** * Set text is shown instead of Save as JPG. */ saveJPGText?: string; - /** + /** * Tool Tip for Menu Button. */ menuText?: string; - /** + /** * Day names starting from Sunday. Should be exactly 7 in total. */ days?: string[]; - /** + /** * Short Day names starting from Sunday. Should be exactly 7 in total. */ shortDays?: string[]; - /** + /** * Month Names starting from January */ months?: string[]; - /** + /** * Short Month Names starting from January */ shortMonths?: string[]; } interface ChartOptions { - /** + /** * Enables / Disables Chart interactivity like toolTip, mouse and touch events - * Default: true - * Example: false, true + * Default: true + * Example: false, true */ interactivityEnabled?: boolean; - /** + /** * Enables Animation while rendering the Chart. - * Default: true - * Example: false, true + * Default: true + * Example: false, true */ animationEnabled?: boolean; - /** - * While exporting any chart, "Chart" is used as the default fine name with corresponding extension "jpg" or "png". You can override this name using exportFileName property. - * Default: Chart + /** + * While exporting any chart, "Chart" is used as the default fine name with corresponding extension "jpg" or "png". You can override this name using exportFileName property. + * Default: Chart */ exportFileName?: string; - /** - * Setting exportEnabled to true enables the export feature. As of now JPG & PNG formats are supported. Export feature is available in all Chart Types. - * Default: false - * Options: true, false + /** + * Setting exportEnabled to true enables the export feature. As of now JPG & PNG formats are supported. Export feature is available in all Chart Types. + * Default: false + * Options: true, false */ exportEnabled?: boolean; - /** + /** * Setting zoomEnabled to true enables zooming and panning feature of Chart. This way you can zoom into an area of interest when there is a large amount of data. This will also allow you to pan through the chart. If not set, the property is automatically enabled for large number of dataPoints. You can switch between zooming & panning using the toolbar that appears on the chart. After Zooming in, you can reset the chart by clicking the reset button. - * Default: false - * Options: true, false + * Default: false + * Options: true, false */ zoomEnabled?: boolean; - /** + /** * Sets the theme of the Chart. Various predefined themes are bundled along with the library. User can easily switch these themes by changing theme property to the below mentioned options. - * Default: "theme1" - * Options: "theme1","theme2", "theme3" + * Default: "theme1" + * Options: "theme1","theme2", "theme3" */ theme?: string; - /** + /** * Sets the background color of entire Chart Area. Values can be "HTML Color Name", "hex code" or "rgba values" - * Default: "white" - * Example: "yellow", "#F5DEB3".. + * Default: "white" + * Example: "yellow", "#F5DEB3".. */ backgroundColor?: string; - /** + /** * Sets the colorSet of the Chart. Color Set is an array of colors that are used to render data. Various predefined Color Sets are bundled along with the library. You can either choose from the pre-defined Color Sets or define your own Color Set. - * Default: "colorset1" or as defined in the selected theme - * Example: "colorSet1", "colorSet2", "colorSet3" + * Default: "colorset1" or as defined in the selected theme + * Example: "colorSet1", "colorSet2", "colorSet3" */ colorSet?: string; - /** + /** * CanvasJS allows you to localize various culture / language / country specific elements in the Chart like number formatting style – where you can choose which character to use as a decimal separator and as a digit group separator (also referred to as a thousand separator). By default CanvasJS is set to Neutral English Culture – "en". * Default: "en" */ culture?: string; - /** + /** * Sets the width of the Chart. * Default: Takes chart container’s width by default. If the width is not set for the chart container, defaults to 500. - * Example: 380, 500, 720 + * Example: 380, 500, 720 */ width?: number; - /** + /** * Sets the width of the Chart * Default: Takes chart container’s height by default. If the height is not set for the chart container, defaults to 400. - * Example: 260, 300, 400 + * Example: 260, 300, 400 */ height?: number; - /** + /** * Title allows you to set content, appearance and position of Chart’s Title. */ title: ChartTitleOptions; - /** + /** * Whenever the chart contains multiple dataSeries, it is recommended to represent each dataSeries in a legend. This way it becomes easier for the user to know what exactly is represented by each of the dataSeries. In case of Pie and Doughnut charts, an entry is created for each dataPoint and in rest of the chart types entries are created for each dataSeries. * You can selectively show or hide a dataSeries in the Legend using showInLegend property of dataSeries. */ legend?: ChartLegendOptions; - /** + /** * axisX object lets you set various parameters of X Axis like interval, grid lines, etc. It is mostly horizontal, except when we are working with Bar Charts, where axisX is vertical. */ axisX?: ChartAxisXOptions; - /** + /** * axisY object lets you set various parameters of Y Axis like interval, grid lines, etc. It is mostly vertical, except when we are working with Bar Charts, where axisY is horizontal. */ axisY?: ChartAxisYOptions; - /** + /** * toolTip object lets user set behaviour of toolTip at global level like enabling/disabling animation, setting Border Color, sharing toolTip between multiple dataSeries, etc. You can also disable the toolTip by setting enabled property to false. */ toolTip?: ChartToolTipOptions; - /** + /** * data is an array of dataSeries Objects. */ data: ChartDataOptions[]; } interface ChartTitleOptions { - /** + /** * Sets the Title’s text. - * Default: null - * Example: "Chart title" + * Default: null + * Example: "Chart title" */ text?: string; - /** + /** * This property lets you align the Chart Title vertically. - * Default: "top" - * Options: "top", "center", "bottom" + * Default: "top" + * Options: "top", "center", "bottom" */ verticalAlign?: string; - /** + /** * This property lets you align the Chart Title horizontally. - * Default: "center" - * Options: "left", "right", "center" + * Default: "center" + * Options: "left", "right", "center" */ horizontalAlign?: string; - /** + /** * Sets the font Size of Chart Title in pixels. * Default: Automatically Calculated based on Chart Size - * Example: 16,18,22 .. + * Example: 16,18,22 .. */ fontSize?: number; - /** + /** * Sets the Font Family of Chart Title. * Default: "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" - * Example: "arial" , "tahoma", "verdana" .. + * Example: "arial" , "tahoma", "verdana" .. */ fontFamily?: string; - /** + /** * Sets the Font Weight used in the Chart Title. - * Default: "bold" - * Options: "lighter", "normal", "bold" , "bolder" + * Default: "bold" + * Options: "lighter", "normal", "bold" , "bolder" */ fontWeight?: string; - /** + /** * Sets the font color of Chart Title. The value of fontColor can be a "HTML Color Name" or "hex" code . * Default: "#3A3A3A" - * Example: "red", "#FAC003" .. + * Example: "red", "#FAC003" .. */ fontColor?: string; - /** + /** * Sets the fontStyle of Chart Title. fontStyle can be set to one of the below options. - * Default: "normal" - * Options: "normal", "italic" , "oblique" + * Default: "normal" + * Options: "normal", "italic" , "oblique" */ fontStyle?: string; - /** + /** * Sets the thickness of border around the Title in pixels. To display border around title, set the borderThickness to a number greater than zero. * Default: 0 - * Example: 2,4 .. + * Example: 2,4 .. */ borderThickness?: number; - /** + /** * To display rounded borders around the title, set the cornerRadius of title. Higher the value, more rounded are the corners. - * Default: 0 - * Options: 5,8 .. + * Default: 0 + * Options: 5,8 .. */ cornerRadius?: number; - /** + /** * Sets the color of border around Chart Title. Values of borderColor can be "HTML Color Name" or "hex" code . * Default: "black" * Example: "red", "#FF0000" .. */ borderColor?: string; - /** + /** * Sets the background color of Chart Title. Values can be "HTML Color Name" or "hex" code. * Default: null - * Example: "red", "#FF0000" .. + * Example: "red", "#FF0000" .. */ backgroundColor?: string; - /** + /** * This property lets you set margin around the Chart Title in pixels. - * Default: 10 - * Example: 4,12 .. + * Default: 10 + * Example: 4,12 .. */ margin?: number; - /** + /** * This property allows you to set the padding for Chart Title - * Default: 0 - * Example: 5, 8 .. + * Default: 0 + * Example: 5, 8 .. */ padding?: number; } @@ -281,64 +281,64 @@ declare module CanvasJS { */ cursor?: string; - /** + /** * Sets the font Size of Legend Text in pixels. - * Default: 12 - * Example: 16,18,22 .. + * Default: 12 + * Example: 16,18,22 .. */ fontSize?: number; - /** + /** * Sets the Font Family of Legend Text. - * Default: "calibri" - * Example: "arial" , "tahoma", "verdana" .. + * Default: "calibri" + * Example: "arial" , "tahoma", "verdana" .. */ fontFamily?: string; - /** + /** * Sets the font color of Legend Text . The value of fontColor can be a "HTML Color Name" or "hex" code . - * Default: "black" - * Example: "red", "#FAC003" .. + * Default: "black" + * Example: "red", "#FAC003" .. */ fontColor?: string; - /** + /** * Sets the Font Weight of Legend Text. - * Default: "normal" - * Example: "lighter", "normal", "bold" , "bolder" + * Default: "normal" + * Example: "lighter", "normal", "bold" , "bolder" */ fontWeight?: string; - /** + /** * Sets the fontStyle of Legend Text. fontStyle can be set to one of the below options. - * Default: "normal" - * Example: "normal", "italic" , "oblique" + * Default: "normal" + * Example: "normal", "italic" , "oblique" */ fontStyle?: string; - /** + /** * This property lets you align the Legend Position vertically. - * Default: "bottom" - * Example: "top", "center", "bottom" + * Default: "bottom" + * Example: "top", "center", "bottom" */ verticalAlign?: string; - /** + /** * This property lets you align the Legend Position horizontally. - * Default: "right" - * Example: "left", "right", "center" + * Default: "right" + * Example: "left", "right", "center" */ horizontalAlign?: string; - /** + /** * Sets the mouseover event handler for the legend, which is triggered when the user moves the mouse(input device) over a legend item. After the event is triggered, the event related data is passed as a parameter to the assigned event handler. Parameters passed to the function are shown in the Event Object section below. * @param event a chart event */ itemmouseover?: (event: ChartEvent) => void; - /** + /** * Sets the mousemove event handler for the legend, which is triggered when the user moves the mouse(input device) within a legend item. When the event is triggered, the event related data is passed as a parameter to the assigned event handler. Parameters passed to the function are shown in the Event Object section below. * @param event a chart event */ itemmousemove?: (event: ChartEvent) => void; - /** + /** * Sets the mouseout event handler for the legend, which is triggered when the user moves the mouse pointer outside a legend item. After the event is triggered, the event related data is passed as a parameter to the assigned event handler. Parameters passed to the function are shown in the Event Object section below. * @param event a chart event */ itemmouseout?: (event: ChartEvent) => void; - /** + /** * Sets the click event handler for the legend, which is triggered when the user clicks on a legend item. After the event is triggered, the event related data is passed as a parameter to the assigned event handler. Parameters passed to the function are shown in the Event Object section below. * @param event a chart event */ @@ -346,205 +346,205 @@ declare module CanvasJS { } interface ChartEvent { - /** + /** * The x value of the item */ x: any; - /** + /** * The y value of the item */ y: number; - /** + /** * The chart object */ chart: Chart; - /** + /** * The datapoint options */ dataPoint: ChartDataPoint; - /** + /** * The data series options */ dataSeries: ChartDataOptions; - /** + /** * The index of the data point */ dataPointIndex: number; - /** + /** * The index of the data series */ dataSeriesIndex: number; } interface ChartAxisXOptions { - /** + /** * Sets the Axis Title. - * Default: null - * Example: "Axis X Title" + * Default: null + * Example: "Axis X Title" */ title?: string; - /** + /** * Sets the Font Color of Axis Title. The value of titleFontColor can be a "HTML Color Name" or "hex" code . - * Default: "#666666" + * Default: "#666666" * Example: "red", "#006400" . */ titleFontColor?: string; - /** + /** * Sets the Font Size of Axis Title in pixels. * Default: Automatically Calculated based on Chart Size - * Example: 16, 25 .. + * Example: 16, 25 .. */ titleFontSize?: number; - /** + /** * Sets the Font Family of Axis Title. * Default: "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" - * Example: "calibri", "tahoma, "verdana" .. + * Example: "calibri", "tahoma, "verdana" .. */ titleFontFamily?: string; - /** + /** * Sets the Font Weight used in the Axis Title. It can be set to one of the options below. - * Default: "normal" - * Options: "lighter", "normal", "bold" , "bolder" + * Default: "normal" + * Options: "lighter", "normal", "bold" , "bolder" */ titleFontWeight?: string; - /** + /** * Sets the Font Style of Axis Title. It can be set to one of the below options. - * Default: "normal" - * Options: "normal", "italic" , "oblique" + * Default: "normal" + * Options: "normal", "italic" , "oblique" */ titleFontStyle?: string; - /** + /** * This property lets you set margin between chart’s boundary and Axis. - * Default: 2 - * Example: 8, 10.. + * Default: 2 + * Example: 8, 10.. */ margin?: number; - /** + /** * Sets the angle for Axis Labels. - * Default: null - * Example: 20, 45, -30 .. + * Default: null + * Example: 20, 45, -30 .. */ labelAngle?: number; - /** + /** * Sets the Axis Label color. The value of labelFontColor can be a "HTML Color Name" or "hex" code . * Default: "grey" - * Example: "red", "#FAC003" .. + * Example: "red", "#FAC003" .. */ labelFontColor?: string; - /** + /** * Sets the Axis Label Font Size in pixels. - * Default: Automatically Calculated based on Chart Size - * Example: 16, 18, 22.. + * Default: Automatically Calculated based on Chart Size + * Example: 16, 18, 22.. */ labelFontSize?: number; - /** + /** * Sets the Font Family of Axis labels. - * Default: "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" - * Example: "calibri", "tahoma", "verdana" .. + * Default: "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" + * Example: "calibri", "tahoma", "verdana" .. */ labelFontFamily?: string; - /** + /** * Set the font Weight used in Axis Labels. It can be set to one of the options below. * Default: "normal" - * Options: "lighter", "normal", "bold" , "bolder" + * Options: "lighter", "normal", "bold" , "bolder" */ labelFontWeight?: string; - /** + /** * Sets the Font Style of Axis Labels. It can be set to one of the below options. - * Default: "normal" - * Options: "italic", "oblique", "normal" + * Default: "normal" + * Options: "italic", "oblique", "normal" */ labelFontStyle?: string; - /** + /** * A string that prepends all the labels on axisX. - * Default: null - * Example: "$","cat".. + * Default: null + * Example: "$","cat".. */ prefix?: string; - /** + /** * A string that appends all the labels on axisX. - * Default: null - * Example: "$","cat".. + * Default: null + * Example: "$","cat".. */ suffix?: string; - /** + /** * Defines how values must be formatted before they appear on Axis X. You can format numbers and date time values using this property. Below you will find descriptive table explaining various specifiers with example. */ valueFormatString?: string; - /** + /** * Sets the minimum value of Axis. Values smaller than minimum are clipped. - * Default: Automatically Calculated based on the data - * Example: 100, 350.. + * Default: Automatically Calculated based on the data + * Example: 100, 350.. */ minimum?: number; - /** + /** * Sets the maximum value permitted on Axis. Values greater than maximum are clipped. - * Default: Automatically Calculated based on the data - * Example: 100, 350.. + * Default: Automatically Calculated based on the data + * Example: 100, 350.. */ maximum?: number; - /** + /** * Sets the distance between Tick Marks, Grid Lines and Interlaced Colors. * Default: Automatically Calculated - * Example: 50, 75.. + * Example: 50, 75.. */ interval?: number; - /** + /** * intervalType is the unit of interval property. intervalType is by default set to "number" and hence you need to specify the interval type (eg "week", "month", etc) depending on the type of interval you intend to set. If required interval is 3 months, you need to provide interval as 3 and intervalType as "month" - * Default: Automatically handled when interval property is not set. Defaults to "number" when you set the interval. - * Option: "number","millisecond" ,"second"," minute", "hour", "day", "month" ,"year" - * Example: for interval as 15 minutes, set interval as 15, and set intervalType as "minute", + * Default: Automatically handled when interval property is not set. Defaults to "number" when you set the interval. + * Option: "number","millisecond" ,"second"," minute", "hour", "day", "month" ,"year" + * Example: for interval as 15 minutes, set interval as 15, and set intervalType as "minute", */ intervalType?: string; - /** + /** * Sets the length of Tick Marks that are drawn on the Axis. - * Default: 5 - * Example: 10, 14.. + * Default: 5 + * Example: 10, 14.. */ tickLength?: number; - /** + /** * Sets the color of Tick Marks drawn on the axis. The value of tickColor can be a "HTML Color Name" or "hex" code . * Default: "#BBBBBB" - * Example: "red", "#006400". + * Example: "red", "#006400". */ tickColor?: string; - /** + /** * Sets the thickness of the Tick Marks in pixels. - * Default: 2 - * Example: 3, 4.. + * Default: 2 + * Example: 3, 4.. */ tickThickness?: number; - /** + /** * Sets the color of Axis line. Axis line color can be a "HTML Color Name" or "hex" code . - * Default: "#BBBBBB" - * Example: "blue","#21AB13".. + * Default: "#BBBBBB" + * Example: "blue","#21AB13".. */ lineColor?: string; - /** + /** * Sets the Thickness of Axis line in pixels. - * Default: 2 - * Example: 2, 4.. + * Default: 2 + * Example: 2, 4.. */ lineThickness?: string; - /** + /** * Sets the Interlacing Color that alternates between the set interval. If the interval is not set explicitly, then the auto calculated interval is considered. The value of interlacedColor can be a "HTML Color Name" or "hex" code . - * Default: null - * Example: "#F8F1E4", "#FEFDDF" …. + * Default: null + * Example: "#F8F1E4", "#FEFDDF" …. */ interlaceColor?: string; - /** + /** * Sets the Thickness of Grid Lines. To display grid on Axis X, set the Grid Thickness to a number greater than zero. - * Default: 0 - * Example: 2,4 .. + * Default: 0 + * Example: 2,4 .. */ gridThickness?: number; - /** + /** * Sets the Color of Grid Lines. Value of gridColor can be a "HTML Color Name" or "hex" code . - * Default: "#BBBBBB" - * Example: "red", "#FEFDDF" .. + * Default: "#BBBBBB" + * Example: "red", "#FEFDDF" .. */ gridColor?: string; - + /** * Sets the Interlacing Color that alternates between the set interval. * If the interval is not set explicitly, then the auto calculated interval is considered. @@ -553,300 +553,300 @@ declare module CanvasJS { * Example: "#F8F1E4", "#FEFDDF" */ interlacedColor?: string; - - /** - * Strip Lines are vertical or horizontal lines used to highlight/mark a certain region on the plot area. You can choose whether to draw a line at a specific position or shade a region on the plot area. Strip Lines are sometimes referred to as trend lines. - * If you want to just mark a certain position on the axis, you can set the value attribute and it’ll draw a line at that position with the set thickness. If you want to shade a region instead, you need to set startValue and endValue attributes. This will fill the area within the specified range. - * In the case you set startValue and endValue attributes, value and thickness attributes are ignored (as either a single thread of line can exist, or a shaded region between two given points). - * Strip Lines can be displayed using AxisX or AxisY’s stripLines array. This allows you to have one or more strip lines on both x & y axis. + + /** + * Strip Lines are vertical or horizontal lines used to highlight/mark a certain region on the plot area. You can choose whether to draw a line at a specific position or shade a region on the plot area. Strip Lines are sometimes referred to as trend lines. + * If you want to just mark a certain position on the axis, you can set the value attribute and it’ll draw a line at that position with the set thickness. If you want to shade a region instead, you need to set startValue and endValue attributes. This will fill the area within the specified range. + * In the case you set startValue and endValue attributes, value and thickness attributes are ignored (as either a single thread of line can exist, or a shaded region between two given points). + * Strip Lines can be displayed using AxisX or AxisY’s stripLines array. This allows you to have one or more strip lines on both x & y axis. */ stripLines?: ChartStripLines; } interface ChartStripLines { - /** + /** * Sets the point where the stripLine has to be plotted or drawn along the axis X. * Default: null - * Example: 20,30,100,50 + * Example: 20,30,100,50 */ value?: number; - /** + /** * Sets the point where the stripLine’s shaded region begins on the x-axis. * Default: null - * Example: 20,30,100,50 + * Example: 20,30,100,50 */ startValue?: number; - /** + /** * Sets the point where the stripLine’s shaded region ends on the x-axis. * Default: null - * Example: 50,60,200,300 + * Example: 50,60,200,300 */ endValue?: number; - /** + /** * Sets the thickness of the stripLine in pixels. * Default: 2 - * Example: 2,4,5,6 + * Example: 2,4,5,6 */ thickness?: number; - /** + /** * Sets the color of the stripLine. - * Default: "orange" - * Example: "green", "#23EA23" + * Default: "orange" + * Example: "green", "#23EA23" */ color?: string; - /** + /** * Sets the label of the stripLine. These are shown on top of axis labels. - * Default: "" (empty string) - * Example: "Threshold", "Deaths in 1920" + * Default: "" (empty string) + * Example: "Threshold", "Deaths in 1920" */ label?: string; - /** + /** * Sets the background color of stripLine’s label. - * Default: "#eeeeee" - * Example: "red","#fabd76" + * Default: "#eeeeee" + * Example: "red","#fabd76" */ labelBackgroundColor?: string; - /** + /** * Sets the font-family of stripLine’s label. If the first font is not found in the system from the specified font-family list, it tries to use the next font in the list. - * Default: "arial" - * Example: "Arial, Trebuchet MS, Tahoma, sans-serif" + * Default: "arial" + * Example: "Arial, Trebuchet MS, Tahoma, sans-serif" */ labelFontFamily?: string; - /** + /** * Sets the font color of label. - * Default: "orange" - * Example: "blue","#4135e9" + * Default: "orange" + * Example: "blue","#4135e9" */ labelFontColor?: string; - /** + /** * Sets the font size of the label in pixels. - * Default: 12 - * Example: 18,19,20,22 + * Default: 12 + * Example: 18,19,20,22 */ labelFontSize?: number; - /** + /** * Sets the font weight of stripLine’s label. - * Default: "normal" - * Example: "lighter","normal","bold","bolder" + * Default: "normal" + * Example: "lighter","normal","bold","bolder" */ labelFontWeight?: string; - /** + /** * Sets the font style of stripLine’s label. - * Default: "normal" - * Example: "normal","italic","oblique" + * Default: "normal" + * Example: "normal","italic","oblique" */ labelFontStyle?: string; } interface ChartAxisYOptions extends ChartAxisXOptions { - /** + /** * When includeZero is set to true, axisY sets the range in such a way that Zero is a part of it. It is set to true by default. But, whenever y values are very big and difference among dataPoints are hard to judge, setting includeZero to false makes axisY to set a range that makes the differences prominently visible. - * Default: true - * Example: true, false + * Default: true + * Example: true, false */ includeZero?: boolean; } interface ChartToolTipOptions { - /** + /** * Enables or Disables the toolTip for the chart. - * Default: True - * Example: True, False + * Default: True + * Example: True, False */ enabled?: boolean; - /** + /** * In a Multi-Series or a Combination Chart, it is often required to display all values common to x value in a single bubble. Setting shared to true will show in a common bubble all the values of y from each series next to their name. - * Default: True - * Example: True, False + * Default: True + * Example: True, False */ shared?: boolean; - /** + /** * toolTip for entire chart can be set by adding content at toolTip object. content can either be a string or a custom function that returns HTML/String to be displayed inside the toolTip. - * Default: auto + * Default: auto */ content?: string; - /** - * While mouse hovers from one dataPoint to another there is a smooth transition in toolTip. This effect can be controlled by animationEnabled Property. Setting it to false, will disable the animation and toolTip will directly switch from one dataPoint to the other. - * Default: True - * Example: True, False + /** + * While mouse hovers from one dataPoint to another there is a smooth transition in toolTip. This effect can be controlled by animationEnabled Property. Setting it to false, will disable the animation and toolTip will directly switch from one dataPoint to the other. + * Default: True + * Example: True, False */ animationEnabled?: boolean; - /** + /** * Sets the border color around Tool Tip. When not set it takes the color of corresponding dataSeries or dataPoint. * Default: dataSeries color/ dataPoint color - * Example: "red", "#808080".. + * Example: "red", "#808080".. */ borderColor?: string; } interface ChartDataCommon { - /** + /** * Sets the dataPoint Name. dataPoint name is shown in various places like toolTip & legend unless overridden. - * Default: Automatically Named ("dataPoint 1", "dataPoint 2" .. ) + * Default: Automatically Named ("dataPoint 1", "dataPoint 2" .. ) * Example: "apple", "mango" .. */ name?: string; - /** + /** * Sets the color of dataSeries. The value of tickColor can be a "HTML Color Name" or "Hex Code". - * Default: Automatically set from Theme. - * Example: "red", "green" .. + * Default: Automatically set from Theme. + * Example: "red", "green" .. */ color?: string; - /** - * Instead of setting string values for all indexLabels, you can also use keywords like x, y, etc that will automatically show corresponding properties as indexLabel. This will allow you to define indexLabel at the series level once. While setting indexLabel you specify a keyword by enclosing it in flower brackets like {x}, {y}, {color}, etc. - * Range Charts have two indexLabels – one for each y value. This requires the use of a special keyword #index to show index label on either sides of the column/bar/area. + /** + * Instead of setting string values for all indexLabels, you can also use keywords like x, y, etc that will automatically show corresponding properties as indexLabel. This will allow you to define indexLabel at the series level once. While setting indexLabel you specify a keyword by enclosing it in flower brackets like {x}, {y}, {color}, etc. + * Range Charts have two indexLabels – one for each y value. This requires the use of a special keyword #index to show index label on either sides of the column/bar/area. * eg: indexLabel: "{x}: {y[#index]}" * Important keywords to keep in mind are. {x}, {y}, {name}, {label}. - * Default: null - * Example: "{label}", "Win", "x: {x}, y: {y} " + * Default: null + * Example: "{label}", "Win", "x: {x}, y: {y} " */ indexLabel?: string; - /** + /** * Using this property you can define whether to render indexLabel "inside" or "outside" the dataPoint. - * Default: "outside" - * Example: "outside", "inside" + * Default: "outside" + * Example: "outside", "inside" */ indexLabelPlacement?: string; - /** + /** * Sets the Orientation of indexLabel to "horizontal" or "vertical". - * Default: "horizontal" - * Options: "horizontal", "vertical" + * Default: "horizontal" + * Options: "horizontal", "vertical" */ indexLabelOrientation?: string; - /** + /** * Sets the Background color of Index Labels. The value of indexLabelBackgroundColor can be a "HTML Color Name" or "Hex Code". - * Default: null - * Example: "red", "#FAC003" .. + * Default: null + * Example: "red", "#FAC003" .. */ indexLabelBackgroundColor?: string; - /** + /** * Sets the Index Label’s Font Style. It can be set to one of the below options. - * Default: "normal" - * Options: "italic", "oblique", "normal" + * Default: "normal" + * Options: "italic", "oblique", "normal" */ indexLabelFontStyle?: string; - /** + /** * Sets the Index Label’s Font color. The value of IndexLabelFontColor can be a "HTML Color Name" or "Hex Code". - * Default: "grey" - * Example: "red", "#FAC003" .. + * Default: "grey" + * Example: "red", "#FAC003" .. */ indexLabelFontColor?: string; - /** + /** * Sets the Index Label’s Font Size in pixels. - * Default: 18 - * Example: 12, 16, 22.. + * Default: 18 + * Example: 12, 16, 22.. */ indexLabelFontSize?: number; - /** + /** * Sets the Index Label’s Font Family. - * Default: "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" - * Example: "calibri", "tahoma", "verdana".. + * Default: "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" + * Example: "calibri", "tahoma", "verdana".. */ indexLabelFontFamily?: string; - /** + /** * Sets the Index Label’s Font Weight. It can be set to one of the below options. - * Default: "normal" + * Default: "normal" * Example: "lighter", "normal" ,"bold" , "bolder" */ indexLabelFontWeight?: string; - /** + /** * Sets the color of line connecting index labels with their dataPoint. It is only applicable for pie and doughnut chart when indexLabelPlacment is outside. The value of indexLineColor can be a "HTML Color Name" or "Hex Code". - * Default: "lightgrey" - * Example: "red", "#FAC003" .. + * Default: "lightgrey" + * Example: "red", "#FAC003" .. */ indexLabelLineColor?: string; - /** + /** * Sets the thickness of line connecting indexLabel with its corresponding dataPoint. It is only applicable for pie and doughnut chart when indexLabelPlacement is set to "outside". - * Default: 2 - * Example: 4, 6 + * Default: 2 + * Example: 4, 6 */ indexLabelLineThickness?: string; - /** + /** * Default Tooltip can be modified at dataSeries or dataPoint level. You can add content to be displayed in toolTip using toolTipContent. toolTipContent set at dataPoint will override toolTipContent set at dataSeries level. - * Default: auto set depending on chart type. + * Default: auto set depending on chart type. */ toolTipContent?: string; - /** + /** * Sets marker type to be rendered at each dataPoint. While markers are helpful in highlighting individual dataPoints, they do not help much when the dataPoints are crowded. In case of large number of dataPoints it is recommended to disable markers in order to improve the appearance and performance of chart. * Same marker type is also used in legend unless overridden by legendMarkerType property. - * Default: "circle" - * Options: "none", "circle", "square", "triangle" and "cross" + * Default: "circle" + * Options: "none", "circle", "square", "triangle" and "cross" */ markerType?: string; - /** + /** * Sets the color of marker that is displayed on the Chart. Legend Marker for the series uses the same Color as set here unless overridden using legendMarkerColor property. - * Default: dataSeries Color - * Example: "red", "#008000" .. + * Default: dataSeries Color + * Example: "red", "#008000" .. */ markerColor?: string; - /** + /** * Sets the Size of the marker that is drawn. To display marker in area Chart, set markerSize to a value greater than zero. For line, scatter chart, size it is automatically set unless overridden. - * Default: auto. Zero for area chart - * Example: 5, 10.. + * Default: auto. Zero for area chart + * Example: 5, 10.. */ markerSize?: number; - /** + /** * Sets the border color around marker. Value of markerBorderColor can be "HTML Color Name" or "hex code". - * Default: dataSeries color. - * Example: "red", "#008000" .. + * Default: dataSeries color. + * Example: "red", "#008000" .. */ markerBorderColor?: string; - /** + /** * Sets the thickness of the Marker’s Border in pixels. - * Default: 1 - * Example: 2,4 .. + * Default: 1 + * Example: 2,4 .. */ markerBorderThickness?: number; - /** + /** * Sets the text that describes the dataSeries in legend. - * Default: "DataSeries 1", "DataSeries 2" ..etc - * Example: "2010", "2011".. + * Default: "DataSeries 1", "DataSeries 2" ..etc + * Example: "2010", "2011".. */ legendText?: string; - /** + /** * Sets the Legend Marker to one of the options below. This property is used to override the default marker in legend, which is same as dataSeries Marker Type. - * Default: same as markerType - * Options: "circle", "square", "cross" and "triangle" + * Default: same as markerType + * Options: "circle", "square", "cross" and "triangle" */ legendMarkerType?: string; - /** + /** * Sets the click event handler for dataSeries which is triggered when user clicks on a dataSeries. Upon event, a parameter that contains event related data is sent to the assigned event handler. Parameter includes dataPoint and dataSeries corresponding to the event. - * Default: null + * Default: null */ click?: (event: ChartEvent) => void; - /** + /** * Sets the color of marker that is displayed on legend. This property overrides default Marker’s Color in Legend, which is same as dataSeries Marker Color. Value of legendMarkerColor can be "HTML Color Name" or "hex code". - * Default: dataSeries marker color - * Example: "red", "#008000" .. + * Default: dataSeries marker color + * Example: "red", "#008000" .. */ legendMarkerColor?: string; - /** + /** * Sets the mouseover event handler for dataSeries which is triggered when user moves Mouse Over a dataSeries. Upon event, a parameter that contains event related data is sent to the assigned event handler. Parameter includes dataPoint and dataSeries corresponding to the event. - * Default: null + * Default: null */ mouseover?: (event: ChartEvent) => void; - /** + /** * Sets the mousemove event handler for dataSeries which is triggered when user Moves mouse on a dataSeries. Upon event, a parameter that contains event related data is sent to the assigned event handler. Parameter includes dataPoint and dataSeries corresponding to the event. - * Default: null + * Default: null */ mousemove?: (event: ChartEvent) => void; - /** + /** * Sets the mouseout event handler for dataSeries which is triggered when user moves mouse out of a dataSeries. Upon event, a parameter that contains event related data is sent to the assigned event handler. Parameter includes dataPoint and dataSeries corresponding to the event. - * Default: null + * Default: null */ mouseout?: (event: ChartEvent) => void; } interface ChartDataOptions extends ChartDataCommon { - /** + /** * Sets the visibility of dataSeries. Data Series is visible by default and you can hide the same by setting visible property to false. * Default: true - * Example: true, false + * Example: true, false */ visible?: boolean; - /** + /** * Sets the type of chart to be rendered for corresponding dataSeries. One can choose from the following options. - * Default: "column" + * Default: "column" * Options: * "line" * "column" @@ -867,110 +867,110 @@ declare module CanvasJS { * "doughnut" */ type?: string; - /** + /** * Setting axisYType lets you choose between primary and secondary Y Axis for a dataSeries to plot against. By choosing "secondary" Axis you can plot the series against axisY2. * In case of Multi-Series or Combinational Charts, one can assign primary axis to some series and secondary axis to other series. * This is helpful when dataSeries objects use different unit of measurement or range of data. By default, all series are plotted against primary Y axis. * Default: "primary" - * Options: "primary", "secondary" + * Options: "primary", "secondary" */ axisYType?: string; - /** + /** * This defines the data type of x values. Data Type is normally figured out by default based on the object type that is assigned to x. But if you are providing time stamp (which is integer) values instead of Date objects, you’ll have to explicitly set the xValueType to "dateTime". - * Default: Automatically Calculated - * Options: "number", "dateTime" + * Default: Automatically Calculated + * Options: "number", "dateTime" */ xValueType?: string; - /** + /** * Defines how y axis values must be formatted before they appear on the indexLabel or toolTip. You can format numbers and date time values using this property. */ yValueFormatString?: string; - /** + /** * Defines how x axis values must be formatted before they appear on the indexLabel or toolTip. You can format numbers and date time values using this property. */ xValueFormatString?: string; - /** + /** * Defines how z values is formatted before they appear on the indexLabel or toolTip. You can format numbers using this property. */ zValueFormatString?: string; - /** + /** * Sets the bevel property, which creates a chiselled effect at the corners of a Column Charts and Bar Charts. * Default: "true" - * Example: "true", "false" + * Example: "true", "false" */ bevelEnabled?: boolean; - /** + /** * Sets opacity of the filled color. * Default: .7 for Area Charts and 1 for all other chart types. */ fillOpacity?: number; - /** + /** * Sets the starting Angle of the Pie or Doughnut Chart in degrees. - * Default: 0 - * Example: 30, 240, -100.. + * Default: 0 + * Example: 30, 240, -100.. */ startAngle?: number; - /** + /** * Sets the thickness of line in line charts and area charts. - * Default: 2 - * Example: 3,4.. + * Default: 2 + * Example: 3,4.. */ lineThickness?: number; - /** + /** * Setting this property to true makes the dataSeries to appear in legend. In case of pie/ doughnut chart, dataPoints of the single series chart appear in legend. - * Default: false - * Options: false, true + * Default: false + * Options: false, true */ showInLegend?: boolean; - /** + /** * In candle Stick chart, when Closing Price is greater than Opening price, the body is filled with white by default and it can be overridden by risingColor property. - * Default: "white" - * Options: "red", "#DD7E86", etc. + * Default: "white" + * Options: "red", "#DD7E86", etc. */ risingColor?: string; - /** + /** * It represents collection dataPoint inside dataSeries . */ dataPoints: ChartDataPoint[]; } interface ChartDataPoint extends ChartDataCommon { - /** + /** * Sets the x value. It determines the position of the dataPoint on X Axis. It can be numeric or a dateTime value. Values can be positive or Negative. - * Default: null + * Default: null * Example: 10, 20, 30 .. - * new Date(2011, 08, 01) + * new Date(2011, 08, 01) */ x?: any; - /** + /** * Sets the y value of dataPoint. It determines the position of dataPoint on Y Axis. Values can be positive or Negative - * Default: null + * Default: null * Example: 5, 20, -30 .. */ y?: number; - /** + /** * Sets the z value of dataPoint. It is only applicable in case of Bubble chart. This value determines the size of the bubble. - * Default: 1 - * Example: 10, 20, 35.. + * Default: 1 + * Example: 10, 20, 35.. */ z?: number; - /** + /** * Sets label value of a dataPoint. The value appears next to the dataPoint on axisX Line. If not provided, it takes x value for label. - * Default: x value - * Example: "label1", "label2".. + * Default: x value + * Example: "label1", "label2".. */ label?: string; - /** + /** * Sets the exploded value of dataPoint. It is applicable only in case of Pie and Doughnut Charts. This property causes the Pie/Doughnut slice to separate out. - * Default: true - * Example: true, false + * Default: true + * Example: true, false */ exploded?: boolean; - /** + /** * Sets the color of marker that is displayed on legend. This property works only with Pie and Doughnut charts. Value of legendMarkerColor can be "HTML Color Name" or "hex" code. - * Default: dataSeries marker color - * Example: "red", "#008000".. + * Default: dataSeries marker color + * Example: "red", "#008000".. */ legendMarkerColor?: string; } -} \ No newline at end of file +} diff --git a/chai-as-promised/chai-as-promised.d.ts b/chai-as-promised/chai-as-promised.d.ts index 6df030581d2cb3..91a46f9033b441 100644 --- a/chai-as-promised/chai-as-promised.d.ts +++ b/chai-as-promised/chai-as-promised.d.ts @@ -12,7 +12,7 @@ declare module 'chai-as-promised' { export = chaiAsPromised; } -declare module Chai { +declare namespace Chai { // For BDD API interface Assertion extends LanguageChains, NumericComparison, TypeComparison { diff --git a/chai-datetime/chai-datetime.d.ts b/chai-datetime/chai-datetime.d.ts index e5a75e31abe5f4..16dd6b885634c0 100644 --- a/chai-datetime/chai-datetime.d.ts +++ b/chai-datetime/chai-datetime.d.ts @@ -5,7 +5,7 @@ /// -declare module Chai { +declare namespace Chai { interface Assertion { afterDate(date: Date): Assertion; diff --git a/chai-fuzzy/chai-fuzzy.d.ts b/chai-fuzzy/chai-fuzzy.d.ts index dc4b81bba7bdf1..163ce7dda7878e 100644 --- a/chai-fuzzy/chai-fuzzy.d.ts +++ b/chai-fuzzy/chai-fuzzy.d.ts @@ -5,7 +5,7 @@ /// -declare module Chai { +declare namespace Chai { interface Assertion { /** diff --git a/chai-http/chai-http.d.ts b/chai-http/chai-http.d.ts index ab61fa2a55715f..a5420816352f7c 100644 --- a/chai-http/chai-http.d.ts +++ b/chai-http/chai-http.d.ts @@ -6,7 +6,7 @@ /// /// -declare module Chai { +declare namespace Chai { interface ChaiStatic { request: ChaiHttpRequest; @@ -37,7 +37,7 @@ declare module Chai { } } -declare module ChaiHttp { +declare namespace ChaiHttp { interface Promise { then(onFulfilled: (value: T) => U, onRejected?: (reason: any) => U): Promise; } diff --git a/chai-jquery/chai-jquery.d.ts b/chai-jquery/chai-jquery.d.ts index 4aa348f7244e5a..3d287f30fc07b2 100644 --- a/chai-jquery/chai-jquery.d.ts +++ b/chai-jquery/chai-jquery.d.ts @@ -6,7 +6,7 @@ /// /// -declare module Chai { +declare namespace Chai { interface Assertion { attr: (name: string, value?: string) => Assertion; diff --git a/chai-string/chai-string.d.ts b/chai-string/chai-string.d.ts index be913ff610ce4b..ef75470cc7fb7b 100644 --- a/chai-string/chai-string.d.ts +++ b/chai-string/chai-string.d.ts @@ -5,7 +5,7 @@ /// -declare module Chai { +declare namespace Chai { interface Assertion extends LanguageChains, NumericComparison, TypeComparison { startsWith(expected: string, message?: string): Assertion; startWith(expected: string, message?: string): Assertion; diff --git a/chai-subset/chai-subset.d.ts b/chai-subset/chai-subset.d.ts index 63585ca1ec927b..7e2b3a159b872e 100644 --- a/chai-subset/chai-subset.d.ts +++ b/chai-subset/chai-subset.d.ts @@ -5,7 +5,7 @@ /// -declare module Chai { +declare namespace Chai { interface Assertion { containSubset(obj: Object): Assertion; } diff --git a/chai-things/chai-things.d.ts b/chai-things/chai-things.d.ts index bc2b89c46f8435..823329808cb2b0 100644 --- a/chai-things/chai-things.d.ts +++ b/chai-things/chai-things.d.ts @@ -5,7 +5,7 @@ /// -declare module Chai { +declare namespace Chai { interface ArrayAssertion { include: ArrayInclude; contain: ArrayInclude; diff --git a/chai/chai-2.0.0.d.ts b/chai/chai-2.0.0.d.ts index 39ea823e5b2067..0983da1fdf1f42 100644 --- a/chai/chai-2.0.0.d.ts +++ b/chai/chai-2.0.0.d.ts @@ -5,7 +5,7 @@ // Andrew Brown // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Chai { +declare namespace Chai { interface ChaiStatic { expect: ExpectStatic; diff --git a/chai/chai-3.2.0.d.ts b/chai/chai-3.2.0.d.ts index c67de8c2b7a6d1..87b0c08e6f1d94 100644 --- a/chai/chai-3.2.0.d.ts +++ b/chai/chai-3.2.0.d.ts @@ -8,7 +8,7 @@ // -declare module Chai { +declare namespace Chai { interface ChaiStatic { expect: ExpectStatic; diff --git a/chai/chai.d.ts b/chai/chai.d.ts index fe0afa64b8dd56..0ebc855022706f 100644 --- a/chai/chai.d.ts +++ b/chai/chai.d.ts @@ -9,7 +9,7 @@ // -declare module Chai { +declare namespace Chai { interface ChaiStatic { expect: ExpectStatic; diff --git a/chalk/chalk.d.ts b/chalk/chalk.d.ts index e99892ff1859d3..1ead98681862b2 100644 --- a/chalk/chalk.d.ts +++ b/chalk/chalk.d.ts @@ -3,7 +3,7 @@ // Definitions by: Diullei Gomes , Bart van der Schoor , Nico Jansen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Chalk { +declare namespace Chalk { export var enabled: boolean; export var supportsColor: boolean; diff --git a/chance/chance-tests.ts b/chance/chance-tests.ts index 29d258cf704248..d9b4153960198f 100644 --- a/chance/chance-tests.ts +++ b/chance/chance-tests.ts @@ -19,7 +19,7 @@ var firstCurrency = currencyPair[0]; var secondCurrency = currencyPair[1]; // Mixins can be used with on-the-fly type declaration -declare module Chance { +declare namespace Chance { interface Chance { time(): string; } @@ -36,4 +36,4 @@ chance.mixin({ var timeString: string = chance.time(); var chanceConstructedWithSeed100 = new Chance(100); -var chanceCalledWithSeed100 = Chance() \ No newline at end of file +var chanceCalledWithSeed100 = Chance() diff --git a/chance/chance.d.ts b/chance/chance.d.ts index d057d77020d9e9..290cde8048d7b2 100644 --- a/chance/chance.d.ts +++ b/chance/chance.d.ts @@ -2,7 +2,8 @@ // Project: http://chancejs.com // Definitions by: Chris Bowdon // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Chance { + +declare namespace Chance { interface ChanceStatic { (): Chance diff --git a/chartist/chartist.d.ts b/chartist/chartist.d.ts index 4287751f2a928c..ca2b4206d8ed99 100644 --- a/chartist/chartist.d.ts +++ b/chartist/chartist.d.ts @@ -3,7 +3,7 @@ // Definitions by: Matt Gibbs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Chartist { +declare namespace Chartist { interface ChartistStatic { diff --git a/checksum/checksum.d.ts b/checksum/checksum.d.ts index 78f3e94595373b..920164386ff0c6 100644 --- a/checksum/checksum.d.ts +++ b/checksum/checksum.d.ts @@ -4,8 +4,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module "checksum" { - - module checksum { + + namespace checksum { /** * Options object for all functions */ @@ -16,22 +16,22 @@ declare module "checksum" { */ algorithm?: string; } - + /** * Generate the checksum for a file on disk * @param filename The file name - * @param callback Callback which is called with the result or an error + * @param callback Callback which is called with the result or an error */ function file(filename: string, callback: (error: Error, hash: string) => void): void; /** * Generate the checksum for a file on disk * @param filename The file name * @param options Options object to indicate hash algo - * @param callback Callback which is called with the result or an error + * @param callback Callback which is called with the result or an error */ function file(filename: string, options: ChecksumOptions, callback: (error: Error, hash: string) => void): void; } - + /** * Generates a checksum for the given value * @param value Any value @@ -39,6 +39,6 @@ declare module "checksum" { * @returns Checksum */ function checksum(value: any, options?: checksum.ChecksumOptions): string; - + export = checksum; } diff --git a/chroma-js/chroma-js.d.ts b/chroma-js/chroma-js.d.ts index 4d8d9a9a6718a0..5d785eda27863c 100644 --- a/chroma-js/chroma-js.d.ts +++ b/chroma-js/chroma-js.d.ts @@ -6,7 +6,7 @@ /** * Chroma.js is a tiny library for all kinds of color conversions and color scales. */ -declare module Chroma { +declare namespace Chroma { export interface ChromaStatic { /** @@ -253,7 +253,7 @@ declare module Chroma { /** * Retreive all possible colors generated by this scale if it has distinct classes. - * + * * @param mode The output mode to use. Must be one of Color's getters. Defaults to "hex". * @return an array of colors in the type specified by mode. */ diff --git a/chrome/chrome-app.d.ts b/chrome/chrome-app.d.ts index ba645b201110cc..1891b960e0e620 100644 --- a/chrome/chrome-app.d.ts +++ b/chrome/chrome-app.d.ts @@ -9,7 +9,7 @@ //////////////////// // App Runtime //////////////////// -declare module chrome.app.runtime { +declare namespace chrome.app.runtime { interface LaunchData { id?: string; items?: LaunchDataItem[]; @@ -34,7 +34,7 @@ declare module chrome.app.runtime { //////////////////// // App Window //////////////////// -declare module chrome.app.window { +declare namespace chrome.app.window { interface ContentBounds { left?: number; top?: number; @@ -146,7 +146,7 @@ declare module chrome.app.window { //////////////////// // fileSystem //////////////////// -declare module chrome.fileSystem { +declare namespace chrome.fileSystem { interface AcceptOptions { description?: string; @@ -177,11 +177,11 @@ declare module chrome.fileSystem { //////////////////// // Media Galleries //////////////////// -declare module chrome.mediaGalleries { +declare namespace chrome.mediaGalleries { interface MediaFileSystemsOptions { interactive?: 'no' | 'yes' | 'if_needed'; } - + interface MediaFileSystemMetadata { name: string; galleryId: string; @@ -190,7 +190,7 @@ declare module chrome.mediaGalleries { isMediaDevice: boolean; isAvailable: boolean; } - + interface MetadataOptions { metadataType: 'all' | 'mimeTypeAndTags' | 'mimeTypeOnly'; } @@ -199,7 +199,7 @@ declare module chrome.mediaGalleries { type: string; tags: { [name: string]: string; }; } - + interface Metadata { // The browser sniffed mime type. mimeType: string; @@ -236,17 +236,17 @@ declare module chrome.mediaGalleries { // The images embedded in the media file's metadata. This is most often used for album art or video thumbnails. attachedImages: Blob[]; } - + interface GalleryWatchResult { galleryId: string; success: boolean; } - + interface GalleryChangedEventArgs { type: 'contents_changed' | 'watch_dropped'; galleryId: string; } - + interface ScanProgressEventArgs { // The type of progress event, i.e. start, finish, etc. type: 'start' | 'cancel' | 'finish' | 'error'; @@ -257,7 +257,7 @@ declare module chrome.mediaGalleries { imageCount?: number; videoCount?: number; } - + export function getMediaFileSystems(callback: (mediaFileSystems: FileSystem[]) => void): void; export function getMediaFileSystems(options: MediaFileSystemsOptions, callback: (mediaFileSystems: FileSystem[]) => void): void; export function addUserSelectedFolder(callback: (mediaFileSystems: FileSystem[], selectedFileSystemName: string) => void): void; @@ -273,7 +273,7 @@ declare module chrome.mediaGalleries { export function removeGalleryWatch(galleryId: string): void; export function getAllGalleryWatch(callback: (galleryIds: string[]) => void): void; export function removeAllGalleryWatch(): void; - + var onGalleryChanged: chrome.events.Event<(args: GalleryChangedEventArgs) => void>; var onScanProgress: chrome.events.Event<(args: ScanProgressEventArgs) => void>; } @@ -281,7 +281,7 @@ declare module chrome.mediaGalleries { //////////////////// // Sockets //////////////////// -declare module chrome.sockets.tcp { +declare namespace chrome.sockets.tcp { interface CreateInfo { socketId: number; } @@ -344,7 +344,7 @@ declare module chrome.sockets.tcp { var onReceiveError: chrome.events.Event<(args: ReceiveErrorEventArgs) => void>; } -declare module chrome.sockets.udp { +declare namespace chrome.sockets.udp { interface CreateInfo { socketId: number; } @@ -403,7 +403,7 @@ declare module chrome.sockets.udp { var onReceiveError: chrome.events.Event<(args: ReceiveErrorEventArgs) => void>; } -declare module chrome.sockets.tcpServer { +declare namespace chrome.sockets.tcpServer { interface CreateInfo { socketId: number; } @@ -459,7 +459,7 @@ declare module chrome.sockets.tcpServer { * Permissions: "system.display" * @since Chrome 30. */ -declare module chrome.system.display { +declare namespace chrome.system.display { interface Bounds { /** The x-coordinate of the upper-left corner. */ left: number; @@ -539,7 +539,7 @@ declare module chrome.system.display { //////////////////// // System - Network //////////////////// -declare module chrome.system.network { +declare namespace chrome.system.network { interface NetworkInterface { name: string; address: string; @@ -549,7 +549,7 @@ declare module chrome.system.network { export function getNetworkInterfaces(callback: (networkInterfaces: NetworkInterface[]) => void): void; } -declare module chrome.runtime { +declare namespace chrome.runtime { interface Manifest { app?: { background?: { @@ -598,7 +598,7 @@ declare module chrome.runtime { //////////////////// // USB //////////////////// -declare module chrome.usb { +declare namespace chrome.usb { type Direction = 'in' | 'out'; interface Device { diff --git a/chrome/chrome-cast.d.ts b/chrome/chrome-cast.d.ts index 0a4eec7039b26a..081d3de1bf486d 100644 --- a/chrome/chrome-cast.d.ts +++ b/chrome/chrome-cast.d.ts @@ -7,7 +7,7 @@ // Cast // @see https://code.google.com/p/chromium/codesearch#chromium/src/ui/file_manager/externs/chrome_cast.js //////////////////// -declare module chrome.cast { +declare namespace chrome.cast { /** * @enum {string} * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.AutoJoinPolicy @@ -424,7 +424,7 @@ declare module chrome.cast { successCallback: (media: chrome.cast.media.Media) => void, errorCallback: (error: chrome.cast.Error) => void ):void - + /** * @param {!chrome.cast.media.QueueLoadRequest} queueLoadRequest * @param {function(!chrome.cast.media.Media)} successCallback @@ -494,10 +494,10 @@ declare module chrome.cast { } } -declare module chrome.cast.media { - +declare namespace chrome.cast.media { + var DEFAULT_MEDIA_RECEIVER_APP_ID: string; - + /** * @enum {string} * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.MediaCommand @@ -561,7 +561,7 @@ declare module chrome.cast.media { FINISHED: string; ERROR: string; } - + /** * @enum {string} * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media#.RepeatMode @@ -572,7 +572,7 @@ declare module chrome.cast.media { SINGLE:string; ALL_AND_SHUFFLE:string; } - + interface QueueItem { /** * @param {!chrome.cast.media.MediaInfo} mediaInfo @@ -582,7 +582,7 @@ declare module chrome.cast.media { new( mediaInfo: chrome.cast.media.MediaInfo ):QueueItem; - + activeTrackIds: Array; autoplay: boolean; customData: Object; @@ -591,7 +591,7 @@ declare module chrome.cast.media { preloadTime: number; startTime: number; } - + interface QueueLoadRequest { /** * @param {!Array} items @@ -601,13 +601,13 @@ declare module chrome.cast.media { new( items: Array ):QueueLoadRequest; - + customData: Object; items: Array; repeatMode: chrome.cast.media.RepeatMode; startIndex: number; } - + interface QueueInsertItemsRequest { /** * @param {!Array} @@ -617,12 +617,12 @@ declare module chrome.cast.media { new( itemsToInsert: Array ):QueueInsertItemsRequest; - + customData: Object; insertBefore:number; items: Array; } - + interface QueueRemoveItemsRequest { /** * @param {!Array} @@ -632,11 +632,11 @@ declare module chrome.cast.media { new( itemIdsToRemove: Array ):QueueRemoveItemsRequest; - + customData: Object; itemIds: Array; } - + interface QueueReorderItemsRequest { /** * @param {!Array} @@ -646,12 +646,12 @@ declare module chrome.cast.media { new( itemIdsToReorder: Array ):QueueReorderItemsRequest; - + customData: Object; insertBefore: number; itemIds: Array; } - + interface QueueUpdateItemsRequest { /** * @param {!Array} @@ -661,11 +661,11 @@ declare module chrome.cast.media { new( itemsToUpdate: Array ):QueueUpdateItemsRequest; - + customData: Object; item: Array; } - + /** * @enum {string} * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.TrackType @@ -848,7 +848,7 @@ declare module chrome.cast.media { releaseYear: number; subtitle: string; title: string; - /** @deprecated. Use metadataType instead. */ + /** @deprecated. Use metadataType instead. */ type: chrome.cast.media.MetadataType; } @@ -858,7 +858,7 @@ declare module chrome.cast.media { * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.MovieMediaMetadata */ new():MovieMediaMetadata; - + images: Array; metadataType: chrome.cast.media.MetadataType; releaseDate: string; @@ -917,11 +917,11 @@ declare module chrome.cast.media { images: Array; releaseDate: string; - /** @deprecated. Use metadataType instead. */ + /** @deprecated. Use metadataType instead. */ type: chrome.cast.media.MetadataType; - /** @deprecated. Use artist instead. */ + /** @deprecated. Use artist instead. */ artistName: string; - /** @deprecated. Use releaseDate instead. */ + /** @deprecated. Use releaseDate instead. */ releaseYear: number; } @@ -943,7 +943,7 @@ declare module chrome.cast.media { height: number; creationDateTime: string; - /** @deprecated. Use metadataType instead. */ + /** @deprecated. Use metadataType instead. */ type: chrome.cast.media.MetadataType; } @@ -996,7 +996,7 @@ declare module chrome.cast.media { sessionId: string; supportedMediaCommands: Array; volume: chrome.cast.Volume; - + /** @deprecated. Use getEstimatedTime instead */ currentTime: number; @@ -1104,7 +1104,7 @@ declare module chrome.cast.media { * @suppress {deprecated} Uses currentTime member to compute estimated time. */ getEstimatedTime(): number - + /** * @param {!chrome.cast.media.QueueItem} item * @param {function()} successCallback @@ -1115,7 +1115,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!chrome.cast.media.QueueInsertItemsRequest} queueInsertItemsRequest * @param {function()} successCallback @@ -1126,7 +1126,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!number} itemId * @param {function()} successCallback @@ -1137,7 +1137,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!number} itemId * @param {!number} newIndex @@ -1150,7 +1150,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {function()} successCallback * @param {function(!chrome.cast.Error)} errorCallback @@ -1159,8 +1159,8 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - - /** + + /** * @param {function()} successCallback * @param {function(!chrome.cast.Error)} errorCallback */ @@ -1168,7 +1168,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!number} itemId * @param {function()} successCallback @@ -1179,7 +1179,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!chrome.cast.media.QueueReorderItemsRequest} queueReorderItemsRequest * @param {function()} successCallback @@ -1190,7 +1190,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!chrome.cast.media.RepeatMode} repeatMode * @param {function()} successCallback @@ -1201,7 +1201,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + /** * @param {!chrome.cast.media.QueueUpdateItemsRequest} queueUpdateItemsRequest * @param {function()} successCallback @@ -1212,7 +1212,7 @@ declare module chrome.cast.media { successCallback: Function, errorCallback: (error: chrome.cast.Error) => void ): void - + } interface Track { @@ -1263,7 +1263,7 @@ declare module chrome.cast.media { * @namespace * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.timeout */ -declare module chrome.cast.media.timeout { +declare namespace chrome.cast.media.timeout { var load: number; var getStatus: number; var play: number; @@ -1277,4 +1277,4 @@ declare module chrome.cast.media.timeout { var queueRemove: number; var queueReorder: number; var queueUpdate: number; -} \ No newline at end of file +} diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index dc00e33ce56ea1..9cdf8c3a5dae77 100644 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -22,7 +22,7 @@ interface Window { * Permissions: "accessibilityFeatures.read" * Important: This API works only on Chrome OS. */ -declare module chrome.accessibilityFeatures { +declare namespace chrome.accessibilityFeatures { interface AccessibilityFeaturesGetArg { /** Optional. Whether to return the value that applies to the incognito session (default false). */ incognito?: boolean; @@ -116,7 +116,7 @@ declare module chrome.accessibilityFeatures { * Availability: Since Chrome 22. * Permissions: "alarms" */ -declare module chrome.alarms { +declare namespace chrome.alarms { interface AlarmCreateInfo { /** Optional. Length of time in minutes after which the onAlarm event should fire. */ delayInMinutes?: number; @@ -199,7 +199,7 @@ declare module chrome.alarms { * Use the chrome.browser API to interact with the Chrome browser associated with * the current application and Chrome profile. */ -declare module chrome.browser { +declare namespace chrome.browser { interface Options { /** The URL to navigate to when the new tab is initially opened. */ url: string; @@ -232,7 +232,7 @@ declare module chrome.browser { * Availability: Since Chrome 5. * Permissions: "bookmarks" */ -declare module chrome.bookmarks { +declare namespace chrome.bookmarks { /** A node (either a bookmark or a folder) in the bookmark tree. Child nodes are ordered within their parent folder. */ interface BookmarkTreeNode { /** Optional. The 0-based position of this node within its parent folder. */ @@ -433,7 +433,7 @@ declare module chrome.bookmarks { * Availability: Since Chrome 5. * Manifest: "browser_action": {...} */ -declare module chrome.browserAction { +declare namespace chrome.browserAction { interface BadgeBackgroundColorDetails { /** An array of four integers in the range [0,255] that make up the RGBA color of the badge. For example, opaque red is [255, 0, 0, 255]. Can also be a string with a CSS value, with opaque red being #FF0000 or #F00. */ color: any; @@ -545,7 +545,7 @@ declare module chrome.browserAction { * Availability: Since Chrome 19. * Permissions: "browsingData" */ -declare module chrome.browsingData { +declare namespace chrome.browsingData { interface OriginTypes { /** Optional. Websites that have been installed as hosted applications (be careful!). */ protectedWeb?: boolean; @@ -723,7 +723,7 @@ declare module chrome.browsingData { * Availability: Since Chrome 25. * Manifest: "commands": {...} */ -declare module chrome.commands { +declare namespace chrome.commands { interface Command { /** Optional. The name of the Extension Command */ name?: string; @@ -755,7 +755,7 @@ declare module chrome.commands { * Availability: Since Chrome 16. * Permissions: "contentSettings" */ -declare module chrome.contentSettings { +declare namespace chrome.contentSettings { interface ClearDetails { /** * Optional. @@ -941,7 +941,7 @@ declare module chrome.contentSettings { * Availability: Since Chrome 6. * Permissions: "contextMenus" */ -declare module chrome.contextMenus { +declare namespace chrome.contextMenus { interface OnClickData { /** * Optional. @@ -1130,7 +1130,7 @@ declare module chrome.contextMenus { * Availability: Since Chrome 6. * Permissions: "cookies", host permissions */ -declare module chrome.cookies { +declare namespace chrome.cookies { /** Represents information about an HTTP cookie. */ interface Cookie { /** The domain of the cookie (e.g. "www.google.com", "example.com"). */ @@ -1377,7 +1377,7 @@ declare module "chrome.debugger" { * Availability: Since Chrome 33. * Permissions: "declarativeContent" */ -declare module chrome.declarativeContent { +declare namespace chrome.declarativeContent { interface PageStateUrlDetails { /** Optional. Matches if the host name of the URL contains a specified string. To test whether a host name component has a prefix 'foo', use hostContains: '.foo'. This matches 'www.foobar.com' and 'foo.com', because an implicit dot is added at the beginning of the host name. Similarly, hostContains can be used to match against component suffix ('foo.') and to exactly match against components ('.foo.'). Suffix- and exact-matching for the last components need to be done separately using hostSuffix, because no implicit dot is added at the end of the host name. */ hostContains?: string; @@ -1439,7 +1439,7 @@ declare module chrome.declarativeContent { //////////////////// // Declarative Web Request //////////////////// -declare module chrome.declarativeWebRequest { +declare namespace chrome.declarativeWebRequest { interface HeaderFilter { nameEquals?: string; valueContains?: any; @@ -1553,7 +1553,7 @@ declare module chrome.declarativeWebRequest { * Availability: Since Chrome 34. * Permissions: "desktopCapture" */ -declare module chrome.desktopCapture { +declare namespace chrome.desktopCapture { /** * Shows desktop media picker UI with the specified set of sources. * @param sources Set of sources that should be shown to the user. @@ -1585,7 +1585,7 @@ declare module chrome.desktopCapture { * Use the chrome.devtools.inspectedWindow API to interact with the inspected window: obtain the tab ID for the inspected page, evaluate the code in the context of the inspected window, reload the page, or obtain the list of resources within the page. * Availability: Since Chrome 18. */ -declare module chrome.devtools.inspectedWindow { +declare namespace chrome.devtools.inspectedWindow { /** A resource within the inspected page, such as a document, a script, or an image. */ interface Resource { /** The URL of the resource. */ @@ -1681,7 +1681,7 @@ declare module chrome.devtools.inspectedWindow { * Use the chrome.devtools.network API to retrieve the information about network requests displayed by the Developer Tools in the Network panel. * Availability: Since Chrome 18. */ -declare module chrome.devtools.network { +declare namespace chrome.devtools.network { /** Represents a network request for a document resource (script, image and so on). See HAR Specification for reference. */ interface Request { /** @@ -1721,7 +1721,7 @@ declare module chrome.devtools.network { * Use the chrome.devtools.panels API to integrate your extension into Developer Tools window UI: create your own panels, access existing panels, and add sidebars. * Availability: Since Chrome 18. */ -declare module chrome.devtools.panels { +declare namespace chrome.devtools.panels { interface PanelShownEvent extends chrome.events.Event<(window: chrome.windows.Window) => void> {} interface PanelHiddenEvent extends chrome.events.Event<() => void> {} @@ -1899,7 +1899,7 @@ declare module chrome.devtools.panels { * Permissions: "documentScan" * Important: This API works only on Chrome OS. */ -declare module chrome.documentScan { +declare namespace chrome.documentScan { interface DocumentScanOptions { /** Optional. The MIME types that are accepted by the caller. */ mimeTypes?: string[]; @@ -1932,7 +1932,7 @@ declare module chrome.documentScan { * Availability: Since Chrome 31. * Permissions: "downloads" */ -declare module chrome.downloads { +declare namespace chrome.downloads { interface HeaderNameValuePair { /** Name of the HTTP header. */ name: string; @@ -2232,7 +2232,7 @@ declare module chrome.downloads { * Important: This API works only on Chrome OS. * Note: This API is only for extensions pre-installed by policy. */ -declare module chrome.enterprise.platformKeys { +declare namespace chrome.enterprise.platformKeys { interface Token { /** * Uniquely identifies this Token. @@ -2291,7 +2291,7 @@ declare module chrome.enterprise.platformKeys { * The chrome.events namespace contains common types used by APIs dispatching events to notify you when something interesting happens. * Availability: Since Chrome 21. */ -declare module chrome.events { +declare namespace chrome.events { /** Filters URLs for various criteria. See event filtering. All criteria are case sensitive. */ interface UrlFilter { /** Optional. Matches if the scheme of the URL is equal to any of the schemes specified in the array. */ @@ -2434,7 +2434,7 @@ declare module chrome.events { * The chrome.extension API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in Message Passing. * Availability: Since Chrome 5. */ -declare module chrome.extension { +declare namespace chrome.extension { interface FetchProperties { /** Optional. The window to restrict the search to. If omitted, returns all views. */ windowId?: number; @@ -2531,7 +2531,7 @@ declare module chrome.extension { * Permissions: "fileBrowserHandler" * Important: This API works only on Chrome OS. */ -declare module chrome.fileBrowserHandler { +declare namespace chrome.fileBrowserHandler { interface SelectionParams { /** * Optional. @@ -2584,7 +2584,7 @@ declare module chrome.fileBrowserHandler { * Permissions: "fileSystemProvider" * Important: This API works only on Chrome OS. */ -declare module chrome.fileSystemProvider { +declare namespace chrome.fileSystemProvider { interface OpenedFileInfo { /** A request ID to be be used by consecutive read/write and close requests. */ openRequestId: number; @@ -2935,7 +2935,7 @@ declare module chrome.fileSystemProvider { * Availability: Since Chrome 22. * Permissions: "fontSettings" */ -declare module chrome.fontSettings { +declare namespace chrome.fontSettings { /** Represents a font name. */ interface FontName { /** The display name of the font. */ @@ -3102,7 +3102,7 @@ declare module chrome.fontSettings { * Availability: Since Chrome 35. * Permissions: "gcm" */ -declare module chrome.gcm { +declare namespace chrome.gcm { interface OutgoingMessage { /** The ID of the server to send the message to as assigned by Google API Console. */ destinationId: string; @@ -3190,7 +3190,7 @@ declare module chrome.gcm { * Availability: Since Chrome 5. * Permissions: "history" */ -declare module chrome.history { +declare namespace chrome.history { /** An object encapsulating one visit to a URL. */ interface VisitItem { /** The transition type for this visit from its referrer. */ @@ -3305,7 +3305,7 @@ declare module chrome.history { * Use the chrome.i18n infrastructure to implement internationalization across your whole app or extension. * @since Chrome 5. */ -declare module chrome.i18n { +declare namespace chrome.i18n { /** * Gets the accept-languages of the browser. This is different from the locale used by the browser; to get the locale, use i18n.getUILanguage. * @param callback The callback parameter should be a function that looks like this: @@ -3334,7 +3334,7 @@ declare module chrome.i18n { * Permissions: "identity" * @since Chrome 29. */ -declare module chrome.identity { +declare namespace chrome.identity { /** @since Chrome 32. */ interface AccountInfo { /** A unique identifier for the account. This ID will not change for the lifetime of the account. */ @@ -3453,7 +3453,7 @@ declare module chrome.identity { * Permissions: "idle" * @since Chrome 6. */ -declare module chrome.idle { +declare namespace chrome.idle { interface IdleStateChangedEvent extends chrome.events.Event<(newState: string) => void> {} /** @@ -3483,7 +3483,7 @@ declare module chrome.idle { * Permissions: "input" * @since Chrome 21. */ -declare module chrome.input.ime { +declare namespace chrome.input.ime { /** See http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent */ interface KeyboardEvent { /** @@ -3880,7 +3880,7 @@ declare module chrome.input.ime { * Permissions: "management" * @since Chrome 8. */ -declare module chrome.management { +declare namespace chrome.management { /** Information about an installed extension, app, or theme. */ interface ExtensionInfo { /** @@ -4130,7 +4130,7 @@ declare module chrome.management { * Important: This API works only on Chrome OS. * @since Chrome 43. */ -declare module chrome.networking.config { +declare namespace chrome.networking.config { interface NetworkInfo { /** Currently only WiFi supported. */ Type: string; @@ -4183,7 +4183,7 @@ declare module chrome.networking.config { * Permissions: "notifications" * @since Chrome 28. */ -declare module chrome.notifications { +declare namespace chrome.notifications { interface ButtonOptions { title: string; iconUrl?: string; @@ -4339,7 +4339,7 @@ declare module chrome.notifications { * Manifest: "omnibox": {...} * @since Chrome 9. */ -declare module chrome.omnibox { +declare namespace chrome.omnibox { /** A suggest result. */ interface SuggestResult { /** The text that is put into the URL bar, and that is sent to the extension when the user chooses this entry. */ @@ -4385,7 +4385,7 @@ declare module chrome.omnibox { * Manifest: "page_action": {...} * @since Chrome 5. */ -declare module chrome.pageAction { +declare namespace chrome.pageAction { interface PageActionClickedEvent extends chrome.events.Event<(tab: chrome.tabs.Tab) => void> {} interface TitleDetails { @@ -4474,7 +4474,7 @@ declare module chrome.pageAction { * Permissions: "pageCapture" * @since Chrome 18. */ -declare module chrome.pageCapture { +declare namespace chrome.pageCapture { interface SaveDetails { /** The id of the tab to save as MHTML. */ tabId: number; @@ -4497,7 +4497,7 @@ declare module chrome.pageCapture { * Use the chrome.permissions API to request declared optional permissions at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary. * @since Chrome 16. */ -declare module chrome.permissions { +declare namespace chrome.permissions { interface Permissions { /** * Optional. @@ -4573,7 +4573,7 @@ declare module chrome.permissions { * Important: This API works only on Chrome OS. * @since Chrome 45. */ -declare module chrome.platformKeys { +declare namespace chrome.platformKeys { interface Match { /** The DER encoding of a X.509 certificate. */ certificate: ArrayBuffer; @@ -4652,7 +4652,7 @@ declare module chrome.platformKeys { * Permissions: "power" * @since Chrome 27. */ -declare module chrome.power { +declare namespace chrome.power { /** Requests that power management be temporarily disabled. |level| describes the degree to which power management should be disabled. If a request previously made by the same app is still active, it will be replaced by the new request. */ export function requestKeepAwake(level: string): void; /** Releases a request previously made via requestKeepAwake(). */ @@ -4667,7 +4667,7 @@ declare module chrome.power { * Permissions: "printerProvider" * @since Chrome 44. */ -declare module chrome.printerProvider { +declare namespace chrome.printerProvider { interface PrinterInfo { /** Unique printer ID. */ id: string; @@ -4726,7 +4726,7 @@ declare module chrome.printerProvider { * The Chrome Privacy Whitepaper gives background detail regarding the features which this API can control. * @since Chrome 18. */ -declare module chrome.privacy { +declare namespace chrome.privacy { interface Services { /** since Chrome 20. */ spellingServiceEnabled: chrome.types.ChromeSetting; @@ -4776,7 +4776,7 @@ declare module chrome.privacy { * Permissions: "proxy" * @since Chrome 13. */ -declare module chrome.proxy { +declare namespace chrome.proxy { /** An object holding proxy auto-config information. Exactly one of the fields should be non-empty. */ interface PacScript { /** Optional. URL of the PAC file to be used. */ @@ -4852,7 +4852,7 @@ declare module chrome.proxy { * Use the chrome.runtime API to retrieve the background page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs. * @since Chrome 22 */ -declare module chrome.runtime { +declare namespace chrome.runtime { /** This will be defined during an API method callback if there was an error */ var lastError: LastError; /** The ID of the extension/app. */ @@ -4981,17 +4981,17 @@ declare module chrome.runtime { interface RuntimeRestartRequiredEvent extends chrome.events.Event<(reason: string) => void> {} interface RuntimeUpdateAvailableEvent extends chrome.events.Event<(details: UpdateAvailableDetails) => void> {} - + interface ManifestIcons { [size: number]: string; } - + interface ManifestAction { default_icon?: ManifestIcons; default_title?: string; default_popup?: string; } - + interface SearchProvider { name?: string; keyword?: string; @@ -5009,7 +5009,7 @@ declare module chrome.runtime { prepopulated_id?: number; is_default?: boolean; } - + interface Manifest { // Required manifest_version: number; @@ -5354,7 +5354,7 @@ declare module chrome.runtime { //////////////////// // Script Badge //////////////////// -declare module chrome.scriptBadge { +declare namespace chrome.scriptBadge { interface GetPopupDetails { tabId: number; } @@ -5385,7 +5385,7 @@ declare module chrome.scriptBadge { * Permissions: "sessions" * @since Chrome 37. */ -declare module chrome.sessions { +declare namespace chrome.sessions { interface Filter { /** * Optional. @@ -5466,7 +5466,7 @@ declare module chrome.sessions { * Permissions: "storage" * @since Chrome 20. */ -declare module chrome.storage { +declare namespace chrome.storage { interface StorageArea { /** * Gets the amount of space (in bytes) being used by one or more items. @@ -5599,7 +5599,7 @@ declare module chrome.storage { //////////////////// // Socket //////////////////// -declare module chrome.socket { +declare namespace chrome.socket { interface CreateInfo { socketId: number; } @@ -5664,7 +5664,7 @@ declare module chrome.socket { * Permissions: "system.cpu" * @since Chrome 32. */ -declare module chrome.system.cpu { +declare namespace chrome.system.cpu { interface ProcessorUsage { /** The cumulative time used by userspace programs on this processor. */ user: number; @@ -5709,7 +5709,7 @@ declare module chrome.system.cpu { * Permissions: "system.memory" * @since Chrome 32. */ -declare module chrome.system.memory { +declare namespace chrome.system.memory { interface MemoryInfo { /** The total amount of physical memory capacity, in bytes. */ capacity: number; @@ -5729,7 +5729,7 @@ declare module chrome.system.memory { * Permissions: "system.storage" * @since Chrome 30. */ -declare module chrome.system.storage { +declare namespace chrome.system.storage { interface StorageUnitInfo { /** The transient ID that uniquely identifies the storage device. This ID will be persistent within the same run of a single application. It will not be a persistent identifier between different runs of an application, or between different applications. */ id: string; @@ -5785,7 +5785,7 @@ declare module chrome.system.storage { * Permissions: "tabCapture" * @since Chrome 31. */ -declare module chrome.tabCapture { +declare namespace chrome.tabCapture { interface CaptureInfo { /** The id of the tab whose status changed. */ tabId: number; @@ -5835,7 +5835,7 @@ declare module chrome.tabCapture { * Permissions: The majority of the chrome.tabs API can be used without declaring any permission. However, the "tabs" permission is required in order to populate the url, title, and favIconUrl properties of Tab. * @since Chrome 5. */ -declare module chrome.tabs { +declare namespace chrome.tabs { /** * Tab muted state and the reason for the last state change. * @since Chrome 46. Warning: this is the current Beta channel. @@ -6580,7 +6580,7 @@ declare module chrome.tabs { * Permissions: "topSites" * @since Chrome 19. */ -declare module chrome.topSites { +declare namespace chrome.topSites { /** An object encapsulating a most visited URL, such as the URLs on the new tab page. */ interface MostVisitedURL { /** The most visited URL. */ @@ -6601,7 +6601,7 @@ declare module chrome.topSites { * Permissions: "tts" * @since Chrome 14. */ -declare module chrome.tts { +declare namespace chrome.tts { /** An event from the TTS engine to communicate the status of an utterance. */ interface TtsEvent { /** Optional. The index of the current character in the utterance. */ @@ -6716,7 +6716,7 @@ declare module chrome.tts { * Permissions: "ttsEngine" * @since Chrome 14. */ -declare module chrome.ttsEngine { +declare namespace chrome.ttsEngine { interface SpeakOptions { /** Optional. The language to be used for synthesis, in the form language-region. Examples: 'en', 'en-US', 'en-GB', 'zh-CN'. */ lang?: string; @@ -6763,7 +6763,7 @@ declare module chrome.ttsEngine { * The chrome.types API contains type declarations for Chrome. * @since Chrome 13. */ -declare module chrome.types { +declare namespace chrome.types { interface ChromeSettingClearDetails { /** * Optional. @@ -6857,7 +6857,7 @@ declare module chrome.types { * Important: This API works only on Chrome OS. * @since Chrome 43. */ -declare module chrome.vpnProvider { +declare namespace chrome.vpnProvider { interface VpnSessionParameters { /** IP address for the VPN interface in CIDR notation. IPv4 is currently the only supported mode. */ address: string; @@ -6944,7 +6944,7 @@ declare module chrome.vpnProvider { * Important: This API works only on Chrome OS. * @since Chrome 43. */ -declare module chrome.wallpaper { +declare namespace chrome.wallpaper { interface WallpaperDetails { /** Optional. The jpeg or png encoded wallpaper image. */ data?: any; @@ -6977,7 +6977,7 @@ declare module chrome.wallpaper { * Permissions: "webNavigation" * @since Chrome 16. */ -declare module chrome.webNavigation { +declare namespace chrome.webNavigation { interface GetFrameDetails { /** * The ID of the process runs the renderer for this tab. @@ -7145,7 +7145,7 @@ declare module chrome.webNavigation { * Permissions: "webRequest", host permissions * @since Chrome 17. */ -declare module chrome.webRequest { +declare namespace chrome.webRequest { interface AuthCredentials { username: string; password: string; @@ -7371,7 +7371,7 @@ declare module chrome.webRequest { * Use the chrome.webstore API to initiate app and extension installations "inline" from your site. * @since Chrome 15. */ -declare module chrome.webstore { +declare namespace chrome.webstore { /** * @param url Optional. If you have more than one tag on your page with the chrome-webstore-item relation, you can choose which item you'd like to install by passing in its URL here. If it is omitted, then the first (or only) link will be used. An exception will be thrown if the passed in URL does not exist on the page. * @param successCallback Optional. This function is invoked when inline installation successfully completes (after the dialog is shown and the user agrees to add the item to Chrome). You may wish to use this to hide the user interface element that prompted the user to install the app or extension. @@ -7472,7 +7472,7 @@ declare module chrome.webstore { * Permissions: The chrome.windows API can be used without declaring any permission. However, the "tabs" permission is required in order to populate the url, title, and favIconUrl properties of Tab objects. * @since Chrome 5. */ -declare module chrome.windows { +declare namespace chrome.windows { interface Window { /** Array of tabs.Tab objects representing the current tabs in the window. */ tabs?: chrome.tabs.Tab[]; diff --git a/ckeditor/ckeditor.d.ts b/ckeditor/ckeditor.d.ts index b6330ce74bad7e..bba377090fa093 100644 --- a/ckeditor/ckeditor.d.ts +++ b/ckeditor/ckeditor.d.ts @@ -5,7 +5,7 @@ // WORK-IN-PROGRESS: Any contribution support welcomed. // See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/1827 for more informations. -declare module CKEDITOR { +declare namespace CKEDITOR { // Config options var disableAutoInline: boolean; @@ -88,7 +88,7 @@ declare module CKEDITOR { function replaceAll(assertionFunction: (textarea: HTMLTextAreaElement, config: config) => boolean): void; - module dom { + namespace dom { class comment { @@ -506,7 +506,7 @@ declare module CKEDITOR { } - module ajax { + namespace ajax { // Methods function load(url: string, callback?: Function): string; @@ -556,7 +556,7 @@ declare module CKEDITOR { groups?: string[]; } - module config { + namespace config { interface styleObject { name?: string; element: string; @@ -842,7 +842,7 @@ declare module CKEDITOR { } - module plugins { + namespace plugins { class contextMenu extends menu { constructor(editor: editor); @@ -851,7 +851,7 @@ declare module CKEDITOR { } - module link { + namespace link { var emptyAnchorFix: boolean; var fakeAnchor: boolean; var synAnchorSelector: boolean; @@ -861,9 +861,9 @@ declare module CKEDITOR { } - module widget { + namespace widget { - module nestedEditable { + namespace nestedEditable { interface definition { allowedContent?: any; pathName?: string; @@ -1127,7 +1127,7 @@ declare module CKEDITOR { updateElement(): void; } - module editor { + namespace editor { interface eventObject { activeEnterModeChange?: (evt: CKEDITOR.eventInfo) => void; activeFilterChange?: (evt: CKEDITOR.eventInfo) => void; @@ -1288,8 +1288,8 @@ declare module CKEDITOR { addHandler(type: Object, handler: Object): void; } - module ui { - module dialog { + namespace ui { + namespace dialog { class uiElement { eventProcessors: any; @@ -1465,9 +1465,9 @@ declare module CKEDITOR { } - module dialog { + namespace dialog { - module definition { + namespace definition { interface button extends uiElement { disabled?: boolean; @@ -1619,7 +1619,7 @@ declare module CKEDITOR { } - module htmlParser { + namespace htmlParser { class basicWriter { constructor(); @@ -1759,12 +1759,12 @@ declare module CKEDITOR { } - module tools { + namespace tools { var callFunction: Function; } - module lang { + namespace lang { var languages: any; var rtl: any; diff --git a/cldr.js/cldr.js-event.d.ts b/cldr.js/cldr.js-event.d.ts index d067383a031338..b86580aa954ce0 100644 --- a/cldr.js/cldr.js-event.d.ts +++ b/cldr.js/cldr.js-event.d.ts @@ -5,7 +5,7 @@ // The definition file for event module. -declare module cldr { +declare namespace cldr { interface CldrStatic { on(event:string, listener:(path:string, value:any) => void): void; once(event:string, listener:(path:string, value:any) => void): void; diff --git a/cldr.js/cldr.js-supplemental.d.ts b/cldr.js/cldr.js-supplemental.d.ts index 14be39944aa96d..3b25e219624f39 100644 --- a/cldr.js/cldr.js-supplemental.d.ts +++ b/cldr.js/cldr.js-supplemental.d.ts @@ -5,7 +5,7 @@ // The definition file for supplemental module. -declare module cldr { +declare namespace cldr { interface TimeDataStatic { allowed(): string; preferred(): string; diff --git a/cldr.js/cldr.js.d.ts b/cldr.js/cldr.js.d.ts index 21bf220c23f319..04ecb428f67821 100644 --- a/cldr.js/cldr.js.d.ts +++ b/cldr.js/cldr.js.d.ts @@ -3,7 +3,7 @@ // Definitions by: Raman But-Husaim , Grégoire Castre // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module cldr { +declare namespace cldr { /** * @name Attributes * @memberof cldr diff --git a/cli-color/cli-color.d.ts b/cli-color/cli-color.d.ts index 81aabb2b47d7c2..fdb0c471d13275 100644 --- a/cli-color/cli-color.d.ts +++ b/cli-color/cli-color.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module "cli-color" { - module m { + namespace m { export interface Format { (...text: any[]): string; @@ -83,7 +83,7 @@ declare module "cli-color/trim" { declare module "cli-color/throbber" { import clc = require('cli-color'); - module setupThrobber { + namespace setupThrobber { export interface Throbber { start(): void; stop(): void; diff --git a/clone/clone.d.ts b/clone/clone.d.ts index a446fb2348e3d5..79c05cef001d87 100644 --- a/clone/clone.d.ts +++ b/clone/clone.d.ts @@ -14,7 +14,7 @@ declare module "clone" { */ function clone(val: T, circular?: boolean, depth?: number): T; - module clone { + namespace clone { /** * @param obj the object that you want to clone */ diff --git a/codemirror/codemirror-matchbrackets.d.ts b/codemirror/codemirror-matchbrackets.d.ts index 88b00d328262f3..cfae62deac766a 100644 --- a/codemirror/codemirror-matchbrackets.d.ts +++ b/codemirror/codemirror-matchbrackets.d.ts @@ -5,7 +5,7 @@ // See docs https://codemirror.net/doc/manual.html#addon_matchbrackets -declare module CodeMirror { +declare namespace CodeMirror { interface EditorConfiguration { // when set to true, causes matching brackets to be highlighted whenever the cursor is next to them matchBrackets?: boolean; diff --git a/codemirror/codemirror-runmode.d.ts b/codemirror/codemirror-runmode.d.ts index 58a8330a860700..116c092cd2a666 100644 --- a/codemirror/codemirror-runmode.d.ts +++ b/codemirror/codemirror-runmode.d.ts @@ -5,7 +5,7 @@ // See docs https://codemirror.net/doc/manual.html#addon_runmode -declare module CodeMirror { +declare namespace CodeMirror { /** * Runs a CodeMirror mode over text without opening an editor instance. diff --git a/codemirror/codemirror-showhint.d.ts b/codemirror/codemirror-showhint.d.ts index f0ff70c6e39174..e90c137117fb09 100644 --- a/codemirror/codemirror-showhint.d.ts +++ b/codemirror/codemirror-showhint.d.ts @@ -5,7 +5,7 @@ // See docs https://codemirror.net/doc/manual.html#addon_show-hint -declare module CodeMirror { +declare namespace CodeMirror { var commands: any; /** Provides a framework for showing autocompletion hints. Defines editor.showHint, which takes an optional diff --git a/codemirror/codemirror.d.ts b/codemirror/codemirror.d.ts index 98089df01327b4..6196d015c6b6ce 100644 --- a/codemirror/codemirror.d.ts +++ b/codemirror/codemirror.d.ts @@ -6,7 +6,7 @@ declare function CodeMirror(host: HTMLElement, options?: CodeMirror.EditorConfiguration): CodeMirror.Editor; declare function CodeMirror(callback: (host: HTMLElement) => void , options?: CodeMirror.EditorConfiguration): CodeMirror.Editor; -declare module CodeMirror { +declare namespace CodeMirror { export var Doc : CodeMirror.DocConstructor; export var Pos: CodeMirror.PositionConstructor; export var Pass: any; @@ -491,8 +491,8 @@ declare module CodeMirror { It may be "start" , "end" , "head"(the side of the selection that moves when you press shift + arrow), or "anchor"(the fixed side of the selection).Omitting the argument is the same as passing "head".A { line , ch } object will be returned. */ getCursor(start?: string): CodeMirror.Position; - - /** Retrieves a list of all current selections. These will always be sorted, and never overlap (overlapping selections are merged). + + /** Retrieves a list of all current selections. These will always be sorted, and never overlap (overlapping selections are merged). Each object in the array contains anchor and head properties referring to {line, ch} objects. */ listSelections(): { anchor: CodeMirror.Position; head: CodeMirror.Position }[]; @@ -659,12 +659,12 @@ declare module CodeMirror { new (line: number, ch?: number): Position; (line: number, ch?: number): Position; } - + interface Range{ from: CodeMirror.Position; to: CodeMirror.Position; } - + interface Position { ch: number; line: number; diff --git a/codemirror/searchcursor.d.ts b/codemirror/searchcursor.d.ts index 5b36ca7367caa6..fbf5e979650e17 100644 --- a/codemirror/searchcursor.d.ts +++ b/codemirror/searchcursor.d.ts @@ -3,7 +3,7 @@ // Definitions by: jacqt // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module CodeMirror { +declare namespace CodeMirror { interface Doc { /** This method can be used to implement search/replace functionality. * `query`: This can be a regular * expression or a string (only strings will match across lines - diff --git a/colorbrewer/colorbrewer.d.ts b/colorbrewer/colorbrewer.d.ts index 10db38e99a2343..014a33b1c6687b 100644 --- a/colorbrewer/colorbrewer.d.ts +++ b/colorbrewer/colorbrewer.d.ts @@ -5,7 +5,7 @@ declare var colorbrewer: ColorBrewer.Base; -declare module ColorBrewer { +declare namespace ColorBrewer { interface ColorScheme { [n: number]: string[]; } diff --git a/colors/colors.d.ts b/colors/colors.d.ts index 59e470fb3ad250..cc6b307c03b1ad 100644 --- a/colors/colors.d.ts +++ b/colors/colors.d.ts @@ -43,7 +43,7 @@ declare module "colors" { random: Color; } - module e { + namespace e { export function setTheme(theme:any): void; export var black: Color; diff --git a/cometd/cometd.d.ts b/cometd/cometd.d.ts index 05f1e551b755fe..0ac377c2417544 100644 --- a/cometd/cometd.d.ts +++ b/cometd/cometd.d.ts @@ -3,7 +3,7 @@ // Definitions by: Derek Cicerone // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module CometD { +declare namespace CometD { interface ConfigurationOptions { url: string; @@ -41,7 +41,7 @@ interface CometD { disconnect(): void; - + } diff --git a/commander/commander-tests.ts b/commander/commander-tests.ts index 135ad8bf0223e7..52dd0f8504f6f6 100644 --- a/commander/commander-tests.ts +++ b/commander/commander-tests.ts @@ -3,7 +3,7 @@ // NOTE: import statement can not use in TypeScript 1.0.1 var program:commander.IExportedCommand = require('commander'); -declare module commander { +declare namespace commander { interface IExportedCommand { peppers:boolean; pineapple:boolean; @@ -43,7 +43,7 @@ function increaseVerbosity(v:any, total:number) { return total + 1; } -declare module commander { +declare namespace commander { interface IExportedCommand { integer:number; float:number; diff --git a/commander/commander.d.ts b/commander/commander.d.ts index 0524fd8d327615..40543a2768b13c 100644 --- a/commander/commander.d.ts +++ b/commander/commander.d.ts @@ -5,7 +5,7 @@ /// -declare module commander { +declare namespace commander { interface ICommandStatic { /** * Initialize a new `Command`. diff --git a/commonmark/commonmark.d.ts b/commonmark/commonmark.d.ts index 8f12714515af89..84a76c47f659ae 100644 --- a/commonmark/commonmark.d.ts +++ b/commonmark/commonmark.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module commonmark { +declare namespace commonmark { export interface NodeWalkingStep { /** @@ -41,7 +41,7 @@ declare module commonmark { export class Node { constructor(nodeType: string, sourcepos?: Position); isContainer: boolean; - + /** * (read-only): one of Text, Softbreak, Hardbreak, Emph, Strong, Html, Link, Image, Code, Document, Paragraph, BlockQuote, Item, List, Heading, CodeBlock, HtmlBlock ThematicBreak. */ @@ -139,7 +139,7 @@ declare module commonmark { */ walker(): NodeWalker; /** - * Setting the backing object of listType, listTight, listStat and listDelimiter directly. + * Setting the backing object of listType, listTight, listStat and listDelimiter directly. * Not needed unless creating list nodes directly. Should be fixed from v>0.22.1 * https://github.com/jgm/commonmark.js/issues/74 */ @@ -147,7 +147,7 @@ declare module commonmark { } /** - * Instead of converting Markdown directly to HTML, as most converters do, commonmark.js parses Markdown to an AST (abstract syntax tree), and then renders this AST as HTML. + * Instead of converting Markdown directly to HTML, as most converters do, commonmark.js parses Markdown to an AST (abstract syntax tree), and then renders this AST as HTML. * This opens up the possibility of manipulating the AST between parsing and rendering. For example, one could transform emphasis into ALL CAPS. */ export class Parser { @@ -192,7 +192,7 @@ declare module commonmark { /** * Override the function that will be used to escape (sanitize) the html output. Return value is used to add to the html output * @param input the input to escape - * @param isAttributeValue indicates wheter or not the input value will be used as value of an html attribute. + * @param isAttributeValue indicates wheter or not the input value will be used as value of an html attribute. */ escape: (input: string, isAttributeValue: boolean) => string; } @@ -211,4 +211,4 @@ declare module commonmark { declare module 'commonmark' { export = commonmark; -} \ No newline at end of file +} diff --git a/compression/compression.d.ts b/compression/compression.d.ts index 4cf3441efe5dd9..6a444e3f4927c7 100644 --- a/compression/compression.d.ts +++ b/compression/compression.d.ts @@ -8,7 +8,7 @@ declare module "compression" { import express = require('express'); - module e { + namespace e { interface CompressionOptions { threshold?: number; filter?: Function; @@ -17,4 +17,4 @@ declare module "compression" { function e(options?: e.CompressionOptions): express.RequestHandler; export = e; -} \ No newline at end of file +} diff --git a/config/config.d.ts b/config/config.d.ts index 515c626a048f65..f09abdd3f242a9 100644 --- a/config/config.d.ts +++ b/config/config.d.ts @@ -7,7 +7,7 @@ declare module "config" { var c: c.IConfig; - module c { + namespace c { // see https://github.com/lorenwest/node-config/wiki/Using-Config-Utilities interface IUtil { diff --git a/connect-flash/connect-flash.d.ts b/connect-flash/connect-flash.d.ts index 8687d5652cc799..2479142bddf9f7 100644 --- a/connect-flash/connect-flash.d.ts +++ b/connect-flash/connect-flash.d.ts @@ -5,7 +5,7 @@ /// -declare module Express { +declare namespace Express { export interface Request { flash(message: string): any; flash(event: string, message: string): any; diff --git a/connect-livereload/connect-livereload.d.ts b/connect-livereload/connect-livereload.d.ts index db73dd1e7414a9..c8246e62f105a3 100644 --- a/connect-livereload/connect-livereload.d.ts +++ b/connect-livereload/connect-livereload.d.ts @@ -7,32 +7,32 @@ declare module "connect-livereload" { import { HandleFunction } from "connect"; - + function livereload(): HandleFunction; function livereload(options: livereload.Options): HandleFunction; - - module livereload { + + namespace livereload { export type FileMatcher = string | RegExp; - + export interface Rule { match: RegExp; fn: (w: string, s: string) => string; } - + export interface Options { ignore?: FileMatcher[]; excludeList?: FileMatcher[]; - + include?: FileMatcher[]; html?: (val: string) => boolean; rules?: Rule[]; disableCompression?: boolean; - + hostname?: string; port?: number; src?: string; } } - + export = livereload; -} \ No newline at end of file +} diff --git a/connect-mongo/connect-mongo.d.ts b/connect-mongo/connect-mongo.d.ts index f366f6ad65c46e..49f93e2d46f23c 100644 --- a/connect-mongo/connect-mongo.d.ts +++ b/connect-mongo/connect-mongo.d.ts @@ -16,7 +16,7 @@ declare module "connect-mongo" { function connectMongo(connect: (options?: session.SessionOptions) => express.RequestHandler): connectMongo.MongoStoreFactory; - module connectMongo { + namespace connectMongo { export interface DefaultOptions{ /** diff --git a/connect-slashes/connect-slashes.d.ts b/connect-slashes/connect-slashes.d.ts index dc66979391213e..111e29c0932199 100644 --- a/connect-slashes/connect-slashes.d.ts +++ b/connect-slashes/connect-slashes.d.ts @@ -23,7 +23,7 @@ declare module "connect-slashes" { */ function slashes (addTrailingSlashes?: boolean, options?: slashes.Options): express.RequestHandler; - module slashes { + namespace slashes { /** * Additional settings diff --git a/connect-timeout/connect-timeout.d.ts b/connect-timeout/connect-timeout.d.ts index 11093e01eb06dc..dbd4c5cfd8167a 100644 --- a/connect-timeout/connect-timeout.d.ts +++ b/connect-timeout/connect-timeout.d.ts @@ -5,7 +5,7 @@ /// -declare module Express { +declare namespace Express { export interface Request { /** * @summary Clears the timeout on the request. @@ -23,7 +23,7 @@ declare module Express { declare module "connect-timeout" { import express = require("express"); - module e { + namespace e { /** * @summary Interface for timeout options. * @interface diff --git a/connect/connect.d.ts b/connect/connect.d.ts index 8f5326713bd7c5..4ec11f042d530e 100644 --- a/connect/connect.d.ts +++ b/connect/connect.d.ts @@ -7,16 +7,16 @@ declare module "connect" { import * as http from "http"; - + /** * Create a new connect server. * @public */ function createServer(): createServer.Server; - - module createServer { + + namespace createServer { export type ServerHandle = HandleFunction | http.Server; - + export type SimpleHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse) => void; export type NextHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse, next: Function) => void; export type ErrorHandleFunction = (err: Error, req: http.IncomingMessage, res: http.ServerResponse, next: Function) => void; @@ -26,7 +26,7 @@ declare module "connect" { route: string; handle: ServerHandle; } - + export interface Server extends NodeJS.EventEmitter { (req: http.IncomingMessage, res: http.ServerResponse, next?: Function): void; @@ -48,7 +48,7 @@ declare module "connect" { */ use(fn: HandleFunction): Server; use(route: string, fn: HandleFunction): Server; - + /** * Handle server requests, punting them down * the middleware stack. @@ -56,7 +56,7 @@ declare module "connect" { * @private */ handle(req: http.IncomingMessage, res: http.ServerResponse, next: Function): void; - + /** * Listen for connections. * @@ -87,6 +87,6 @@ declare module "connect" { listen(handle: any, listeningListener?: Function): http.Server; } } - + export = createServer; } diff --git a/content-type/content-type.d.ts b/content-type/content-type.d.ts index 4a6c75068eddfc..6e901e7f862c9a 100644 --- a/content-type/content-type.d.ts +++ b/content-type/content-type.d.ts @@ -3,7 +3,7 @@ // Definitions by: Pine Mizune // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module ContentType { +declare namespace ContentType { interface MediaType { type: string; q?: number; @@ -29,4 +29,4 @@ declare module ContentType { declare module "content-type" { var x: ContentType.MediaTypeStatic; export = x; -} \ No newline at end of file +} diff --git a/contextjs/contextjs.d.ts b/contextjs/contextjs.d.ts index a25bec69c25584..3ae8c54502ac6b 100644 --- a/contextjs/contextjs.d.ts +++ b/contextjs/contextjs.d.ts @@ -22,7 +22,7 @@ declare module "contextjs" { preventDoubleContext?: boolean; } - module context { + namespace context { function init(settings?: InitSettings): void; function destroy(selector: any): void; function attach(selector: any, menuObjects: MenuObject[]): void; diff --git a/convict/convict.d.ts b/convict/convict.d.ts index 6a176cfa06059a..05323de2699449 100644 --- a/convict/convict.d.ts +++ b/convict/convict.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module "convict" { - module convict { + namespace convict { interface Format { name?: string; @@ -24,7 +24,7 @@ declare module "convict" { * - an array of enumerated values, e.g. ["production", "development", "testing"] * - built-in JavaScript type, i.e. Object, Array, String, Number, Boolean * - or if omitted, the Object.prototype.toString.call of the default value - * + * * The docs also state that any function that validates is ok too */ format?: string | Array | Function; @@ -52,13 +52,13 @@ declare module "convict" { * @returns {Object} A {JSON} compliant {Object} */ getSchema() : Object; - + /** * Exports all the properties (that is the keys and their current values) as a JSON string. * @returns {String} a string representing this object */ toString() : string; - + /** * Exports the schema as a JSON string. * @returns {String} a string representing the schema of this {Config} diff --git a/cookie-session/cookie-session.d.ts b/cookie-session/cookie-session.d.ts index 77332f55c4c791..812594a2993512 100644 --- a/cookie-session/cookie-session.d.ts +++ b/cookie-session/cookie-session.d.ts @@ -5,99 +5,99 @@ /// -declare module Express { +declare namespace Express { interface Request extends CookieSessionInterfaces.CookieSessionRequest {} } -declare module CookieSessionInterfaces { +declare namespace CookieSessionInterfaces { interface CookieSessionOptions { /** * The name of the cookie to set, defaults to session. */ name: string; - + /** * The list of keys to use to sign & verify cookie values. Set cookies are always signed with keys[0], while the other keys are valid for verification, allowing for key rotation. */ keys?: Array; - + /** * A string which will be used as single key if keys is not provided. */ secret?: string; - + /** * a number representing the milliseconds from Date.now() for expiry. */ maxAge?: number; - + /** * a Date object indicating the cookie's expiration date (expires at the end of session by default). */ expires?: Date; - + /** * a string indicating the path of the cookie (/ by default). */ path?: string; - + /** * a string indicating the domain of the cookie (no default). */ domain?: string; - + /** * a boolean indicating whether the cookie is only to be sent over HTTPS (false by default for HTTP, true by default for HTTPS). */ secure?: boolean; - + /** * a boolean indicating whether the cookie is only to be sent over HTTPS (use this if you handle SSL not in your node process). */ secureProxy?: boolean; - + /** * a boolean indicating whether the cookie is only to be sent over HTTP(S), and not made available to client JavaScript (true by default). */ httpOnly?: boolean; - + /** * a boolean indicating whether the cookie is to be signed (true by default). If this is true, another cookie of the same name with the .sig suffix appended will also be sent, with a 27-byte url-safe base64 SHA1 value representing the hash of cookie-name=cookie-value against the * first Keygrip key. This signature key is used to detect tampering the next time a cookie is received. */ signed?: boolean; - + /** * a boolean indicating whether to overwrite previously set cookies of the same name (true by default). If this is true, all cookies set during the same request with the same name (regardless of path or domain) are filtered out of the Set-Cookie header when setting this cookie. */ overwrite?: boolean; } - + interface CookieSessionObject { /** * Is true if the session has been changed during the request. */ isChanged: boolean; - + /** * Is true if the session is new. */ isNew: boolean; - + /** * Determine if the session has been populated with data or is empty. */ isPopulated: boolean; - + [propertyName: string]: any; } - + interface CookieSessionRequest { /** * Represents the session for the given request. */ session: CookieSessionObject; - + /** * Represents the session options for the current request. These options are a shallow clone of what was provided at middleware construction and can be altered to change cookie setting behavior on a per-request basis. */ @@ -107,7 +107,7 @@ declare module CookieSessionInterfaces { declare module "cookie-session" { import express = require('express'); - + function cookieSession(options?: CookieSessionInterfaces.CookieSessionOptions): express.RequestHandler; export = cookieSession; -} \ No newline at end of file +} diff --git a/cookiejs/cookiejs.d.ts b/cookiejs/cookiejs.d.ts index 4af9c801a7fa19..1bc4d2b5eeba67 100644 --- a/cookiejs/cookiejs.d.ts +++ b/cookiejs/cookiejs.d.ts @@ -6,7 +6,7 @@ declare function cookie(key : string, fallback?: string) : string; declare function cookie(keys : string[], fallback?: string) : string; -declare module cookie { +declare namespace cookie { export function set(key : string, value : string, options? : any) : void; export function set(obj : any, options? : any) : void; export function remove(key : string) : void; diff --git a/cookies/cookies.d.ts b/cookies/cookies.d.ts index 5cc5f698a37dc0..23621ee2ae42b4 100644 --- a/cookies/cookies.d.ts +++ b/cookies/cookies.d.ts @@ -8,7 +8,7 @@ declare module "cookies" { import * as http from "http" - module cookies { + namespace cookies { interface ICookies { /** * This extracts the cookie with the given name from the @@ -22,16 +22,16 @@ declare module "cookies" { * its value is returned. Otherwise, nothing is returned. */ get(name: string, opts: IOptions): string; - + /** - * This sets the given cookie in the response and returns - * the current context to allow chaining.If the value is omitted, + * This sets the given cookie in the response and returns + * the current context to allow chaining.If the value is omitted, * an outbound header with an expired date is used to delete the cookie. */ set(name: string, value: string): ICookies; /** - * This sets the given cookie in the response and returns - * the current context to allow chaining.If the value is omitted, + * This sets the given cookie in the response and returns + * the current context to allow chaining.If the value is omitted, * an outbound header with an expired date is used to delete the cookie. */ set(name: string, value: string, opts: IOptions): ICookies; @@ -97,4 +97,4 @@ declare module "cookies" { const cookies: CookiesStatic; export = cookies -} \ No newline at end of file +} diff --git a/cordova-ionic/plugins/keyboard.d.ts b/cordova-ionic/plugins/keyboard.d.ts index 372190d0f07cba..409811f8d22d22 100644 --- a/cordova-ionic/plugins/keyboard.d.ts +++ b/cordova-ionic/plugins/keyboard.d.ts @@ -3,7 +3,7 @@ // Definitions by: Hendrik Maus // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Ionic { +declare namespace Ionic { interface Keyboard { /** @@ -17,11 +17,11 @@ declare module Ionic { * Close the keyboard if it is open. */ close(): void; - + /** * Force keyboard to be shown on Android. * This typically helps if autofocus on a text element does not pop up the keyboard automatically - * + * * Supported Platforms: Android, Blackberry 10 */ show(): void; diff --git a/cordova-plugin-ibeacon/cordova-plugin-ibeacon.d.ts b/cordova-plugin-ibeacon/cordova-plugin-ibeacon.d.ts index ff76fb1dd5a116..537ae00071704c 100644 --- a/cordova-plugin-ibeacon/cordova-plugin-ibeacon.d.ts +++ b/cordova-plugin-ibeacon/cordova-plugin-ibeacon.d.ts @@ -9,7 +9,7 @@ interface CordovaPlugins { locationManager: BeaconPlugin.LocationManager; } -declare module BeaconPlugin { +declare namespace BeaconPlugin { /** * Beacon Plugin. */ diff --git a/cordova-plugin-insomnia/cordova-plugin-insomnia.d.ts b/cordova-plugin-insomnia/cordova-plugin-insomnia.d.ts index a087da4fdea50f..7b37c12001707a 100644 --- a/cordova-plugin-insomnia/cordova-plugin-insomnia.d.ts +++ b/cordova-plugin-insomnia/cordova-plugin-insomnia.d.ts @@ -7,10 +7,10 @@ interface Plugins { insomnia: InsomniaPlugin.Insomnia; } -declare module InsomniaPlugin { +declare namespace InsomniaPlugin { export interface Insomnia { - + /** * Prevent the screen of the mobile device from falling asleep. */ @@ -21,4 +21,4 @@ declare module InsomniaPlugin { */ allowSleepAgain(success?: () => any, fail?: () => any): void; } -} \ No newline at end of file +} diff --git a/cordova-plugin-ouralabs/cordova-plugin-ouralabs.d.ts b/cordova-plugin-ouralabs/cordova-plugin-ouralabs.d.ts index d035447c083a1c..0756b13c6e9558 100644 --- a/cordova-plugin-ouralabs/cordova-plugin-ouralabs.d.ts +++ b/cordova-plugin-ouralabs/cordova-plugin-ouralabs.d.ts @@ -3,7 +3,7 @@ // Definitions by: Justin Unterreiner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module OuralabsPlugin { +declare namespace OuralabsPlugin { interface OuralabsStatic { @@ -23,7 +23,7 @@ declare module OuralabsPlugin { /** * Initialize the Ourlabs plugin with the given channel ID string value. * You can obtain your channel ID from the Ouralabs dashboard. - * + * * @param channelId The ID of the channel that logs will be written to. * @param successCallback The success callback for this asynchronous function. * @param failureCallback The failure callback for this asynchronous function; receives an error string. @@ -32,7 +32,7 @@ declare module OuralabsPlugin { /** * Used to ensure values logged via the plugin are also displayed in the browser's console. - * + * * @param enable True to enable logs to show up in the browser's console, false to disable. */ setLogToBrowserConsole(enable: boolean): void; @@ -40,14 +40,14 @@ declare module OuralabsPlugin { /** * Used to enable hooking of the browser's console logging functions (eg console.log, * console.error, etc) to ensure that these logs get logged via Ouralabs. - * + * * @param enable True to enable hooking of the console log functions, false to disable. */ setHookBrowserConsole(enable: boolean): void; /** * Allows setting of the three arbitrary attribute values that are stored with the device information. - * + * * @param [string] attribute1 - The (optional) attribute value to set for the first attribute. * @param [string] attribute2 - The (optional) attribute value to set for the first attribute. * @param [string] attribute3 - The (optional) attribute value to set for the first attribute. @@ -58,7 +58,7 @@ declare module OuralabsPlugin { /** * Logs a log message of level TRACE with the given information. - * + * * @param tag The tag for the log entry. * @param message The body of the log message. * @param metadata An optional object to be appended to the log message in JSON format. If the object cannot be serialized into JSON it will be flattened into key/value pairs. @@ -69,7 +69,7 @@ declare module OuralabsPlugin { /** * Logs a log message of level DEBUG with the given information. - * + * * @param tag The tag for the log entry. * @param message The body of the log message. * @param metadata An optional object to be appended to the log message in JSON format. If the object cannot be serialized into JSON it will be flattened into key/value pairs. @@ -80,7 +80,7 @@ declare module OuralabsPlugin { /** * Logs a log message of level INFO with the given information. - * + * * @param tag The tag for the log entry. * @param message The body of the log message. * @param metadata An optional object to be appended to the log message in JSON format. If the object cannot be serialized into JSON it will be flattened into key/value pairs. @@ -91,7 +91,7 @@ declare module OuralabsPlugin { /** * Logs a log message of level WARN with the given information. - * + * * @param tag The tag for the log entry. * @param message The body of the log message. * @param metadata An optional object to be appended to the log message in JSON format. If the object cannot be serialized into JSON it will be flattened into key/value pairs. @@ -102,7 +102,7 @@ declare module OuralabsPlugin { /** * Logs a log message of level ERROR with the given information. - * + * * @param tag The tag for the log entry. * @param message The body of the log message. * @param metadata An optional object to be appended to the log message in JSON format. If the object cannot be serialized into JSON it will be flattened into key/value pairs. @@ -113,7 +113,7 @@ declare module OuralabsPlugin { /** * Logs a log message of level FATAL with the given information. - * + * * @param tag The tag for the log entry. * @param message The body of the log message. * @param metadata An optional object to be appended to the log message in JSON format. If the object cannot be serialized into JSON it will be flattened into key/value pairs. @@ -124,7 +124,7 @@ declare module OuralabsPlugin { /** * Logs a message with the given information. - * + * * @param logLevel The level of the log; see OuralabsPlugin.LogLevels for possible values. * @param tag The tag for the log entry. * @param message The body of the log message. diff --git a/cordova-plugin-spinner/cordova-plugin-spinner.d.ts b/cordova-plugin-spinner/cordova-plugin-spinner.d.ts index a45961a73d60f6..7557fcbc6d1b87 100644 --- a/cordova-plugin-spinner/cordova-plugin-spinner.d.ts +++ b/cordova-plugin-spinner/cordova-plugin-spinner.d.ts @@ -3,15 +3,15 @@ // Definitions by: Justin Unterreiner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module SpinnerPlugin { +declare namespace SpinnerPlugin { interface SpinnerPluginStatic { /** * Blocks user input using an indeterminate spinner. - * + * * An optional label can be shown below the spinner. - * + * * @param labelText The optional value to show in a label. * @param successCallback The success callback for this asynchronous function. * @param failureCallback The failure callback for this asynchronous function; receives an error string. @@ -20,7 +20,7 @@ declare module SpinnerPlugin { /** * Allows user input by hiding the indeterminate spinner. - * + * * @param successCallback The success callback for this asynchronous function. * @param failureCallback The failure callback for this asynchronous function; receives an error string. */ diff --git a/cordovarduino/cordovarduino.d.ts b/cordovarduino/cordovarduino.d.ts index f9587804b14ed7..8ec58f2f274bde 100644 --- a/cordovarduino/cordovarduino.d.ts +++ b/cordovarduino/cordovarduino.d.ts @@ -3,7 +3,7 @@ // Definitions by: Hendrik Maus // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Cordovardunio { +declare namespace Cordovardunio { interface Serial { /** * Request permission to interact with the serial port. diff --git a/core-js/core-js.d.ts b/core-js/core-js.d.ts index e03d76e380b8dc..16441df2337d2d 100644 --- a/core-js/core-js.d.ts +++ b/core-js/core-js.d.ts @@ -835,7 +835,7 @@ declare var Promise: PromiseConstructor; // Modules: es6.reflect // ############################################################################################# -declare module Reflect { +declare namespace Reflect { function apply(target: Function, thisArgument: any, argumentsList: ArrayLike): any; function construct(target: Function, argumentsList: ArrayLike, newTarget?: any): any; function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean; @@ -1265,8 +1265,8 @@ interface String { declare function delay(msec: number): Promise; -declare module core { - module Reflect { +declare namespace core { + namespace Reflect { function apply(target: Function, thisArgument: any, argumentsList: ArrayLike): any; function construct(target: Function, argumentsList: ArrayLike): any; function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean; diff --git a/cors/cors.d.ts b/cors/cors.d.ts index 16f6205a5374ea..eaf917fb1f8a83 100644 --- a/cors/cors.d.ts +++ b/cors/cors.d.ts @@ -8,7 +8,7 @@ declare module "cors" { import express = require('express'); - module e { + namespace e { interface CorsOptions { origin?: any; methods?: any; @@ -21,4 +21,4 @@ declare module "cors" { function e(options?: e.CorsOptions): express.RequestHandler; export = e; -} \ No newline at end of file +} diff --git a/couchbase/couchbase.d.ts b/couchbase/couchbase.d.ts index 0eccdc93396162..351c9a806dc930 100644 --- a/couchbase/couchbase.d.ts +++ b/couchbase/couchbase.d.ts @@ -16,130 +16,130 @@ declare module 'couchbase' { enum errors { /** Operation was successful. **/ success, - + /** Authentication should continue. **/ authContinue, - + /** Error authenticating. **/ authError, - + /** The passed incr/decr delta was invalid. **/ deltaBadVal, - + /** Object is too large to be stored on the cluster. **/ objectTooBig, - + /** Operation was successful. **/ serverBusy, - + /** Server is too busy to handle your request right now. **/ cLibInternal, - + /** An invalid arguement was passed. **/ cLinInvalidArgument, - + /** The server is out of memory. **/ cLibOutOfMemory, - + /** An invalid range was specified. **/ invalidRange, - + /** An unknown error occured within libcouchbase. **/ cLibGenericError, - + /** A temporary error occured. Try again. **/ temporaryError, - + /** The key already exists on the server. **/ keyAlreadyExists, - + /** The key does not exist on the server. **/ keyNotFound, - + /** Failed to open library. **/ failedToOpenLibrary, - + /** Failed to find expected symbol in library. **/ failedToFindSymbol, - + /** A network error occured. **/ networkError, - + /** Operations were performed on the incorrect server. **/ wrongServer, - + /** Operations were performed on the incorrect server. **/ notMyVBucket, - + /** The document was not stored. **/ notSorted, - + /** An unsupported operation was sent to the server. **/ notSupported, - + /** An unknown command was sent to the server. **/ unknownCommand, - + /** An unknown host was specified. **/ unknownHost, - + /** A protocol error occured. **/ protocolError, - + /** The operation timed out. **/ timedOut, - + /** Error connecting to the server. **/ connectError, - + /** The bucket you request was not found. **/ bukcketNotFound, - + /** libcouchbase is out of memory. **/ clientOutOfMemory, - + /** A temporary error occured in libcouchbase. Try again. **/ clientTemporaryError, - + /** A bad handle was passed. **/ badHandle, - + /** A server bug caused the operation to fail. **/ serverBug, - + /** The host format specified is invalid. **/ invalidHostFormat, - + /** Not enough nodes to meet the operations durability requirements. **/ notEnoughNodes, - + /** Duplicate items. **/ duplicateItems, - + /** Key mapping failed and could not match a server. **/ noMatchingServerForKey, - + /** A bad environment variable was specified. **/ badEnvironmentVariable, - + /** Couchnode is out of memory. **/ outOfMemory, - + /** Invalid arguements were passed. **/ invalidArguments, - + /** An error occured while trying to schedule the operation. **/ schedulingError, - + /** Not all operations completed successfully. **/ checkResults, - + /** A generic error occured in Couchnode. **/ genericError, - + /** The specified durability requirements could not be satisfied. **/ durabilityFailed, - + /** An error occured during a RESTful operation. **/ restError } @@ -213,30 +213,30 @@ declare module 'couchbase' { */ interface ClusterManager { /** - * - * @param name - * @param callback + * + * @param name + * @param callback */ createBucket(name: string, callback: Function): void; /** - * - * @param name - * @param opts - * @param callback + * + * @param name + * @param opts + * @param callback */ createBucket(name: string, opts: any, callback: Function): void; /** - * - * @param callback + * + * @param callback */ listBuckets(callback: Function): void; /** - * - * @param name - * @param callback + * + * @param name + * @param callback */ removeBucket(name: string, callback: Function): void; } @@ -349,7 +349,7 @@ declare module 'couchbase' { * A class for performing management operations against a bucket. This class should not be instantiated directly, but instead through the use of the Bucket#manager method instead. */ interface BucketManager { - + /** * Flushes the cluster, deleting all data stored within this bucket. Note that this method requires the Flush permission to be enabled on the bucket from the management console before it will work. * @param callback The callback function. @@ -358,7 +358,7 @@ declare module 'couchbase' { /** * Retrieves a specific design document from this bucket. - * @param name + * @param name * @param callback The callback function. */ getDesignDocument(name: string, callback: Function): void; @@ -371,27 +371,27 @@ declare module 'couchbase' { /** * Registers a design document to this bucket, failing if it already exists. - * @param name - * @param data + * @param name + * @param data * @param callback The callback function. - * @returns {} + * @returns {} */ insertDesignDocument(name: string, data: any, callback: Function): void; /** * Unregisters a design document from this bucket. - * @param name + * @param name * @param callback The callback function. - * @returns {} + * @returns {} */ removeDesignDocument(name: string, callback: Function): void; /** * Registers a design document to this bucket, overwriting any existing design document that was previously registered. - * @param name - * @param data + * @param name + * @param data * @param callback The callback function. - * @returns {} + * @returns {} */ upsertDesignDocument(name: string, data: any, callback: Function): void; } @@ -508,7 +508,7 @@ declare module 'couchbase' { stale(stale: ViewQuery.Update): ViewQuery; } - module ViewQuery { + namespace ViewQuery { /** * Enumeration for specifying on_error behaviour. */ @@ -576,7 +576,7 @@ declare module 'couchbase' { toString(): string; } - module N1qlQuery { + namespace N1qlQuery { /** * Enumeration for specifying N1QL consistency semantics. */ @@ -645,7 +645,7 @@ declare module 'couchbase' { /** * Specifies a bounding box to query the index for. This value must be an array of exactly 4 numbers which represents the left, top, right and bottom edges of the bounding box (in that order). - * @param bbox + * @param bbox */ bbox(bbox: number[]): SpatialQuery; @@ -674,7 +674,7 @@ declare module 'couchbase' { stale(stale: SpatialQuery.Update): SpatialQuery; } - module SpatialQuery { + namespace SpatialQuery { /** * Enumeration for specifying view update semantics. */ @@ -704,7 +704,7 @@ declare module 'couchbase' { * Returns the version of the Node.js library as a string. */ clientVersion: string; - + /** * Gets or sets the config throttling in milliseconds. The config throttling is the time that Bucket will wait before forcing a configuration refresh. If no refresh occurs before this period while a configuration is marked invalid, an update will be triggered. */ @@ -759,7 +759,7 @@ declare module 'couchbase' { append(key: any | Buffer, fragment: any, callback: Bucket.OpCallback): void; /** - * + * * @param key The target document key. * @param fragment The document's contents to append. * @param options The options object. @@ -775,9 +775,9 @@ declare module 'couchbase' { * @param callback The callback function. */ counter(key: any | Buffer, delta: number, callback: Bucket.OpCallback): void; - + /** - * + * * @param key The target document key. * @param delta The amount to add or subtract from the counter value. This value may be any non-zero integer. * @param options The options object. @@ -826,7 +826,7 @@ declare module 'couchbase' { * @param key The target document key. * @param options The options object. * @param callback The callback function. - * @returns {} + * @returns {} */ getAndLock(key: any, options: GetAndLockOptions, callback: Bucket.OpCallback): void; @@ -838,7 +838,7 @@ declare module 'couchbase' { * @param callback The callback function. */ getAndTouch(key: any | Buffer, expiry: number, options: any, callback: Bucket.OpCallback): void; - + /** * Retrieves a document and updates the expiry of the item at the same time. * @param key The target document key. @@ -876,7 +876,7 @@ declare module 'couchbase' { * @param callback The callback function. */ insert(key: any | Buffer, value: any, callback: Bucket.OpCallback): void; - + /** * Identical to Bucket#upsert but will fail if the document already exists. * @param key The target document key. @@ -1008,8 +1008,8 @@ declare module 'couchbase' { upsert(key: any | Buffer, value: any, options: UpsertOptions, callback: Bucket.OpCallback): void; } - module Bucket { - + namespace Bucket { + /** * his is used as a callback from executed queries. It is a shortcut method that automatically subscribes to the rows and error events of the Bucket.ViewQueryResponse. */ @@ -1066,7 +1066,7 @@ declare module 'couchbase' { */ interface DecoderFunction { /** - * + * * @param doc The data from Couchbase to decode. */ (doc: Bucket.TranscoderDoc): any @@ -1087,7 +1087,7 @@ declare module 'couchbase' { } - module N1qlQueryResponse { + namespace N1qlQueryResponse { /** * The meta-information available from a view query response. */ @@ -1114,7 +1114,7 @@ declare module 'couchbase' { } - module ViewQueryResponse { + namespace ViewQueryResponse { /** * The meta-information available from a view query response. */ @@ -1126,4 +1126,4 @@ declare module 'couchbase' { } } } -} \ No newline at end of file +} diff --git a/createjs-lib/createjs-lib.d.ts b/createjs-lib/createjs-lib.d.ts index dbe71f886071e5..db1cbeb9fe7fe0 100644 --- a/createjs-lib/createjs-lib.d.ts +++ b/createjs-lib/createjs-lib.d.ts @@ -16,7 +16,7 @@ // Library documentation : http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html -declare module createjs { +declare namespace createjs { export class Event { constructor(type: string, bubbles: boolean, cancelable: boolean); diff --git a/credential/credential.d.ts b/credential/credential.d.ts index d8497ec142d7d3..2934a090d46f02 100644 --- a/credential/credential.d.ts +++ b/credential/credential.d.ts @@ -8,7 +8,7 @@ declare module 'credential' { type HashCallback = (err: Error, hash: string) => void; type VerifyCallback = (err: Error, isValid: boolean) => void; - module credential { + namespace credential { function hash(password: string, callback: HashCallback): void; function verify(hash: string, password: string, callback: VerifyCallback): void; } diff --git a/crossfilter/crossfilter.d.ts b/crossfilter/crossfilter.d.ts index 078226b40d6fdc..646d8abeb0d449 100644 --- a/crossfilter/crossfilter.d.ts +++ b/crossfilter/crossfilter.d.ts @@ -3,7 +3,7 @@ // Definitions by: Schmulik Raskin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module CrossFilter { +declare namespace CrossFilter { export interface Selector { (value: T): any; diff --git a/crossroads/crossroads.d.ts b/crossroads/crossroads.d.ts index c3d1b1cf266116..6c3e17a832cc6c 100644 --- a/crossroads/crossroads.d.ts +++ b/crossroads/crossroads.d.ts @@ -5,7 +5,7 @@ /// -declare module CrossroadsJs { +declare namespace CrossroadsJs { export interface Route { matched: Signal; diff --git a/crypto-js/crypto-js.d.ts b/crypto-js/crypto-js.d.ts index 13bba489b69720..19ea3cd196a0c0 100644 --- a/crypto-js/crypto-js.d.ts +++ b/crypto-js/crypto-js.d.ts @@ -3,7 +3,7 @@ // Definitions by: Michael Zabka // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module CryptoJS { +declare namespace CryptoJS { type Hash = (message: string, key?: string, ...options: any[]) => string; export interface Hashes { diff --git a/cryptojs/cryptojs.d.ts b/cryptojs/cryptojs.d.ts index 3339353b1ecb3d..ca7cfcc21977e2 100644 --- a/cryptojs/cryptojs.d.ts +++ b/cryptojs/cryptojs.d.ts @@ -5,8 +5,8 @@ declare var CryptoJS: CryptoJS.CryptoJSStatic; -declare module CryptoJS{ - module lib{ +declare namespace CryptoJS{ + namespace lib{ interface Base{ extend(overrides: Object): Object init(...args: any[]): void @@ -208,7 +208,7 @@ declare module CryptoJS{ } } - module enc{ + namespace enc{ interface IEncoder{ stringify(wordArray: lib.WordArray): string } @@ -228,7 +228,7 @@ declare module CryptoJS{ } } - module kdf{ + namespace kdf{ interface KdfStatic{ OpenSSL: IKdfImpl } @@ -239,7 +239,7 @@ declare module CryptoJS{ } } - module format{ + namespace format{ interface FormatStatic{ OpenSSL: IFormatter Hex: IFormatter @@ -251,7 +251,7 @@ declare module CryptoJS{ } } - module algo{ + namespace algo{ interface AlgoStatic{ AES: algo.AES DES: algo.DES @@ -349,7 +349,7 @@ declare module CryptoJS{ interface RC4Drop extends RC4 { } } - module mode{ + namespace mode{ interface ModeStatic{ CBC: mode.CBC CFB: mode.CFB @@ -378,7 +378,7 @@ declare module CryptoJS{ interface OFB extends IBlockCipherModeImpl{} } - module pad{ + namespace pad{ interface PadStatic{ Pkcs7: pad.Pkcs7 AnsiX923: pad.AnsiX923 @@ -401,7 +401,7 @@ declare module CryptoJS{ interface NoPadding extends IPaddingImpl{} } - module x64{ + namespace x64{ interface X64Static{ Word: x64.Word WordArray: x64.WordArray diff --git a/csurf/csurf.d.ts b/csurf/csurf.d.ts index 3ad72988d0eb20..ed2b2e68eda36c 100644 --- a/csurf/csurf.d.ts +++ b/csurf/csurf.d.ts @@ -5,7 +5,7 @@ /// -declare module Express { +declare namespace Express { export interface Request { csrfToken(): string; } @@ -19,7 +19,7 @@ declare module "csurf" { cookie?: csurf.CookieOptions | boolean; }): express.RequestHandler; - module csurf { + namespace csurf { export interface CookieOptions extends express.CookieOptions { key: string; } diff --git a/csv-stringify/csv-stringify.d.ts b/csv-stringify/csv-stringify.d.ts index c15e1bde1b11c0..a1cc16a15b595c 100644 --- a/csv-stringify/csv-stringify.d.ts +++ b/csv-stringify/csv-stringify.d.ts @@ -7,7 +7,7 @@ declare module "csv-stringify" { - module stringify { + namespace stringify { interface StringifyOpts { /** * List of fields, applied when transform returns an object, order matters, read the transformer documentation for additionnal information, columns are auto discovered when the user write object, see the "header" option on how to print columns names on the first line. diff --git a/cucumber/cucumber.d.ts b/cucumber/cucumber.d.ts index 2b0eae74b86ff1..d0e742d9c27b66 100644 --- a/cucumber/cucumber.d.ts +++ b/cucumber/cucumber.d.ts @@ -3,7 +3,7 @@ // Definitions by: Abraão Alves // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module cucumber { +declare namespace cucumber { export interface CallbackStepDefinition{ pending : () => PromiseLike; diff --git a/custom-error-generator/custom-error-generator.d.ts b/custom-error-generator/custom-error-generator.d.ts index 20ab42ea8f5f4d..b6c3872bda2b60 100644 --- a/custom-error-generator/custom-error-generator.d.ts +++ b/custom-error-generator/custom-error-generator.d.ts @@ -5,7 +5,7 @@ declare module "custom-error-generator" { function createError(name: string, parameters?: Object, Constructor?: any): any; - module createError { + namespace createError { } export = createError; } diff --git a/d3.cloud.layout/d3.cloud.layout.d.ts b/d3.cloud.layout/d3.cloud.layout.d.ts index fc6893a37b467c..a66c6c7a658954 100644 --- a/d3.cloud.layout/d3.cloud.layout.d.ts +++ b/d3.cloud.layout/d3.cloud.layout.d.ts @@ -5,12 +5,12 @@ /// -declare module d3 { - module layout { +declare namespace d3 { + namespace layout { export function cloud(): Cloud; export function cloud(): Cloud; - module cloud { + namespace cloud { interface Word { text?: string; font?: string; diff --git a/d3/d3-tests.ts b/d3/d3-tests.ts index f4efa75d40b022..c9027b08893a3e 100644 --- a/d3/d3-tests.ts +++ b/d3/d3-tests.ts @@ -899,7 +899,7 @@ function populationPyramid() { } //Example from http://bl.ocks.org/MoritzStefaner/1377729 -module forcedBasedLabelPlacemant { +namespace forcedBasedLabelPlacemant { interface Node extends d3.layout.force.Node { label: string; } @@ -1034,7 +1034,7 @@ module forcedBasedLabelPlacemant { } //Example from http://bl.ocks.org/mbostock/1125997 -module forceCollapsable { +namespace forceCollapsable { interface Node extends d3.layout.force.Node { id: string; _children: Node[]; @@ -1504,7 +1504,7 @@ function convexHull() { } // example from http://bl.ocks.org/mbostock/1044242 -module hierarchicalEdgeBundling { +namespace hierarchicalEdgeBundling { interface Result extends d3.layout.cluster.Result { parent: Result; size: number; @@ -1721,7 +1721,7 @@ function streamGraph() { } // example from http://mbostock.github.io/d3/talk/20111116/force-collapsible.html -module forceCollapsable2 { +namespace forceCollapsable2 { interface Node extends d3.layout.force.Node { children: Node[]; _children: Node[]; @@ -2705,4 +2705,4 @@ function testMultiUtcFormat() { ["%B", function(d) { return d.getMonth(); }], ["%Y", function() { return true; }] ]); -} \ No newline at end of file +} diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 715c548d508fb0..c80a922f1f659e 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -3,7 +3,7 @@ // Definitions by: Alex Ford , Boris Yankov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module d3 { +declare namespace d3 { /** * The current version of D3.js. */ @@ -34,7 +34,7 @@ declare module d3 { */ export function selection(): Selection; - module selection { + namespace selection { export var prototype: Selection; /** @@ -800,7 +800,7 @@ declare module d3 { } export function transition(): Transition; - module transition { + namespace transition { export var prototype: Transition; } @@ -916,7 +916,7 @@ declare module d3 { export function timer(func: () => any, delay?: number, time?: number): void; - module timer { + namespace timer { export function flush(): void; } @@ -1802,7 +1802,7 @@ declare module d3 { export module format { export function multi(formats: Array<[string, (d: Date) => boolean|number]>): Format; export function utc(specifier: string): Format; - module utc { + namespace utc { export function multi(formats: Array<[string, (d: Date) => boolean|number]>): Format; } @@ -1873,7 +1873,7 @@ declare module d3 { export function zoom(): Zoom; - module zoom { + namespace zoom { interface Scale { domain(): number[]; domain(values: number[]): Scale; @@ -2044,80 +2044,80 @@ declare module d3 { export function albers(): ConicProjection; export function albersUsa(): ConicProjection; export function azimuthalEqualArea(): InvertibleProjection; - module azimuthalEqualArea { + namespace azimuthalEqualArea { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function azimuthalEquidistant(): InvertibleProjection; - module azimuthalEquidistant { + namespace azimuthalEquidistant { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function conicConformal(): ConicProjection; - module conicConformal { + namespace conicConformal { export function raw(phi0: number, phi1: number): RawInvertibleProjection; } export function conicEqualArea(): ConicProjection; - module conicEqualArea { + namespace conicEqualArea { export function raw(phi0: number, phi1: number): RawInvertibleProjection; } export function conicEquidistant(): ConicProjection; - module conicEquidistant { + namespace conicEquidistant { export function raw(phi0: number, phi1: number): RawInvertibleProjection; } export function equirectangular(): InvertibleProjection; - module equirectangular { + namespace equirectangular { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function gnomonic(): InvertibleProjection; - module gnomonic { + namespace gnomonic { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function mercator(): InvertibleProjection; - module mercator { + namespace mercator { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function orthographic(): InvertibleProjection; - module orthographic { + namespace orthographic { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function stereographic(): InvertibleProjection; - module stereographic { + namespace stereographic { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } export function transverseMercator(): InvertibleProjection; - module transverseMercator { + namespace transverseMercator { export function raw(lambda: number, phi: number): [number, number]; - module raw { + namespace raw { export function invert(x: number, y: number): [number, number]; } } @@ -2188,7 +2188,7 @@ declare module d3 { } } - module svg { + namespace svg { export function line(): Line<[number, number]>; export function line(): Line; @@ -2226,7 +2226,7 @@ declare module d3 { defined(defined: (d: T, i: number) => boolean): Line; } - module line { + namespace line { export function radial(): Radial<[number, number]>; export function radial(): Radial; @@ -2314,7 +2314,7 @@ declare module d3 { defined(defined: (d: T, i: number) => boolean): Area; } - module area { + namespace area { export function radial(): Radial<[number, number]>; export function radial(): Radial; @@ -2368,7 +2368,7 @@ declare module d3 { export function arc(): Arc; export function arc(): Arc; - module arc { + namespace arc { interface Arc { innerRadius: number; outerRadius: number; @@ -2434,7 +2434,7 @@ declare module d3 { export function chord(): Chord, Node>; export function chord(): Chord; - module chord { + namespace chord { interface Link { source: Node; target: Node; @@ -2475,7 +2475,7 @@ declare module d3 { export function diagonal(): Diagonal, Node>; export function diagonal(): Diagonal; - module diagonal { + namespace diagonal { interface Link { source: Node; target: Node; @@ -2502,7 +2502,7 @@ declare module d3 { projection(projection: (d: Node, i: number) => [number, number]): Diagonal; } - module diagonal { + namespace diagonal { export function radial(): Radial, Node>; export function radial(): Radial, Node>; export function radial(): Radial; @@ -2562,7 +2562,7 @@ declare module d3 { export function brush(): Brush; export function brush(): Brush; - module brush { + namespace brush { interface Scale { domain(): number[]; domain(domain: number[]): Scale; @@ -2745,11 +2745,11 @@ declare module d3 { } } - module layout { + namespace layout { export function bundle(): Bundle; export function bundle(): Bundle - module bundle { + namespace bundle { interface Node { parent: Node; } @@ -2766,7 +2766,7 @@ declare module d3 { export function chord(): Chord; - module chord { + namespace chord { interface Link { source: Node; target: Node; @@ -2811,7 +2811,7 @@ declare module d3 { export function cluster(): Cluster; export function cluster(): Cluster; - module cluster { + namespace cluster { interface Result { parent?: Result; children?: Result[]; @@ -2856,7 +2856,7 @@ declare module d3 { export function force(): Force, Node>; export function force, Node extends force.Node>(): Force; - module force { + namespace force { interface Link { source: T; target: T; @@ -2932,7 +2932,7 @@ declare module d3 { export function hierarchy(): Hierarchy; export function hierarchy(): Hierarchy; - module hierarchy { + namespace hierarchy { interface Result { parent?: Result; children?: Result[]; @@ -2959,7 +2959,7 @@ declare module d3 { export function histogram(): Histogram; export function histogram(): Histogram; - module histogram { + namespace histogram { interface Bin extends Array { x: number; dx: number; @@ -2988,7 +2988,7 @@ declare module d3 { export function pack(): Pack; export function pack(): Pack; - module pack { + namespace pack { interface Node { parent?: Node; children?: Node[]; @@ -3035,7 +3035,7 @@ declare module d3 { export function partition(): Partition; export function partition(): Partition; - module partition { + namespace partition { interface Link { source: T; target: T; @@ -3075,7 +3075,7 @@ declare module d3 { export function pie(): Pie; export function pie(): Pie; - module pie { + namespace pie { interface Arc { value: number; startAngle: number; @@ -3110,7 +3110,7 @@ declare module d3 { export function stack(): Stack; export function stack(): Stack; export function stack(): Stack; - module stack { + namespace stack { interface Value { x: number; y: number; @@ -3152,7 +3152,7 @@ declare module d3 { export function tree(): Tree; export function tree(): Tree; - module tree { + namespace tree { interface Link { source: T; target: T; @@ -3196,7 +3196,7 @@ declare module d3 { export function treemap(): Treemap; export function treemap(): Treemap; - module treemap { + namespace treemap { interface Node { parent?: Node; children?: Node[]; @@ -3257,11 +3257,11 @@ declare module d3 { } } - module geom { + namespace geom { export function voronoi(): Voronoi<[number, number]>; export function voronoi(): Voronoi; - module voronoi { + namespace voronoi { interface Link { source: T; target: T; @@ -3293,7 +3293,7 @@ declare module d3 { export function quadtree(): Quadtree<[number, number]>; export function quadtree(nodes: T[], x1?: number, y1?: number, x2?: number, y2?: number): quadtree.Quadtree; - module quadtree { + namespace quadtree { interface Node { nodes: [Node, Node, Node, Node]; leaf: boolean; diff --git a/d3/plugins/d3.superformula.d.ts b/d3/plugins/d3.superformula.d.ts index d9252a45d48e8b..f8d54a9da498a4 100644 --- a/d3/plugins/d3.superformula.d.ts +++ b/d3/plugins/d3.superformula.d.ts @@ -1,9 +1,9 @@ /// -declare module d3 { +declare namespace d3 { export function superformula(): Superformula; - module superformula { + namespace superformula { interface Type { m: number; n1: number; diff --git a/dagre-d3/dagre-d3-tests.ts b/dagre-d3/dagre-d3-tests.ts index e3e068816cb2f6..f73389015fce67 100644 --- a/dagre-d3/dagre-d3-tests.ts +++ b/dagre-d3/dagre-d3-tests.ts @@ -1,5 +1,5 @@ /// -module DagreD3Tests { +namespace DagreD3Tests { var gDagre = new dagreD3.graphlib.Graph(); var graph = gDagre.graph(); diff --git a/dagre-d3/dagre-d3.d.ts b/dagre-d3/dagre-d3.d.ts index 277fa5fa921fc9..c8484995e312c2 100644 --- a/dagre-d3/dagre-d3.d.ts +++ b/dagre-d3/dagre-d3.d.ts @@ -6,7 +6,7 @@ /// /// -declare module Dagre { +declare namespace Dagre { interface DagreD3Factory extends Dagre.DagreFactory { render: Render; diff --git a/dagre/dagre-tests.ts b/dagre/dagre-tests.ts index 62172794436923..a4eaad32f3a417 100644 --- a/dagre/dagre-tests.ts +++ b/dagre/dagre-tests.ts @@ -1,5 +1,5 @@ /// -module DagreTests { +namespace DagreTests { var gDagre = new dagre.graphlib.Graph(); gDagre.setGraph({}) .setDefaultEdgeLabel(function(){ return ; }) diff --git a/dagre/dagre.d.ts b/dagre/dagre.d.ts index 27ca1fa1bc9991..2b99bf4d5a71dc 100644 --- a/dagre/dagre.d.ts +++ b/dagre/dagre.d.ts @@ -2,7 +2,8 @@ // Project: https://github.com/cpettitt/dagre // Definitions by: Qinfeng Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module Dagre{ + +declare namespace Dagre{ interface DagreFactory { graphlib: GraphLib; layout(graph: Graph): void; diff --git a/dat-gui/dat-gui.d.ts b/dat-gui/dat-gui.d.ts index 0eacedfdb3811b..5a902b228bdf6f 100644 --- a/dat-gui/dat-gui.d.ts +++ b/dat-gui/dat-gui.d.ts @@ -3,7 +3,7 @@ // Definitions by: Satoru Kimura // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module dat { +declare namespace dat { export class GUI { constructor(option?: GUIParams); diff --git a/datatables-buttons/datatables-buttons.d.ts b/datatables-buttons/datatables-buttons.d.ts index fd047f0a8a7c56..e589ea8c5e2fb2 100644 --- a/datatables-buttons/datatables-buttons.d.ts +++ b/datatables-buttons/datatables-buttons.d.ts @@ -6,16 +6,16 @@ /// /// -declare module DataTables { - export interface Settings { +declare namespace DataTables { + export interface Settings { /** * Buttons extension options */ buttons?: boolean | string[] | ButtonSettings[]; } - + //#region "button-settings" - + /** * Buttons extension options */ @@ -110,4 +110,4 @@ declare module DataTables { (e: any, dt: DataTables.DataTable, node: JQuery, config: any): void } //#endregion "button-settings -} \ No newline at end of file +} diff --git a/datejs/sugarpak.d.ts b/datejs/sugarpak.d.ts index 271962d105ce0f..5ed410740d6d21 100644 --- a/datejs/sugarpak.d.ts +++ b/datejs/sugarpak.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** SugarPak.js - Domain Specific Language - Syntactical Sugar */ -declare module sugarpak { +declare namespace sugarpak { export interface IAddOrientation { millisecond(): Date; @@ -60,7 +60,7 @@ declare module sugarpak { feb(): Date; mar(): Date; apr(): Date; - // may + // may jun(): Date; jul(): Date; aug(): Date; @@ -255,7 +255,7 @@ interface DateConstructor { feb(): Date; mar(): Date; apr(): Date; - // may + // may jun(): Date; jul(): Date; aug(): Date; @@ -268,4 +268,4 @@ interface DateConstructor { interface Number extends sugarpak.IDateElement { // extend the Number type with all the Date goodness -} \ No newline at end of file +} diff --git a/dcjs/dc-1.6.0.d.ts b/dcjs/dc-1.6.0.d.ts index aac2240b80ffcd..cf410f165976da 100644 --- a/dcjs/dc-1.6.0.d.ts +++ b/dcjs/dc-1.6.0.d.ts @@ -10,7 +10,7 @@ -declare module dc { +declare namespace dc { // helper for get/set situation interface IGetSet { @@ -66,14 +66,14 @@ export interface ILegendwidget { right: number; bottom: number; left: number; - + } export interface IMarginable { margins: IGetSet; } - // abstract interfaces + // abstract interfaces export interface IAbstractColorChart { colorDomain: IGetSet; } @@ -90,7 +90,7 @@ export interface ILegendwidget { yAxisPadding: IGetSet; xAxisPadding: IGetSet; renderHorizontalGridLines: IGetSet; - + } export interface IAbstractBubblechart { @@ -112,8 +112,8 @@ export interface ILegendwidget { } - // chart interfaces - + // chart interfaces + export interface IBubblechart extends IBaseChart, diff --git a/dcjs/dc.d.ts b/dcjs/dc.d.ts index 8f7671648e654c..afb8cc06c26681 100644 --- a/dcjs/dc.d.ts +++ b/dcjs/dc.d.ts @@ -8,7 +8,7 @@ /// /// -declare module DC { +declare namespace DC { // helper for get/set situation export interface IGetSet { (): T; diff --git a/debug/debug.d.ts b/debug/debug.d.ts index ec5fb8c39f38ac..80d7fc30c49e6d 100644 --- a/debug/debug.d.ts +++ b/debug/debug.d.ts @@ -10,7 +10,7 @@ declare module 'debug' { export = debug; } -declare module debug { +declare namespace debug { export interface IDebug { (namespace: string): debug.IDebugger, coerce: (val: any) => any, diff --git a/decimal.js/decimal.js.d.ts b/decimal.js/decimal.js.d.ts index 25dfbe5f478c7d..16f783944816c5 100644 --- a/decimal.js/decimal.js.d.ts +++ b/decimal.js/decimal.js.d.ts @@ -10,7 +10,7 @@ declare module 'decimal.js' { export = Decimal; } -declare module decimal { +declare namespace decimal { enum RoundingMode { /** diff --git a/deep-diff/deep-diff.d.ts b/deep-diff/deep-diff.d.ts index c23c44791ad331..a0becbf9706109 100644 --- a/deep-diff/deep-diff.d.ts +++ b/deep-diff/deep-diff.d.ts @@ -3,7 +3,7 @@ // Definitions by: ZauberNerd // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module deepDiff { +declare namespace deepDiff { interface IDiff { kind: string; path: string[]; diff --git a/deep-freeze/deep-freeze.d.ts b/deep-freeze/deep-freeze.d.ts index 46d04c981ef1e2..8ab079d6de30d7 100644 --- a/deep-freeze/deep-freeze.d.ts +++ b/deep-freeze/deep-freeze.d.ts @@ -3,7 +3,7 @@ // Definitions by: Bart van der Schoor // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module DeepFreeze { +declare namespace DeepFreeze { export interface DeepFreezeInterface { (obj: T): T; } diff --git a/del/del.d.ts b/del/del.d.ts index 066080db4f1fdb..6ed59efa3904ba 100644 --- a/del/del.d.ts +++ b/del/del.d.ts @@ -14,7 +14,7 @@ declare module "del" { function Del(patterns: string[]): Promise; function Del(patterns: string[], options: Del.Options): Promise; - module Del { + namespace Del { function sync(pattern: string, options?: Options): string[]; function sync(patterns: string[], options?: Options): string[]; diff --git a/deployJava/deployJava.d.ts b/deployJava/deployJava.d.ts index b50065772c8ad8..4496b3d1f9c1df 100644 --- a/deployJava/deployJava.d.ts +++ b/deployJava/deployJava.d.ts @@ -3,7 +3,7 @@ // Definitions by: Cyril Schumacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module DeployJava { +declare namespace DeployJava { /** * @summary Interface for {@link deployJava} object. * @author Cyril Schumacher @@ -65,7 +65,7 @@ declare module DeployJava { returnPage: string; /** - * @summary Determines if the browser has allowed the Java plugin. + * @summary Determines if the browser has allowed the Java plugin. * @return {boolean} True if the Java plugin is allowed, otherwise, False. */ allowPlugin(): boolean; @@ -289,12 +289,12 @@ declare module DeployJava { */ versionCheck(versionPattern: string): boolean; - /** + /** * @summary Write in outputs an applet tag for applet with the specified attributes and parameters. * - * Each key/value pair in attributes becomes an attribute of the applet tag + * Each key/value pair in attributes becomes an attribute of the applet tag * itself, while key/value pairs in parameters become tags. - * No version checking or other special behaviors are performed; the tag is + * No version checking or other special behaviors are performed; the tag is * simply written to the page using document.writeln(). * As document.writeln() is generally only safe to use while the page is * being rendered, you should never call this function after the page @@ -311,5 +311,5 @@ declare module DeployJava { writeEmbedTag(): void; } } - -declare var deployJava: DeployJava.DeployJavaStatic; \ No newline at end of file + +declare var deployJava: DeployJava.DeployJavaStatic; diff --git a/devexpress-web/devexpress-web-tests.ts b/devexpress-web/devexpress-web-tests.ts index 3d021c29833945..38c653921f3b57 100644 --- a/devexpress-web/devexpress-web-tests.ts +++ b/devexpress-web/devexpress-web-tests.ts @@ -1,6 +1,6 @@ /// -module Tests.Globals { +namespace Tests.Globals { function ASPxTest(): void { ASPx.RunStartupScripts(); } @@ -60,7 +60,7 @@ module Tests.Globals { } } -module Tests.Controls { +namespace Tests.Controls { declare var comboBox: DevExpress.Web.Scripts.ASPxClientComboBox; function ASPxClientComboBoxTest() { @@ -72,4 +72,4 @@ module Tests.Controls { comboBox.SelectedIndexChanged.RemoveHandler(selectedIndexChangedEventHandler); comboBox.SelectedIndexChanged.ClearHandlers(); } -} \ No newline at end of file +} diff --git a/devexpress-web/devexpress-web.d.ts b/devexpress-web/devexpress-web.d.ts index a653583ac464b3..eb2dd7d678f288 100644 --- a/devexpress-web/devexpress-web.d.ts +++ b/devexpress-web/devexpress-web.d.ts @@ -10,7 +10,7 @@ declare var ASPxClientUtils: DevExpress.Web.Scripts.ASPxClientUtils; declare var ASPxClientGlobalEvents: DevExpress.Web.Scripts.ASPxClientGlobalEvents; declare var ASPxClientEdit: DevExpress.Web.Scripts.ASPxClientEditStatic; -declare module DevExpress.Web.Scripts { +declare namespace DevExpress.Web.Scripts { export interface ASPxStatic { RunStartupScripts(): void; } @@ -78,7 +78,7 @@ declare module DevExpress.Web.Scripts { // Events Init: ASPxClientEvent; } - + export interface ASPxClientEditBase extends ASPxClientControl { GetCaption(): string; SetCaption(caption: string): void; @@ -311,7 +311,7 @@ declare module DevExpress.Web.Scripts { export interface ASPxClientProcessingModeEventArgs extends ASPxClientEventArgs { processOnServer: boolean; } - + export interface ASPxClientDateEdit extends ASPxClientEdit { GetDate(): Date; SetDate(date: Date): any; @@ -454,7 +454,7 @@ declare module DevExpress.Web.Scripts { } } -declare module DevExpress.XtraCharts.Web.Scripts { +declare namespace DevExpress.XtraCharts.Web.Scripts { export interface ASPxClientWebChartElement { chart: ASPxClientWebChart; } @@ -552,4 +552,4 @@ declare module DevExpress.XtraCharts.Web.Scripts { ObjectHotTracked: DevExpress.Web.Scripts.ASPxClientEvent; ObjectSelected: DevExpress.Web.Scripts.ASPxClientEvent; } -} \ No newline at end of file +} diff --git a/devextreme/devextreme-15.1.3.d.ts b/devextreme/devextreme-15.1.3.d.ts index add99aa8373b1e..44fd7abbd1d61e 100644 --- a/devextreme/devextreme-15.1.3.d.ts +++ b/devextreme/devextreme-15.1.3.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -806,7 +806,7 @@ declare module DevExpress { }; } } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -937,7 +937,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -1204,7 +1204,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2225,7 +2225,7 @@ declare module DevExpress.ui { /** A container widget used to arrange inner elements. */ export class dxBox extends CollectionWidget { constructor(element: JQuery, options?: dxBoxOptions); - constructor(element: Element, options?: dxBoxOptions); + constructor(element: Element, options?: dxBoxOptions); } export interface dxResponsiveBoxOptions extends CollectionWidgetOptions { /** Specifies the collection of rows for the grid used to position layout elements. */ @@ -2946,7 +2946,7 @@ declare module DevExpress.ui { lookup?: { /** Specifies whether or not a user can nullify values of a lookup column. */ allowClearing?: boolean; - /** + /** Specifies the data source providing data for a lookup column. */ dataSource?: any; @@ -3076,7 +3076,7 @@ Specifies the data source providing data for a lookup column. cancel?: string; } }; - /** + /** An array of grid columns. */ columns?: Array; @@ -3176,7 +3176,7 @@ An array of grid columns. autoExpandAll?: boolean; /** Specifies the message displayed in a group row when the corresponding group is continued from the previous page. */ groupContinuedMessage?: string; - /** + /** Specifies the message displayed in a group row when the corresponding group continues on the next page. */ groupContinuesMessage?: string; @@ -3556,7 +3556,7 @@ Specifies the message displayed in a group row when the corresponding group cont removeRow(rowIndex: number): void; /** Saves changes made in a grid. */ saveEditData(): void; - /** + /** Searches grid records by a search string. */ searchByText(text: string): void; @@ -3716,7 +3716,7 @@ Searches grid records by a search string. updateDimensions(): void; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -4743,7 +4743,7 @@ declare module DevExpress.viz.charts { /** Specifies whether a single series or multiple series can be selected in the chart. */ seriesSelectionMode?: string; /** Specifies how the chart must behave when series point labels overlap. */ - resolveLabelOverlapping?: string; + resolveLabelOverlapping?: string; } export interface Legend extends AdvancedLegend { /** Specifies whether the legend is located outside or inside the chart's plot. */ @@ -4938,7 +4938,7 @@ declare module DevExpress.viz.charts { onLegendClick?: any; legendClick?: any; /** Specifies how the chart must behave when series point labels overlap. */ - resolveLabelOverlapping?: string; + resolveLabelOverlapping?: string; } /** A circular chart widget for HTML JS applications. */ export class dxPieChart extends BaseChart { @@ -4948,7 +4948,7 @@ declare module DevExpress.viz.charts { getSeries(): PieSeries; } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { export interface Border { /** Sets a border color for a selected series. */ color?: string; @@ -5139,7 +5139,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -5447,7 +5447,7 @@ declare module DevExpress.viz.gauges { values(values: Array): void; } } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Area object. */ export interface Area { /** Contains the element type. */ @@ -5720,7 +5720,7 @@ declare module DevExpress.viz.map { zoomFactor(zoomFactor: number): void; } } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -5740,7 +5740,7 @@ declare module DevExpress.viz.rangeSelector { behavior?: { /** Indicates whether or not you can swap sliders. */ allowSlidersSwap?: boolean; - /** + /** Indicates whether or not animation is enabled. */ animationEnabled?: boolean; @@ -5853,7 +5853,7 @@ Indicates whether or not animation is enabled. maxRange?: any; /** Specifies the number of minor ticks between neighboring major ticks. */ minorTickCount?: number; - /** + /** Specifies an interval between minor ticks. */ minorTickInterval?: any; @@ -5989,7 +5989,7 @@ Specifies an interval between minor ticks. setSelectedRange(selectedRange: { startValue: any; endValue: any; }): void; } } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. @@ -6400,4 +6400,4 @@ interface JQuery { dxSparkline(options?: DevExpress.viz.sparklines.dxSparklineOptions): JQuery; dxSparkline(methodName: string, ...params: any[]): any; dxSparkline(methodName: "instance"): DevExpress.viz.sparklines.dxSparkline; -} \ No newline at end of file +} diff --git a/devextreme/devextreme-15.1.4.d.ts b/devextreme/devextreme-15.1.4.d.ts index f0e1296474b48e..9357c6da0798aa 100644 --- a/devextreme/devextreme-15.1.4.d.ts +++ b/devextreme/devextreme-15.1.4.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -822,7 +822,7 @@ declare module DevExpress { }; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -1843,7 +1843,7 @@ declare module DevExpress.ui { /** A container widget used to arrange inner elements. */ export class dxBox extends CollectionWidget { constructor(element: JQuery, options?: dxBoxOptions); - constructor(element: Element, options?: dxBoxOptions); + constructor(element: Element, options?: dxBoxOptions); } export interface dxResponsiveBoxOptions extends CollectionWidgetOptions { /** Specifies the collection of rows for the grid used to position layout elements. */ @@ -2226,7 +2226,7 @@ interface JQuery { dxAutocomplete(options: DevExpress.ui.dxAutocompleteOptions): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2460,7 +2460,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2592,7 +2592,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -2944,7 +2944,7 @@ declare module DevExpress.ui { lookup?: { /** Specifies whether or not a user can nullify values of a lookup column. */ allowClearing?: boolean; - /** + /** Specifies the data source providing data for a lookup column. */ dataSource?: any; @@ -3074,7 +3074,7 @@ Specifies the data source providing data for a lookup column. cancel?: string; } }; - /** + /** An array of grid columns. */ columns?: Array; @@ -3174,7 +3174,7 @@ An array of grid columns. autoExpandAll?: boolean; /** Specifies the message displayed in a group row when the corresponding group is continued from the previous page. */ groupContinuedMessage?: string; - /** + /** Specifies the message displayed in a group row when the corresponding group continues on the next page. */ groupContinuesMessage?: string; @@ -3554,7 +3554,7 @@ Specifies the message displayed in a group row when the corresponding group cont removeRow(rowIndex: number): void; /** Saves changes made in a grid. */ saveEditData(): void; - /** + /** Searches grid records by a search string. */ searchByText(text: string): void; @@ -3761,7 +3761,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4028,7 +4028,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { export interface Border { /** Sets a border color for a selected series. */ color?: string; @@ -4221,7 +4221,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5248,7 +5248,7 @@ declare module DevExpress.viz.charts { /** Specifies whether a single series or multiple series can be selected in the chart. */ seriesSelectionMode?: string; /** Specifies how the chart must behave when series point labels overlap. */ - resolveLabelOverlapping?: string; + resolveLabelOverlapping?: string; } export interface Legend extends AdvancedLegend { /** Specifies whether the legend is located outside or inside the chart's plot. */ @@ -5443,7 +5443,7 @@ declare module DevExpress.viz.charts { onLegendClick?: any; legendClick?: any; /** Specifies how the chart must behave when series point labels overlap. */ - resolveLabelOverlapping?: string; + resolveLabelOverlapping?: string; } /** A circular chart widget for HTML JS applications. */ export class dxPieChart extends BaseChart { @@ -5464,7 +5464,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -5783,7 +5783,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -5803,7 +5803,7 @@ declare module DevExpress.viz.rangeSelector { behavior?: { /** Indicates whether or not you can swap sliders. */ allowSlidersSwap?: boolean; - /** + /** Indicates whether or not animation is enabled. */ animationEnabled?: boolean; @@ -5916,7 +5916,7 @@ Indicates whether or not animation is enabled. maxRange?: any; /** Specifies the number of minor ticks between neighboring major ticks. */ minorTickCount?: number; - /** + /** Specifies an interval between minor ticks. */ minorTickInterval?: any; @@ -6057,7 +6057,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Area object. */ export interface Area { /** Contains the element type. */ @@ -6335,7 +6335,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. diff --git a/devextreme/devextreme-15.1.5.d.ts b/devextreme/devextreme-15.1.5.d.ts index f16d65d34c3d27..fd6f0ea1b60fd5 100644 --- a/devextreme/devextreme-15.1.5.d.ts +++ b/devextreme/devextreme-15.1.5.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -824,7 +824,7 @@ declare module DevExpress { }; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -1848,7 +1848,7 @@ declare module DevExpress.ui { /** A container widget used to arrange inner elements. */ export class dxBox extends CollectionWidget { constructor(element: JQuery, options?: dxBoxOptions); - constructor(element: Element, options?: dxBoxOptions); + constructor(element: Element, options?: dxBoxOptions); } export interface dxResponsiveBoxOptions extends CollectionWidgetOptions { /** Specifies the collection of rows for the grid used to position layout elements. */ @@ -2231,7 +2231,7 @@ interface JQuery { dxAutocomplete(options: DevExpress.ui.dxAutocompleteOptions): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2465,7 +2465,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2597,7 +2597,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -2951,7 +2951,7 @@ declare module DevExpress.ui { lookup?: { /** Specifies whether or not a user can nullify values of a lookup column. */ allowClearing?: boolean; - /** + /** Specifies the data source providing data for a lookup column. */ dataSource?: any; @@ -3081,7 +3081,7 @@ Specifies the data source providing data for a lookup column. cancel?: string; } }; - /** + /** An array of grid columns. */ columns?: Array; @@ -3181,7 +3181,7 @@ An array of grid columns. autoExpandAll?: boolean; /** Specifies the message displayed in a group row when the corresponding group is continued from the previous page. */ groupContinuedMessage?: string; - /** + /** Specifies the message displayed in a group row when the corresponding group continues on the next page. */ groupContinuesMessage?: string; @@ -3563,7 +3563,7 @@ Specifies the message displayed in a group row when the corresponding group cont removeRow(rowIndex: number): void; /** Saves changes made in a grid. */ saveEditData(): void; - /** + /** Searches grid records by a search string. */ searchByText(text: string): void; @@ -3774,7 +3774,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4041,7 +4041,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { export interface Border { /** Sets a border color for a selected series. */ color?: string; @@ -4234,7 +4234,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5263,7 +5263,7 @@ declare module DevExpress.viz.charts { /** Specifies whether a single series or multiple series can be selected in the chart. */ seriesSelectionMode?: string; /** Specifies how the chart must behave when series point labels overlap. */ - resolveLabelOverlapping?: string; + resolveLabelOverlapping?: string; } export interface Legend extends AdvancedLegend { /** Specifies whether the legend is located outside or inside the chart's plot. */ @@ -5458,7 +5458,7 @@ declare module DevExpress.viz.charts { onLegendClick?: any; legendClick?: any; /** Specifies how the chart must behave when series point labels overlap. */ - resolveLabelOverlapping?: string; + resolveLabelOverlapping?: string; } /** A circular chart widget for HTML JS applications. */ export class dxPieChart extends BaseChart { @@ -5479,7 +5479,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -5810,7 +5810,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -5830,7 +5830,7 @@ declare module DevExpress.viz.rangeSelector { behavior?: { /** Indicates whether or not you can swap sliders. */ allowSlidersSwap?: boolean; - /** + /** Indicates whether or not animation is enabled. */ animationEnabled?: boolean; @@ -5943,7 +5943,7 @@ Indicates whether or not animation is enabled. maxRange?: any; /** Specifies the number of minor ticks between neighboring major ticks. */ minorTickCount?: number; - /** + /** Specifies an interval between minor ticks. */ minorTickInterval?: any; @@ -6084,7 +6084,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Area object. */ export interface Area { /** Contains the element type. */ @@ -6374,7 +6374,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. diff --git a/devextreme/devextreme-15.1.6.d.ts b/devextreme/devextreme-15.1.6.d.ts index 4a299cb2aa5fa7..84a5038888e7cc 100644 --- a/devextreme/devextreme-15.1.6.d.ts +++ b/devextreme/devextreme-15.1.6.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -845,7 +845,7 @@ declare module DevExpress { export function registerPalette(paletteName: string, palette: Object): void; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2315,7 +2315,7 @@ interface JQuery { dxAutocomplete(options: DevExpress.ui.dxAutocompleteOptions): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2549,7 +2549,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2681,7 +2681,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -3041,7 +3041,7 @@ declare module DevExpress.ui { lookup?: { /** Specifies whether or not a user can nullify values of a lookup column. */ allowClearing?: boolean; - /** + /** * Specifies the data source providing data for a lookup column. */ dataSource?: any; @@ -3171,7 +3171,7 @@ declare module DevExpress.ui { cancel?: string; } }; - /** + /** * An array of grid columns. */ columns?: dxDataGridColumn[]; @@ -3271,7 +3271,7 @@ declare module DevExpress.ui { autoExpandAll?: boolean; /** Specifies the message displayed in a group row when the corresponding group is continued from the previous page. */ groupContinuedMessage?: string; - /** + /** * Specifies the message displayed in a group row when the corresponding group continues on the next page. */ groupContinuesMessage?: string; @@ -3653,7 +3653,7 @@ declare module DevExpress.ui { removeRow(rowIndex: number): void; /** Saves changes made in a grid. */ saveEditData(): void; - /** + /** * Searches grid records by a search string. */ searchByText(text: string): void; @@ -3864,7 +3864,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4133,7 +4133,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { /** * Applies a theme for the entire page with several DevExtreme visualization widgets. * @deprecated Use the DevExpress.viz.currentTheme(theme) method instead. @@ -4356,7 +4356,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5601,7 +5601,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -5932,7 +5932,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -5952,7 +5952,7 @@ declare module DevExpress.viz.rangeSelector { behavior?: { /** Indicates whether or not you can swap sliders. */ allowSlidersSwap?: boolean; - /** + /** Indicates whether or not animation is enabled. */ animationEnabled?: boolean; @@ -6067,7 +6067,7 @@ Indicates whether or not animation is enabled. maxRange?: any; /** Specifies the number of minor ticks between neighboring major ticks. */ minorTickCount?: number; - /** + /** Specifies an interval between minor ticks. */ minorTickInterval?: any; @@ -6208,7 +6208,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Area object. */ export interface Area { /** Contains the element type. */ @@ -6498,7 +6498,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. diff --git a/devextreme/devextreme-15.1.7.d.ts b/devextreme/devextreme-15.1.7.d.ts index 5f10b3e4eb349f..a2eeb19894e0a2 100644 --- a/devextreme/devextreme-15.1.7.d.ts +++ b/devextreme/devextreme-15.1.7.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -848,7 +848,7 @@ declare module DevExpress { export function registerPalette(paletteName: string, palette: Object): void; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2267,7 +2267,7 @@ interface JQuery { dxAutocomplete(options: DevExpress.ui.dxAutocompleteOptions): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2503,7 +2503,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2639,7 +2639,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -3823,7 +3823,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4092,7 +4092,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { /** * Applies a theme for the entire page with several DevExtreme visualization widgets. * @deprecated Use the DevExpress.viz.currentTheme(theme) method instead. @@ -4315,7 +4315,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5556,7 +5556,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -5887,7 +5887,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -6159,7 +6159,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Area object. */ export interface Area { /** Contains the element type. */ @@ -6449,7 +6449,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. diff --git a/devextreme/devextreme-15.1.8.d.ts b/devextreme/devextreme-15.1.8.d.ts index cec70ee47879b9..f0c3eeac34d16d 100644 --- a/devextreme/devextreme-15.1.8.d.ts +++ b/devextreme/devextreme-15.1.8.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -852,7 +852,7 @@ declare module DevExpress { export function registerPalette(paletteName: string, palette: Object): void; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2278,7 +2278,7 @@ interface JQuery { dxAutocomplete(options: DevExpress.ui.dxAutocompleteOptions): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2514,7 +2514,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2650,7 +2650,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -3831,7 +3831,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4100,7 +4100,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { /** * Applies a theme for the entire page with several DevExtreme visualization widgets. * @deprecated Use the DevExpress.viz.currentTheme(theme) method instead. @@ -4323,7 +4323,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5564,7 +5564,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -5895,7 +5895,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -6167,7 +6167,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Area object. */ export interface Area { /** Contains the element type. */ @@ -6457,7 +6457,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. @@ -6577,4 +6577,4 @@ interface JQuery { dxSparkline(options?: DevExpress.viz.sparklines.dxSparklineOptions): JQuery; dxSparkline(methodName: string, ...params: any[]): any; dxSparkline(methodName: "instance"): DevExpress.viz.sparklines.dxSparkline; -} \ No newline at end of file +} diff --git a/devextreme/devextreme-15.2.4.d.ts b/devextreme/devextreme-15.2.4.d.ts index dbed44832bc37f..a48987596bcce9 100644 --- a/devextreme/devextreme-15.2.4.d.ts +++ b/devextreme/devextreme-15.2.4.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -824,7 +824,7 @@ declare module DevExpress { export function registerPalette(paletteName: string, palette: Object): void; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2376,7 +2376,7 @@ interface JQuery { dxForm(options: DevExpress.ui.dxForm): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2613,7 +2613,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2809,7 +2809,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -4109,7 +4109,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4391,7 +4391,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { /** * Applies a theme for the entire page with several DevExtreme visualization widgets. * @deprecated Use the DevExpress.viz.currentTheme(theme) method instead. @@ -4627,7 +4627,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5858,7 +5858,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -6275,7 +6275,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -6563,7 +6563,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Layer object. */ export interface MapLayer { /** The name of the layer. */ @@ -7202,7 +7202,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. @@ -7322,4 +7322,4 @@ interface JQuery { dxSparkline(options?: DevExpress.viz.sparklines.dxSparklineOptions): JQuery; dxSparkline(methodName: string, ...params: any[]): any; dxSparkline(methodName: "instance"): DevExpress.viz.sparklines.dxSparkline; -} \ No newline at end of file +} diff --git a/devextreme/devextreme-15.2.5.d.ts b/devextreme/devextreme-15.2.5.d.ts index fd161bfeaaed5a..892b4f417ce78d 100644 --- a/devextreme/devextreme-15.2.5.d.ts +++ b/devextreme/devextreme-15.2.5.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -831,7 +831,7 @@ declare module DevExpress { export function registerPalette(paletteName: string, palette: Object): void; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2384,7 +2384,7 @@ interface JQuery { dxForm(options: DevExpress.ui.dxForm): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2621,7 +2621,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2817,7 +2817,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -4155,7 +4155,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4437,7 +4437,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { /** * Applies a theme for the entire page with several DevExtreme visualization widgets. * @deprecated Use the DevExpress.viz.currentTheme(theme) method instead. @@ -4673,7 +4673,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5910,7 +5910,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -6327,7 +6327,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -6621,7 +6621,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Layer object. */ export interface MapLayer { /** The name of the layer. */ @@ -7260,7 +7260,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. @@ -7380,4 +7380,4 @@ interface JQuery { dxSparkline(options?: DevExpress.viz.sparklines.dxSparklineOptions): JQuery; dxSparkline(methodName: string, ...params: any[]): any; dxSparkline(methodName: "instance"): DevExpress.viz.sparklines.dxSparkline; -} \ No newline at end of file +} diff --git a/devextreme/devextreme-tests.ts b/devextreme/devextreme-tests.ts index 6a058257491464..33e00bda324f69 100644 --- a/devextreme/devextreme-tests.ts +++ b/devextreme/devextreme-tests.ts @@ -1,6 +1,6 @@ /// -module Tests.ui { +namespace Tests.ui { var dataGridOptions: DevExpress.ui.dxDataGridOptions = { activeStateEnabled: true, allowColumnReordering: true, @@ -194,7 +194,7 @@ module Tests.ui { $("#data-grid").dxDataGrid(dataGridOptions); } -module Tests.viz { +namespace Tests.viz { var chartOptions: DevExpress.viz.charts.dxChartOptions = { dataSource: [ { arg: "Illinois", s1: 100, s2: 50, s3: 75, s4: 25, s5: 50, s6: 100, s7: 25, s8: 75 }, @@ -267,7 +267,7 @@ module Tests.viz { $("#pie-chart").dxPieChart(pieChartOptions); } -module Tests.framework { +namespace Tests.framework { var app = new DevExpress.framework.html.HtmlApplication({ namespace: "Application", navigation: [ @@ -288,7 +288,7 @@ module Tests.framework { app.navigate(); } -module Tests.data { +namespace Tests.data { new DevExpress.data.DataSource({ sort: ["value", true], group: ["id", false], @@ -317,4 +317,4 @@ module Tests.data { return $.Deferred().promise(); } }); -} \ No newline at end of file +} diff --git a/devextreme/devextreme.d.ts b/devextreme/devextreme.d.ts index 976acf0047db6a..df967b19f32846 100644 --- a/devextreme/devextreme.d.ts +++ b/devextreme/devextreme.d.ts @@ -5,7 +5,7 @@ /// -declare module DevExpress { +declare namespace DevExpress { /** A mixin that provides a capability to fire and subscribe to events. */ export interface EventsMixin { /** Subscribes to a specified event. */ @@ -831,7 +831,7 @@ declare module DevExpress { export function registerPalette(paletteName: string, palette: Object): void; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxValidatorOptions extends DOMComponentOptions { /** An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ validationRules?: Array; @@ -2409,7 +2409,7 @@ interface JQuery { dxForm(options: DevExpress.ui.dxForm): JQuery; } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxTileViewOptions extends CollectionWidgetOptions { /** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */ activeStateEnabled?: boolean; @@ -2646,7 +2646,7 @@ interface JQuery { dxDropDownMenu(options: string, ...params: any[]): any; dxDropDownMenu(options: DevExpress.ui.dxDropDownMenuOptions): JQuery; } -declare module DevExpress.data { +declare namespace DevExpress.data { export interface XmlaStoreOptions { /** The HTTP address to an XMLA OLAP server. */ url?: string; @@ -2843,7 +2843,7 @@ declare module DevExpress.data { off(eventName: string, eventHandler: Function): PivotGridDataSource; } } -declare module DevExpress.ui { +declare namespace DevExpress.ui { export interface dxSchedulerOptions extends WidgetOptions { /** Specifies a date displayed on the current scheduler view by default. */ currentDate?: Date; @@ -4189,7 +4189,7 @@ interface JQuery { dxScheduler(options: string, ...params: any[]): any; dxScheduler(options: DevExpress.ui.dxSchedulerOptions): JQuery; } -declare module DevExpress.framework { +declare namespace DevExpress.framework { /** An object used to store information on the views displayed in an application. */ export class ViewCache { viewRemoved: JQueryCallback; @@ -4471,7 +4471,7 @@ declare module DevExpress.framework { } } } -declare module DevExpress.viz.core { +declare namespace DevExpress.viz.core { /** * Applies a theme for the entire page with several DevExtreme visualization widgets. * @deprecated Use the DevExpress.viz.currentTheme(theme) method instead. @@ -4707,7 +4707,7 @@ declare module DevExpress.viz.core { svg(): string; } } -declare module DevExpress.viz.charts { +declare namespace DevExpress.viz.charts { /** This section describes the fields and methods that can be used in code to manipulate the Series object. */ export interface BaseSeries { /** Provides information about the state of the series object. */ @@ -5956,7 +5956,7 @@ interface JQuery { dxPolarChart(methodName: string, ...params: any[]): any; dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart; } -declare module DevExpress.viz.gauges { +declare namespace DevExpress.viz.gauges { export interface BaseRangeContainer { /** Specifies a range container's background color. */ backgroundColor?: string; @@ -6373,7 +6373,7 @@ interface JQuery { dxBarGauge(methodName: string, ...params: any[]): any; dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge; } -declare module DevExpress.viz.rangeSelector { +declare namespace DevExpress.viz.rangeSelector { export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions { /** Specifies the options for the range selector's background. */ background?: { @@ -6667,7 +6667,7 @@ interface JQuery { dxRangeSelector(methodName: string, ...params: any[]): any; dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector; } -declare module DevExpress.viz.map { +declare namespace DevExpress.viz.map { /** This section describes the fields and methods that can be used in code to manipulate the Layer object. */ export interface MapLayer { /** The name of the layer. */ @@ -7306,7 +7306,7 @@ interface JQuery { dxVectorMap(methodName: string, ...params: any[]): any; dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap; } -declare module DevExpress.viz.sparklines { +declare namespace DevExpress.viz.sparklines { export interface SparklineTooltip extends viz.core.Tooltip { /** * Specifies how a tooltip is horizontally aligned relative to the graph. @@ -7426,4 +7426,4 @@ interface JQuery { dxSparkline(options?: DevExpress.viz.sparklines.dxSparklineOptions): JQuery; dxSparkline(methodName: string, ...params: any[]): any; dxSparkline(methodName: "instance"): DevExpress.viz.sparklines.dxSparkline; -} \ No newline at end of file +} diff --git a/dexie/dexie.d.ts b/dexie/dexie.d.ts index 7bc7a5ae06b8af..f31ec0db52f77d 100644 --- a/dexie/dexie.d.ts +++ b/dexie/dexie.d.ts @@ -91,7 +91,7 @@ declare class Dexie { vip(scopeFunction: () => U): U; } -declare module Dexie { +declare namespace Dexie { class Promise implements Thenable { constructor(callback: (resolve: (value?: Thenable) => void, reject: (error?: any) => void) => void); @@ -105,11 +105,11 @@ declare module Dexie { then(onFulfilled: (value: R) => U, onRejected: (error: any) => Thenable): Promise; then(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): Promise; - + catch(onRejected: (error: any) => Thenable): Promise; - + catch(onRejected: (error: any) => U): Promise; - + catch(ExceptionType: Function, onRejected: (error: any) => Promise): Promise; catch(ExceptionType: Function, onRejected: (error: any) => U): Promise; @@ -123,7 +123,7 @@ declare module Dexie { onuncatched: () => any; } - module Promise { + namespace Promise { function resolve(value?: Thenable): Promise; function resolve(value?: R): Promise; diff --git a/di-lite/di-lite-tests.ts b/di-lite/di-lite-tests.ts index 8d6bfb777b1e49..13bc9e3ddb226c 100644 --- a/di-lite/di-lite-tests.ts +++ b/di-lite/di-lite-tests.ts @@ -23,7 +23,7 @@ function doTest(test: (ctx: any, ...obj: Dependency[]) => void) { test(ctx, A, B, C); } -module BasicWiring { +namespace BasicWiring { doTest(ctx => { // initialize di container so all singleton(default) objects will be wired at this stage ctx.initialize(); @@ -37,7 +37,7 @@ module BasicWiring { }); } -module WiringWithAssignment { +namespace WiringWithAssignment { doTest((ctx, A) => { A.dependencies = "bee=b, c"; // mix explicit and implicit assignment @@ -49,7 +49,7 @@ module WiringWithAssignment { }); } -module PassiveDependencyResolution { +namespace PassiveDependencyResolution { doTest((ctx, A) => { ctx.register("a", A); ctx.get("a"); // this triggers the dependency resolution for "a" alone @@ -57,7 +57,7 @@ module PassiveDependencyResolution { }); } -module PrototypeStrategy { +namespace PrototypeStrategy { doTest((ctx, A) => { ctx.register("prototype", A).strategy(di.strategy.proto); ctx.get("prototype") === ctx.get("prototype"); // false @@ -65,7 +65,7 @@ module PrototypeStrategy { }); } -module PassingConstructorArguments { +namespace PassingConstructorArguments { class ProfileView { } doTest(ctx => { @@ -75,7 +75,7 @@ module PassingConstructorArguments { }); } -module CyclicalDependency { +namespace CyclicalDependency { doTest((ctx, A, B) => { A.dependencies = "b"; B.dependencies = "a"; @@ -92,7 +92,7 @@ module CyclicalDependency { }); } -module FunctionalObject { +namespace FunctionalObject { doTest(ctx => { var FuncObject = (spec: any) => { var that = {}; @@ -114,7 +114,7 @@ module FunctionalObject { }); } -module RuntimeDependenciesOverride { +namespace RuntimeDependenciesOverride { doTest((ctx, A) => { ctx.register("a", A) .dependencies("bee=b"); // dependencies specified here will take precedence @@ -122,7 +122,7 @@ module RuntimeDependenciesOverride { }); } -module CreateYourOwn { +namespace CreateYourOwn { class Backbone { history: History = new History(); } diff --git a/di-lite/di-lite.d.ts b/di-lite/di-lite.d.ts index 9391b8c4e129c7..bda842e4d0d295 100644 --- a/di-lite/di-lite.d.ts +++ b/di-lite/di-lite.d.ts @@ -3,7 +3,7 @@ // Definitions by: Timothy Morris // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module DiLite { +declare namespace DiLite { interface DiLiteStatic { version: string; createContext(): CreateContext; diff --git a/diff/diff.d.ts b/diff/diff.d.ts index 6377a33c4dd472..44c7ec846b8e34 100644 --- a/diff/diff.d.ts +++ b/diff/diff.d.ts @@ -3,7 +3,7 @@ // Definitions by: vvakame // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module JsDiff { +declare namespace JsDiff { interface IDiffResult { value: string; added?: boolean; diff --git a/dock-spawn/dock-spawn.d.ts b/dock-spawn/dock-spawn.d.ts index 17fa5100aad776..df20eb632a8c6e 100644 --- a/dock-spawn/dock-spawn.d.ts +++ b/dock-spawn/dock-spawn.d.ts @@ -4,7 +4,7 @@ // Definitions by: Drew Noakes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/dock-spawn -declare module dockspawn +declare namespace dockspawn { /** * Dock manager manages all the dock panels in a hierarchy, similar to Visual Studio. diff --git a/dojo/doh.d.ts b/dojo/doh.d.ts index b45956c158cce2..c0a7c106292f8b 100644 --- a/dojo/doh.d.ts +++ b/dojo/doh.d.ts @@ -4,105 +4,105 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module doh { - module plugins { - module alwaysAudio { +declare namespace doh { + namespace plugins { + namespace alwaysAudio { } - module hello { + namespace hello { } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/plugins/remoteRobot.html * * Plugin that bridges the doh.robot and WebDriver APIs. - * + * */ interface remoteRobot { } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/plugins/android-webdriver-robot.html * - * + * */ interface android_webdriver_robot { /** - * - * @param sec - * @param charCode - * @param keyCode - * @param delay + * + * @param sec + * @param charCode + * @param keyCode + * @param delay */ downKey(sec: any, charCode: any, keyCode: any, delay: any): void; /** - * - * @param sec - * @param x - * @param y - * @param delay - * @param duration + * + * @param sec + * @param x + * @param y + * @param delay + * @param duration */ moveMouse(sec: any, x: any, y: any, delay: any, duration: any): void; /** - * - * @param sec - * @param left - * @param middle - * @param right - * @param delay + * + * @param sec + * @param left + * @param middle + * @param right + * @param delay */ pressMouse(sec: any, left: any, middle: any, right: any, delay: any): void; /** - * - * @param sec - * @param left - * @param middle - * @param right - * @param delay + * + * @param sec + * @param left + * @param middle + * @param right + * @param delay */ releaseMouse(sec: any, left: any, middle: any, right: any, delay: any): void; /** - * - * @param sec - * @param docScreenX - * @param docScreenY - * @param width - * @param height + * + * @param sec + * @param docScreenX + * @param docScreenY + * @param width + * @param height */ setDocumentBounds(sec: any, docScreenX: any, docScreenY: any, width: any, height: any): void; /** - * - * @param sec - * @param charCode - * @param keyCode - * @param alt - * @param ctrl - * @param shift - * @param meta - * @param delay - * @param async + * + * @param sec + * @param charCode + * @param keyCode + * @param alt + * @param ctrl + * @param shift + * @param meta + * @param delay + * @param async */ typeKey(sec: any, charCode: any, keyCode: any, alt: any, ctrl: any, shift: any, meta: any, delay: any, async: any): void; /** - * - * @param chars - * @param delay - * @param duration + * + * @param chars + * @param delay + * @param duration */ typeKeys(chars: String, delay: number, duration: number): void; /** - * - * @param chars - * @param delay - * @param duration + * + * @param chars + * @param delay + * @param duration */ typeKeys(chars: number, delay: number, duration: number): void; /** - * - * @param sec - * @param charCode - * @param keyCode - * @param delay + * + * @param sec + * @param charCode + * @param keyCode + * @param delay */ upKey(sec: any, charCode: any, keyCode: any, delay: any): void; } @@ -113,7 +113,7 @@ declare module doh { * * Module for running DOH tests in node (as opposed to a browser). * Augments return value from doh/runner. - * + * */ interface _nodeRunner { } @@ -122,26 +122,26 @@ declare module doh { * * Module for running DOH tests in rhino (as opposed to a browser). * Augments return value from doh/runner. - * + * */ interface _rhinoRunner { } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/_parseURLargs.html * - * + * */ interface _parseURLargs { /** - * + * */ isDebug: boolean; /** - * + * */ noGlobals: boolean; /** - * + * */ scopeMap: any[]; } @@ -149,250 +149,250 @@ declare module doh { * Permalink: http://dojotoolkit.org/api/1.9/doh/_browserRunner.html * * Functions for registering and running automated tests. - * + * */ interface _browserRunner { /** - * + * */ debug: Object; /** - * + * */ error: Object; /** - * + * */ isBrowser: boolean; /** - * + * */ registerUrl: Object; /** - * + * */ robot: Object; /** * are the passed expected and actual objects/values deeply * equivalent? - * - * @param expected - * @param actual - * @param hint Optional - * @param doNotThrow + * + * @param expected + * @param actual + * @param hint Optional + * @param doNotThrow */ assertEqual(expected: Object, actual: Object, hint: String, doNotThrow: any): void; /** * Test for a certain error to be thrown by the given function. - * - * @param expectedError - * @param scope - * @param functionName - * @param args - * @param hint Optional + * + * @param expectedError + * @param scope + * @param functionName + * @param args + * @param hint Optional */ assertError(expectedError: Object, scope: Object, functionName: String, args: any[], hint: String): void; /** * is the passed item "falsey"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ assertFalse(condition: Object, hint: String): void; /** * are the passed notexpected and actual objects/values deeply * not equivalent? - * - * @param notExpected - * @param actual - * @param hint Optional + * + * @param notExpected + * @param actual + * @param hint Optional */ assertNotEqual(notExpected: Object, actual: Object, hint: String): void; /** * is the passed item "truthy"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ assertTrue(condition: Object, hint: String): void; /** - * - * @param canceller + * + * @param canceller */ Deferred(canceller: any): void; /** * Test for a certain error to be thrown by the given function. - * - * @param expectedError - * @param scope - * @param functionName - * @param args - * @param hint Optional + * + * @param expectedError + * @param scope + * @param functionName + * @param args + * @param hint Optional */ e(expectedError: Object, scope: Object, functionName: String, args: any[], hint: String): void; /** * is the passed item "falsey"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ f(condition: Object, hint: String): void; /** * are the passed expected and actual objects/values deeply * equivalent? - * - * @param expected - * @param actual - * @param hint Optional - * @param doNotThrow + * + * @param expected + * @param actual + * @param hint Optional + * @param doNotThrow */ is(expected: Object, actual: Object, hint: String, doNotThrow: any): void; /** * are the passed notexpected and actual objects/values deeply * not equivalent? - * - * @param notExpected - * @param actual - * @param hint Optional + * + * @param notExpected + * @param actual + * @param hint Optional */ isNot(notExpected: Object, actual: Object, hint: String): void; /** * halt test run. Can be resumed. - * + * */ pause(): void; /** - * - * @param a1 - * @param a2 - * @param a3 - * @param a4 - * @param a5 + * + * @param a1 + * @param a2 + * @param a3 + * @param a4 + * @param a5 */ register(a1: any, a2: any, a3: any, a4: any, a5: any): void; /** * Deprecated. Won't work unless you manually load dojox.testing.DocTest, and likely not even then. * Gets all the doctests from the given module and register each of them as a single test case here. - * - * @param module dojox/dgauges/components/utils + * + * @param module dojox/dgauges/components/utils */ registerDocTests(module: any): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: any[], setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: Function, setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: Object, setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: any[], type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: Object, type: String): void; /** * Deprecated. Use doh.register(group, ns) instead - * - * @param group - * @param ns + * + * @param group + * @param ns */ registerTestNs(group: String, ns: Object): void; /** * Deprecated. Use doh.register(group/type, testArr) instead - * - * @param group - * @param testArr - * @param type + * + * @param group + * @param testArr + * @param type */ registerTests(group: String, testArr: any[], type: String): void; /** * Adds a test type and associates a function used to initialize each test of the given type - * - * @param name The name of the type. - * @param initProc Type specific test initializer; called after the test object is created. + * + * @param name The name of the type. + * @param initProc Type specific test initializer; called after the test object is created. */ registerTestType(name: String, initProc: Function): void; /** - * + * */ run(): void; /** * runs the specified test group - * - * @param groupName - * @param idx + * + * @param groupName + * @param idx */ runGroup(groupName: String, idx: number): void; /** - * + * */ runOnLoad(): void; /** - * + * */ showLogPage(): void; /** - * + * */ showPerfTestsPage(): void; /** - * + * */ showTestPage(): void; /** * is the passed item "truthy"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ t(condition: Object, hint: String): void; /** - * + * */ togglePaused(): void; /** - * + * */ toggleRunAll(): void; } @@ -400,77 +400,77 @@ declare module doh { /** * Permalink: http://dojotoolkit.org/api/1.9/doh/_browserRunner._groups.html * - * + * */ interface _groups { } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/_browserRunner._testTypes.html * - * + * */ interface _testTypes { /** - * - * @param group - * @param tObj - * @param type + * + * @param group + * @param tObj + * @param type */ perf(group: any, tObj: any, type: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/_browserRunner.robot.html * - * + * */ interface robot { /** - * + * */ doc: Object; /** - * + * */ mouseWheelSize: number; /** - * + * */ window: Object; /** * Opens the application at the specified URL for testing, redirecting dojo to point to the application * environment instead of the test environment. - * - * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. + * + * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. */ initRobot(url: String): void; /** * Holds down a single key, like SHIFT or 'a'. * Holds down a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyDown(charOrCode: number, delay: number): void; /** * Types a key combination, like SHIFT-TAB. * Types a key combination, like SHIFT-TAB. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta - * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta + * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. */ keyPress(charOrCode: number, delay: number, modifiers: Object, asynchronous: boolean): void; /** * Releases a single key, like SHIFT or 'a'. * Releases a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyUp(charOrCode: number, delay: number): void; /** - * + * */ killRobot(): void; /** @@ -478,19 +478,19 @@ declare module doh { * See robot.mousePress for more info. * Convenience function to do a press/release. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseClick(buttons: Object, delay: number): void; /** * Moves the mouse to the specified x,y offset relative to the viewport. - * - * @param x x offset relative to the viewport, in pixels, to move the mouse. - * @param y y offset relative to the viewport, in pixels, to move the mouse. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. - * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) + * + * @param x x offset relative to the viewport, in pixels, to move the mouse. + * @param y y offset relative to the viewport, in pixels, to move the mouse. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. + * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) */ mouseMove(x: number, y: number, delay: number, duration: number, absolute: boolean): void; /** @@ -498,12 +498,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: String, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -511,12 +511,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: HTMLElement, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -524,23 +524,23 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: Function, delay: number, duration: number, offsetX: number, offsetY: number): void; /** * Move the mouse from the current position to the specified point. * Delays reading contents point until queued command starts running. * See mouseMove() for details. - * - * @param point x, y position relative to viewport, or if absolute == true, to document - * @param delay Optional - * @param duration Optional - * @param absolute + * + * @param point x, y position relative to viewport, or if absolute == true, to document + * @param delay Optional + * @param duration Optional + * @param absolute */ mouseMoveTo(point: Object, delay: number, duration: number, absolute: boolean): void; /** @@ -548,9 +548,9 @@ declare module doh { * Presses the mouse buttons you pass as true. * Example: to press the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. - * - * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ mousePress(buttons: Object, delay: number): void; /** @@ -559,9 +559,9 @@ declare module doh { * Example: to release the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseRelease(buttons: Object, delay: number): void; /** @@ -572,77 +572,77 @@ declare module doh { * Note: this will all happen in one event. * Warning: the size of one mouse wheel notch is an OS setting. * You can access this size from robot.mouseWheelSize - * - * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. + * + * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. */ mouseWheel(wheelAmt: number, delay: number, duration: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: String, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: HTMLElement, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: Function, delay: number): void; /** * Defer an action by adding it to the robot's incrementally delayed queue of actions to execute. - * - * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalDelay to wait after firing. + * + * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalDelay to wait after firing. */ sequence(f: Function, delay: number, duration: number): void; /** * Set clipboard content. * Set data as clipboard content, overriding anything already there. The * data will be put to the clipboard using the given format. - * - * @param data New clipboard content to set - * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. + * + * @param data New clipboard content to set + * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. */ setClipboard(data: String, format: String): void; /** - * + * */ startRobot(): any; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: String, delay: number, duration: number): void; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: number, delay: number, duration: number): void; /** * Notifies DOH that the doh.robot is about to make a page change in the application it is driving, * returning a doh.Deferred object the user should return in their runTest function as part of a DOH test. - * - * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. + * + * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. */ waitForPageToLoad(submitActions: Function): any; } @@ -652,328 +652,328 @@ declare module doh { * Permalink: http://dojotoolkit.org/api/1.9/doh/main.html * * Functions for registering and running automated tests. - * + * */ interface main { /** - * + * */ debug: Object; /** - * + * */ error: Object; /** - * + * */ isBrowser: boolean; /** - * + * */ registerUrl: Object; /** - * + * */ robot: Object; /** * are the passed expected and actual objects/values deeply * equivalent? - * - * @param expected - * @param actual - * @param hint Optional - * @param doNotThrow + * + * @param expected + * @param actual + * @param hint Optional + * @param doNotThrow */ assertEqual(expected: Object, actual: Object, hint: String, doNotThrow: any): void; /** * Test for a certain error to be thrown by the given function. - * - * @param expectedError - * @param scope - * @param functionName - * @param args - * @param hint Optional + * + * @param expectedError + * @param scope + * @param functionName + * @param args + * @param hint Optional */ assertError(expectedError: Object, scope: Object, functionName: String, args: any[], hint: String): void; /** * is the passed item "falsey"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ assertFalse(condition: Object, hint: String): void; /** * are the passed notexpected and actual objects/values deeply * not equivalent? - * - * @param notExpected - * @param actual - * @param hint Optional + * + * @param notExpected + * @param actual + * @param hint Optional */ assertNotEqual(notExpected: Object, actual: Object, hint: String): void; /** * is the passed item "truthy"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ assertTrue(condition: Object, hint: String): void; /** - * - * @param canceller + * + * @param canceller */ Deferred(canceller: any): void; /** * Test for a certain error to be thrown by the given function. - * - * @param expectedError - * @param scope - * @param functionName - * @param args - * @param hint Optional + * + * @param expectedError + * @param scope + * @param functionName + * @param args + * @param hint Optional */ e(expectedError: Object, scope: Object, functionName: String, args: any[], hint: String): void; /** * is the passed item "falsey"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ f(condition: Object, hint: String): void; /** * are the passed expected and actual objects/values deeply * equivalent? - * - * @param expected - * @param actual - * @param hint Optional - * @param doNotThrow + * + * @param expected + * @param actual + * @param hint Optional + * @param doNotThrow */ is(expected: Object, actual: Object, hint: String, doNotThrow: any): void; /** * are the passed notexpected and actual objects/values deeply * not equivalent? - * - * @param notExpected - * @param actual - * @param hint Optional + * + * @param notExpected + * @param actual + * @param hint Optional */ isNot(notExpected: Object, actual: Object, hint: String): void; /** * halt test run. Can be resumed. - * + * */ pause(): void; /** - * - * @param a1 - * @param a2 - * @param a3 - * @param a4 - * @param a5 + * + * @param a1 + * @param a2 + * @param a3 + * @param a4 + * @param a5 */ register(a1: any, a2: any, a3: any, a4: any, a5: any): void; /** * Deprecated. Won't work unless you manually load dojox.testing.DocTest, and likely not even then. * Gets all the doctests from the given module and register each of them as a single test case here. - * - * @param module dojox/dgauges/components/utils + * + * @param module dojox/dgauges/components/utils */ registerDocTests(module: any): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: any[], setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: Function, setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: Object, setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: any[], type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: Object, type: String): void; /** * Deprecated. Use doh.register(group, ns) instead - * - * @param group - * @param ns + * + * @param group + * @param ns */ registerTestNs(group: String, ns: Object): void; /** * Deprecated. Use doh.register(group/type, testArr) instead - * - * @param group - * @param testArr - * @param type + * + * @param group + * @param testArr + * @param type */ registerTests(group: String, testArr: any[], type: String): void; /** * Adds a test type and associates a function used to initialize each test of the given type - * - * @param name The name of the type. - * @param initProc Type specific test initializer; called after the test object is created. + * + * @param name The name of the type. + * @param initProc Type specific test initializer; called after the test object is created. */ registerTestType(name: String, initProc: Function): void; /** - * + * */ run(): void; /** * runs the specified test group - * - * @param groupName - * @param idx + * + * @param groupName + * @param idx */ runGroup(groupName: String, idx: number): void; /** - * + * */ runOnLoad(): void; /** - * + * */ showLogPage(): void; /** - * + * */ showPerfTestsPage(): void; /** - * + * */ showTestPage(): void; /** * is the passed item "truthy"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ t(condition: Object, hint: String): void; /** - * + * */ togglePaused(): void; /** - * + * */ toggleRunAll(): void; } - module main { + namespace main { /** * Permalink: http://dojotoolkit.org/api/1.9/doh/main._groups.html * - * + * */ interface _groups { } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/main._testTypes.html * - * + * */ interface _testTypes { /** - * - * @param group - * @param tObj - * @param type + * + * @param group + * @param tObj + * @param type */ perf(group: any, tObj: any, type: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/main.robot.html * - * + * */ interface robot { /** - * + * */ doc: Object; /** - * + * */ mouseWheelSize: number; /** - * + * */ window: Object; /** * Opens the application at the specified URL for testing, redirecting dojo to point to the application * environment instead of the test environment. - * - * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. + * + * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. */ initRobot(url: String): void; /** * Holds down a single key, like SHIFT or 'a'. * Holds down a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyDown(charOrCode: number, delay: number): void; /** * Types a key combination, like SHIFT-TAB. * Types a key combination, like SHIFT-TAB. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta - * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta + * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. */ keyPress(charOrCode: number, delay: number, modifiers: Object, asynchronous: boolean): void; /** * Releases a single key, like SHIFT or 'a'. * Releases a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyUp(charOrCode: number, delay: number): void; /** - * + * */ killRobot(): void; /** @@ -981,19 +981,19 @@ declare module doh { * See robot.mousePress for more info. * Convenience function to do a press/release. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseClick(buttons: Object, delay: number): void; /** * Moves the mouse to the specified x,y offset relative to the viewport. - * - * @param x x offset relative to the viewport, in pixels, to move the mouse. - * @param y y offset relative to the viewport, in pixels, to move the mouse. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. - * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) + * + * @param x x offset relative to the viewport, in pixels, to move the mouse. + * @param y y offset relative to the viewport, in pixels, to move the mouse. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. + * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) */ mouseMove(x: number, y: number, delay: number, duration: number, absolute: boolean): void; /** @@ -1001,12 +1001,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: String, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -1014,12 +1014,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: HTMLElement, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -1027,23 +1027,23 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: Function, delay: number, duration: number, offsetX: number, offsetY: number): void; /** * Move the mouse from the current position to the specified point. * Delays reading contents point until queued command starts running. * See mouseMove() for details. - * - * @param point x, y position relative to viewport, or if absolute == true, to document - * @param delay Optional - * @param duration Optional - * @param absolute + * + * @param point x, y position relative to viewport, or if absolute == true, to document + * @param delay Optional + * @param duration Optional + * @param absolute */ mouseMoveTo(point: Object, delay: number, duration: number, absolute: boolean): void; /** @@ -1051,9 +1051,9 @@ declare module doh { * Presses the mouse buttons you pass as true. * Example: to press the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. - * - * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ mousePress(buttons: Object, delay: number): void; /** @@ -1062,9 +1062,9 @@ declare module doh { * Example: to release the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseRelease(buttons: Object, delay: number): void; /** @@ -1075,77 +1075,77 @@ declare module doh { * Note: this will all happen in one event. * Warning: the size of one mouse wheel notch is an OS setting. * You can access this size from robot.mouseWheelSize - * - * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. + * + * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. */ mouseWheel(wheelAmt: number, delay: number, duration: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: String, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: HTMLElement, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: Function, delay: number): void; /** * Defer an action by adding it to the robot's incrementally delayed queue of actions to execute. - * - * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalDelay to wait after firing. + * + * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalDelay to wait after firing. */ sequence(f: Function, delay: number, duration: number): void; /** * Set clipboard content. * Set data as clipboard content, overriding anything already there. The * data will be put to the clipboard using the given format. - * - * @param data New clipboard content to set - * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. + * + * @param data New clipboard content to set + * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. */ setClipboard(data: String, format: String): void; /** - * + * */ startRobot(): any; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: String, delay: number, duration: number): void; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: number, delay: number, duration: number): void; /** * Notifies DOH that the doh.robot is about to make a page change in the application it is driving, * returning a doh.Deferred object the user should return in their runTest function as part of a DOH test. - * - * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. + * + * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. */ waitForPageToLoad(submitActions: Function): any; } @@ -1154,56 +1154,56 @@ declare module doh { /** * Permalink: http://dojotoolkit.org/api/1.9/doh/robot.html * - * + * */ interface robot { /** - * + * */ doc: Object; /** - * + * */ mouseWheelSize: number; /** - * + * */ window: Object; /** * Opens the application at the specified URL for testing, redirecting dojo to point to the application * environment instead of the test environment. - * - * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. + * + * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. */ initRobot(url: String): void; /** * Holds down a single key, like SHIFT or 'a'. * Holds down a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyDown(charOrCode: number, delay: number): void; /** * Types a key combination, like SHIFT-TAB. * Types a key combination, like SHIFT-TAB. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta - * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta + * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. */ keyPress(charOrCode: number, delay: number, modifiers: Object, asynchronous: boolean): void; /** * Releases a single key, like SHIFT or 'a'. * Releases a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyUp(charOrCode: number, delay: number): void; /** - * + * */ killRobot(): void; /** @@ -1211,19 +1211,19 @@ declare module doh { * See robot.mousePress for more info. * Convenience function to do a press/release. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseClick(buttons: Object, delay: number): void; /** * Moves the mouse to the specified x,y offset relative to the viewport. - * - * @param x x offset relative to the viewport, in pixels, to move the mouse. - * @param y y offset relative to the viewport, in pixels, to move the mouse. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. - * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) + * + * @param x x offset relative to the viewport, in pixels, to move the mouse. + * @param y y offset relative to the viewport, in pixels, to move the mouse. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. + * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) */ mouseMove(x: number, y: number, delay: number, duration: number, absolute: boolean): void; /** @@ -1231,12 +1231,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: String, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -1244,12 +1244,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: HTMLElement, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -1257,23 +1257,23 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: Function, delay: number, duration: number, offsetX: number, offsetY: number): void; /** * Move the mouse from the current position to the specified point. * Delays reading contents point until queued command starts running. * See mouseMove() for details. - * - * @param point x, y position relative to viewport, or if absolute == true, to document - * @param delay Optional - * @param duration Optional - * @param absolute + * + * @param point x, y position relative to viewport, or if absolute == true, to document + * @param delay Optional + * @param duration Optional + * @param absolute */ mouseMoveTo(point: Object, delay: number, duration: number, absolute: boolean): void; /** @@ -1281,9 +1281,9 @@ declare module doh { * Presses the mouse buttons you pass as true. * Example: to press the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. - * - * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ mousePress(buttons: Object, delay: number): void; /** @@ -1292,9 +1292,9 @@ declare module doh { * Example: to release the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseRelease(buttons: Object, delay: number): void; /** @@ -1305,93 +1305,93 @@ declare module doh { * Note: this will all happen in one event. * Warning: the size of one mouse wheel notch is an OS setting. * You can access this size from robot.mouseWheelSize - * - * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. + * + * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. */ mouseWheel(wheelAmt: number, delay: number, duration: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: String, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: HTMLElement, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: Function, delay: number): void; /** * Defer an action by adding it to the robot's incrementally delayed queue of actions to execute. - * - * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalDelay to wait after firing. + * + * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalDelay to wait after firing. */ sequence(f: Function, delay: number, duration: number): void; /** * Set clipboard content. * Set data as clipboard content, overriding anything already there. The * data will be put to the clipboard using the given format. - * - * @param data New clipboard content to set - * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. + * + * @param data New clipboard content to set + * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. */ setClipboard(data: String, format: String): void; /** - * + * */ startRobot(): any; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: String, delay: number, duration: number): void; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: number, delay: number, duration: number): void; /** * Notifies DOH that the doh.robot is about to make a page change in the application it is driving, * returning a doh.Deferred object the user should return in their runTest function as part of a DOH test. - * - * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. + * + * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. */ waitForPageToLoad(submitActions: Function): any; } - module robot { + namespace robot { /** * Permalink: http://dojotoolkit.org/api/1.9/doh/robot._runsemaphore.html * - * + * */ interface _runsemaphore { /** - * + * */ lock: any[]; /** - * + * */ unlock(): any; } @@ -1401,328 +1401,328 @@ declare module doh { * Permalink: http://dojotoolkit.org/api/1.9/doh/runner.html * * Functions for registering and running automated tests. - * + * */ interface runner { /** - * + * */ debug: Object; /** - * + * */ error: Object; /** - * + * */ isBrowser: boolean; /** - * + * */ registerUrl: Object; /** - * + * */ robot: Object; /** * are the passed expected and actual objects/values deeply * equivalent? - * - * @param expected - * @param actual - * @param hint Optional - * @param doNotThrow + * + * @param expected + * @param actual + * @param hint Optional + * @param doNotThrow */ assertEqual(expected: Object, actual: Object, hint: String, doNotThrow: any): void; /** * Test for a certain error to be thrown by the given function. - * - * @param expectedError - * @param scope - * @param functionName - * @param args - * @param hint Optional + * + * @param expectedError + * @param scope + * @param functionName + * @param args + * @param hint Optional */ assertError(expectedError: Object, scope: Object, functionName: String, args: any[], hint: String): void; /** * is the passed item "falsey"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ assertFalse(condition: Object, hint: String): void; /** * are the passed notexpected and actual objects/values deeply * not equivalent? - * - * @param notExpected - * @param actual - * @param hint Optional + * + * @param notExpected + * @param actual + * @param hint Optional */ assertNotEqual(notExpected: Object, actual: Object, hint: String): void; /** * is the passed item "truthy"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ assertTrue(condition: Object, hint: String): void; /** - * - * @param canceller + * + * @param canceller */ Deferred(canceller: any): void; /** * Test for a certain error to be thrown by the given function. - * - * @param expectedError - * @param scope - * @param functionName - * @param args - * @param hint Optional + * + * @param expectedError + * @param scope + * @param functionName + * @param args + * @param hint Optional */ e(expectedError: Object, scope: Object, functionName: String, args: any[], hint: String): void; /** * is the passed item "falsey"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ f(condition: Object, hint: String): void; /** * are the passed expected and actual objects/values deeply * equivalent? - * - * @param expected - * @param actual - * @param hint Optional - * @param doNotThrow + * + * @param expected + * @param actual + * @param hint Optional + * @param doNotThrow */ is(expected: Object, actual: Object, hint: String, doNotThrow: any): void; /** * are the passed notexpected and actual objects/values deeply * not equivalent? - * - * @param notExpected - * @param actual - * @param hint Optional + * + * @param notExpected + * @param actual + * @param hint Optional */ isNot(notExpected: Object, actual: Object, hint: String): void; /** * halt test run. Can be resumed. - * + * */ pause(): void; /** - * - * @param a1 - * @param a2 - * @param a3 - * @param a4 - * @param a5 + * + * @param a1 + * @param a2 + * @param a3 + * @param a4 + * @param a5 */ register(a1: any, a2: any, a3: any, a4: any, a5: any): void; /** * Deprecated. Won't work unless you manually load dojox.testing.DocTest, and likely not even then. * Gets all the doctests from the given module and register each of them as a single test case here. - * - * @param module dojox/dgauges/components/utils + * + * @param module dojox/dgauges/components/utils */ registerDocTests(module: any): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: any[], setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: Function, setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, tests, setUp, tearDown) instead - * - * @param group - * @param tests - * @param setUp - * @param tearDown - * @param type + * + * @param group + * @param tests + * @param setUp + * @param tearDown + * @param type */ registerGroup(group: String, tests: Object, setUp: Function, tearDown: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: any[], type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: Function, type: String): void; /** * Deprecated. Use doh.register(group/type, test) instead - * - * @param group - * @param test - * @param type + * + * @param group + * @param test + * @param type */ registerTest(group: String, test: Object, type: String): void; /** * Deprecated. Use doh.register(group, ns) instead - * - * @param group - * @param ns + * + * @param group + * @param ns */ registerTestNs(group: String, ns: Object): void; /** * Deprecated. Use doh.register(group/type, testArr) instead - * - * @param group - * @param testArr - * @param type + * + * @param group + * @param testArr + * @param type */ registerTests(group: String, testArr: any[], type: String): void; /** * Adds a test type and associates a function used to initialize each test of the given type - * - * @param name The name of the type. - * @param initProc Type specific test initializer; called after the test object is created. + * + * @param name The name of the type. + * @param initProc Type specific test initializer; called after the test object is created. */ registerTestType(name: String, initProc: Function): void; /** - * + * */ run(): void; /** * runs the specified test group - * - * @param groupName - * @param idx + * + * @param groupName + * @param idx */ runGroup(groupName: String, idx: number): void; /** - * + * */ runOnLoad(): void; /** - * + * */ showLogPage(): void; /** - * + * */ showPerfTestsPage(): void; /** - * + * */ showTestPage(): void; /** * is the passed item "truthy"? - * - * @param condition - * @param hint Optional + * + * @param condition + * @param hint Optional */ t(condition: Object, hint: String): void; /** - * + * */ togglePaused(): void; /** - * + * */ toggleRunAll(): void; } - module runner { + namespace runner { /** * Permalink: http://dojotoolkit.org/api/1.9/doh/runner._groups.html * - * + * */ interface _groups { } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/runner._testTypes.html * - * + * */ interface _testTypes { /** - * - * @param group - * @param tObj - * @param type + * + * @param group + * @param tObj + * @param type */ perf(group: any, tObj: any, type: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/doh/runner.robot.html * - * + * */ interface robot { /** - * + * */ doc: Object; /** - * + * */ mouseWheelSize: number; /** - * + * */ window: Object; /** * Opens the application at the specified URL for testing, redirecting dojo to point to the application * environment instead of the test environment. - * - * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. + * + * @param url URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls(e.g. dijit.byId()) will point to elements and widgets inside this application. */ initRobot(url: String): void; /** * Holds down a single key, like SHIFT or 'a'. * Holds down a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to hold downWarning: holding down a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyDown(charOrCode: number, delay: number): void; /** * Types a key combination, like SHIFT-TAB. * Types a key combination, like SHIFT-TAB. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta - * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to press + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param modifiers JSON object that represents all of the modifier keys being pressed.It takes the following Boolean attributes:shiftaltctrlmeta + * @param asynchronous If true, the delay happens asynchronously and immediately, outside of the browser's JavaScript thread and any previous calls.This is useful for interacting with the browser's modal dialogs. */ keyPress(charOrCode: number, delay: number, modifiers: Object, asynchronous: boolean): void; /** * Releases a single key, like SHIFT or 'a'. * Releases a single key, like SHIFT or 'a'. - * - * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param charOrCode char/JS keyCode/dojo.keys.* constant for the key you want to releaseWarning: releasing a shifted key, like 'A', can have unpredictable results. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ keyUp(charOrCode: number, delay: number): void; /** - * + * */ killRobot(): void; /** @@ -1730,19 +1730,19 @@ declare module doh { * See robot.mousePress for more info. * Convenience function to do a press/release. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseClick(buttons: Object, delay: number): void; /** * Moves the mouse to the specified x,y offset relative to the viewport. - * - * @param x x offset relative to the viewport, in pixels, to move the mouse. - * @param y y offset relative to the viewport, in pixels, to move the mouse. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. - * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) + * + * @param x x offset relative to the viewport, in pixels, to move the mouse. + * @param y y offset relative to the viewport, in pixels, to move the mouse. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseThe default is 100ms. This also affects how many mousemove events willbe generated, which is the log of the duration. + * @param absolute Boolean indicating whether the x and y values are absolute coordinates.If false, then mouseMove expects that the x,y will be relative to the window. (clientX/Y)If true, then mouseMove expects that the x,y will be absolute. (pageX/Y) */ mouseMove(x: number, y: number, delay: number, duration: number, absolute: boolean): void; /** @@ -1750,12 +1750,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: String, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -1763,12 +1763,12 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: HTMLElement, delay: number, duration: number, offsetX: number, offsetY: number): void; /** @@ -1776,23 +1776,23 @@ declare module doh { * Moves the mouse over the specified node at the specified relative x,y offset. * If you do not specify an offset, mouseMove will default to move to the middle of the node. * Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode); - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. - * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. - * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left:true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration Approximate time Robot will spend moving the mouseThe default is 100ms. + * @param offsetX x offset relative to the node, in pixels, to move the mouse. The default is half the node's width. + * @param offsetY y offset relative to the node, in pixels, to move the mouse. The default is half the node's height. */ mouseMoveAt(node: Function, delay: number, duration: number, offsetX: number, offsetY: number): void; /** * Move the mouse from the current position to the specified point. * Delays reading contents point until queued command starts running. * See mouseMove() for details. - * - * @param point x, y position relative to viewport, or if absolute == true, to document - * @param delay Optional - * @param duration Optional - * @param absolute + * + * @param point x, y position relative to viewport, or if absolute == true, to document + * @param delay Optional + * @param duration Optional + * @param absolute */ mouseMoveTo(point: Object, delay: number, duration: number, absolute: boolean): void; /** @@ -1800,9 +1800,9 @@ declare module doh { * Presses the mouse buttons you pass as true. * Example: to press the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. - * - * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * + * @param buttons JSON object that represents all of the mouse buttons being pressed.It takes the following Boolean attributes:leftmiddleright + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all */ mousePress(buttons: Object, delay: number): void; /** @@ -1811,9 +1811,9 @@ declare module doh { * Example: to release the left mouse button, pass {left: true}. * Mouse buttons you don't specify keep their previous pressed state. * See robot.mousePress for more info. - * - * @param buttons - * @param delay Optional + * + * @param buttons + * @param delay Optional */ mouseRelease(buttons: Object, delay: number): void; /** @@ -1824,77 +1824,77 @@ declare module doh { * Note: this will all happen in one event. * Warning: the size of one mouse wheel notch is an OS setting. * You can access this size from robot.mouseWheelSize - * - * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. + * + * @param wheelAmt Number of notches to spin the wheel.Negative wheelAmt scrolls up/away from the user.Positive wheelAmt scrolls down/toward the user. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms: robot.mouseClick({left: true}, 100) // first call; wait 100ms robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalApproximate time Robot will spend moving the mouseBy default, the Robot will wheel the mouse as fast as possible. */ mouseWheel(wheelAmt: number, delay: number, duration: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: String, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: HTMLElement, delay: number): void; /** * Scroll the passed node into view, if it is not. - * - * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. - * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. + * + * @param node The id of the node, or the node itself, to move the mouse to.If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.This is useful if you need to move the mouse to an node that is not yet present. + * @param delay Delay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call. */ scrollIntoView(node: Function, delay: number): void; /** * Defer an action by adding it to the robot's incrementally delayed queue of actions to execute. - * - * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalDelay to wait after firing. + * + * @param f A function containing actions you want to defer. It can return a Promiseto delay further actions. + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalDelay to wait after firing. */ sequence(f: Function, delay: number, duration: number): void; /** * Set clipboard content. * Set data as clipboard content, overriding anything already there. The * data will be put to the clipboard using the given format. - * - * @param data New clipboard content to set - * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. + * + * @param data New clipboard content to set + * @param format OptionalSet this to "text/html" to put richtext to the clipboard.Otherwise, data is treated as plaintext. By default, plaintextis used. */ setClipboard(data: String, format: String): void; /** - * + * */ startRobot(): any; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: String, delay: number, duration: number): void; /** * Types a string of characters in order, or types a dojo.keys.* constant. * Types a string of characters in order, or types a dojo.keys.* constant. - * - * @param chars String of characters to type, or a dojo.keys.* constant - * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all - * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. + * + * @param chars String of characters to type, or a dojo.keys.* constant + * @param delay OptionalDelay, in milliseconds, to wait before firing.The delay is a delta with respect to the previous automation call.For example, the following code ends after 600ms:robot.mouseClick({left: true}, 100) // first call; wait 100msrobot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all + * @param duration OptionalTime, in milliseconds, to spend pressing all of the keys.The default is (string length)*50 ms. */ typeKeys(chars: number, delay: number, duration: number): void; /** * Notifies DOH that the doh.robot is about to make a page change in the application it is driving, * returning a doh.Deferred object the user should return in their runTest function as part of a DOH test. - * - * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. + * + * @param submitActions The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button),expecting these actions to create a page change (like a form submit).After these actions execute and the resulting page loads, the next test will start. */ waitForPageToLoad(submitActions: Function): any; } diff --git a/dojo/dojo.d.ts b/dojo/dojo.d.ts index e3c520163d0d7f..455ffc8fe3a0bd 100644 --- a/dojo/dojo.d.ts +++ b/dojo/dojo.d.ts @@ -6,122 +6,122 @@ declare function define(dependencies: String[], factory: Function): any; declare function require(config?:Object, dependencies?: String[], callback?: Function): any; -declare module dojox.dtl { +declare namespace dojox.dtl { interface __StringArgs { } interface __ObjectArgs { } } -declare module dojo { +declare namespace dojo { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request.html * * Send a request using the default transport for the current platform. - * - * @param url The URL to request. - * @param options OptionalOptions for the request. + * + * @param url The URL to request. + * @param options OptionalOptions for the request. */ interface request { (url: String, options?: dojo.request.__Options): void } interface request { /** * Send an HTTP DELETE request using the default transport for the current platform. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ del(url: String, options?: dojo.request.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP GET request using the default transport for the current platform. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ get(url: String, options?: dojo.request.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP POST request using the default transport for the current platform. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ post(url: String, options?: dojo.request.__BaseOptions): any; /** * Send an HTTP POST request using the default transport for the current platform. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ put(url: String, options?: dojo.request.__BaseOptions): dojo.request.__Promise; } - module request { + namespace request { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/handlers.html * - * - * @param response + * + * @param response */ interface handlers { (response: any): void } interface handlers { /** - * - * @param name - * @param handler + * + * @param name + * @param handler */ register(name: any, handler: any): void; } - module handlers { + namespace handlers { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/iframe.html * * Sends a request using an iframe element with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ interface iframe { (url: String, options?: dojo.request.iframe.__Options): void } interface iframe { /** - * - * @param name - * @param onloadstr - * @param uri + * + * @param name + * @param onloadstr + * @param uri */ create(name: any, onloadstr: any, uri: any): any; /** - * - * @param iframeNode + * + * @param iframeNode */ doc(iframeNode: any): any; /** * Send an HTTP GET request using an iframe element with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ get(url: String, options?: dojo.request.iframe.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP POST request using an iframe element with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ post(url: String, options?: dojo.request.iframe.__BaseOptions): dojo.request.__Promise; /** - * - * @param _iframe - * @param src - * @param replace + * + * @param _iframe + * @param src + * @param replace */ setSrc(_iframe: any, src: any, replace: any): void; } - module iframe { + namespace iframe { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/iframe.__MethodOptions.html * - * + * */ class __MethodOptions { constructor(); @@ -129,14 +129,14 @@ declare module dojo { * The HTTP method to use to make the request. Must be * uppercase. Only "GET" and "POST" are accepted. * Default is "POST". - * + * */ "method": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/iframe.__BaseOptions.html * - * + * */ class __BaseOptions { constructor(); @@ -144,41 +144,41 @@ declare module dojo { * Data to transfer. When making a GET request, this will * be converted to key=value parameters and appended to the * URL. - * + * */ "data": string; /** * A form node to use to submit data to the server. - * + * */ "form": HTMLElement; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/iframe.__Options.html * - * + * */ class __Options { constructor(); @@ -186,41 +186,41 @@ declare module dojo { * Data to transfer. When making a GET request, this will * be converted to key=value parameters and appended to the * URL. - * + * */ "data": string; /** * A form node to use to submit data to the server. - * + * */ "form": HTMLElement; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * The HTTP method to use to make the request. Must be * uppercase. Only "GET" and "POST" are accepted. * Default is "POST". - * + * */ "method": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; } @@ -231,51 +231,51 @@ declare module dojo { * * Register a listener to be notified when an event * in dojo/request happens. - * - * @param type OptionalThe event to listen for. Events emitted: "start", "send","load", "error", "done", "stop". - * @param listener OptionalA callback to be run when an event happens. + * + * @param type OptionalThe event to listen for. Events emitted: "start", "send","load", "error", "done", "stop". + * @param listener OptionalA callback to be run when an event happens. */ interface notify { (type?: String, listener?: Function): void } interface notify { /** - * - * @param type - * @param event - * @param cancel + * + * @param type + * @param event + * @param cancel */ emit(type: any, event: any, cancel: any): void; } - module notify { + namespace notify { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/registry.html * - * - * @param url - * @param options + * + * @param url + * @param options */ interface registry { (url: any, options: any): void } interface registry { /** - * - * @param id - * @param parentRequire - * @param loaded - * @param config + * + * @param id + * @param parentRequire + * @param loaded + * @param config */ load(id: any, parentRequire: any, loaded: any, config: any): void; /** - * - * @param url - * @param provider - * @param first + * + * @param url + * @param provider + * @param first */ register(url: any, provider: any, first: any): void; } - module registry { + namespace registry { } /** @@ -283,162 +283,162 @@ declare module dojo { * * Sends a request using the included http or https interface from node.js * with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ interface node { (url: String, options?: dojo.request.node.__Options): void } interface node { /** * Send an HTTP DELETE request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ del(url: String, options?: dojo.request.node.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP GET request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ get(url: String, options?: dojo.request.node.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP POST request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ post(url: String, options?: dojo.request.node.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP PUT request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ put(url: String, options?: dojo.request.node.__BaseOptions): dojo.request.__Promise; } - module node { + namespace node { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/node.__MethodOptions.html * - * + * */ class __MethodOptions { constructor(); /** * The HTTP method to use to make the request. Must be * uppercase. Default is "GET". - * + * */ "method": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/node.__Options.html * - * + * */ class __Options { constructor(); /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * Headers to use for the request. - * + * */ "headers": Object; /** * The HTTP method to use to make the request. Must be * uppercase. Default is "GET". - * + * */ "method": string; /** * Password to use during the request. - * + * */ "password": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; /** * Username to use during the request. - * + * */ "user": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/node.__BaseOptions.html * - * + * */ class __BaseOptions { constructor(); /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * Headers to use for the request. - * + * */ "headers": Object; /** * Password to use during the request. - * + * */ "password": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; /** * Username to use during the request. - * + * */ "user": string; } @@ -448,77 +448,77 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/watch.html * * Watches the io request represented by dfd to see if it completes. - * - * @param dfd The Deferred object to watch. + * + * @param dfd The Deferred object to watch. */ interface watch { (dfd: dojo.Deferred): void } interface watch { /** * Function used to check if basic IO call worked. Gets the dfd * object as its only argument. - * + * */ ioCheck: Function; /** * Function used to process response. Gets the dfd * object as its only argument. - * + * */ resHandle: Function; /** * Function used to check if the IO request is still valid. Gets the dfd * object as its only argument. - * + * */ validCheck: Function; /** * Cancels all pending IO requests, regardless of IO type - * + * */ cancelAll(): void; } - module watch { + namespace watch { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/script.html * * Sends a request using a script element with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ interface script { (url: String, options?: dojo.request.script.__Options): void } interface script { /** * Send an HTTP GET request using a script element with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ get(url: String, options?: dojo.request.script.__BaseOptions): dojo.request.__Promise; } - module script { + namespace script { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/script.__MethodOptions.html * - * + * */ class __MethodOptions { constructor(); /** * This option is ignored. All requests using this transport are * GET requests. - * + * */ "method": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/script.__BaseOptions.html * - * + * */ class __BaseOptions { constructor(); @@ -527,26 +527,26 @@ declare module dojo { * "typeof(" + checkString + ") != 'undefined'" * being true means that the script fetched has been loaded. * Do not use this if doing a JSONP type of call (use jsonp instead). - * + * */ "checkString": string; /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * The Document object of a child iframe. If this is passed in, the script * will be attached to that document. This can be helpful in some comet long-polling * scenarios with Firefox and Opera. - * + * */ "frameDoc": Object; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** @@ -554,30 +554,30 @@ declare module dojo { * For instance, when using Yahoo JSONP calls it is normally, * jsonp: "callback". For AOL JSONP calls it is normally * jsonp: "c". - * + * */ "jsonp": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/script.__Options.html * - * + * */ class __Options { constructor(); @@ -586,26 +586,26 @@ declare module dojo { * "typeof(" + checkString + ") != 'undefined'" * being true means that the script fetched has been loaded. * Do not use this if doing a JSONP type of call (use jsonp instead). - * + * */ "checkString": string; /**dojo * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * The Document object of a child iframe. If this is passed in, the script * will be attached to that document. This can be helpful in some comet long-polling * scenarios with Firefox and Opera. - * + * */ "frameDoc": Object; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** @@ -613,29 +613,29 @@ declare module dojo { * For instance, when using Yahoo JSONP calls it is normally, * jsonp: "callback". For AOL JSONP calls it is normally * jsonp: "c". - * + * */ "jsonp": string; /** * This option is ignored. All requests using this transport are * GET requests. - * + * */ "method": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; } @@ -645,186 +645,186 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/xhr.html * * Sends a request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ interface xhr { (url: String, options?: dojo.request.xhr.__Options): void } interface xhr { /** * Send an HTTP DELETE request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ del(url: String, options?: dojo.request.xhr.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP GET request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ get(url: String, options?: dojo.request.xhr.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP POST request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ post(url: String, options?: dojo.request.xhr.__BaseOptions): dojo.request.__Promise; /** * Send an HTTP PUT request using XMLHttpRequest with the given URL and options. - * - * @param url URL to request - * @param options OptionalOptions for the request. + * + * @param url URL to request + * @param options OptionalOptions for the request. */ put(url: String, options?: dojo.request.xhr.__BaseOptions): dojo.request.__Promise; } - module xhr { + namespace xhr { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/xhr.__BaseOptions.html * - * + * */ class __BaseOptions { constructor(); /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * Headers to use for the request. - * + * */ "headers": Object; /** * Password to use during the request. - * + * */ "password": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Whether to make a synchronous request or not. Default * is false (asynchronous). - * + * */ "sync": boolean; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; /** * Username to use during the request. - * + * */ "user": string; /** * For cross-site requests, whether to send credentials * or not. - * + * */ "withCredentials": boolean; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/xhr.__MethodOptions.html * - * + * */ class __MethodOptions { constructor(); /** * The HTTP method to use to make the request. Must be * uppercase. Default is "GET". - * + * */ "method": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/xhr.__Options.html * - * + * */ class __Options { constructor(); /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * Headers to use for the request. - * + * */ "headers": Object; /** * The HTTP method to use to make the request. Must be * uppercase. Default is "GET". - * + * */ "method": string; /** * Password to use during the request. - * + * */ "password": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Whether to make a synchronous request or not. Default * is false (asynchronous). - * + * */ "sync": boolean; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; /** * Username to use during the request. - * + * */ "user": string; /** * For cross-site requests, whether to send credentials * or not. - * + * */ "withCredentials": boolean; } @@ -833,113 +833,113 @@ declare module dojo { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request.__BaseOptions.html * - * + * */ class __BaseOptions { constructor(); /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request.__MethodOptions.html * - * + * */ class __MethodOptions { constructor(); /** * The HTTP method to use to make the request. Must be * uppercase. - * + * */ "method": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request.__Options.html * - * + * */ class __Options { constructor(); /** * Data to transfer. This is ignored for GET and DELETE * requests. - * + * */ "data": string; /** * How to handle the response from the server. Default is * 'text'. Other values are 'json', 'javascript', and 'xml'. - * + * */ "handleAs": string; /** * The HTTP method to use to make the request. Must be * uppercase. - * + * */ "method": string; /** * Whether to append a cache-busting parameter to the URL. - * + * */ "preventCache": boolean; /** * Query parameters to append to the URL. - * + * */ "query": string; /** * Milliseconds to wait for the response. If this time * passes, the then the promise is rejected. - * + * */ "timeout": number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request.__Promise.html * - * + * */ class __Promise implements dojo.promise.Promise { constructor(); /** * A promise resolving to an object representing * the response from the server. - * + * */ "response": Object; /** * Add a callback to be invoked when the promise is resolved * or rejected. - * - * @param callbackOrErrback OptionalA function that is used both as a callback and errback. + * + * @param callbackOrErrback OptionalA function that is used both as a callback and errback. */ always(callbackOrErrback: Function): any; /** @@ -948,131 +948,131 @@ declare module dojo { * The deferred's (optional) canceler is invoked and the * deferred will be left in a rejected state. Can affect other * promises that originate with the same deferred. - * - * @param reason A message that may be sent to the deferred's canceler,explaining why it's being canceled. - * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be canceled. + * + * @param reason A message that may be sent to the deferred's canceler,explaining why it's being canceled. + * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be canceled. */ cancel(reason: any, strict?: boolean): any; /** * Checks whether the promise has been canceled. - * + * */ isCanceled(): boolean; /** * Checks whether the promise has been resolved or rejected. - * + * */ isFulfilled(): boolean; /** * Checks whether the promise has been rejected. - * + * */ isRejected(): boolean; /** * Checks whether the promise has been resolved. - * + * */ isResolved(): boolean; /** * Add new errbacks to the promise. - * - * @param errback OptionalCallback to be invoked when the promise is rejected. + * + * @param errback OptionalCallback to be invoked when the promise is rejected. */ otherwise(errback: Function): any; /** * Add new callbacks to the promise. * Add new callbacks to the deferred. Callbacks can be added * before or after the deferred is fulfilled. - * - * @param callback OptionalCallback to be invoked when the promise is resolved.Receives the resolution value. - * @param errback OptionalCallback to be invoked when the promise is rejected.Receives the rejection error. - * @param progback OptionalCallback to be invoked when the promise emits a progressupdate. Receives the progress update. + * + * @param callback OptionalCallback to be invoked when the promise is resolved.Receives the resolution value. + * @param errback OptionalCallback to be invoked when the promise is rejected.Receives the rejection error. + * @param progback OptionalCallback to be invoked when the promise emits a progressupdate. Receives the progress update. */ then(callback?: Function, errback?: Function, progback?: Function): dojo.promise.Promise; /** - * + * */ toString(): String; /** - * + * */ trace(): dojo.promise.Promise; /** - * + * */ traceRejected(): dojo.promise.Promise; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/default.html * - * + * */ interface default_ { /** - * + * */ getPlatformDefaultId(): void; /** - * - * @param id - * @param parentRequire - * @param loaded - * @param config + * + * @param id + * @param parentRequire + * @param loaded + * @param config */ load(id: any, parentRequire: any, loaded: any, config: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/request/util.html * - * + * */ interface util { /** - * - * @param provider - * @param methods + * + * @param provider + * @param methods */ addCommonMethods(provider: any, methods: any): void; /** - * - * @param stat + * + * @param stat */ checkStatus(stat: any): boolean; /** - * - * @param target - * @param source + * + * @param target + * @param source */ deepCopy(target: any, source: any): any; /** - * - * @param source - * @param properties + * + * @param source + * @param properties */ deepCreate(source: any, properties: any): any; /** - * - * @param response The object used as the value of the request promise. - * @param cancel - * @param isValid - * @param isReady - * @param handleResponse - * @param last + * + * @param response The object used as the value of the request promise. + * @param cancel + * @param isValid + * @param isReady + * @param handleResponse + * @param last */ deferred(response: Object, cancel: any, isValid: any, isReady: any, handleResponse: any, last: any): any; /** * Register a listener to be notified when an event * in dojo/request happens. - * - * @param type OptionalThe event to listen for. Events emitted: "start", "send","load", "error", "done", "stop". - * @param listener OptionalA callback to be run when an event happens. + * + * @param type OptionalThe event to listen for. Events emitted: "start", "send","load", "error", "done", "stop". + * @param listener OptionalA callback to be run when an event happens. */ notify(type?: String, listener?: Function): any; /** - * - * @param url - * @param options - * @param skipData + * + * @param url + * @param options + * @param skipData */ parseArgs(url: any, options: any, skipData: any): Object; } @@ -1086,17 +1086,17 @@ declare module dojo { * wrap, directReturn] that are used to determine what the contextual * result of a set of checked arguments is. All check/wrap functions * in this registry should be of the same arity. - * - * @param returnWrappers Optional + * + * @param returnWrappers Optional */ interface AdapterRegistry { (returnWrappers?: boolean): void } interface AdapterRegistry { /** - * + * */ pairs: any[]; /** - * + * */ returnWrappers: boolean; /** @@ -1104,29 +1104,29 @@ declare module dojo { * is found, throws an exception. match() accepts any number of * arguments, all of which are passed to all matching functions * from the registered pairs. - * + * */ match(): any; /** * register a check function to determine if the wrap function or * object gets selected - * - * @param name a way to identify this matcher. - * @param check a function that arguments are passed to from the adapter'smatch() function. The check function should return true if thegiven arguments are appropriate for the wrap function. - * @param wrap - * @param directReturn OptionalIf directReturn is true, the value passed in for wrap will bereturned instead of being called. Alternately, theAdapterRegistry can be set globally to "return not call" usingthe returnWrappers property. Either way, this behavior allowsthe registry to act as a "search" function instead of afunction interception library. - * @param override OptionalIf override is given and true, the check function will be givenhighest priority. Otherwise, it will be the lowest priorityadapter. + * + * @param name a way to identify this matcher. + * @param check a function that arguments are passed to from the adapter'smatch() function. The check function should return true if thegiven arguments are appropriate for the wrap function. + * @param wrap + * @param directReturn OptionalIf directReturn is true, the value passed in for wrap will bereturned instead of being called. Alternately, theAdapterRegistry can be set globally to "return not call" usingthe returnWrappers property. Either way, this behavior allowsthe registry to act as a "search" function instead of afunction interception library. + * @param override OptionalIf override is given and true, the check function will be givenhighest priority. Otherwise, it will be the lowest priorityadapter. */ register(name: String, check: Function, wrap: Function, directReturn?: boolean, override?: boolean): void; /** * Remove a named adapter from the registry - * - * @param name The name of the adapter. + * + * @param name The name of the adapter. */ unregister(name: String): any; } - module AdapterRegistry { + namespace AdapterRegistry { } /** @@ -1145,10 +1145,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ interface cache { (module: String, url: String, value?: String): void } /** @@ -1167,10 +1167,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ interface cache { (module: Object, url: String, value?: String): void } /** @@ -1189,10 +1189,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ interface cache { (module: String, url: String, value?: Object): void } /** @@ -1211,10 +1211,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ interface cache { (module: Object, url: String, value?: Object): void } /** @@ -1223,45 +1223,45 @@ declare module dojo { * Get or set a cookie. * If one argument is passed, returns the value of the cookie * For two or more arguments, acts as a setter. - * - * @param name Name of the cookie - * @param value OptionalValue for the cookie - * @param props OptionalProperties for the cookie + * + * @param name Name of the cookie + * @param value OptionalValue for the cookie + * @param props OptionalProperties for the cookie */ interface cookie { (name: String, value?: String, props?: Object): void } interface cookie { /** * Use to determine if the current browser supports cookies or not. - * + * * Returns true if user allows cookies. * Returns false if user doesn't allow cookies. - * + * */ isSupported(): void; } - module cookie { + namespace cookie { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/domReady.html * * Plugin to delay require()/define() callback from firing until the DOM has finished loading. - * - * @param callback + * + * @param callback */ interface domReady { (callback: any): void } interface domReady { /** - * - * @param id - * @param req - * @param load + * + * @param id + * @param req + * @param load */ load(id: any, req: any, load: any): void; } - module domReady { + namespace domReady { } /** @@ -1269,12 +1269,12 @@ declare module dojo { * * Gets or sets the hash string in the browser URL. * Handles getting and setting of location.hash. - * + * * If no arguments are passed, acts as a getter. * If a string is passed, acts as a setter. - * - * @param hash Optionalthe hash is set - #string. - * @param replace OptionalIf true, updates the hash value in the current historystate instead of creating a new history state. + * + * @param hash Optionalthe hash is set - #string. + * @param replace OptionalIf true, updates the hash value in the current historystate instead of creating a new history state. */ interface hash { (hash?: String, replace?: boolean): void } /** @@ -1283,8 +1283,8 @@ declare module dojo { * Return the current value of the named feature. * Returns the value of the feature named by name. The feature must have been * previously added to the cache by has.add. - * - * @param name The name (if a string) or identifier (if an integer) of the feature to test. + * + * @param name The name (if a string) or identifier (if an integer) of the feature to test. */ interface has { (name: String): void } /** @@ -1293,57 +1293,57 @@ declare module dojo { * Return the current value of the named feature. * Returns the value of the feature named by name. The feature must have been * previously added to the cache by has.add. - * - * @param name The name (if a string) or identifier (if an integer) of the feature to test. + * + * @param name The name (if a string) or identifier (if an integer) of the feature to test. */ interface has { (name: number): void } interface has { /** - * + * */ cache: string; /** * Register a new feature test for some named feature. - * - * @param name The name (if a string) or identifier (if an integer) of the feature to test. - * @param test A test function to register. If a function, queued for testing until actuallyneeded. The test function should return a boolean indicatingthe presence of a feature or bug. - * @param now OptionalOptional. Omit if test is not a function. Provides a way to immediatelyrun the test and cache the result. - * @param force OptionalOptional. If the test already exists and force is truthy, then the existingtest will be replaced; otherwise, add does not replace an existing test (thatis, by default, the first test advice wins). + * + * @param name The name (if a string) or identifier (if an integer) of the feature to test. + * @param test A test function to register. If a function, queued for testing until actuallyneeded. The test function should return a boolean indicatingthe presence of a feature or bug. + * @param now OptionalOptional. Omit if test is not a function. Provides a way to immediatelyrun the test and cache the result. + * @param force OptionalOptional. If the test already exists and force is truthy, then the existingtest will be replaced; otherwise, add does not replace an existing test (thatis, by default, the first test advice wins). */ add(name: String, test: Function, now?: boolean, force?: boolean): any; /** * Register a new feature test for some named feature. - * - * @param name The name (if a string) or identifier (if an integer) of the feature to test. - * @param test A test function to register. If a function, queued for testing until actuallyneeded. The test function should return a boolean indicatingthe presence of a feature or bug. - * @param now OptionalOptional. Omit if test is not a function. Provides a way to immediatelyrun the test and cache the result. - * @param force OptionalOptional. If the test already exists and force is truthy, then the existingtest will be replaced; otherwise, add does not replace an existing test (thatis, by default, the first test advice wins). + * + * @param name The name (if a string) or identifier (if an integer) of the feature to test. + * @param test A test function to register. If a function, queued for testing until actuallyneeded. The test function should return a boolean indicatingthe presence of a feature or bug. + * @param now OptionalOptional. Omit if test is not a function. Provides a way to immediatelyrun the test and cache the result. + * @param force OptionalOptional. If the test already exists and force is truthy, then the existingtest will be replaced; otherwise, add does not replace an existing test (thatis, by default, the first test advice wins). */ add(name: number, test: Function, now?: boolean, force?: boolean): any; /** * Deletes the contents of the element passed to test functions. - * - * @param element + * + * @param element */ clearElement(element: any): void; /** * Conditional loading of AMD modules based on a has feature test value. - * - * @param id Gives the resolved module id to load. - * @param parentRequire The loader require function with respect to the module that contained the plugin resource in it'sdependency list. - * @param loaded Callback to loader that consumes result of plugin demand. + * + * @param id Gives the resolved module id to load. + * @param parentRequire The loader require function with respect to the module that contained the plugin resource in it'sdependency list. + * @param loaded Callback to loader that consumes result of plugin demand. */ load(id: String, parentRequire: Function, loaded: Function): void; /** * Resolves id into a module id based on possibly-nested tenary expression that branches on has feature test value(s). - * - * @param id - * @param toAbsMid Resolves a relative module id into an absolute module id + * + * @param id + * @param toAbsMid Resolves a relative module id into an absolute module id */ normalize(id: any, toAbsMid: Function): void; } - module has { + namespace has { } /** @@ -1352,21 +1352,21 @@ declare module dojo { * Test if computer is in high contrast mode (i.e. if browser is not displaying background images). * Defines has("highcontrast") and sets dj_a11y CSS class on if machine is in high contrast mode. * Returns has() method; - * + * */ interface hccss { (): void } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/NodeList-data.html * * Adds data() and removeData() methods to NodeList, and returns NodeList constructor. - * + * */ interface NodeList_data { (): void } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/NodeList-html.html * * Adds a chainable html method to dojo/query() / NodeList instances for setting/replacing node content - * + * */ interface NodeList_html { (): void } /** @@ -1374,51 +1374,51 @@ declare module dojo { * * Adds dojo.fx animation support to dojo.query() by extending the NodeList class * with additional FX functions. NodeList is the array-like object used to hold query results. - * + * */ interface NodeList_fx { (): void } interface NodeList_fx { /** * fade all elements of the node list to a specified opacity - * - * @param args + * + * @param args */ fadeTo(args: any): any; /** * highlight all elements of the node list. * Returns an instance of dojo.Animation - * - * @param args + * + * @param args */ highlight(args: any): any; /** * size all elements of this NodeList. Returns an instance of dojo.Animation - * - * @param args + * + * @param args */ sizeTo(args: any): any; /** * slide all elements of this NodeList. Returns an instance of dojo.Animation - * - * @param args + * + * @param args */ slideBy(args: any): any; /** * Wipe all elements of the NodeList to a specified width: or height: - * - * @param args + * + * @param args */ wipeTo(args: any): any; } - module NodeList_fx { + namespace NodeList_fx { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/NodeList-dom.html * * Adds DOM related methods to NodeList, and returns NodeList constructor. - * + * */ interface NodeList_dom { (): void } /** @@ -1426,14 +1426,14 @@ declare module dojo { * * Adds chainable methods to dojo.query() / NodeList instances for manipulating HTML * and DOM nodes and their properties. - * + * */ interface NodeList_manipulate { (): void } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/NodeList-traverse.html * * Adds chainable methods to dojo/query() / NodeList instances for traversing the DOM - * + * */ interface NodeList_traverse { (): void } /** @@ -1443,31 +1443,31 @@ declare module dojo { * you can provide a target, event type, and listener to be notified of * future matching events that are fired. * To listen for "click" events on a button node, we can do: - * + * * define(["dojo/on"], function(listen){ * on(button, "click", clickHandler); * ... * Evented JavaScript objects can also have their own events. - * + * * var obj = new Evented; * on(obj, "foo", fooHandler); * And then we could publish a "foo" event: - * + * * on.emit(obj, "foo", {key: "value"}); * We can use extension events as well. For example, you could listen for a tap gesture: - * + * * define(["dojo/on", "dojo/gesture/tap", function(listen, tap){ * on(button, tap, tapHandler); * ... * which would trigger fooHandler. Note that for a simple object this is equivalent to calling: - * + * * obj.onfoo({key:"value"}); * If you use on.emit on a DOM node, it will use native event dispatching when possible. - * - * @param target This is the target object or DOM element that to receive events from - * @param type This is the name of the event to listen for or an extension event type. - * @param listener This is the function that should be called when the event fires. - * @param dontFix + * + * @param target This is the target object or DOM element that to receive events from + * @param type This is the name of the event to listen for or an extension event type. + * @param listener This is the function that should be called when the event fires. + * @param dontFix */ interface on { (target: HTMLElement, type: String, listener: Function, dontFix: any): void } /** @@ -1477,31 +1477,31 @@ declare module dojo { * you can provide a target, event type, and listener to be notified of * future matching events that are fired. * To listen for "click" events on a button node, we can do: - * + * * define(["dojo/on"], function(listen){ * on(button, "click", clickHandler); * ... * Evented JavaScript objects can also have their own events. - * + * * var obj = new Evented; * on(obj, "foo", fooHandler); * And then we could publish a "foo" event: - * + * * on.emit(obj, "foo", {key: "value"}); * We can use extension events as well. For example, you could listen for a tap gesture: - * + * * define(["dojo/on", "dojo/gesture/tap", function(listen, tap){ * on(button, tap, tapHandler); * ... * which would trigger fooHandler. Note that for a simple object this is equivalent to calling: - * + * * obj.onfoo({key:"value"}); * If you use on.emit on a DOM node, it will use native event dispatching when possible. - * - * @param target This is the target object or DOM element that to receive events from - * @param type This is the name of the event to listen for or an extension event type. - * @param listener This is the function that should be called when the event fires. - * @param dontFix + * + * @param target This is the target object or DOM element that to receive events from + * @param type This is the name of the event to listen for or an extension event type. + * @param listener This is the function that should be called when the event fires. + * @param dontFix */ interface on { (target: Object, type: String, listener: Function, dontFix: any): void } /** @@ -1511,31 +1511,31 @@ declare module dojo { * you can provide a target, event type, and listener to be notified of * future matching events that are fired. * To listen for "click" events on a button node, we can do: - * + * * define(["dojo/on"], function(listen){ * on(button, "click", clickHandler); * ... * Evented JavaScript objects can also have their own events. - * + * * var obj = new Evented; * on(obj, "foo", fooHandler); * And then we could publish a "foo" event: - * + * * on.emit(obj, "foo", {key: "value"}); * We can use extension events as well. For example, you could listen for a tap gesture: - * + * * define(["dojo/on", "dojo/gesture/tap", function(listen, tap){ * on(button, tap, tapHandler); * ... * which would trigger fooHandler. Note that for a simple object this is equivalent to calling: - * + * * obj.onfoo({key:"value"}); * If you use on.emit on a DOM node, it will use native event dispatching when possible. - * - * @param target This is the target object or DOM element that to receive events from - * @param type This is the name of the event to listen for or an extension event type. - * @param listener This is the function that should be called when the event fires. - * @param dontFix + * + * @param target This is the target object or DOM element that to receive events from + * @param type This is the name of the event to listen for or an extension event type. + * @param listener This is the function that should be called when the event fires. + * @param dontFix */ interface on { (target: HTMLElement, type: Function, listener: Function, dontFix: any): void } /** @@ -1545,60 +1545,60 @@ declare module dojo { * you can provide a target, event type, and listener to be notified of * future matching events that are fired. * To listen for "click" events on a button node, we can do: - * + * * define(["dojo/on"], function(listen){ * on(button, "click", clickHandler); * ... * Evented JavaScript objects can also have their own events. - * + * * var obj = new Evented; * on(obj, "foo", fooHandler); * And then we could publish a "foo" event: - * + * * on.emit(obj, "foo", {key: "value"}); * We can use extension events as well. For example, you could listen for a tap gesture: - * + * * define(["dojo/on", "dojo/gesture/tap", function(listen, tap){ * on(button, tap, tapHandler); * ... * which would trigger fooHandler. Note that for a simple object this is equivalent to calling: - * + * * obj.onfoo({key:"value"}); * If you use on.emit on a DOM node, it will use native event dispatching when possible. - * - * @param target This is the target object or DOM element that to receive events from - * @param type This is the name of the event to listen for or an extension event type. - * @param listener This is the function that should be called when the event fires. - * @param dontFix + * + * @param target This is the target object or DOM element that to receive events from + * @param type This is the name of the event to listen for or an extension event type. + * @param listener This is the function that should be called when the event fires. + * @param dontFix */ interface on { (target: Object, type: String, listener: Function, dontFix?: any): { remove: { (): void } } } interface on { /** - * - * @param target - * @param type - * @param event + * + * @param target + * @param type + * @param event */ emit(target: any, type: any, event: any): any; /** - * This function acts the same as on(), but will only call the listener once. The + * This function acts the same as on(), but will only call the listener once. The * listener will be called for the first * event that takes place and then listener will automatically be removed. - * - * @param target - * @param type - * @param listener - * @param dontFix + * + * @param target + * @param type + * @param listener + * @param dontFix */ once(target: any, type: any, listener: any, dontFix?: any): any; /** - * - * @param target - * @param type - * @param listener - * @param addListener - * @param dontFix - * @param matchesTarget + * + * @param target + * @param type + * @param listener + * @param addListener + * @param dontFix + * @param matchesTarget */ parse(target: any, type: any, listener: any, addListener: any, dontFix: any, matchesTarget: any): any; /** @@ -1606,28 +1606,28 @@ declare module dojo { * returned signal object has pause() and resume() functions. Calling the * pause() method will cause the listener to not be called for future events. Calling the * resume() method will cause the listener to again be called for future events. - * - * @param target - * @param type - * @param listener - * @param dontFix + * + * @param target + * @param type + * @param listener + * @param dontFix */ pausable(target: any, type: any, listener: any, dontFix: any): any; /** * Creates a new extension event with event delegation. This is based on * the provided event type (can be extension event) that * only calls the listener when the CSS selector matches the target of the event. - * + * * The application must require() an appropriate level of dojo/query to handle the selector. - * - * @param selector The CSS selector to use for filter events and determine the |this| of the event listener. - * @param eventType The event to listen for - * @param children Indicates if children elements of the selector should be allowed. This defaults to true + * + * @param selector The CSS selector to use for filter events and determine the |this| of the event listener. + * @param eventType The event to listen for + * @param children Indicates if children elements of the selector should be allowed. This defaults to true */ selector(selector: any, eventType: any, children: any): Function; } - module on { + namespace on { } /** @@ -1640,11 +1640,11 @@ declare module dojo { * its results with a NodeList. You can use dojo/query with a specific selector engine * by using it as a plugin. For example, if you installed the sizzle package, you could * use it as the selector engine with: - * + * * require(["dojo/query!sizzle"], function(query){ * query("div")... * The id after the ! can be a module id of the selector engine or one of the following values: - * + * * acme: This is the default engine used by Dojo base, and will ensure that the full * Acme engine is always loaded. * css2: If the browser has a native selector engine, this will be used, otherwise a @@ -1657,19 +1657,19 @@ declare module dojo { * selectors (most modern browsers except IE8), this will be used, otherwise the * full Acme engine will be loaded. * Or the module id of a selector engine can be used to explicitly choose the selector engine - * + * * For example, if you are using CSS3 pseudo selectors in module, you can specify that * you will need support them with: - * + * * require(["dojo/query!css3"], function(query){ * query('#t > h3:nth-child(odd)')... * You can also choose the selector engine/load configuration by setting the query-selector: * For example: - * + * * - * - * @param selector A CSS selector to search for. - * @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned. + * + * @param selector A CSS selector to search for. + * @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned. */ interface query{(selector: String, context?: String): NodeList} /** @@ -1682,11 +1682,11 @@ declare module dojo { * its results with a NodeList. You can use dojo/query with a specific selector engine * by using it as a plugin. For example, if you installed the sizzle package, you could * use it as the selector engine with: - * + * * require(["dojo/query!sizzle"], function(query){ * query("div")... * The id after the ! can be a module id of the selector engine or one of the following values: - * + * * acme: This is the default engine used by Dojo base, and will ensure that the full * Acme engine is always loaded. * css2: If the browser has a native selector engine, this will be used, otherwise a @@ -1699,28 +1699,28 @@ declare module dojo { * selectors (most modern browsers except IE8), this will be used, otherwise the * full Acme engine will be loaded. * Or the module id of a selector engine can be used to explicitly choose the selector engine - * + * * For example, if you are using CSS3 pseudo selectors in module, you can specify that * you will need support them with: - * + * * require(["dojo/query!css3"], function(query){ * query('#t > h3:nth-child(odd)')... * You can also choose the selector engine/load configuration by setting the query-selector: * For example: - * + * * - * - * @param selector A CSS selector to search for. - * @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned. + * + * @param selector A CSS selector to search for. + * @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned. */ interface query{(selector: String, context?: HTMLElement): NodeList} interface query { /** * can be used as AMD plugin to conditionally load new query engine - * - * @param id - * @param parentRequire - * @param loaded + * + * @param id + * @param parentRequire + * @param loaded */ load(id: any, parentRequire: any, loaded: any): void; /** @@ -1734,13 +1734,13 @@ declare module dojo { * functions in the dojo package, NodeLists generally make the * full power of Dojo available for DOM manipulation tasks in a * simple, chainable way. - * - * @param array + * + * @param array */ NodeList(array: any): any[]; } - module query { + namespace query { } /** @@ -1748,13 +1748,13 @@ declare module dojo { * * Add a function to execute on DOM content loaded and all requested modules have arrived and been evaluated. * In most cases, the domReady plug-in should suffice and this method should not be needed. - * + * * When called in a non-browser environment, just checks that all requested modules have arrived and been * evaluated. - * - * @param priority OptionalThe order in which to exec this callback relative to other callbacks, defaults to 1000 - * @param context The context in which to run execute callback, or a callback if not using context - * @param callback OptionalThe function to execute. + * + * @param priority OptionalThe order in which to exec this callback relative to other callbacks, defaults to 1000 + * @param context The context in which to run execute callback, or a callback if not using context + * @param callback OptionalThe function to execute. */ interface ready{(priority?: number, context?: any, callback?: Function): void} /** @@ -1762,7 +1762,7 @@ declare module dojo { * * This module sets has() flags based on the current browser. * It returns the has() function. - * + * */ interface sniff{(): void} /** @@ -1772,16 +1772,16 @@ declare module dojo { * Accepts promises but also transparently handles non-promises. If no * callbacks are provided returns a promise, regardless of the initial * value. Foreign promises are converted. - * + * * If callbacks are provided and the initial value is not a promise, * the callback is executed immediately with no error handling. Returns * a promise if the initial value is a promise, or the result of the * callback otherwise. - * - * @param valueOrPromise Either a regular value or an object with a then() method thatfollows the Promises/A specification. - * @param callback OptionalCallback to be invoked when the promise is resolved, or a non-promiseis received. - * @param errback OptionalCallback to be invoked when the promise is rejected. - * @param progback OptionalCallback to be invoked when the promise emits a progress update. + * + * @param valueOrPromise Either a regular value or an object with a then() method thatfollows the Promises/A specification. + * @param callback OptionalCallback to be invoked when the promise is resolved, or a non-promiseis received. + * @param errback OptionalCallback to be invoked when the promise is rejected. + * @param progback OptionalCallback to be invoked when the promise emits a progress update. */ interface when { (value: T|dojo.promise.Promise, callback: dojo.promise.Callback, errback?: any, progback?: any): U|dojo.promise.Promise } /** @@ -1793,15 +1793,15 @@ declare module dojo { * this new deferred will typically have its callback fired when all of the deferreds in * the given list have fired their own deferreds. The parameters fireOnOneCallback and * fireOnOneErrback, will fire before all the deferreds as appropriate - * + * */ class DeferredList { constructor(); /** * Gathers the results of the deferreds for packaging * as the parameters to the Deferred Lists' callback - * - * @param deferredList The deferred list from which this function gathers results. + * + * @param deferredList The deferred list from which this function gathers results. */ gatherResults(deferredList: dojo.DeferredList): any; } @@ -1814,13 +1814,13 @@ declare module dojo { * asynchronous operations. The deferred is the private interface * that should not be returned to calling code. That's what the * promise is for. See dojo/promise/Promise. - * - * @param canceler OptionalWill be invoked if the deferred is canceled. The cancelerreceives the reason the deferred was canceled as its argument.The deferred is rejected with its return value, or a newdojo/errors/CancelError instance. + * + * @param canceler OptionalWill be invoked if the deferred is canceled. The cancelerreceives the reason the deferred was canceled as its argument.The deferred is rejected with its return value, or a newdojo/errors/CancelError instance. */ class Deferred { constructor(canceler?: Function); /** - * + * */ "promise": dojo.promise.Promise; /** @@ -1829,29 +1829,29 @@ declare module dojo { * The deferred's (optional) canceler is invoked and the * deferred will be left in a rejected state. Can affect other * promises that originate with the same deferred. - * - * @param reason A message that may be sent to the deferred's canceler,explaining why it's being canceled. - * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be canceled. + * + * @param reason A message that may be sent to the deferred's canceler,explaining why it's being canceled. + * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be canceled. */ cancel(reason: any, strict?: boolean): any; /** * Checks whether the deferred has been canceled. - * + * */ isCanceled(): boolean; /** * Checks whether the deferred has been resolved or rejected. - * + * */ isFulfilled(): boolean; /** * Checks whether the deferred has been rejected. - * + * */ isRejected(): boolean; /** * Checks whether the deferred has been resolved. - * + * */ isResolved(): boolean; /** @@ -1859,39 +1859,39 @@ declare module dojo { * Emit a progress update on the deferred. Progress updates * can be used to communicate updates about the asynchronous * operation before it has finished. - * - * @param update The progress update. Passed to progbacks. - * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently no progress can be emitted. + * + * @param update The progress update. Passed to progbacks. + * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently no progress can be emitted. */ progress(update: any, strict?: boolean): dojo.promise.Promise; /** * Reject the deferred. * Reject the deferred, putting it in an error state. - * - * @param error The error result of the deferred. Passed to errbacks. - * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be rejected. + * + * @param error The error result of the deferred. Passed to errbacks. + * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be rejected. */ reject(error: any, strict?: boolean): any; /** * Resolve the deferred. * Resolve the deferred, putting it in a success state. - * - * @param value The result of the deferred. Passed to callbacks. - * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be resolved. + * + * @param value The result of the deferred. Passed to callbacks. + * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be resolved. */ resolve(value: any, strict?: boolean): dojo.promise.Promise; /** * Add new callbacks to the deferred. * Add new callbacks to the deferred. Callbacks can be added * before or after the deferred is fulfilled. - * - * @param callback OptionalCallback to be invoked when the promise is resolved.Receives the resolution value. - * @param errback OptionalCallback to be invoked when the promise is rejected.Receives the rejection error. - * @param progback OptionalCallback to be invoked when the promise emits a progressupdate. Receives the progress update. + * + * @param callback OptionalCallback to be invoked when the promise is resolved.Receives the resolution value. + * @param errback OptionalCallback to be invoked when the promise is rejected.Receives the rejection error. + * @param progback OptionalCallback to be invoked when the promise emits a progressupdate. Receives the progress update. */ then(callback?: Function, errback?: Function, progback?: Function): dojo.promise.Promise; /** - * + * */ toString(): String; } @@ -1901,20 +1901,20 @@ declare module dojo { * A class that can be used as a mixin or base class, * to add on() and emit() methods to a class * for listening for events and emitting events: - * + * */ class Evented { constructor(); /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: String, data: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: String, listener: {(e:any):void}): {remove: {():void}}; } @@ -1931,33 +1931,33 @@ declare module dojo { * functions in the dojo package, NodeLists generally make the * full power of Dojo available for DOM manipulation tasks in a * simple, chainable way. - * - * @param array + * + * @param array */ class NodeList { constructor(array: any); /** - * + * */ "events": any[]; /** * adds the specified class to every node in the list - * - * @param className A String class name to add, or several space-separated class names,or an array of class names. + * + * @param className A String class name to add, or several space-separated class names,or an array of class names. */ addClass(className: String): void; /** * adds the specified class to every node in the list - * - * @param className A String class name to add, or several space-separated class names,or an array of class names. + * + * @param className A String class name to add, or several space-separated class names,or an array of class names. */ addClass(className: any[]): void; /** * Animate the effects of adding a class to all nodes in this list. * see dojox.fx.addClass - * - * @param cssClass - * @param args + * + * @param cssClass + * @param args */ addClassFx(cssClass: any, args: any): {type:Function;value:any}; /** @@ -1967,9 +1967,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: String, position?: String): Function; /** @@ -1979,9 +1979,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: HTMLElement, position?: String): Function; /** @@ -1991,9 +1991,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: Object, position?: String): Function; /** @@ -2003,9 +2003,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: dojo.NodeList, position?: String): Function; /** @@ -2015,9 +2015,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: String, position?: number): Function; /** @@ -2027,9 +2027,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: HTMLElement, position?: number): Function; /** @@ -2039,9 +2039,9 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: Object, position?: number): Function; /** @@ -2051,36 +2051,36 @@ declare module dojo { * list, with an optional position argument. If no position * argument is provided, the content is appended to the end of * each item. - * - * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property + * + * @param content the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param position Optionalcan be one of:"last"||"end" (default)"first||"start""before""after""replace" (replaces nodes in this NodeList with new content)"only" (removes other children of the nodes so new content is the only child)or an offset in the childNodes property */ addContent(content: dojo.NodeList, position?: number): Function; /** * places any/all elements in queryOrListOrNode at a * position relative to the first element in this list. * Returns a dojo/NodeList of the adopted elements. - * - * @param queryOrListOrNode a DOM node or a query string or a query result.Represents the nodes to be adopted relative to thefirst element of this NodeList. - * @param position Optionalcan be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property + * + * @param queryOrListOrNode a DOM node or a query string or a query result.Represents the nodes to be adopted relative to thefirst element of this NodeList. + * @param position Optionalcan be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property */ adopt(queryOrListOrNode: String, position?: String): any; /** * places any/all elements in queryOrListOrNode at a * position relative to the first element in this list. * Returns a dojo/NodeList of the adopted elements. - * - * @param queryOrListOrNode a DOM node or a query string or a query result.Represents the nodes to be adopted relative to thefirst element of this NodeList. - * @param position Optionalcan be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property + * + * @param queryOrListOrNode a DOM node or a query string or a query result.Represents the nodes to be adopted relative to thefirst element of this NodeList. + * @param position Optionalcan be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property */ adopt(queryOrListOrNode: any[], position?: String): any; /** * places any/all elements in queryOrListOrNode at a * position relative to the first element in this list. * Returns a dojo/NodeList of the adopted elements. - * - * @param queryOrListOrNode a DOM node or a query string or a query result.Represents the nodes to be adopted relative to thefirst element of this NodeList. - * @param position Optionalcan be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property + * + * @param queryOrListOrNode a DOM node or a query string or a query result.Represents the nodes to be adopted relative to thefirst element of this NodeList. + * @param position Optionalcan be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property */ adopt(queryOrListOrNode: HTMLElement, position?: String): any; /** @@ -2088,8 +2088,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ after(content: String): any; /** @@ -2097,8 +2097,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ after(content: HTMLElement): any; /** @@ -2106,34 +2106,34 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ after(content: NodeList): any; /** * Adds the nodes from the previous dojo/NodeList to the current dojo/NodeList. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * + * */ andSelf(): any; /** * Animate one or more CSS properties for all nodes in this list. * The returned animation object will already be playing when it * is returned. See the docs for dojo.anim for full details. - * - * @param properties the properties to animate. does NOT support the auto parameter like otherNodeList-fx methods. - * @param duration OptionalOptional. The time to run the animations for - * @param easing OptionalOptional. The easing function to use. - * @param onEnd OptionalA function to be called when the animation ends - * @param delay Optionalhow long to delay playing the returned animation + * + * @param properties the properties to animate. does NOT support the auto parameter like otherNodeList-fx methods. + * @param duration OptionalOptional. The time to run the animations for + * @param easing OptionalOptional. The easing function to use. + * @param onEnd OptionalA function to be called when the animation ends + * @param delay Optionalhow long to delay playing the returned animation */ anim(properties: Object, duration?: number, easing?: Function, onEnd?: Function, delay?: number): any; /** * Animate all elements of this NodeList across the properties specified. * syntax identical to dojo.animateProperty - * - * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. + * + * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. */ animateProperty(args?: Object): any; /** @@ -2141,8 +2141,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ append(content: String): any; /** @@ -2150,8 +2150,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ append(content: HTMLElement): any; /** @@ -2159,8 +2159,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ append(content: NodeList): any; /** @@ -2169,23 +2169,23 @@ declare module dojo { * The nodes in this NodeList will be cloned if the query * matches more than one element. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param query + * + * @param query */ appendTo(query: String): any; /** * Returns a new NodeList comprised of items in this NodeList * at the given index or indices. - * - * @param index One or more 0-based indices of items in the currentNodeList. A negative index will start at the end of thelist and go backwards. + * + * @param index One or more 0-based indices of items in the currentNodeList. A negative index will start at the end of thelist and go backwards. */ at(index: number[]): any; /** * gets or sets the DOM attribute for every element in the * NodeList. See also dojo/dom-attr - * - * @param property the attribute to get/set - * @param value Optionaloptional. The value to set the property to + * + * @param property the attribute to get/set + * @param value Optionaloptional. The value to set the property to */ attr(property: String, value?: String): any; /** @@ -2193,8 +2193,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ before(content: String): any; /** @@ -2202,8 +2202,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ before(content: HTMLElement): any; /** @@ -2211,8 +2211,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ before(content: NodeList): any; /** @@ -2220,14 +2220,14 @@ declare module dojo { * Optionally takes a query to filter the child elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ children(query?: String): any; /** * Clones all the nodes in this NodeList and returns them as a new NodeList. * Only the DOM nodes are cloned, not any attached event handlers. - * + * */ clone(): any; /** @@ -2235,9 +2235,9 @@ declare module dojo { * dojo/NodeList if it matches the query. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query a CSS selector. - * @param root OptionalIf specified, query is relative to "root" rather than document body. + * + * @param query a CSS selector. + * @param root OptionalIf specified, query is relative to "root" rather than document body. */ closest(query: String, root?: String): any; /** @@ -2245,9 +2245,9 @@ declare module dojo { * dojo/NodeList if it matches the query. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query a CSS selector. - * @param root OptionalIf specified, query is relative to "root" rather than document body. + * + * @param query a CSS selector. + * @param root OptionalIf specified, query is relative to "root" rather than document body. */ closest(query: String, root?: HTMLElement): any; /** @@ -2257,41 +2257,41 @@ declare module dojo { * with the caveat that it returns a NodeList and not a * raw Array. For more details, see the Array.concat * docs - * - * @param item OptionalAny number of optional parameters may be passed in to bespliced into the NodeList + * + * @param item OptionalAny number of optional parameters may be passed in to bespliced into the NodeList */ concat(item: Object): any; /** * Attach event handlers to every item of the NodeList. Uses dojo.connect() * so event properties are normalized. - * + * * Application must manually require() "dojo/_base/connect" before using this method. - * - * @param methodName the name of the method to attach to. For DOM events, this should bethe lower-case name of the event - * @param objOrFunc if 2 arguments are passed (methodName, objOrFunc), objOrFunc shouldreference a function or be the name of the function in the globalnamespace to attach. If 3 arguments are provided(methodName, objOrFunc, funcName), objOrFunc must be the scope tolocate the bound function in - * @param funcName Optionaloptional. A string naming the function in objOrFunc to bind to theevent. May also be a function reference. + * + * @param methodName the name of the method to attach to. For DOM events, this should bethe lower-case name of the event + * @param objOrFunc if 2 arguments are passed (methodName, objOrFunc), objOrFunc shouldreference a function or be the name of the function in the globalnamespace to attach. If 3 arguments are provided(methodName, objOrFunc, funcName), objOrFunc must be the scope tolocate the bound function in + * @param funcName Optionaloptional. A string naming the function in objOrFunc to bind to theevent. May also be a function reference. */ connect(methodName: String, objOrFunc: Object, funcName?: String): void; /** * Attach event handlers to every item of the NodeList. Uses dojo.connect() * so event properties are normalized. - * + * * Application must manually require() "dojo/_base/connect" before using this method. - * - * @param methodName the name of the method to attach to. For DOM events, this should bethe lower-case name of the event - * @param objOrFunc if 2 arguments are passed (methodName, objOrFunc), objOrFunc shouldreference a function or be the name of the function in the globalnamespace to attach. If 3 arguments are provided(methodName, objOrFunc, funcName), objOrFunc must be the scope tolocate the bound function in - * @param funcName Optionaloptional. A string naming the function in objOrFunc to bind to theevent. May also be a function reference. + * + * @param methodName the name of the method to attach to. For DOM events, this should bethe lower-case name of the event + * @param objOrFunc if 2 arguments are passed (methodName, objOrFunc), objOrFunc shouldreference a function or be the name of the function in the globalnamespace to attach. If 3 arguments are provided(methodName, objOrFunc, funcName), objOrFunc must be the scope tolocate the bound function in + * @param funcName Optionaloptional. A string naming the function in objOrFunc to bind to theevent. May also be a function reference. */ connect(methodName: String, objOrFunc: Function, funcName?: String): void; /** * Attach event handlers to every item of the NodeList. Uses dojo.connect() * so event properties are normalized. - * + * * Application must manually require() "dojo/_base/connect" before using this method. - * - * @param methodName the name of the method to attach to. For DOM events, this should bethe lower-case name of the event - * @param objOrFunc if 2 arguments are passed (methodName, objOrFunc), objOrFunc shouldreference a function or be the name of the function in the globalnamespace to attach. If 3 arguments are provided(methodName, objOrFunc, funcName), objOrFunc must be the scope tolocate the bound function in - * @param funcName Optionaloptional. A string naming the function in objOrFunc to bind to theevent. May also be a function reference. + * + * @param methodName the name of the method to attach to. For DOM events, this should bethe lower-case name of the event + * @param objOrFunc if 2 arguments are passed (methodName, objOrFunc), objOrFunc shouldreference a function or be the name of the function in the globalnamespace to attach. If 3 arguments are provided(methodName, objOrFunc, funcName), objOrFunc must be the scope tolocate the bound function in + * @param funcName Optionaloptional. A string naming the function in objOrFunc to bind to theevent. May also be a function reference. */ connect(methodName: String, objOrFunc: String, funcName?: String): void; /** @@ -2300,7 +2300,7 @@ declare module dojo { * Returns the box objects of all elements in a node list as * an Array (not a NodeList). Acts like domGeom.coords, though assumes * the node passed is each node in this list. - * + * */ coords(): void; /** @@ -2309,13 +2309,13 @@ declare module dojo { * exposed publicly on dojo/NodeList, eg: as the result of a dojo/query call. * DIFFERS from jQuery.data in that when used as a getter, the entire list is ALWAYS * returned. EVEN WHEN THE LIST IS length == 1. - * + * * A single-node version of this function is provided as dojo._nodeData, which follows * the same signature, though expects a String ID or DomNode reference in the first * position, before key/value arguments. - * - * @param key OptionalIf an object, act as a setter and iterate over said object setting data items as defined.If a string, and value present, set the data for defined key to valueIf a string, and value absent, act as a getter, returning the data associated with said key - * @param value OptionalThe value to set for said key, provided key is a string (and not an object) + * + * @param key OptionalIf an object, act as a setter and iterate over said object setting data items as defined.If a string, and value present, set the data for defined key to valueIf a string, and value absent, act as a getter, returning the data associated with said key + * @param value OptionalThe value to set for said key, provided key is a string (and not an object) */ data(key?: Object, value?: any): any; /** @@ -2324,13 +2324,13 @@ declare module dojo { * exposed publicly on dojo/NodeList, eg: as the result of a dojo/query call. * DIFFERS from jQuery.data in that when used as a getter, the entire list is ALWAYS * returned. EVEN WHEN THE LIST IS length == 1. - * + * * A single-node version of this function is provided as dojo._nodeData, which follows * the same signature, though expects a String ID or DomNode reference in the first * position, before key/value arguments. - * - * @param key OptionalIf an object, act as a setter and iterate over said object setting data items as defined.If a string, and value present, set the data for defined key to valueIf a string, and value absent, act as a getter, returning the data associated with said key - * @param value OptionalThe value to set for said key, provided key is a string (and not an object) + * + * @param key OptionalIf an object, act as a setter and iterate over said object setting data items as defined.If a string, and value present, set the data for defined key to valueIf a string, and value absent, act as a getter, returning the data associated with said key + * @param value OptionalThe value to set for said key, provided key is a string (and not an object) */ data(key?: String, value?: any): any; /** @@ -2339,53 +2339,53 @@ declare module dojo { * that matches the selector. * Sets up event handlers that can catch events on any subnodes matching a given selector, * including nodes created after delegate() has been called. - * + * * This allows an app to setup a single event handler on a high level node, rather than many * event handlers on subnodes. For example, one onclick handler for a Tree widget, rather than separate * handlers for each node in the tree. * Since setting up many event handlers is expensive, this can increase performance. - * + * * Note that delegate() will not work for events that don't bubble, like focus. * onmouseenter/onmouseleave also don't currently work. - * - * @param selector CSS selector valid to dojo.query, like ".foo" or "div > span". Theselector is relative to the nodes in this NodeList, not the document root.For example myNodeList.delegate("> a", "onclick", ...) will catch events onanchor nodes which are (immediate) children of the nodes in myNodeList. - * @param eventName Standard event name used as an argument to dojo.connect, like "onclick". - * @param fn Callback function passed the event object, and where this == the node that matches the selector.That means that for example, after setting up a handler viadojo.query("body").delegate("fieldset", "onclick", ...)clicking on a fieldset or any nodes inside of a fieldset will be reportedas a click on the fieldset itself. + * + * @param selector CSS selector valid to dojo.query, like ".foo" or "div > span". Theselector is relative to the nodes in this NodeList, not the document root.For example myNodeList.delegate("> a", "onclick", ...) will catch events onanchor nodes which are (immediate) children of the nodes in myNodeList. + * @param eventName Standard event name used as an argument to dojo.connect, like "onclick". + * @param fn Callback function passed the event object, and where this == the node that matches the selector.That means that for example, after setting up a handler viadojo.query("body").delegate("fieldset", "onclick", ...)clicking on a fieldset or any nodes inside of a fieldset will be reportedas a click on the fieldset itself. */ delegate(selector: String, eventName: String, fn: Function): any; /** * Renders the specified template in each of the NodeList entries. - * - * @param template The template string or location - * @param context The context object or location + * + * @param template The template string or location + * @param context The context object or location */ dtl(template: dojox.dtl.__StringArgs , context: dojox.dtl.__ObjectArgs ): Function; /** * Renders the specified template in each of the NodeList entries. - * - * @param template The template string or location - * @param context The context object or location + * + * @param template The template string or location + * @param context The context object or location */ dtl(template: String, context: dojox.dtl.__ObjectArgs ): Function; /** * Renders the specified template in each of the NodeList entries. - * - * @param template The template string or location - * @param context The context object or location + * + * @param template The template string or location + * @param context The context object or location */ dtl(template: dojox.dtl.__StringArgs , context: Object): Function; /** * Renders the specified template in each of the NodeList entries. - * - * @param template The template string or location - * @param context The context object or location + * + * @param template The template string or location + * @param context The context object or location */ dtl(template: String, context: Object): Function; /** * clears all content from each node in the list. Effectively * equivalent to removing all child nodes from every item in * the list. - * + * */ empty(): any; /** @@ -2393,14 +2393,14 @@ declare module dojo { * that generated the current NodeList. * Returns the NodeList that generated the current NodeList. If there * is no parent NodeList, an empty NodeList is returned. - * + * */ end(): any; /** * Returns the even nodes in this dojo/NodeList as a dojo/NodeList. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * + * */ even(): any; /** @@ -2409,21 +2409,21 @@ declare module dojo { * Takes the same structure of arguments and returns as * dojo/_base/array.every() with the caveat that the passed array is * implicitly this NodeList - * - * @param callback the callback - * @param thisObject Optionalthe context + * + * @param callback the callback + * @param thisObject Optionalthe context */ every(callback: Function, thisObject?: Object): any; /** * fade in all elements of this NodeList via dojo.fadeIn - * - * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. + * + * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. */ fadeIn(args?: Object): any; /** * fade out all elements of this NodeList via dojo.fadeOut - * - * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. + * + * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. */ fadeOut(args?: Object): any; /** @@ -2431,8 +2431,8 @@ declare module dojo { * in Dojo via dojo.filter) to support passing a simple * string filter in addition to supporting filtering function * objects. - * - * @param filter If a string, a CSS rule like ".thinger" or "div > span". + * + * @param filter If a string, a CSS rule like ".thinger" or "div > span". */ filter(filter: String): any; /** @@ -2440,24 +2440,24 @@ declare module dojo { * in Dojo via dojo.filter) to support passing a simple * string filter in addition to supporting filtering function * objects. - * - * @param filter If a string, a CSS rule like ".thinger" or "div > span". + * + * @param filter If a string, a CSS rule like ".thinger" or "div > span". */ filter(filter: Function): any; /** * Returns the first node in this dojo/NodeList as a dojo/NodeList. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * + * */ first(): any; /** * see dojo/_base/array.forEach(). The primary difference is that the acted-on * array is implicitly this NodeList. If you want the option to break out * of the forEach loop, use every() or some() instead. - * - * @param callback - * @param thisObj + * + * @param callback + * @param thisObj */ forEach(callback: any, thisObj: any): Function; /** @@ -2474,8 +2474,8 @@ declare module dojo { * The nodes represented by the value argument will be cloned if more than one * node is in this NodeList. The nodes in this NodeList are returned in the "set" * usage of this method, not the HTML that was inserted. - * - * @param value Optional + * + * @param value Optional */ html(value?: String): any; /** @@ -2492,8 +2492,8 @@ declare module dojo { * The nodes represented by the value argument will be cloned if more than one * node is in this NodeList. The nodes in this NodeList are returned in the "set" * usage of this method, not the HTML that was inserted. - * - * @param value Optional + * + * @param value Optional */ html(value?: HTMLElement): any; /** @@ -2510,8 +2510,8 @@ declare module dojo { * The nodes represented by the value argument will be cloned if more than one * node is in this NodeList. The nodes in this NodeList are returned in the "set" * usage of this method, not the HTML that was inserted. - * - * @param value Optional + * + * @param value Optional */ html(value?: NodeList): any; /** @@ -2520,9 +2520,9 @@ declare module dojo { * For more details on the behavior of indexOf, see Mozilla's * indexOf * docs - * - * @param value The value to search for. - * @param fromIndex OptionalThe location to start searching from. Optional. Defaults to 0. + * + * @param value The value to search for. + * @param fromIndex OptionalThe location to start searching from. Optional. Defaults to 0. */ indexOf(value: Object, fromIndex: number): any; /** @@ -2539,8 +2539,8 @@ declare module dojo { * The nodes represented by the value argument will be cloned if more than one * node is in this NodeList. The nodes in this NodeList are returned in the "set" * usage of this method, not the HTML that was inserted. - * - * @param value Optional + * + * @param value Optional */ innerHTML(value?: String): any; /** @@ -2557,8 +2557,8 @@ declare module dojo { * The nodes represented by the value argument will be cloned if more than one * node is in this NodeList. The nodes in this NodeList are returned in the "set" * usage of this method, not the HTML that was inserted. - * - * @param value Optional + * + * @param value Optional */ innerHTML(value?: HTMLElement): any; /** @@ -2575,8 +2575,8 @@ declare module dojo { * The nodes represented by the value argument will be cloned if more than one * node is in this NodeList. The nodes in this NodeList are returned in the "set" * usage of this method, not the HTML that was inserted. - * - * @param value Optional + * + * @param value Optional */ innerHTML(value?: NodeList): any; /** @@ -2585,8 +2585,8 @@ declare module dojo { * The nodes in this NodeList will be cloned if the query * matches more than one element. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param query + * + * @param query */ insertAfter(query: String): any; /** @@ -2595,33 +2595,33 @@ declare module dojo { * The nodes in this NodeList will be cloned if the query * matches more than one element. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param query + * + * @param query */ insertBefore(query: String): any; /** * Create a new instance of a specified class, using the * specified properties and each node in the NodeList as a * srcNodeRef. - * - * @param declaredClass - * @param properties Optional + * + * @param declaredClass + * @param properties Optional */ instantiate(declaredClass: String, properties?: Object): any; /** * Create a new instance of a specified class, using the * specified properties and each node in the NodeList as a * srcNodeRef. - * - * @param declaredClass - * @param properties Optional + * + * @param declaredClass + * @param properties Optional */ instantiate(declaredClass: Object, properties?: Object): any; /** * Returns the last node in this dojo/NodeList as a dojo/NodeList. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * + * */ last(): any; /** @@ -2630,23 +2630,23 @@ declare module dojo { * For more details on the behavior of lastIndexOf, see * Mozilla's lastIndexOf * docs - * - * @param value The value to search for. - * @param fromIndex OptionalThe location to start searching from. Optional. Defaults to 0. + * + * @param value The value to search for. + * @param fromIndex OptionalThe location to start searching from. Optional. Defaults to 0. */ lastIndexOf(value: Object, fromIndex?: number): any; /** * see dojo/_base/array.map(). The primary difference is that the acted-on * array is implicitly this NodeList and the return is a * NodeList (a subclass of Array) - * - * @param func - * @param obj Optional + * + * @param func + * @param obj Optional */ map(func: Function, obj?: Function): any; /** * Returns margin-box size of nodes - * + * */ marginBox(): void; /** @@ -2654,8 +2654,8 @@ declare module dojo { * Optionally takes a query to filter the next elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ next(query?: String): any; /** @@ -2663,29 +2663,29 @@ declare module dojo { * Optionally takes a query to filter the sibling elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ nextAll(query?: String): any; /** * Returns the odd nodes in this dojo/NodeList as a dojo/NodeList. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * + * */ odd(): any; /** * Listen for events on the nodes in the NodeList. Basic usage is: - * - * @param eventName - * @param listener + * + * @param eventName + * @param listener */ on(eventName: any, listener: any): any; /** * removes elements in this list that match the filter * from their parents and returns them as a new NodeList. - * - * @param filter OptionalCSS selector like ".foo" or "div > span" + * + * @param filter OptionalCSS selector like ".foo" or "div > span" */ orphan(filter?: String): any; /** @@ -2693,8 +2693,8 @@ declare module dojo { * Optionally takes a query to filter the parent elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ parent(query?: String): any; /** @@ -2702,31 +2702,31 @@ declare module dojo { * Optionally takes a query to filter the child elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ parents(query?: String): any; /** * places elements of this node list relative to the first element matched * by queryOrNode. Returns the original NodeList. See: dojo/dom-construct.place - * - * @param queryOrNode may be a string representing any valid CSS3 selector or a DOM node.In the selector case, only the first matching element will be usedfor relative positioning. - * @param position can be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property + * + * @param queryOrNode may be a string representing any valid CSS3 selector or a DOM node.In the selector case, only the first matching element will be usedfor relative positioning. + * @param position can be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property */ place(queryOrNode: String, position: String): any; /** * places elements of this node list relative to the first element matched * by queryOrNode. Returns the original NodeList. See: dojo/dom-construct.place - * - * @param queryOrNode may be a string representing any valid CSS3 selector or a DOM node.In the selector case, only the first matching element will be usedfor relative positioning. - * @param position can be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property + * + * @param queryOrNode may be a string representing any valid CSS3 selector or a DOM node.In the selector case, only the first matching element will be usedfor relative positioning. + * @param position can be one of:"last" (default)"first""before""after""only""replace"or an offset in the childNodes property */ place(queryOrNode: HTMLElement, position: String): any; /** * Returns border-box objects (x/y/w/h) of all elements in a node list * as an Array (not a NodeList). Acts like dojo/dom-geometry-position, though * assumes the node passed is each node in this list. - * + * */ position(): any; /** @@ -2734,8 +2734,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ prepend(content: String): any; /** @@ -2743,8 +2743,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ prepend(content: HTMLElement): any; /** @@ -2752,8 +2752,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ prepend(content: NodeList): any; /** @@ -2762,8 +2762,8 @@ declare module dojo { * The nodes in this NodeList will be cloned if the query * matches more than one element. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param query + * + * @param query */ prependTo(query: String): any; /** @@ -2771,8 +2771,8 @@ declare module dojo { * Optionally takes a query to filter the previous elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ prev(query?: String): any; /** @@ -2782,55 +2782,55 @@ declare module dojo { * be the node closest to the original node/NodeList. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ prevAll(query?: String): any; /** * Returns a new list whose members match the passed query, * assuming elements of the current NodeList as the root for * each search. - * - * @param queryStr + * + * @param queryStr */ query(queryStr: String): any; /** * removes elements in this list that match the filter * from their parents and returns them as a new NodeList. - * - * @param filter OptionalCSS selector like ".foo" or "div > span" + * + * @param filter OptionalCSS selector like ".foo" or "div > span" */ remove(filter?: String): any; /** * Removes an attribute from each node in the list. - * - * @param name the name of the attribute to remove + * + * @param name the name of the attribute to remove */ removeAttr(name: String): void; /** * removes the specified class from every node in the list - * - * @param className OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param className OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ removeClass(className?: String): any; /** * removes the specified class from every node in the list - * - * @param className OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param className OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ removeClass(className: any[]): any; /** * Animate the effect of removing a class to all nodes in this list. * see dojox.fx.removeClass - * - * @param cssClass - * @param args + * + * @param cssClass + * @param args */ removeClassFx(cssClass: any, args: any): {type:Function;value:any}; /** * Remove the data associated with these nodes. - * - * @param key OptionalIf omitted, clean all data for this node.If passed, remove the data item found at key + * + * @param key OptionalIf omitted, clean all data for this node.If passed, remove the data item found at key */ removeData(key?: String): void; /** @@ -2839,40 +2839,40 @@ declare module dojo { * The nodes in this NodeList will be cloned if the query * matches more than one element. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param query + * + * @param query */ replaceAll(query: String): any; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling removeClass() and addClass() - * - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(addClassStr: String, removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling removeClass() and addClass() - * - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(addClassStr: any[], removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling removeClass() and addClass() - * - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(addClassStr: String, removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling removeClass() and addClass() - * - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(addClassStr: any[], removeClassStr?: any[]): void; /** @@ -2880,8 +2880,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ replaceWith(content: String): any; /** @@ -2889,8 +2889,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ replaceWith(content: HTMLElement): any; /** @@ -2898,8 +2898,8 @@ declare module dojo { * The content will be cloned if the length of NodeList * is greater than 1. Only the DOM nodes are cloned, not * any attached event handlers. - * - * @param content + * + * @param content */ replaceWith(content: NodeList): any; /** @@ -2907,8 +2907,8 @@ declare module dojo { * Optionally takes a query to filter the sibling elements. * .end() can be used on the returned dojo/NodeList to get back to the * original dojo/NodeList. - * - * @param query Optionala CSS selector. + * + * @param query Optionala CSS selector. */ siblings(query?: String): any; /** @@ -2917,15 +2917,15 @@ declare module dojo { * with the caveat that it returns a dojo/NodeList and not a * raw Array. For more details, see Mozilla's slice * documentation - * - * @param begin Can be a positive or negative integer, with positiveintegers noting the offset to begin at, and negativeintegers denoting an offset from the end (i.e., to the leftof the end) - * @param end OptionalOptional parameter to describe what position relative tothe NodeList's zero index to end the slice at. Like begin,can be positive or negative. + * + * @param begin Can be a positive or negative integer, with positiveintegers noting the offset to begin at, and negativeintegers denoting an offset from the end (i.e., to the leftof the end) + * @param end OptionalOptional parameter to describe what position relative tothe NodeList's zero index to end the slice at. Like begin,can be positive or negative. */ slice(begin: number, end?: number): any; /** * slide all elements of the node list to the specified place via dojo/fx.slideTo() - * - * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. + * + * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. */ slideTo(args?: Object): any; /** @@ -2934,9 +2934,9 @@ declare module dojo { * implicitly this NodeList. See dojo/_base/array.some() and Mozilla's * Array.some * documentation. - * - * @param callback the callback - * @param thisObject Optionalthe context + * + * @param callback the callback + * @param thisObject Optionalthe context */ some(callback: Function, thisObject?: Object): any; /** @@ -2949,46 +2949,46 @@ declare module dojo { * documentation * For backwards compatibility, calling .end() on the spliced NodeList * does not return the original NodeList -- splice alters the NodeList in place. - * - * @param index begin can be a positive or negative integer, with positiveintegers noting the offset to begin at, and negativeintegers denoting an offset from the end (i.e., to the leftof the end) - * @param howmany OptionalOptional parameter to describe what position relative tothe NodeList's zero index to end the slice at. Like begin,can be positive or negative. - * @param item OptionalAny number of optional parameters may be passed in to bespliced into the NodeList + * + * @param index begin can be a positive or negative integer, with positiveintegers noting the offset to begin at, and negativeintegers denoting an offset from the end (i.e., to the leftof the end) + * @param howmany OptionalOptional parameter to describe what position relative tothe NodeList's zero index to end the slice at. Like begin,can be positive or negative. + * @param item OptionalAny number of optional parameters may be passed in to bespliced into the NodeList */ splice(index: number, howmany?: number, item?: Object[]): any; /** * gets or sets the CSS property for every element in the NodeList - * - * @param property the CSS property to get/set, in JavaScript notation("lineHieght" instead of "line-height") - * @param value Optionaloptional. The value to set the property to + * + * @param property the CSS property to get/set, in JavaScript notation("lineHieght" instead of "line-height") + * @param value Optionaloptional. The value to set the property to */ style(property: String, value?: String): any; /** * allows setting the text value of each node in the NodeList, * if there is a value passed in, otherwise, returns the text value for all the * nodes in the NodeList in one string. - * - * @param value + * + * @param value */ text(value: String): any; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. - * - * @param className the CSS class to add - * @param condition OptionalIf passed, true means to add the class, false means to remove. + * + * @param className the CSS class to add + * @param condition OptionalIf passed, true means to add the class, false means to remove. */ toggleClass(className: String, condition?: boolean): void; /** * Animate the effect of adding or removing a class to all nodes in this list. * see dojox.fx.toggleClass - * - * @param cssClass - * @param force - * @param args + * + * @param cssClass + * @param force + * @param args */ toggleClassFx(cssClass: any, force: any, args: any): {type:Function;value:any}; /** - * + * */ toString(): any; /** @@ -2996,8 +2996,8 @@ declare module dojo { * NodeList, or properly selecting/checking the right value for radio/checkbox/select * elements. If no value is passed, the value of the first node in this NodeList * is returned. - * - * @param value + * + * @param value */ val(value: String): any; /** @@ -3005,20 +3005,20 @@ declare module dojo { * NodeList, or properly selecting/checking the right value for radio/checkbox/select * elements. If no value is passed, the value of the first node in this NodeList * is returned. - * - * @param value + * + * @param value */ val(value: any[]): any; /** * wipe in all elements of this NodeList via dojo/fx.wipeIn() - * - * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. + * + * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. */ wipeIn(args?: Object): any; /** * wipe out all elements of this NodeList via dojo/fx.wipeOut() - * - * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. + * + * @param args OptionalAdditional dojo/_base/fx.Animation arguments to mix into this set with the addition ofan auto parameter. */ wipeOut(args?: Object): any; /** @@ -3026,8 +3026,8 @@ declare module dojo { * html will be cloned if the NodeList has more than one * element. Only DOM nodes are cloned, not any attached * event handlers. - * - * @param html + * + * @param html */ wrap(html: String): any; /** @@ -3035,22 +3035,22 @@ declare module dojo { * html will be cloned if the NodeList has more than one * element. Only DOM nodes are cloned, not any attached * event handlers. - * - * @param html + * + * @param html */ wrap(html: HTMLElement): any; /** * Insert html where the first node in this NodeList lives, then place all * nodes in this NodeList as the child of the html. - * - * @param html + * + * @param html */ wrapAll(html: String): any; /** * Insert html where the first node in this NodeList lives, then place all * nodes in this NodeList as the child of the html. - * - * @param html + * + * @param html */ wrapAll(html: HTMLElement): any; /** @@ -3058,8 +3058,8 @@ declare module dojo { * html will be cloned if the NodeList has more than one * element. Only DOM nodes are cloned, not any attached * event handlers. - * - * @param html + * + * @param html */ wrapInner(html: String): any; /** @@ -3067,16 +3067,16 @@ declare module dojo { * html will be cloned if the NodeList has more than one * element. Only DOM nodes are cloned, not any attached * event handlers. - * - * @param html + * + * @param html */ wrapInner(html: HTMLElement): any; } - module NodeList { + namespace NodeList { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/NodeList._nodeDataCache.html * - * + * */ interface _nodeDataCache { } @@ -3087,14 +3087,14 @@ declare module dojo { * * Base class for objects that provide named properties with optional getter/setter * control and the ability to watch for property changes - * + * * The class also provides the functionality to auto-magically manage getters * and setters for object attributes/properties. - * - * Getters and Setters should follow the format of _xxxGetter or _xxxSetter where - * the xxx is a name of the attribute to handle. So an attribute of "foo" + * + * Getters and Setters should follow the format of _xxxGetter or _xxxSetter where + * the xxx is a name of the attribute to handle. So an attribute of "foo" * would have a custom getter of _fooGetter and a custom setter of _fooSetter. - * + * */ class Stateful { constructor(); @@ -3104,29 +3104,29 @@ declare module dojo { * Get a named property on a Stateful object. The property may * potentially be retrieved via a getter method in subclasses. In the base class * this just retrieves the object's property. - * - * @param name The property to get. + * + * @param name The property to get. */ get(name: String): any; /** - * - * @param params Optional + * + * @param params Optional */ postscript(params?: Object): void; /** * Set a property on a Stateful instance * Sets named properties on a stateful object and notifies any watchers of * the property. A programmatic setter may be defined in subclasses. - * - * @param name The property to set. - * @param value The value to set in the property. + * + * @param name The property to set. + * @param value The value to set in the property. */ set(name: String, value: Object): any; /** * Watches a property for changes - * - * @param name OptionalIndicates the property to watch. This is optional (the callback may be theonly parameter), and if omitted, all the properties will be watched - * @param callback The function to execute when the property changes. This will be called afterthe property has been changed. The callback will be called with the |this|set to the instance, the first argument as the name of the property, thesecond argument as the old value and the third argument as the new value. + * + * @param name OptionalIndicates the property to watch. This is optional (the callback may be theonly parameter), and if omitted, all the properties will be watched + * @param callback The function to execute when the property changes. This will be called afterthe property has been changed. The callback will be called with the |this|set to the instance, the first argument as the name of the property, thesecond argument as the old value and the third argument as the new value. */ watch(property: string, callback:{(property?:string, oldValue?:any, newValue?: any):void}) :{unwatch():void}; } @@ -3137,41 +3137,41 @@ declare module dojo { * Create a feature-rich constructor from compact notation. * Create a constructor using a compact notation for inheritance and * prototype extension. - * + * * Mixin ancestors provide a type of multiple inheritance. * Prototypes of mixin ancestors are copied to the new class: * changes to mixin prototypes will not affect classes to which * they have been mixed in. - * + * * Ancestors can be compound classes created by this version of * declare(). In complex cases all base classes are going to be * linearized according to C3 MRO algorithm * (see http://www.python.org/download/releases/2.3/mro/ for more * details). - * + * * "className" is cached in "declaredClass" property of the new class, * if it was supplied. The immediate super class will be cached in * "superclass" property of the new class. - * + * * Methods in "props" will be copied and modified: "nom" property * (the declared name of the method) will be added to all copied * functions to help identify them for the internal machinery. Be * very careful, while reusing methods: if you use the same * function under different names, it can produce errors in some * cases. - * + * * It is possible to use constructors created "manually" (without * declare()) as bases. They will be called as usual during the * creation of an instance, their methods will be chained, and even * called by "this.inherited()". - * + * * Special property "-chains-" governs how to chain methods. It is * a dictionary, which uses method names as keys, and hint strings * as values. If a hint string is "after", this method will be * called after methods of its base classes. If a hint string is * "before", this method will be called before methods of its base * classes. - * + * * If "constructor" is not mentioned in "-chains-" property, it will * be chained using the legacy mode: using "after" chaining, * calling preamble() method before each constructor, if available, @@ -3183,27 +3183,27 @@ declare module dojo { * are not going to be chained in any way, and programmer will call * them manually using this.inherited(). In the latter case * postscript() will be called after the construction. - * + * * All chaining hints are "inherited" from base classes and * potentially can be overridden. Be very careful when overriding * hints! Make sure that all chained methods can work in a proposed * manner of chaining. - * + * * Once a method was chained, it is impossible to unchain it. The * only exception is "constructor". You don't need to define a * method in order to supply a chaining hint. - * + * * If a method is chained, it cannot use this.inherited() because * all other methods in the hierarchy will be called automatically. - * + * * Usually constructors and initializers of any kind are chained * using "after" and destructors of any kind are chained as * "before". Note that chaining assumes that chained methods do not * return any value: any returned value will be discarded. - * - * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. - * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). - * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". + * + * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. + * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). + * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". */ interface declare { (className?: String, superclass?: any, props?: Object): any} /** @@ -3212,41 +3212,41 @@ declare module dojo { * Create a feature-rich constructor from compact notation. * Create a constructor using a compact notation for inheritance and * prototype extension. - * + * * Mixin ancestors provide a type of multiple inheritance. * Prototypes of mixin ancestors are copied to the new class: * changes to mixin prototypes will not affect classes to which * they have been mixed in. - * + * * Ancestors can be compound classes created by this version of * declare(). In complex cases all base classes are going to be * linearized according to C3 MRO algorithm * (see http://www.python.org/download/releases/2.3/mro/ for more * details). - * + * * "className" is cached in "declaredClass" property of the new class, * if it was supplied. The immediate super class will be cached in * "superclass" property of the new class. - * + * * Methods in "props" will be copied and modified: "nom" property * (the declared name of the method) will be added to all copied * functions to help identify them for the internal machinery. Be * very careful, while reusing methods: if you use the same * function under different names, it can produce errors in some * cases. - * + * * It is possible to use constructors created "manually" (without * declare()) as bases. They will be called as usual during the * creation of an instance, their methods will be chained, and even * called by "this.inherited()". - * + * * Special property "-chains-" governs how to chain methods. It is * a dictionary, which uses method names as keys, and hint strings * as values. If a hint string is "after", this method will be * called after methods of its base classes. If a hint string is * "before", this method will be called before methods of its base * classes. - * + * * If "constructor" is not mentioned in "-chains-" property, it will * be chained using the legacy mode: using "after" chaining, * calling preamble() method before each constructor, if available, @@ -3258,27 +3258,27 @@ declare module dojo { * are not going to be chained in any way, and programmer will call * them manually using this.inherited(). In the latter case * postscript() will be called after the construction. - * + * * All chaining hints are "inherited" from base classes and * potentially can be overridden. Be very careful when overriding * hints! Make sure that all chained methods can work in a proposed * manner of chaining. - * + * * Once a method was chained, it is impossible to unchain it. The * only exception is "constructor". You don't need to define a * method in order to supply a chaining hint. - * + * * If a method is chained, it cannot use this.inherited() because * all other methods in the hierarchy will be called automatically. - * + * * Usually constructors and initializers of any kind are chained * using "after" and destructors of any kind are chained as * "before". Note that chaining assumes that chained methods do not * return any value: any returned value will be discarded. - * - * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. - * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). - * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". + * + * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. + * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). + * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". */ interface declare{(className?: String, superclass?: any[], props?: Object): any} interface declare { @@ -3288,27 +3288,27 @@ declare module dojo { * This function is used to mix in properties like lang.mixin does, * but it skips a constructor property and decorates functions like * declare() does. - * + * * It is meant to be used with classes and objects produced with * declare. Functions mixed in with dojo.safeMixin can use * this.inherited() like normal methods. - * + * * This function is used to implement extend() method of a constructor * produced with declare(). - * - * @param target Target object to accept new properties. - * @param source Source object for new properties. + * + * @param target Target object to accept new properties. + * @param source Source object for new properties. */ safeMixin(target: Object, source: Object): Object; } - module declare { + namespace declare { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/declare.__DeclareCreatedObject.html * * dojo/_base/declare() returns a constructor C. new C() returns an Object with the following * methods, in addition to the methods and properties specified via the arguments passed to declare(). - * + * */ class __DeclareCreatedObject { constructor(); @@ -3316,14 +3316,14 @@ declare module dojo { * Create a subclass of the declared class from a list of base classes. * Create a constructor using a compact notation for inheritance and * prototype extension. - * + * * Mixin ancestors provide a type of multiple inheritance. * Prototypes of mixin ancestors are copied to the new class: * changes to mixin prototypes will not affect classes to which * they have been mixed in. - * - * @param mixins Specifies a list of bases (the left-most one is the most deepestbase). - * @param props OptionalAn optional object whose properties are copied to the created prototype. + * + * @param mixins Specifies a list of bases (the left-most one is the most deepestbase). + * @param props OptionalAn optional object whose properties are copied to the created prototype. */ createSubclass(mixins: Function[], props?: Object): dojo._base.declare.__DeclareCreatedObject; /** @@ -3333,13 +3333,13 @@ declare module dojo { * declare(). * Adds source properties to the constructor's prototype. It can * override existing properties. - * + * * This method is similar to dojo.extend function, but it is specific * to constructors produced by declare(). It is implemented * using dojo.safeMixin, and it skips a constructor property, * and properly decorates copied functions. - * - * @param source Source object which properties are going to be copied to theconstructor's prototype. + * + * @param source Source object which properties are going to be copied to theconstructor's prototype. */ extend(source: Object): void; /** @@ -3347,9 +3347,9 @@ declare module dojo { * This method is a convenience method for "this.inherited()". * It uses the same algorithm but instead of executing a super * method, it returns it, or "undefined" if not found. - * - * @param name OptionalThe optional method name. Should be the same as the caller'sname. Usually "name" is specified in complex dynamic cases, whenthe calling method was dynamically added, undecorated bydeclare(), and it cannot be determined. - * @param args The caller supply this argument, which should be the original"arguments". + * + * @param name OptionalThe optional method name. Should be the same as the caller'sname. Usually "name" is specified in complex dynamic cases, whenthe calling method was dynamically added, undecorated bydeclare(), and it cannot be determined. + * @param args The caller supply this argument, which should be the original"arguments". */ getInherited(name?: String, args?: Object): any; /** @@ -3359,28 +3359,28 @@ declare module dojo { * used for manually controlled chaining. Consider using the regular * chaining, because it is faster. Use "this.inherited()" only in * complex cases. - * + * * This method cannot me called from automatically chained * constructors including the case of a special (legacy) * constructor chaining. It cannot be called from chained methods. - * + * * If "this.inherited()" cannot find the next-in-chain method, it * does nothing and returns "undefined". The last method in chain * can be a default method implemented in Object, which will be * called last. - * + * * If "name" is specified, it is assumed that the method that * received "args" is the parent method for this call. It is looked * up in the chain list and if it is found the next-in-chain method * is called. If it is not found, the first-in-chain method is * called. - * + * * If "name" is not specified, it will be derived from the calling * method (using a methoid property "nom"). - * - * @param name OptionalThe optional method name. Should be the same as the caller'sname. Usually "name" is specified in complex dynamic cases, whenthe calling method was dynamically added, undecorated bydeclare(), and it cannot be determined. - * @param args The caller supply this argument, which should be the original"arguments". - * @param newArgs OptionalIf "true", the found function will be returned withoutexecuting it.If Array, it will be used to call a super method. Otherwise"args" will be used. + * + * @param name OptionalThe optional method name. Should be the same as the caller'sname. Usually "name" is specified in complex dynamic cases, whenthe calling method was dynamically added, undecorated bydeclare(), and it cannot be determined. + * @param args The caller supply this argument, which should be the original"arguments". + * @param newArgs OptionalIf "true", the found function will be returned withoutexecuting it.If Array, it will be used to call a super method. Otherwise"args" will be used. */ inherited(name?: String, args?: Object, newArgs?: Object): any; /** @@ -3389,8 +3389,8 @@ declare module dojo { * This method is used with instances of classes produced with * declare() to determine of they support a certain interface or * not. It models "instanceof" operator. - * - * @param cls Class constructor. + * + * @param cls Class constructor. */ isInstanceOf(cls: Function): any; } @@ -3414,12 +3414,12 @@ declare module dojo { * async functions return promises, the concerns of making the call are * separated from the concerns of asynchronous interaction (which are * handled by the promise). - * + * * The Deferred is a type of promise that provides methods for fulfilling the * promise with a successful result or an error. The most important method for * working with Dojo's promises is the then() method, which follows the * CommonJS proposed promise API. An example of using a Dojo promise: - * + * * var resultingPromise = someAsyncOperation.then(function(result){ * ... handle result ... * }, @@ -3428,16 +3428,16 @@ declare module dojo { * }); * The .then() call returns a new promise that represents the result of the * execution of the callback. The callbacks will never affect the original promises value. - * + * * The Deferred instances also provide the following functions for backwards compatibility: - * + * * addCallback(handler) * addErrback(handler) * callback(result) * errback(result) * Callbacks are allowed to return promises themselves, so * you can build complicated sequences of events with ease. - * + * * The creator of the Deferred may specify a canceller. The canceller * is a function that will be called if Deferred.cancel is called * before the Deferred fires. You can use this to implement clean @@ -3445,97 +3445,97 @@ declare module dojo { * deferred with a CancelledError (unless your canceller returns * another kind of error), so the errbacks should be prepared to * handle that error for cancellable Deferreds. - * - * @param canceller Optional + * + * @param canceller Optional */ interface Deferred{(canceller?: Function): void} interface Deferred { /** - * + * */ fired: number; /** - * + * */ promise: Object; /** * Add handler as both successful callback and error callback for this deferred instance. - * - * @param callback + * + * @param callback */ addBoth(callback: Function): any; /** * Adds successful callback for this deferred instance. - * - * @param callback + * + * @param callback */ addCallback(callback: Function): any; /** * Adds callback and error callback for this deferred instance. - * - * @param callback OptionalThe callback attached to this deferred object. - * @param errback OptionalThe error callback attached to this deferred object. + * + * @param callback OptionalThe callback attached to this deferred object. + * @param errback OptionalThe error callback attached to this deferred object. */ addCallbacks(callback?: Function, errback?: Function): any; /** * Adds error callback for this deferred instance. - * - * @param errback + * + * @param errback */ addErrback(errback: Function): any; /** * Fulfills the Deferred instance successfully with the provide value - * - * @param value + * + * @param value */ callback(value: any): void; /** * Cancels the asynchronous operation - * + * */ cancel(): void; /** * Fulfills the Deferred instance as an error with the provided error - * - * @param error + * + * @param error */ errback(error: any): void; /** * Checks whether the deferred has been canceled. - * + * */ isCanceled(): boolean; /** * Checks whether the deferred has been resolved or rejected. - * + * */ isFulfilled(): boolean; /** * Checks whether the deferred has been rejected. - * + * */ isRejected(): boolean; /** * Checks whether the deferred has been resolved. - * + * */ isResolved(): boolean; /** * Send progress events to all listeners - * - * @param update + * + * @param update */ progress(update: any): void; /** * Fulfills the Deferred instance as an error with the provided error - * - * @param error + * + * @param error */ reject(error: any): void; /** * Fulfills the Deferred instance successfully with the provide value - * - * @param value + * + * @param value */ resolve(value: any): void; /** @@ -3546,16 +3546,16 @@ declare module dojo { * and non-function values are ignored. The progressHandler is not only an * optional argument, but progress events are purely optional. Promise * providers are not required to ever create progress events. - * + * * This function will return a new promise that is fulfilled when the given * fulfilledHandler or errorHandler callback is finished. This allows promise * operations to be chained together. The value returned from the callback * handler is the fulfillment value for the returned promise. If the callback * throws an error, the returned promise will be moved to failed state. - * - * @param resolvedCallback Optional - * @param errorCallback Optional - * @param progressCallback Optional + * + * @param resolvedCallback Optional + * @param errorCallback Optional + * @param progressCallback Optional */ then(resolvedCallback?: Function, errorCallback?: Function, progressCallback?: Function): any; /** @@ -3563,123 +3563,123 @@ declare module dojo { * Accepts promises but also transparently handles non-promises. If no * callbacks are provided returns a promise, regardless of the initial * value. Foreign promises are converted. - * + * * If callbacks are provided and the initial value is not a promise, * the callback is executed immediately with no error handling. Returns * a promise if the initial value is a promise, or the result of the * callback otherwise. - * - * @param valueOrPromise Either a regular value or an object with a then() method thatfollows the Promises/A specification. - * @param callback OptionalCallback to be invoked when the promise is resolved, or a non-promiseis received. - * @param errback OptionalCallback to be invoked when the promise is rejected. - * @param progback OptionalCallback to be invoked when the promise emits a progress update. + * + * @param valueOrPromise Either a regular value or an object with a then() method thatfollows the Promises/A specification. + * @param callback OptionalCallback to be invoked when the promise is resolved, or a non-promiseis received. + * @param errback OptionalCallback to be invoked when the promise is rejected. + * @param progback OptionalCallback to be invoked when the promise emits a progress update. */ when(valueOrPromise?: any, callback?: Function, errback?: Function, progback?: Function): any; } - module Deferred { + namespace Deferred { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.html * - * + * */ interface url{(): void} interface url { /** - * + * */ authority: Object; /** - * + * */ fragment: Object; /** - * + * */ host: Object; /** - * + * */ password: Object; /** - * + * */ path: Object; /** - * + * */ port: Object; /** - * + * */ query: Object; /** - * + * */ scheme: Object; /** - * + * */ uri: Object; /** - * + * */ user: Object; /** - * + * */ toString(): void; } - module url { + namespace url { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.authority.html * - * + * */ interface authority { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.password.html * - * + * */ interface password { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.port.html * - * + * */ interface port { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.fragment.html * - * + * */ interface fragment { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.query.html * - * + * */ interface query { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.user.html * - * + * */ interface user { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/url.scheme.html * - * + * */ interface scheme { } @@ -3693,23 +3693,23 @@ declare module dojo { * See also dojo.xhrGet(), xhrPost(), xhrPut() and dojo.xhrDelete() for shortcuts * for those HTTP methods. There are also methods for "raw" PUT and POST methods * via dojo.rawXhrPut() and dojo.rawXhrPost() respectively. - * - * @param method HTTP method to be used, such as GET, POST, PUT, DELETE. Should be uppercase. - * @param args - * @param hasBody OptionalIf the request has an HTTP body, then pass true for hasBody. + * + * @param method HTTP method to be used, such as GET, POST, PUT, DELETE. Should be uppercase. + * @param args + * @param hasBody OptionalIf the request has an HTTP body, then pass true for hasBody. */ interface xhr{(method: String, args: Object, hasBody?: boolean): void} interface xhr { /** * A map of available XHR transport handle types. Name matches the * handleAs attribute passed to XHR calls. - * + * */ contentHandlers: Object; /** * Sends an HTTP DELETE request to the server. - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ del(args: Object): any; /** @@ -3718,8 +3718,8 @@ declare module dojo { * as a string or an array of strings. Disabled form elements * and unchecked radio and checkboxes are skipped. Multi-select * elements are returned as an array of string values. - * - * @param inputNode + * + * @param inputNode */ fieldToObject(inputNode: HTMLElement): any; /** @@ -3728,24 +3728,24 @@ declare module dojo { * as a string or an array of strings. Disabled form elements * and unchecked radio and checkboxes are skipped. Multi-select * elements are returned as an array of string values. - * - * @param inputNode + * + * @param inputNode */ fieldToObject(inputNode: String): any; /** * Create a serialized JSON string from a form node or string * ID identifying the form to serialize - * - * @param formNode - * @param prettyPrint Optional + * + * @param formNode + * @param prettyPrint Optional */ formToJson(formNode: HTMLElement, prettyPrint?: boolean): any; /** * Create a serialized JSON string from a form node or string * ID identifying the form to serialize - * - * @param formNode - * @param prettyPrint Optional + * + * @param formNode + * @param prettyPrint Optional */ formToJson(formNode: String, prettyPrint?: boolean): any; /** @@ -3754,8 +3754,8 @@ declare module dojo { * string properties in an object which it then returns. Disabled form * elements, buttons, and other non-value form elements are skipped. * Multi-select elements are returned as an array of string values. - * - * @param formNode + * + * @param formNode */ formToObject(formNode: HTMLElement): Object; /** @@ -3764,61 +3764,61 @@ declare module dojo { * string properties in an object which it then returns. Disabled form * elements, buttons, and other non-value form elements are skipped. * Multi-select elements are returned as an array of string values. - * - * @param formNode + * + * @param formNode */ formToObject(formNode: String): Object; /** * Returns a URL-encoded string representing the form passed as either a * node or string ID identifying the form to serialize - * - * @param formNode + * + * @param formNode */ formToQuery(formNode: HTMLElement): any; /** * Returns a URL-encoded string representing the form passed as either a * node or string ID identifying the form to serialize - * - * @param formNode + * + * @param formNode */ formToQuery(formNode: String): any; /** * Sends an HTTP GET request to the server. - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ get(args: Object): any; /** * takes a name/value mapping object and returns a string representing * a URL-encoded version of that object. - * - * @param map + * + * @param map */ objectToQuery(map: Object): any; /** * Sends an HTTP POST request to the server. In addition to the properties * listed for the dojo.__XhrArgs type, the following property is allowed: - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ post(args: Object): any; /** * Sends an HTTP PUT request to the server. In addition to the properties * listed for the dojo.__XhrArgs type, the following property is allowed: - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ put(args: Object): any; /** * Create an object representing a de-serialized query section of a * URL. Query keys with multiple values are returned in an array. - * - * @param str + * + * @param str */ queryToObject(str: String): Object; } - module xhr { + namespace xhr { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/xhr.contentHandlers.html * @@ -3829,24 +3829,24 @@ declare module dojo { * called, passing the xhr object for manipulation. The return value * from the contentHandler will be passed to the load or handle * functions defined in the original xhr call. - * + * */ interface contentHandlers { /** - * - * @param xhr + * + * @param xhr */ auto(xhr: any): void; /** * A contentHandler which evaluates the response data, expecting it to be valid JavaScript - * - * @param xhr + * + * @param xhr */ javascript(xhr: any): any; /** * A contentHandler which returns a JavaScript object created from the response data - * - * @param xhr + * + * @param xhr */ json(xhr: any): any; /** @@ -3855,38 +3855,38 @@ declare module dojo { * the json-comment-filtered option was implemented to prevent * "JavaScript Hijacking", but it is less secure than standard JSON. Use * standard JSON instead. JSON prefixing can be used to subvert hijacking. - * + * * Will throw a notice suggesting to use application/json mimetype, as * json-commenting can introduce security issues. To decrease the chances of hijacking, * use the standard json contentHandler, and prefix your "JSON" with: {}&& - * + * * use djConfig.useCommentedJson = true to turn off the notice - * - * @param xhr + * + * @param xhr */ json_comment_filtered(xhr: any): any; /** * A contentHandler which checks the presence of comment-filtered JSON and * alternates between the json and json-comment-filtered contentHandlers. - * - * @param xhr + * + * @param xhr */ json_comment_optional(xhr: any): any; /** - * - * @param xhr + * + * @param xhr */ olson_zoneinfo(xhr: any): void; /** * A contentHandler which simply returns the plaintext response data - * - * @param xhr + * + * @param xhr */ text(xhr: any): any; /** * A contentHandler returning an XML Document parsed from the response data - * - * @param xhr + * + * @param xhr */ xml(xhr: any): any; } @@ -3901,7 +3901,7 @@ declare module dojo { * Also, when multiple instances of dojo exist in a single application, each will necessarily be located * at an unique absolute module identifier as given by the package configuration. Implementing configuration * as a module allows for specifying unique, per-instance configurations. - * + * */ class config { constructor(); @@ -3913,50 +3913,50 @@ declare module dojo { * djConfig.addOnLoad = [myObject, "functionName"]; and for object with * function reference use * djConfig.addOnLoad = [myObject, function(){}]; - * + * */ "addOnLoad": Function; /** - * + * */ "afterOnLoad": boolean; /** - * + * */ "baseUrl": Object; /** - * Defines a callback to be used when dependencies are defined before - * the loader has been loaded. When provided, they cause the loader to - * execute require(deps, callback) once it has finished loading. + * Defines a callback to be used when dependencies are defined before + * the loader has been loaded. When provided, they cause the loader to + * execute require(deps, callback) once it has finished loading. * Should be used with deps. - * + * */ "callback": Function; /** - * + * */ "debugContainerId": string; /** - * + * */ "debugHeight": number; /** * Default duration, in milliseconds, for wipe and fade animations within dijits. * Assigned to dijit.defaultDuration. - * + * */ "defaultDuration": number; /** * Whether deferred instrumentation should be loaded or included * in builds. - * + * */ "deferredInstrumentation": boolean; /** * Defines dependencies to be used before the loader has been loaded. - * When provided, they cause the loader to execute require(deps, callback) + * When provided, they cause the loader to execute require(deps, callback) * once it has finished loading. Should be used with callback. - * + * */ "deps": Function; /** @@ -3966,21 +3966,21 @@ declare module dojo { * does not need to be set, except when using cross-domain/CDN Dojo builds. * Save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl * to the path on your domain your copy of blank.html. - * + * */ "dojoBlankHtmlUrl": string; /** * No default value. Specifies additional locales whose * resources should also be loaded alongside the default locale when * calls to dojo.requireLocalization() are processed. - * + * */ "extraLocale": any[]; /** * Set this to true to enable publishing of topics for the different phases of * IO operations. Publishing is done via dojo/topic.publish(). See dojo/main.__IoPublish for a list * of topics that are published. - * + * */ "ioPublish": Object; /** @@ -3993,7 +3993,7 @@ declare module dojo { * Firebug's console.* methods are ALWAYS defined by Dojo. If * isDebug is false and you are on a platform without Firebug, these * methods will be defined as no-ops. - * + * */ "isDebug": boolean; /** @@ -4004,7 +4004,7 @@ declare module dojo { * for details on loading localized resources. If no locale is specified, * Dojo assumes the locale of the user agent, according to navigator.userLanguage * or navigator.language properties. - * + * */ "locale": string; /** @@ -4014,51 +4014,51 @@ declare module dojo { * djConfig.modulePaths = { "foo": "../../bar" } is the equivalent * of calling dojo.registerModulePath("foo", "../../bar");. Multiple * modules may be configured via djConfig.modulePaths. - * + * */ "modulePaths": Object; /** * Run the parser after the page is loaded - * + * */ "parseOnLoad": boolean; /** * An array of module names to be loaded immediately after dojo.js has been included * in a page. - * + * */ "require": Object; /** * Array containing the r, g, b components used as transparent color in dojo.Color; * if undefined, [255,255,255] (white) will be used. - * + * */ "transparentColor": any[]; /** * Used by dojox.analytics.Urchin as the default UA-123456-7 account * number used when being created. Alternately, you can pass an acct:"" * parameter to the constructor a la: new dojox.analytics.Urchin({ acct:"UA-123456-7" }); - * + * */ "urchin": string; /** * If set to a value that evaluates to true such as a string or array and * isDebug is true and Firebug is not available or running, then it bypasses * the creation of Firebug Lite allowing you to define your own console object. - * + * */ "useCustomLogger": Object; /** * Whether the deferred instrumentation should be used. - * + * * "report-rejections": report each rejection as it occurs. * true or 1 or "report-unhandled-rejections": wait 1 second * in an attempt to detect unhandled rejections. - * + * */ "useDeferredInstrumentation": boolean; } - module config { + namespace config { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/config.modulePaths.html * @@ -4068,7 +4068,7 @@ declare module dojo { * djConfig.modulePaths = { "foo": "../../bar" } is the equivalent * of calling dojo.registerModulePath("foo", "../../bar");. Multiple * modules may be configured via djConfig.modulePaths. - * + * */ interface modulePaths { } @@ -4080,66 +4080,66 @@ declare module dojo { * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and creates a new Color instance to work from. - * - * @param color + * + * @param color */ class Color { constructor(color: any[]); /** - * + * */ "a": number; /** - * + * */ "b": number; /** - * + * */ "g": number; /** * Dictionary list of all CSS named colors, by name. Values are 3-item arrays with corresponding RG and B values. - * + * */ "named": Object; /** - * + * */ "r": number; /** * Blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend, * can reuse a previously allocated Color object for the result - * - * @param start - * @param end - * @param weight - * @param obj Optional + * + * @param start + * @param end + * @param weight + * @param obj Optional */ blendColors(start: dojo._base.Color, end: dojo._base.Color, weight: number, obj?: dojo._base.Color): any; /** * Builds a Color from a 3 or 4 element array, mapping each * element in sequence to the rgb(a) values of the color. - * - * @param a - * @param obj Optional + * + * @param a + * @param obj Optional */ fromArray(a: any[], obj?: dojo._base.Color): any; /** * Converts a hex string with a '#' prefix to a color object. * Supports 12-bit #rgb shorthand. Optionally accepts a * Color object to update with the parsed value. - * - * @param color - * @param obj Optional + * + * @param color + * @param obj Optional */ fromHex(color: String, obj?: dojo._base.Color): any; /** * get rgb(a) array from css-style color declarations * this function can handle all 4 CSS3 Color Module formats: rgb, * rgba, hsl, hsla, including rgb(a) with percentage values. - * - * @param color - * @param obj Optional + * + * @param color + * @param obj Optional */ fromRgb(color: String, obj?: dojo._base.Color): any; /** @@ -4149,693 +4149,693 @@ declare module dojo { * accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or * rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10, * 10, 50)" - * - * @param str - * @param obj Optional + * + * @param str + * @param obj Optional */ fromString(str: String, obj?: dojo._base.Color): any; /** * creates a greyscale color with an optional alpha - * - * @param g - * @param a Optional + * + * @param g + * @param a Optional */ makeGrey(g: number, a?: number): void; /** * makes sure that the object has correct attributes - * + * */ sanitize(): void; /** * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and sets this color instance to that value. - * - * @param color + * + * @param color */ setColor(color: any[]): Function; /** * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and sets this color instance to that value. - * - * @param color + * + * @param color */ setColor(color: String): Function; /** * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and sets this color instance to that value. - * - * @param color + * + * @param color */ setColor(color: Object): Function; /** * Convert this Color to a CMY definition. - * + * */ toCmy(): Object; /** * Convert this Color to a CMYK definition. - * + * */ toCmyk(): Object; /** * Returns a css color string in rgb(a) representation - * - * @param includeAlpha Optional + * + * @param includeAlpha Optional */ toCss(includeAlpha?: boolean): String; /** * Returns a CSS color string in hexadecimal representation - * + * */ toHex(): String; /** * Convert this Color to an HSL definition. - * + * */ toHsl(): Object; /** * Convert this Color to an HSV definition. - * + * */ toHsv(): Object; /** * Returns 3 component array of rgb values - * + * */ toRgb(): any[]; /** * Returns a 4 component array of rgba values from the color * represented by this object. - * + * */ toRgba(): any[]; /** * Returns a visual representation of the color - * + * */ toString(): any; } - module Color { + namespace Color { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/Color.named.html * * Dictionary list of all CSS named colors, by name. Values are 3-item arrays with corresponding RG and B values. - * + * */ interface named { /** - * + * */ aliceblue: any[]; /** - * + * */ antiquewhite: any[]; /** - * + * */ aqua: any[]; /** - * + * */ aquamarine: any[]; /** - * + * */ azure: any[]; /** - * + * */ beige: any[]; /** - * + * */ bisque: any[]; /** - * + * */ black: any[]; /** - * + * */ blanchedalmond: any[]; /** - * + * */ blue: any[]; /** - * + * */ blueviolet: any[]; /** - * + * */ brown: any[]; /** - * + * */ burlywood: any[]; /** - * + * */ cadetblue: any[]; /** - * + * */ chartreuse: any[]; /** - * + * */ chocolate: any[]; /** - * + * */ coral: any[]; /** - * + * */ cornflowerblue: any[]; /** - * + * */ cornsilk: any[]; /** - * + * */ crimson: any[]; /** - * + * */ cyan: any[]; /** - * + * */ darkblue: any[]; /** - * + * */ darkcyan: any[]; /** - * + * */ darkgoldenrod: any[]; /** - * + * */ darkgray: any[]; /** - * + * */ darkgreen: any[]; /** - * + * */ darkgrey: any[]; /** - * + * */ darkkhaki: any[]; /** - * + * */ darkmagenta: any[]; /** - * + * */ darkolivegreen: any[]; /** - * + * */ darkorange: any[]; /** - * + * */ darkorchid: any[]; /** - * + * */ darkred: any[]; /** - * + * */ darksalmon: any[]; /** - * + * */ darkseagreen: any[]; /** - * + * */ darkslateblue: any[]; /** - * + * */ darkslategray: any[]; /** - * + * */ darkslategrey: any[]; /** - * + * */ darkturquoise: any[]; /** - * + * */ darkviolet: any[]; /** - * + * */ deeppink: any[]; /** - * + * */ deepskyblue: any[]; /** - * + * */ dimgray: any[]; /** - * + * */ dimgrey: any[]; /** - * + * */ dodgerblue: any[]; /** - * + * */ firebrick: any[]; /** - * + * */ floralwhite: any[]; /** - * + * */ forestgreen: any[]; /** - * + * */ fuchsia: any[]; /** - * + * */ gainsboro: any[]; /** - * + * */ ghostwhite: any[]; /** - * + * */ gold: any[]; /** - * + * */ goldenrod: any[]; /** - * + * */ gray: any[]; /** - * + * */ green: any[]; /** - * + * */ greenyellow: any[]; /** - * + * */ grey: any[]; /** - * + * */ honeydew: any[]; /** - * + * */ hotpink: any[]; /** - * + * */ indianred: any[]; /** - * + * */ indigo: any[]; /** - * + * */ ivory: any[]; /** - * + * */ khaki: any[]; /** - * + * */ lavender: any[]; /** - * + * */ lavenderblush: any[]; /** - * + * */ lawngreen: any[]; /** - * + * */ lemonchiffon: any[]; /** - * + * */ lightblue: any[]; /** - * + * */ lightcoral: any[]; /** - * + * */ lightcyan: any[]; /** - * + * */ lightgoldenrodyellow: any[]; /** - * + * */ lightgray: any[]; /** - * + * */ lightgreen: any[]; /** - * + * */ lightgrey: any[]; /** - * + * */ lightpink: any[]; /** - * + * */ lightsalmon: any[]; /** - * + * */ lightseagreen: any[]; /** - * + * */ lightskyblue: any[]; /** - * + * */ lightslategray: any[]; /** - * + * */ lightslategrey: any[]; /** - * + * */ lightsteelblue: any[]; /** - * + * */ lightyellow: any[]; /** - * + * */ lime: any[]; /** - * + * */ limegreen: any[]; /** - * + * */ linen: any[]; /** - * + * */ magenta: any[]; /** - * + * */ maroon: any[]; /** - * + * */ mediumaquamarine: any[]; /** - * + * */ mediumblue: any[]; /** - * + * */ mediumorchid: any[]; /** - * + * */ mediumpurple: any[]; /** - * + * */ mediumseagreen: any[]; /** - * + * */ mediumslateblue: any[]; /** - * + * */ mediumspringgreen: any[]; /** - * + * */ mediumturquoise: any[]; /** - * + * */ mediumvioletred: any[]; /** - * + * */ midnightblue: any[]; /** - * + * */ mintcream: any[]; /** - * + * */ mistyrose: any[]; /** - * + * */ moccasin: any[]; /** - * + * */ navajowhite: any[]; /** - * + * */ navy: any[]; /** - * + * */ oldlace: any[]; /** - * + * */ olive: any[]; /** - * + * */ olivedrab: any[]; /** - * + * */ orange: any[]; /** - * + * */ orangered: any[]; /** - * + * */ orchid: any[]; /** - * + * */ palegoldenrod: any[]; /** - * + * */ palegreen: any[]; /** - * + * */ paleturquoise: any[]; /** - * + * */ palevioletred: any[]; /** - * + * */ papayawhip: any[]; /** - * + * */ peachpuff: any[]; /** - * + * */ peru: any[]; /** - * + * */ pink: any[]; /** - * + * */ plum: any[]; /** - * + * */ powderblue: any[]; /** - * + * */ purple: any[]; /** - * + * */ red: any[]; /** - * + * */ rosybrown: any[]; /** - * + * */ royalblue: any[]; /** - * + * */ saddlebrown: any[]; /** - * + * */ salmon: any[]; /** - * + * */ sandybrown: any[]; /** - * + * */ seagreen: any[]; /** - * + * */ seashell: any[]; /** - * + * */ sienna: any[]; /** - * + * */ silver: any[]; /** - * + * */ skyblue: any[]; /** - * + * */ slateblue: any[]; /** - * + * */ slategray: any[]; /** - * + * */ slategrey: any[]; /** - * + * */ snow: any[]; /** - * + * */ springgreen: any[]; /** - * + * */ steelblue: any[]; /** - * + * */ tan: any[]; /** - * + * */ teal: any[]; /** - * + * */ thistle: any[]; /** - * + * */ tomato: any[]; /** - * + * */ transparent: Object; /** - * + * */ turquoise: any[]; /** - * + * */ violet: any[]; /** - * + * */ wheat: any[]; /** - * + * */ white: any[]; /** - * + * */ whitesmoke: any[]; /** - * + * */ yellow: any[]; /** - * + * */ yellowgreen: any[]; } @@ -4845,7 +4845,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/browser.html * * This module causes the browser-only base modules to be loaded. - * + * */ interface browser { } @@ -4853,11 +4853,11 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/array.html * * The Javascript v1.6 array extensions. - * + * */ interface array { /** - * + * */ clearCache(): void; /** @@ -4868,10 +4868,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: any[], callback: Function, thisObject?: Object): boolean; /** @@ -4882,10 +4882,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: String, callback: Function, thisObject?: Object): boolean; /** @@ -4896,10 +4896,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: any[], callback: String, thisObject?: Object): boolean; /** @@ -4910,10 +4910,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: String, callback: String, thisObject?: Object): boolean; /** @@ -4924,10 +4924,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter - * - * @param arr the array to iterate over. - * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. + * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. + * @param thisObject Optionalmay be used to scope the call to callback */ filter(arr: any[], callback: Function, thisObject?: Object): any[]; /** @@ -4938,10 +4938,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter - * - * @param arr the array to iterate over. - * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. + * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. + * @param thisObject Optionalmay be used to scope the call to callback */ filter(arr: any[], callback: String, thisObject?: Object): any[]; /** @@ -4953,10 +4953,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: any[], callback: Function, thisObject?: Object): void; /** @@ -4968,10 +4968,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: String, callback: Function, thisObject?: Object): void; /** @@ -4983,10 +4983,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: any[], callback: String, thisObject?: Object): void; /** @@ -4998,43 +4998,43 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: String, callback: String, thisObject?: Object): void; /** * locates the first index of the provided value in the * passed array. If the value is not found, -1 is returned. * This method corresponds to the JavaScript 1.6 Array.indexOf method, with two differences: - * + * * when run over sparse arrays, the Dojo function invokes the callback for every index * whereas JavaScript 1.6's indexOf skips the holes in the sparse array. * uses equality (==) rather than strict equality (===) * For details on this method, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/indexOf - * - * @param arr - * @param value - * @param fromIndex Optional - * @param findLast OptionalMakes indexOf() work like lastIndexOf(). Used internally; not meant for external usage. + * + * @param arr + * @param value + * @param fromIndex Optional + * @param findLast OptionalMakes indexOf() work like lastIndexOf(). Used internally; not meant for external usage. */ indexOf(arr: any[], value: Object, fromIndex?: number, findLast?: boolean): number; /** * locates the last index of the provided value in the passed * array. If the value is not found, -1 is returned. * This method corresponds to the JavaScript 1.6 Array.lastIndexOf method, with two differences: - * + * * when run over sparse arrays, the Dojo function invokes the callback for every index * whereas JavaScript 1.6's lasIndexOf skips the holes in the sparse array. * uses equality (==) rather than strict equality (===) * For details on this method, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/lastIndexOf - * - * @param arr - * @param value - * @param fromIndex Optional + * + * @param arr + * @param value + * @param fromIndex Optional */ lastIndexOf(arr: any, value: any, fromIndex?: number): number; /** @@ -5045,11 +5045,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: any[], callback: Function, thisObject?: Object, Ctr?: any): any[]; /** @@ -5060,11 +5060,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: String, callback: Function, thisObject?: Object, Ctr?: any): any[]; /** @@ -5075,11 +5075,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: any[], callback: String, thisObject?: Object, Ctr?: any): any[]; /** @@ -5090,11 +5090,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: String, callback: String, thisObject?: Object, Ctr?: any): any[]; /** @@ -5105,10 +5105,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: any[], callback: Function, thisObject?: Object): boolean; /** @@ -5119,10 +5119,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: String, callback: Function, thisObject?: Object): boolean; /** @@ -5133,10 +5133,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: any[], callback: String, thisObject?: Object): boolean; /** @@ -5147,10 +5147,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: String, callback: String, thisObject?: Object): boolean; } @@ -5164,7 +5164,7 @@ declare module dojo { * is not recommended. WebKit and IE uses an alternate keypress handling (only * firing for printable characters, to distinguish from keydown events), and most * consider the WebKit/IE behavior more desirable. - * + * */ interface connect { /** @@ -5176,35 +5176,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: Object, method: String, dontFix?: boolean): any; /** @@ -5216,35 +5216,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: any, method: String, dontFix?: boolean): any; /** @@ -5256,35 +5256,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: Object, method: Function, dontFix?: boolean): any; /** @@ -5296,35 +5296,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: any, method: Function, dontFix?: boolean): any; /** @@ -5332,56 +5332,56 @@ declare module dojo { * on the topic. Returns a handle which can be passed to * dojo.disconnect() to disable subsequent automatic publication on * the topic. - * - * @param topic The name of the topic to publish. - * @param obj OptionalThe source object for the event function. Defaults to kernel.globalif null. - * @param event The name of the event function in obj.I.e. identifies a property obj[event]. + * + * @param topic The name of the topic to publish. + * @param obj OptionalThe source object for the event function. Defaults to kernel.globalif null. + * @param event The name of the event function in obj.I.e. identifies a property obj[event]. */ connectPublisher(topic: String, obj: Object, event: String): any; /** * Remove a link created by dojo.connect. * Removes the connection between event and the method referenced by handle. - * - * @param handle the return value of the dojo.connect call that created the connection. + * + * @param handle the return value of the dojo.connect call that created the connection. */ disconnect(handle: Object): void; /** * Checks an event for the copy key (meta on Mac, and ctrl anywhere else) - * - * @param e Event object to examine + * + * @param e Event object to examine */ isCopyKey(e: Event): any; /** * Invoke all listener method subscribed to topic. - * - * @param topic The name of the topic to publish. - * @param args OptionalAn array of arguments. The arguments will be appliedto each topic subscriber (as first class parameters, via apply). + * + * @param topic The name of the topic to publish. + * @param args OptionalAn array of arguments. The arguments will be appliedto each topic subscriber (as first class parameters, via apply). */ publish(topic: String, args?: any[]): any; /** * Attach a listener to a named topic. The listener function is invoked whenever the * named topic is published (see: dojo.publish). * Returns a handle which is needed to unsubscribe this listener. - * - * @param topic The topic to which to subscribe. - * @param context OptionalScope in which method will be invoked, or null for default scope. - * @param method The name of a function in context, or a function reference. This is the function thatis invoked when topic is published. + * + * @param topic The topic to which to subscribe. + * @param context OptionalScope in which method will be invoked, or null for default scope. + * @param method The name of a function in context, or a function reference. This is the function thatis invoked when topic is published. */ subscribe(topic: String, context?: Object, method?: String): any; /** * Attach a listener to a named topic. The listener function is invoked whenever the * named topic is published (see: dojo.publish). * Returns a handle which is needed to unsubscribe this listener. - * - * @param topic The topic to which to subscribe. - * @param context OptionalScope in which method will be invoked, or null for default scope. - * @param method The name of a function in context, or a function reference. This is the function thatis invoked when topic is published. + * + * @param topic The topic to which to subscribe. + * @param context OptionalScope in which method will be invoked, or null for default scope. + * @param method The name of a function in context, or a function reference. This is the function thatis invoked when topic is published. */ subscribe(topic: String, context?: Object, method?: Function): any; /** * Remove a topic listener. - * - * @param handle The handle returned from a call to subscribe. + * + * @param handle The handle returned from a call to subscribe. */ unsubscribe(handle: Object): void; } @@ -5390,22 +5390,22 @@ declare module dojo { * * This module defines dojo DOM event API. Usually you should use dojo/on, and evt.stopPropagation() + * evt.preventDefault(), rather than this module. - * + * */ interface event { /** * normalizes properties on the event object including event * bubbling methods, keystroke normalization, and x/y positions - * - * @param evt native event object - * @param sender node to treat as "currentTarget" + * + * @param evt native event object + * @param sender node to treat as "currentTarget" */ fix(evt: Event, sender: HTMLElement): Event; /** * prevents propagation and clobbers the default action of the * passed event - * - * @param evt The event object. If omitted, window.event is used on IE. + * + * @param evt The event object. If omitted, window.event is used on IE. */ stop(evt: Event): void; } @@ -5413,7 +5413,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/html.html * * This module is a stub for the core dojo DOM API. - * + * */ interface html { } @@ -5421,12 +5421,12 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/json.html * * This module defines the dojo JSON API. - * + * */ interface json { } - module fx { + namespace fx { /** * A generic animation class that fires callbacks into its handlers * object at various states. @@ -5436,8 +5436,8 @@ declare module dojo { * .play() method beforehand. Therefore, you will likely need to * call .play() on instances of Animation when one is * returned. - * - * @param args The 'magic argument', mixing all the properties into thisanimation instance. + * + * @param args The 'magic argument', mixing all the properties into thisanimation instance. */ interface Animation { } } @@ -5446,7 +5446,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/fx.html * * This module defines the base dojo/_base/fx implementation. - * + * */ interface fx { /** @@ -5458,16 +5458,16 @@ declare module dojo { * and allows for positional parameters to be used in place of the * packed "property bag" which is used for other Dojo animation * methods. - * + * * The Animation object returned will be already playing, so * calling play() on it again is (usually) a no-op. - * - * @param node a DOM node or the id of a node to animate CSS properties on - * @param properties - * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). - * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. - * @param onEnd OptionalA function to be called when the animation finishesrunning. - * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. + * + * @param node a DOM node or the id of a node to animate CSS properties on + * @param properties + * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). + * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. + * @param onEnd OptionalA function to be called when the animation finishesrunning. + * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. */ anim (node: HTMLElement, properties: Object, duration?: number, easing?: Function, onEnd?: Function, delay?: number): any ; /** @@ -5479,16 +5479,16 @@ declare module dojo { * and allows for positional parameters to be used in place of the * packed "property bag" which is used for other Dojo animation * methods. - * + * * The Animation object returned will be already playing, so * calling play() on it again is (usually) a no-op. - * - * @param node a DOM node or the id of a node to animate CSS properties on - * @param properties - * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). - * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. - * @param onEnd OptionalA function to be called when the animation finishesrunning. - * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. + * + * @param node a DOM node or the id of a node to animate CSS properties on + * @param properties + * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). + * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. + * @param onEnd OptionalA function to be called when the animation finishesrunning. + * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. */ anim (node: String, properties: Object, duration?: number, easing?: Function, onEnd?: Function, delay?: number): any ; /** @@ -5499,23 +5499,23 @@ declare module dojo { * animations. It takes an object of "properties" corresponding to * style properties, and animates them in parallel over a set * duration. - * - * @param args An object with the following properties:properties (Object, optional): A hash map of style properties to Objects describing the transition,such as the properties of _Line with an additional 'units' propertynode (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:properties (Object, optional): A hash map of style properties to Objects describing the transition,such as the properties of _Line with an additional 'units' propertynode (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ animateProperty (args?: Object): any ; - + /** * Returns an animation that will fade node defined in 'args' from * its current opacity to fully opaque. - * - * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ fadeIn (args: Object): any ; /** * Returns an animation that will fade node defined in 'args' * from its current opacity to fully transparent. - * - * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ fadeOut (args: Object): any ; } @@ -5523,7 +5523,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/query.html * * Deprecated. Use dojo/query instead. - * + * */ interface query { } @@ -5534,7 +5534,7 @@ declare module dojo { * blur(), focus(), change(), click(), error(), keydown(), keypress(), * keyup(), load(), mousedown(), mouseenter(), mouseleave(), mousemove(), * mouseout(), mouseover(), mouseup(), and submit() methods. - * + * */ interface NodeList { } @@ -5543,7 +5543,7 @@ declare module dojo { * * Deprecated. New code should use dojo/sniff. * This module populates the dojo browser version sniffing properties like dojo.isIE. - * + * */ interface sniff { } @@ -5551,14 +5551,14 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/lang.html * * This module defines Javascript language extensions. - * + * */ interface lang { /** * Clones objects (including DOM nodes) and all children. * Warning: do not clone cyclic structures. - * - * @param src The object to clone + * + * @param src The object to clone */ clone(src: any): any; /** @@ -5571,37 +5571,37 @@ declare module dojo { * down to obj for property lookup when object-local lookup fails. * This can be thought of similarly to ES4's "wrap", save that it does * not act on types but rather on pure objects. - * - * @param obj The object to delegate to for properties not found directly on thereturn object or in props. - * @param props an object containing properties to assign to the returned object + * + * @param obj The object to delegate to for properties not found directly on thereturn object or in props. + * @param props an object containing properties to assign to the returned object */ delegate(obj: Object, props: Object[]): any; /** * determine if an object supports a given method * useful for longer api chains where you have to test each object in * the chain. Useful for object and method detection. - * - * @param name Path to an object, in the form "A.B.C". - * @param obj OptionalObject to use as root of path. Defaults to'dojo.global'. Null may be passed. + * + * @param name Path to an object, in the form "A.B.C". + * @param obj OptionalObject to use as root of path. Defaults to'dojo.global'. Null may be passed. */ exists(name: String, obj?: Object): boolean; /** * Adds all properties and methods of props to constructor's * prototype, making them available to all instances created with * constructor. - * - * @param ctor Target constructor to extend. - * @param props One or more objects to mix into ctor.prototype + * + * @param ctor Target constructor to extend. + * @param props One or more objects to mix into ctor.prototype */ extend(ctor: Object, props: Object): Object; /** * Get a property from a dot-separated string, such as "A.B.C" * Useful for longer api chains where you have to test each object in * the chain, or when you have an object reference in string format. - * - * @param name Path to an property, in the form "A.B.C". - * @param create OptionalOptional. Defaults to false. If true, Objects will becreated at any point along the 'path' that is undefined. - * @param context OptionalOptional. Object to use as root of path. Defaults to'dojo.global'. Null may be passed. + * + * @param name Path to an property, in the form "A.B.C". + * @param create OptionalOptional. Defaults to false. If true, Objects will becreated at any point along the 'path' that is undefined. + * @param context OptionalOptional. Object to use as root of path. Defaults to'dojo.global'. Null may be passed. */ getObject(name: String, create?: boolean, context?: Object): any; /** @@ -5613,9 +5613,9 @@ declare module dojo { * beyond "method". * Each of these values will be used to "placehold" (similar to curry) * for the hitched function. - * - * @param scope The scope to use when method executes. If method is a string,scope is also the object containing method. - * @param method A function to be hitched to scope, or the name of the method inscope to be hitched. + * + * @param scope The scope to use when method executes. If method is a string,scope is also the object containing method. + * @param method A function to be hitched to scope, or the name of the method inscope to be hitched. */ hitch(scope: Object, method: Function): any; /** @@ -5627,23 +5627,23 @@ declare module dojo { * beyond "method". * Each of these values will be used to "placehold" (similar to curry) * for the hitched function. - * - * @param scope The scope to use when method executes. If method is a string,scope is also the object containing method. - * @param method A function to be hitched to scope, or the name of the method inscope to be hitched. + * + * @param scope The scope to use when method executes. If method is a string,scope is also the object containing method. + * @param method A function to be hitched to scope, or the name of the method inscope to be hitched. */ hitch(scope: Object, method: String[]): any; /** * Returns true if it is a built-in function or some other kind of * oddball that should report as a function but doesn't - * - * @param it + * + * @param it */ isAlien(it: any): any; /** * Return true if it is an Array. * Does not work on Arrays created in other windows. - * - * @param it Item to test. + * + * @param it Item to test. */ isArray(it: any): any; /** @@ -5653,27 +5653,27 @@ declare module dojo { * and DOM collections will return true when passed to * isArrayLike(), but will return false when passed to * isArray(). - * - * @param it Item to test. + * + * @param it Item to test. */ isArrayLike(it: any): any; /** * Return true if it is a Function - * - * @param it Item to test. + * + * @param it Item to test. */ isFunction(it: any): boolean; /** * Returns true if it is a JavaScript object (or an Array, a Function * or null) - * - * @param it Item to test. + * + * @param it Item to test. */ isObject(it: any): boolean; /** * Return true if it is a String - * - * @param it Item to test. + * + * @param it Item to test. */ isString(it: any): boolean; /** @@ -5682,47 +5682,47 @@ declare module dojo { * found in Object.prototype, are copied/added from sources to dest. sources are processed left to right. * The Javascript assignment operator is used to copy/add each property; therefore, by default, mixin * executes a so-called "shallow copy" and aggregate types are copied/added by reference. - * - * @param dest The object to which to copy/add all properties contained in source. If dest is falsy, thena new object is manufactured before copying/adding properties begins. - * @param sources One of more objects from which to draw all properties to copy into dest. sources are processedleft-to-right and if more than one of these objects contain the same property name, the right-mostvalue "wins". + * + * @param dest The object to which to copy/add all properties contained in source. If dest is falsy, thena new object is manufactured before copying/adding properties begins. + * @param sources One of more objects from which to draw all properties to copy into dest. sources are processedleft-to-right and if more than one of these objects contain the same property name, the right-mostvalue "wins". */ mixin(dest: Object, sources: Object[]): Object; /** * similar to hitch() except that the scope object is left to be * whatever the execution context eventually becomes. * Calling lang.partial is the functional equivalent of calling: - * + * * lang.hitch(null, funcName, ...); - * - * @param method The function to "wrap" + * + * @param method The function to "wrap" */ partial(method: Function): any; /** * similar to hitch() except that the scope object is left to be * whatever the execution context eventually becomes. * Calling lang.partial is the functional equivalent of calling: - * + * * lang.hitch(null, funcName, ...); - * - * @param method The function to "wrap" + * + * @param method The function to "wrap" */ partial(method: String): any; /** * Performs parameterized substitutions on a string. Throws an * exception if any parameter is unmatched. - * - * @param tmpl String to be used as a template. - * @param map If an object, it is used as a dictionary to look up substitutions.If a function, it is called for every substitution with following parameters:a whole match, a name, an offset, and the whole templatestring (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replacefor more details). - * @param pattern OptionalOptional regular expression objects that overrides the default pattern.Must be global and match one item. The default is: /{([^}]+)}/g,which matches patterns like that: "{xxx}", where "xxx" is any sequenceof characters, which doesn't include "}". + * + * @param tmpl String to be used as a template. + * @param map If an object, it is used as a dictionary to look up substitutions.If a function, it is called for every substitution with following parameters:a whole match, a name, an offset, and the whole templatestring (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replacefor more details). + * @param pattern OptionalOptional regular expression objects that overrides the default pattern.Must be global and match one item. The default is: /{([^}]+)}/g,which matches patterns like that: "{xxx}", where "xxx" is any sequenceof characters, which doesn't include "}". */ replace(tmpl: String, map: Object, pattern?: RegExp): String; /** * Performs parameterized substitutions on a string. Throws an * exception if any parameter is unmatched. - * - * @param tmpl String to be used as a template. - * @param map If an object, it is used as a dictionary to look up substitutions.If a function, it is called for every substitution with following parameters:a whole match, a name, an offset, and the whole templatestring (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replacefor more details). - * @param pattern OptionalOptional regular expression objects that overrides the default pattern.Must be global and match one item. The default is: /{([^}]+)}/g,which matches patterns like that: "{xxx}", where "xxx" is any sequenceof characters, which doesn't include "}". + * + * @param tmpl String to be used as a template. + * @param map If an object, it is used as a dictionary to look up substitutions.If a function, it is called for every substitution with following parameters:a whole match, a name, an offset, and the whole templatestring (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replacefor more details). + * @param pattern OptionalOptional regular expression objects that overrides the default pattern.Must be global and match one item. The default is: /{([^}]+)}/g,which matches patterns like that: "{xxx}", where "xxx" is any sequenceof characters, which doesn't include "}". */ replace(tmpl: String, map: Function, pattern?: RegExp): String; /** @@ -5731,10 +5731,10 @@ declare module dojo { * the chain, or when you have an object reference in string format. * Objects are created as needed along path. Returns the passed * value if setting is successful or undefined if not. - * - * @param name Path to a property, in the form "A.B.C". - * @param value value or object to place at location given by name - * @param context OptionalOptional. Object to use as root of path. Defaults todojo.global. + * + * @param name Path to a property, in the form "A.B.C". + * @param value value or object to place at location given by name + * @param context OptionalOptional. Object to use as root of path. Defaults todojo.global. */ setObject(name: String, value: any, context?: Object): any; /** @@ -5745,8 +5745,8 @@ declare module dojo { * Uses String.prototype.trim instead, if available. * The fastest but longest version of this function is located at * lang.string.trim() - * - * @param str String to be trimmed + * + * @param str String to be trimmed */ trim(str: String): String; } @@ -5754,7 +5754,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/unload.html * * This module contains the document and window unload detection API. - * + * */ interface unload { /** @@ -5762,7 +5762,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -5771,13 +5771,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Object, functionName?: String): void; /** @@ -5785,7 +5785,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -5794,13 +5794,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Function, functionName?: String): void; /** @@ -5808,7 +5808,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -5817,13 +5817,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Object, functionName?: Function): void; /** @@ -5831,7 +5831,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -5840,13 +5840,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Function, functionName?: Function): void; /** @@ -5862,9 +5862,9 @@ declare module dojo { * addOnUnload() if you need to modify the DOM or do * heavy JavaScript work since it fires at the equivalent of * the page's "onbeforeunload" event. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnWindowUnload(obj?: Object, functionName?: String): void; /** @@ -5880,9 +5880,9 @@ declare module dojo { * addOnUnload() if you need to modify the DOM or do * heavy JavaScript work since it fires at the equivalent of * the page's "onbeforeunload" event. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnWindowUnload(obj?: Function, functionName?: String): void; /** @@ -5898,9 +5898,9 @@ declare module dojo { * addOnUnload() if you need to modify the DOM or do * heavy JavaScript work since it fires at the equivalent of * the page's "onbeforeunload" event. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnWindowUnload(obj?: Object, functionName?: Function): void; /** @@ -5916,9 +5916,9 @@ declare module dojo { * addOnUnload() if you need to modify the DOM or do * heavy JavaScript work since it fires at the equivalent of * the page's "onbeforeunload" event. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnWindowUnload(obj?: Function, functionName?: Function): void; } @@ -5926,25 +5926,25 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/window.html * * API to save/set/restore the global/document scope. - * + * */ interface window { /** * Alias for the current document. 'doc' can be modified * for temporary context shifting. See also withDoc(). - * + * */ doc: Object; /** * Alias for the current window. 'global' can be modified * for temporary context shifting. See also withGlobal(). - * + * */ global: Object; /** * Return the body element of the specified document or of dojo/_base/window::doc. - * - * @param doc Optional + * + * @param doc Optional */ body(doc?: HTMLDocument): any; /** @@ -5953,9 +5953,9 @@ declare module dojo { * context (e.g., an iframe). The varibles dojo.global and dojo.doc * are modified as a result of calling this function and the result of * dojo.body() likewise differs. - * - * @param globalObject - * @param globalDocument + * + * @param globalObject + * @param globalDocument */ setContext(globalObject: Object, globalDocument: HTMLDocument): void; /** @@ -5964,11 +5964,11 @@ declare module dojo { * callback will be executed in the context of object thisObject * When callback() returns or throws an error, the dojo/_base/window::doc will * be restored to its previous state. - * - * @param documentObject - * @param callback - * @param thisObject Optional - * @param cbArguments Optional + * + * @param documentObject + * @param callback + * @param thisObject Optional + * @param cbArguments Optional */ withDoc(documentObject: HTMLDocument, callback: Function, thisObject?: Object, cbArguments?: any[]): any; /** @@ -5979,15 +5979,15 @@ declare module dojo { * will be executed in the context of object thisObject * When callback() returns or throws an error, the dojo.global * and dojo.doc will be restored to its previous state. - * - * @param globalObject - * @param callback - * @param thisObject Optional - * @param cbArguments Optional + * + * @param globalObject + * @param callback + * @param thisObject Optional + * @param cbArguments Optional */ withGlobal(globalObject: Object, callback: Function, thisObject?: Object, cbArguments?: any[]): any; } - module window { + namespace window { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/window.doc.html * @@ -5995,15 +5995,15 @@ declare module dojo { * for temporary context shifting. See also withDoc(). * Use this rather than referring to 'window.document' to ensure your code runs * correctly in managed contexts. - * + * */ interface doc { /** - * + * */ documentElement: Object; /** - * + * */ dojoClick: boolean; } @@ -6014,31 +6014,31 @@ declare module dojo { * for temporary context shifting. See also withGlobal(). * Use this rather than referring to 'window' to ensure your code runs * correctly in managed contexts. - * + * */ interface global { /** - * + * */ $(): any; /** - * - * @param start - * @param data - * @param responseCode - * @param errorMsg + * + * @param start + * @param data + * @param responseCode + * @param errorMsg */ GoogleSearchStoreCallback_undefined_NaN(start: any, data: any, responseCode: any, errorMsg: any): void; /** - * + * */ jQuery(): any; /** - * + * */ swfIsInHTML(): void; /** - * + * */ undefined_onload(): void; } @@ -6048,261 +6048,261 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.html * * This module is the foundational module of the dojo boot sequence; it defines the dojo object. - * + * */ interface kernel { /** * Browser history management resources - * + * */ back: Object; /** - * + * */ baseUrl: string; /** - * + * */ behavior: Object; /** - * + * */ cldr: Object; /** - * + * */ colors: Object; /** * This module defines the user configuration during bootstrap. - * + * */ config: Object; /** - * + * */ connectPublisher: Object; /** * A map of available XHR transport handle types. Name matches the * handleAs attribute passed to XHR calls. - * + * */ contentHandlers: Object; /** * localized formatting and parsing routines for currencies - * + * */ currency: Object; /** - * + * */ data: Object; /** - * + * */ date: Object; /** - * + * */ dijit: Object; /** - * + * */ dnd: Object; /** * Alias for the current document. 'doc' can be modified * for temporary context shifting. See also withDoc(). - * + * */ doc: Object; /** - * + * */ dojox: Object; /** * Effects library on top of Base animations - * + * */ fx: Object; /** * TODOC - * + * */ gears: Object; /** * Alias for the current window. 'global' can be modified * for temporary context shifting. See also withGlobal(). - * + * */ global: Object; /** * TODOC - * + * */ html: Object; /** * This module implements the dojo/i18n! plugin and the v1.6- i18n API - * + * */ i18n: Object; /** - * + * */ io: Object; /** * True if client is Adobe Air - * + * */ isAir: boolean; /** * Version as a Number if client is android browser. undefined otherwise. - * + * */ isAndroid: number; /** - * + * */ isAsync: boolean; /** - * + * */ isBrowser: boolean; /** * Version as a Number if client is Chrome browser. undefined otherwise. - * + * */ isChrome: number; /** - * + * */ isCopyKey: Object; /** - * + * */ isFF: Object; /** * Version as a Number if client is MSIE(PC). undefined otherwise. Corresponds to * major detected IE version (6, 7, 8, etc.) - * + * */ isIE: number; /** * Version as a Number if client is iPhone, iPod, or iPad. undefined otherwise. - * + * */ isIos: number; /** * Version as a Number if client is a KHTML browser. undefined otherwise. Corresponds to major * detected version. - * + * */ isKhtml: number; /** * True if the client runs on Mac - * + * */ isMac: boolean; /** - * + * */ isMoz: Object; /** - * + * */ isMozilla: Object; /** * Version as a Number if client is Opera. undefined otherwise. Corresponds to * major detected version. - * + * */ isOpera: number; /** - * + * */ isQuirks: boolean; /** * Version as a Number if client is Safari or iPhone. undefined otherwise. - * + * */ isSafari: number; /** - * + * */ isSpidermonkey: boolean; /** * Version as a Number if client is a WebKit-derived browser (Konqueror, * Safari, Chrome, etc.). undefined otherwise. - * + * */ isWebKit: number; /** * True if client is Wii - * + * */ isWii: boolean; /** * Definitions for common key values. Client code should test keyCode against these named constants, * as the actual codes can vary by browser. - * + * */ keys: Object; /** - * + * */ locale: Object; /** - * + * */ mouseButtons: Object; /** * localized formatting and parsing routines for Number - * + * */ number: Object; /** - * + * */ parser: string; /** - * + * */ publish: Object; /** - * + * */ query: Object; /** * Regular expressions and Builder resources - * + * */ regexp: Object; /** - * + * */ rpc: Object; /** - * + * */ scopeMap: Object; /** - * + * */ store: Object; /** * String utilities for Dojo - * + * */ string: Object; /** - * + * */ subscribe: Object; /** * D.O.H. Test files for Dojo unit testing. - * + * */ tests: Object; /** - * + * */ toJsonIndentStr: string; /** @@ -6313,17 +6313,17 @@ declare module dojo { * click events immediately for this node and its descendants (except for descendants that * have a dojoClick property set to falsy), to avoid the delay before native browser click events, * and regardless of whether evt.preventDefault() was called in a touch.press event listener. - * + * */ touch: Object; /** * Version number of the Dojo Toolkit - * + * */ version: Object; /** * TODOC - * + * */ window: Object; /** @@ -6332,52 +6332,52 @@ declare module dojo { * wrap, directReturn] that are used to determine what the contextual * result of a set of checked arguments is. All check/wrap functions * in this registry should be of the same arity. - * - * @param returnWrappers Optional + * + * @param returnWrappers Optional */ AdapterRegistry(returnWrappers?: boolean): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ addClass(node: String, classStr: String): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ addClass(node: HTMLElement, classStr: String): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ addClass(node: String, classStr: any[]): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ addClass(node: HTMLElement, classStr: any[]): void; /** * Add a function to execute on DOM content loaded and all requested modules have arrived and been evaluated. * In most cases, the domReady plug-in should suffice and this method should not be needed. - * + * * When called in a non-browser environment, just checks that all requested modules have arrived and been * evaluated. - * - * @param priority OptionalThe order in which to exec this callback relative to other callbacks, defaults to 1000 - * @param context The context in which to run execute callback, or a callback if not using context - * @param callback OptionalThe function to execute. + * + * @param priority OptionalThe order in which to exec this callback relative to other callbacks, defaults to 1000 + * @param context The context in which to run execute callback, or a callback if not using context + * @param callback OptionalThe function to execute. */ addOnLoad(priority: number, context: any, callback?: Function): void; /** @@ -6385,7 +6385,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -6394,13 +6394,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Object, functionName?: String): void; /** @@ -6408,7 +6408,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -6417,13 +6417,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Function, functionName?: String): void; /** @@ -6431,7 +6431,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -6440,13 +6440,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Object, functionName?: Function): void; /** @@ -6454,7 +6454,7 @@ declare module dojo { * The first time that addOnUnload is called Dojo will * register a page listener to trigger your unload handler * with. - * + * * In a browser environment, the functions will be triggered * during the window.onbeforeunload event. Be careful of doing * too much work in an unload handler. onbeforeunload can be @@ -6463,13 +6463,13 @@ declare module dojo { * onbeforeunload event fires, but the document is not * actually destroyed. So be careful about doing destructive * operations in a dojo.addOnUnload callback. - * + * * Further note that calling dojo.addOnUnload will prevent * browsers from using a "fast back" cache to make page * loading via back button instantaneous. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnUnload(obj?: Function, functionName?: Function): void; /** @@ -6478,9 +6478,9 @@ declare module dojo { * during this phase of page unloading: they may not always be available. * Consider dojo.addOnUnload() if you need to modify the DOM or do heavy * JavaScript work. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnWindowUnload(obj?: Object, functionName?: String): void; /** @@ -6489,9 +6489,9 @@ declare module dojo { * during this phase of page unloading: they may not always be available. * Consider dojo.addOnUnload() if you need to modify the DOM or do heavy * JavaScript work. - * - * @param obj Optional - * @param functionName Optional + * + * @param obj Optional + * @param functionName Optional */ addOnWindowUnload(obj: Object, functionName: Function): void; /** @@ -6503,16 +6503,16 @@ declare module dojo { * and allows for positional parameters to be used in place of the * packed "property bag" which is used for other Dojo animation * methods. - * + * * The Animation object returned will be already playing, so * calling play() on it again is (usually) a no-op. - * - * @param node a DOM node or the id of a node to animate CSS properties on - * @param properties - * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). - * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. - * @param onEnd OptionalA function to be called when the animation finishesrunning. - * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. + * + * @param node a DOM node or the id of a node to animate CSS properties on + * @param properties + * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). + * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. + * @param onEnd OptionalA function to be called when the animation finishesrunning. + * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. */ anim(node: HTMLElement, properties: Object, duration?: number, easing?: Function, onEnd?: Function, delay?: number): any; /** @@ -6524,16 +6524,16 @@ declare module dojo { * and allows for positional parameters to be used in place of the * packed "property bag" which is used for other Dojo animation * methods. - * + * * The Animation object returned will be already playing, so * calling play() on it again is (usually) a no-op. - * - * @param node a DOM node or the id of a node to animate CSS properties on - * @param properties - * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). - * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. - * @param onEnd OptionalA function to be called when the animation finishesrunning. - * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. + * + * @param node a DOM node or the id of a node to animate CSS properties on + * @param properties + * @param duration OptionalThe number of milliseconds over which the animationshould run. Defaults to the global animation default duration(350ms). + * @param easing OptionalAn easing function over which to calculate accelerationand deceleration of the animation through its duration.A default easing algorithm is provided, but you mayplug in any you wish. A large selection of easing algorithmsare available in dojo/fx/easing. + * @param onEnd OptionalA function to be called when the animation finishesrunning. + * @param delay OptionalThe number of milliseconds to delay beginning theanimation by. The default is 0. */ anim(node: String, properties: Object, duration?: number, easing?: Function, onEnd?: Function, delay?: number): any; /** @@ -6544,8 +6544,8 @@ declare module dojo { * animations. It takes an object of "properties" corresponding to * style properties, and animates them in parallel over a set * duration. - * - * @param args An object with the following properties:properties (Object, optional): A hash map of style properties to Objects describing the transition,such as the properties of _Line with an additional 'units' propertynode (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:properties (Object, optional): A hash map of style properties to Objects describing the transition,such as the properties of _Line with an additional 'units' propertynode (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ animateProperty(args: Object): any; /** @@ -6557,8 +6557,8 @@ declare module dojo { * .play() method beforehand. Therefore, you will likely need to * call .play() on instances of Animation when one is * returned. - * - * @param args The 'magic argument', mixing all the properties into thisanimation instance. + * + * @param args The 'magic argument', mixing all the properties into thisanimation instance. */ Animation(args: Object): void; /** @@ -6566,10 +6566,10 @@ declare module dojo { * Handles normalized getting and setting of attributes on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -6579,10 +6579,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the attribute on - * @param name the name of the attribute to get or set. - * @param value OptionalThe value to set for the attribute + * + * @param node id or reference to the element to get or set the attribute on + * @param name the name of the attribute to get or set. + * @param value OptionalThe value to set for the attribute */ attr(node: HTMLElement, name: String, value?: String): any; /** @@ -6590,10 +6590,10 @@ declare module dojo { * Handles normalized getting and setting of attributes on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -6603,10 +6603,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the attribute on - * @param name the name of the attribute to get or set. - * @param value OptionalThe value to set for the attribute + * + * @param node id or reference to the element to get or set the attribute on + * @param name the name of the attribute to get or set. + * @param value OptionalThe value to set for the attribute */ attr(node: String, name: String, value?: String): any; /** @@ -6614,10 +6614,10 @@ declare module dojo { * Handles normalized getting and setting of attributes on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -6627,10 +6627,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the attribute on - * @param name the name of the attribute to get or set. - * @param value OptionalThe value to set for the attribute + * + * @param node id or reference to the element to get or set the attribute on + * @param name the name of the attribute to get or set. + * @param value OptionalThe value to set for the attribute */ attr(node: HTMLElement, name: Object, value?: String): any; /** @@ -6638,10 +6638,10 @@ declare module dojo { * Handles normalized getting and setting of attributes on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -6651,42 +6651,42 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the attribute on - * @param name the name of the attribute to get or set. - * @param value OptionalThe value to set for the attribute + * + * @param node id or reference to the element to get or set the attribute on + * @param name the name of the attribute to get or set. + * @param value OptionalThe value to set for the attribute */ attr(node: String, name: Object, value?: String): any; /** * Blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend, * can reuse a previously allocated Color object for the result - * - * @param start - * @param end - * @param weight - * @param obj Optional + * + * @param start + * @param end + * @param weight + * @param obj Optional */ blendColors(start: dojo._base.Color, end: dojo._base.Color, weight: number, obj?: dojo._base.Color): any; /** * Return the body element of the specified document or of dojo/_base/window::doc. - * - * @param doc Optional + * + * @param doc Optional */ body(doc?: HTMLDocument): any; /** * Returns DOM node with matching id attribute or falsy value (ex: null or undefined) * if not found. If id is a DomNode, this function is a no-op. - * - * @param id A string to match an HTML id attribute or a reference to a DOM Node - * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. + * + * @param id A string to match an HTML id attribute or a reference to a DOM Node + * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. */ byId(id: String, doc?: HTMLDocument): any; /** * Returns DOM node with matching id attribute or falsy value (ex: null or undefined) * if not found. If id is a DomNode, this function is a no-op. - * - * @param id A string to match an HTML id attribute or a reference to a DOM Node - * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. + * + * @param id A string to match an HTML id attribute or a reference to a DOM Node + * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. */ byId(id: HTMLElement, doc?: HTMLDocument): any; /** @@ -6703,10 +6703,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ cache(module: String, url: String, value?: String): any; /** @@ -6723,10 +6723,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ cache(module: Object, url: String, value?: String): any; /** @@ -6743,10 +6743,10 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ cache(module: String, url: String, value?: Object): any; /** @@ -6763,64 +6763,64 @@ declare module dojo { * a cache value pass null for value. Since XMLHttpRequest (XHR) is used to fetch the * the URL contents, only modules on the same domain of the page can use this capability. * The build system can inline the cache values though, to allow for xdomain hosting. - * - * @param module dojo/cldr/supplemental - * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. - * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. + * + * @param module dojo/cldr/supplemental + * @param url The rest of the path to append to the path derived from the module argument. Ifmodule is an object, then this second argument should be the "value" argument instead. + * @param value OptionalIf a String, the value to use in the cache for the module/url combination.If an Object, it can have two properties: value and sanitize. The value propertyshould be the value to use in the cache, and sanitize can be set to true or false,to indicate if XML declarations should be removed from the value and if the HTMLinside a body tag in the value should be extracted as the real value. The value argumentor the value property on the value argument are usually only used by the build systemas it inlines cache content. */ cache(module: Object, url: String, value?: Object): any; /** - * + * */ clearCache(): void; /** * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and creates a new Color instance to work from. - * - * @param color + * + * @param color */ Color(color: any[]): void; /** * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and creates a new Color instance to work from. - * - * @param color + * + * @param color */ Color(color: String): void; /** * Takes a named string, hex string, array of rgb or rgba values, * an object with r, g, b, and a properties, or another Color object * and creates a new Color instance to work from. - * - * @param color + * + * @param color */ Color(color: Object): void; /** * Builds a Color from a 3 or 4 element array, mapping each * element in sequence to the rgb(a) values of the color. - * - * @param a - * @param obj Optional + * + * @param a + * @param obj Optional */ colorFromArray(a: any[], obj?: dojo._base.Color): any; /** * Converts a hex string with a '#' prefix to a color object. * Supports 12-bit #rgb shorthand. Optionally accepts a * Color object to update with the parsed value. - * - * @param color - * @param obj Optional + * + * @param color + * @param obj Optional */ colorFromHex(color: String, obj?: dojo._base.Color): any; /** * get rgb(a) array from css-style color declarations * this function can handle all 4 CSS3 Color Module formats: rgb, * rgba, hsl, hsla, including rgb(a) with percentage values. - * - * @param color - * @param obj Optional + * + * @param color + * @param obj Optional */ colorFromRgb(color: String, obj?: dojo._base.Color): any; /** @@ -6830,9 +6830,9 @@ declare module dojo { * accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or * rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10, * 10, 50)" - * - * @param str - * @param obj Optional + * + * @param str + * @param obj Optional */ colorFromString(str: String, obj?: dojo._base.Color): any; /** @@ -6844,35 +6844,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: Object, method: String, dontFix?: boolean): any; /** @@ -6884,35 +6884,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: any, method: String, dontFix?: boolean): any; /** @@ -6924,35 +6924,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: Object, method: Function, dontFix?: boolean): any; /** @@ -6964,35 +6964,35 @@ declare module dojo { * Connects listeners to actions, so that after event fires, a * listener is called with the same arguments passed to the original * function. - * + * * Since dojo.connect allows the source of events to be either a * "regular" JavaScript function or a DOM event, it provides a uniform * interface for listening to all the types of events that an * application is likely to deal with though a single, unified * interface. DOM programmers may want to think of it as * "addEventListener for everything and anything". - * + * * When setting up a connection, the event parameter must be a * string that is the name of the method/event to be listened for. If * obj is null, kernel.global is assumed, meaning that connections * to global methods are supported but also that you may inadvertently * connect to a global by passing an incorrect object name or invalid * reference. - * + * * dojo.connect generally is forgiving. If you pass the name of a * function or method that does not yet exist on obj, connect will * not fail, but will instead set up a stub method. Similarly, null * arguments may simply be omitted such that fewer than 4 arguments * may be required to set up a connection See the examples for details. - * + * * The return value is a handle that is needed to * remove this connection with dojo.disconnect. - * - * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). - * @param event String name of the event function in obj.I.e. identifies a property obj[event]. - * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. - * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. - * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. + * + * @param obj OptionalThe source object for the event function.Defaults to kernel.global if null.If obj is a DOM node, the connection is delegatedto the DOM event manager (unless dontFix is true). + * @param event String name of the event function in obj.I.e. identifies a property obj[event]. + * @param context The object that method will receive as "this".If context is null and method is a function, then methodinherits the context of event.If method is a string then context must be the sourceobject object for method (context[method]). If context is null,kernel.global is used. + * @param method A function reference, or name of a function in context.The function identified by method fires after event does.method receives the same arguments as the event.See context argument comments for information on method's scope. + * @param dontFix OptionalIf obj is a DOM node, set dontFix to true to prevent delegationof this connection to the DOM event manager. */ connect(obj: Object, event: String, context: any, method: Function, dontFix?: boolean): any; /** @@ -7007,9 +7007,9 @@ declare module dojo { * CSS values set/inherited for node. * While the getter will return top and left values, the * setter only accepts setting the width and height. - * - * @param node id or reference to DOM Node to get/set box for - * @param box OptionalIf passed, denotes that dojo.contentBox() shouldupdate/set the content box for node. Box is an object in theabove format, but only w (width) and h (height) are supported.All properties are optional if passed. + * + * @param node id or reference to DOM Node to get/set box for + * @param box OptionalIf passed, denotes that dojo.contentBox() shouldupdate/set the content box for node. Box is an object in theabove format, but only w (width) and h (height) are supported.All properties are optional if passed. */ contentBox(node: HTMLElement, box?: Object): any; /** @@ -7024,57 +7024,57 @@ declare module dojo { * CSS values set/inherited for node. * While the getter will return top and left values, the * setter only accepts setting the width and height. - * - * @param node id or reference to DOM Node to get/set box for - * @param box OptionalIf passed, denotes that dojo.contentBox() shouldupdate/set the content box for node. Box is an object in theabove format, but only w (width) and h (height) are supported.All properties are optional if passed. + * + * @param node id or reference to DOM Node to get/set box for + * @param box OptionalIf passed, denotes that dojo.contentBox() shouldupdate/set the content box for node. Box is an object in theabove format, but only w (width) and h (height) are supported.All properties are optional if passed. */ contentBox(node: String, box?: Object): any; /** * Get or set a cookie. * If one argument is passed, returns the value of the cookie * For two or more arguments, acts as a setter. - * - * @param name Name of the cookie - * @param value OptionalValue for the cookie - * @param props OptionalProperties for the cookie + * + * @param name Name of the cookie + * @param value OptionalValue for the cookie + * @param props OptionalProperties for the cookie */ cookie(name: String, value?: String, props?: Object): any; /** * Deprecated: Use position() for border-box x/y/w/h * or marginBox() for margin-box w/h/l/t. - * + * * Returns an object that measures margin-box (w)idth/(h)eight * and absolute position x/y of the border-box. Also returned * is computed (l)eft and (t)op values in pixels from the * node's offsetParent as returned from marginBox(). * Return value will be in the form: - * + * * { l: 50, t: 200, w: 300: h: 150, x: 100, y: 300 } * Does not act as a setter. If includeScroll is passed, the x and - * + * * y params are affected as one would expect in dojo.position(). - * - * @param node - * @param includeScroll Optional + * + * @param node + * @param includeScroll Optional */ coords(node: HTMLElement, includeScroll?: boolean): any; /** * Deprecated: Use position() for border-box x/y/w/h * or marginBox() for margin-box w/h/l/t. - * + * * Returns an object that measures margin-box (w)idth/(h)eight * and absolute position x/y of the border-box. Also returned * is computed (l)eft and (t)op values in pixels from the * node's offsetParent as returned from marginBox(). * Return value will be in the form: - * + * * { l: 50, t: 200, w: 300: h: 150, x: 100, y: 300 } * Does not act as a setter. If includeScroll is passed, the x and - * + * * y params are affected as one would expect in dojo.position(). - * - * @param node - * @param includeScroll Optional + * + * @param node + * @param includeScroll Optional */ coords(node: String, includeScroll?: boolean): any; /** @@ -7083,17 +7083,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: HTMLElement, attrs: Object, refNode?: HTMLElement, pos?: String): any; /** @@ -7102,17 +7102,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: String, attrs: Object, refNode?: HTMLElement, pos?: String): any; /** @@ -7121,17 +7121,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: HTMLElement, attrs: Object, refNode?: String, pos?: String): any; /** @@ -7140,58 +7140,58 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: String, attrs: Object, refNode?: String, pos?: String): any; /** * Create a feature-rich constructor from compact notation. * Create a constructor using a compact notation for inheritance and * prototype extension. - * + * * Mixin ancestors provide a type of multiple inheritance. * Prototypes of mixin ancestors are copied to the new class: * changes to mixin prototypes will not affect classes to which * they have been mixed in. - * + * * Ancestors can be compound classes created by this version of * declare(). In complex cases all base classes are going to be * linearized according to C3 MRO algorithm * (see http://www.python.org/download/releases/2.3/mro/ for more * details). - * + * * "className" is cached in "declaredClass" property of the new class, * if it was supplied. The immediate super class will be cached in * "superclass" property of the new class. - * + * * Methods in "props" will be copied and modified: "nom" property * (the declared name of the method) will be added to all copied * functions to help identify them for the internal machinery. Be * very careful, while reusing methods: if you use the same * function under different names, it can produce errors in some * cases. - * + * * It is possible to use constructors created "manually" (without * declare()) as bases. They will be called as usual during the * creation of an instance, their methods will be chained, and even * called by "this.inherited()". - * + * * Special property "-chains-" governs how to chain methods. It is * a dictionary, which uses method names as keys, and hint strings * as values. If a hint string is "after", this method will be * called after methods of its base classes. If a hint string is * "before", this method will be called before methods of its base * classes. - * + * * If "constructor" is not mentioned in "-chains-" property, it will * be chained using the legacy mode: using "after" chaining, * calling preamble() method before each constructor, if available, @@ -7203,68 +7203,68 @@ declare module dojo { * are not going to be chained in any way, and programmer will call * them manually using this.inherited(). In the latter case * postscript() will be called after the construction. - * + * * All chaining hints are "inherited" from base classes and * potentially can be overridden. Be very careful when overriding * hints! Make sure that all chained methods can work in a proposed * manner of chaining. - * + * * Once a method was chained, it is impossible to unchain it. The * only exception is "constructor". You don't need to define a * method in order to supply a chaining hint. - * + * * If a method is chained, it cannot use this.inherited() because * all other methods in the hierarchy will be called automatically. - * + * * Usually constructors and initializers of any kind are chained * using "after" and destructors of any kind are chained as * "before". Note that chaining assumes that chained methods do not * return any value: any returned value will be discarded. - * - * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. - * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). - * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". + * + * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. + * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). + * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". */ declare(className: String, superclass: Function, props: Object): dojo._base.declare.__DeclareCreatedObject; /** * Create a feature-rich constructor from compact notation. * Create a constructor using a compact notation for inheritance and * prototype extension. - * + * * Mixin ancestors provide a type of multiple inheritance. * Prototypes of mixin ancestors are copied to the new class: * changes to mixin prototypes will not affect classes to which * they have been mixed in. - * + * * Ancestors can be compound classes created by this version of * declare(). In complex cases all base classes are going to be * linearized according to C3 MRO algorithm * (see http://www.python.org/download/releases/2.3/mro/ for more * details). - * + * * "className" is cached in "declaredClass" property of the new class, * if it was supplied. The immediate super class will be cached in * "superclass" property of the new class. - * + * * Methods in "props" will be copied and modified: "nom" property * (the declared name of the method) will be added to all copied * functions to help identify them for the internal machinery. Be * very careful, while reusing methods: if you use the same * function under different names, it can produce errors in some * cases. - * + * * It is possible to use constructors created "manually" (without * declare()) as bases. They will be called as usual during the * creation of an instance, their methods will be chained, and even * called by "this.inherited()". - * + * * Special property "-chains-" governs how to chain methods. It is * a dictionary, which uses method names as keys, and hint strings * as values. If a hint string is "after", this method will be * called after methods of its base classes. If a hint string is * "before", this method will be called before methods of its base * classes. - * + * * If "constructor" is not mentioned in "-chains-" property, it will * be chained using the legacy mode: using "after" chaining, * calling preamble() method before each constructor, if available, @@ -7276,27 +7276,27 @@ declare module dojo { * are not going to be chained in any way, and programmer will call * them manually using this.inherited(). In the latter case * postscript() will be called after the construction. - * + * * All chaining hints are "inherited" from base classes and * potentially can be overridden. Be very careful when overriding * hints! Make sure that all chained methods can work in a proposed * manner of chaining. - * + * * Once a method was chained, it is impossible to unchain it. The * only exception is "constructor". You don't need to define a * method in order to supply a chaining hint. - * + * * If a method is chained, it cannot use this.inherited() because * all other methods in the hierarchy will be called automatically. - * + * * Usually constructors and initializers of any kind are chained * using "after" and destructors of any kind are chained as * "before". Note that chaining assumes that chained methods do not * return any value: any returned value will be discarded. - * - * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. - * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). - * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". + * + * @param className OptionalThe optional name of the constructor (loosely, a "class")stored in the "declaredClass" property in the created prototype.It will be used as a global name for a created constructor. + * @param superclass May be null, a Function, or an Array of Functions. This argumentspecifies a list of bases (the left-most one is the most deepestbase). + * @param props An object whose properties are copied to the created prototype.Add an instance-initialization function by making it a propertynamed "constructor". */ declare(className: String, superclass: Function[], props: Object): dojo._base.declare.__DeclareCreatedObject; /** @@ -7315,12 +7315,12 @@ declare module dojo { * async functions return promises, the concerns of making the call are * separated from the concerns of asynchronous interaction (which are * handled by the promise). - * + * * The Deferred is a type of promise that provides methods for fulfilling the * promise with a successful result or an error. The most important method for * working with Dojo's promises is the then() method, which follows the * CommonJS proposed promise API. An example of using a Dojo promise: - * + * * var resultingPromise = someAsyncOperation.then(function(result){ * ... handle result ... * }, @@ -7329,16 +7329,16 @@ declare module dojo { * }); * The .then() call returns a new promise that represents the result of the * execution of the callback. The callbacks will never affect the original promises value. - * + * * The Deferred instances also provide the following functions for backwards compatibility: - * + * * addCallback(handler) * addErrback(handler) * callback(result) * errback(result) * Callbacks are allowed to return promises themselves, so * you can build complicated sequences of events with ease. - * + * * The creator of the Deferred may specify a canceller. The canceller * is a function that will be called if Deferred.cancel is called * before the Deferred fires. You can use this to implement clean @@ -7346,8 +7346,8 @@ declare module dojo { * deferred with a CancelledError (unless your canceller returns * another kind of error), so the errbacks should be prepared to * handle that error for cancellable Deferreds. - * - * @param canceller Optional + * + * @param canceller Optional */ Deferred(canceller: Function): void; /** @@ -7357,44 +7357,44 @@ declare module dojo { * this new deferred will typically have its callback fired when all of the deferreds in * the given list have fired their own deferreds. The parameters fireOnOneCallback and * fireOnOneErrback, will fire before all the deferreds as appropriate - * - * @param list The list of deferreds to be synchronizied with this DeferredList - * @param fireOnOneCallback OptionalWill cause the DeferredLists callback to be fired as soon as anyof the deferreds in its list have been fired instead of waiting untilthe entire list has finished - * @param fireOnOneErrback Optional - * @param consumeErrors Optional - * @param canceller OptionalA deferred canceller function, see dojo.Deferred + * + * @param list The list of deferreds to be synchronizied with this DeferredList + * @param fireOnOneCallback OptionalWill cause the DeferredLists callback to be fired as soon as anyof the deferreds in its list have been fired instead of waiting untilthe entire list has finished + * @param fireOnOneErrback Optional + * @param consumeErrors Optional + * @param canceller OptionalA deferred canceller function, see dojo.Deferred */ DeferredList(list: any[], fireOnOneCallback?: boolean, fireOnOneErrback?: boolean, consumeErrors?: boolean, canceller?: Function): void; /** * Log a debug message to indicate that a behavior has been * deprecated. - * - * @param behaviour The API or behavior being deprecated. Usually in the formof "myApp.someFunction()". - * @param extra OptionalText to append to the message. Often provides advice on anew function or facility to achieve the same goal duringthe deprecation period. - * @param removal OptionalText to indicate when in the future the behavior will beremoved. Usually a version number. + * + * @param behaviour The API or behavior being deprecated. Usually in the formof "myApp.someFunction()". + * @param extra OptionalText to append to the message. Often provides advice on anew function or facility to achieve the same goal duringthe deprecation period. + * @param removal OptionalText to indicate when in the future the behavior will beremoved. Usually a version number. */ deprecated(behaviour: String, extra?: String, removal?: String): void; /** - * - * @param node + * + * @param node */ destroy(node: any): void; /** * Remove a link created by dojo.connect. * Removes the connection between event and the method referenced by handle. - * - * @param handle the return value of the dojo.connect call that created the connection. + * + * @param handle the return value of the dojo.connect call that created the connection. */ disconnect(handle: Object): void; /** * Returns an object with {node, x, y} with corresponding offsets. - * - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ docScroll(doc?: HTMLDocument): Object; /** - * - * @param node + * + * @param node */ empty(node: any): void; /** @@ -7402,20 +7402,20 @@ declare module dojo { * directly unless you understand its possibly-different implications on the platforms your are targeting. * Makes an attempt to evaluate scriptText in the global scope. The function works correctly for browsers * that support indirect eval. - * + * * As usual, IE does not. On IE, the only way to implement global eval is to * use execScript. Unfortunately, execScript does not return a value and breaks some current usages of dojo.eval. * This implementation uses the technique of executing eval in the scope of a function that is a single scope * frame below the global scope; thereby coming close to the global scope. Note carefully that - * + * * dojo.eval("var pi = 3.14;"); - * + * * will define global pi in non-IE environments, but define pi only in a temporary local scope for IE. If you want * to define a global variable using dojo.eval, write something like - * + * * dojo.eval("window.pi = 3.14;") - * - * @param scriptText The text to evaluation. + * + * @param scriptText The text to evaluation. */ eval(scriptText: any): any; /** @@ -7426,10 +7426,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: any[], callback: Function, thisObject?: Object): boolean; /** @@ -7440,10 +7440,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: String, callback: Function, thisObject?: Object): boolean; /** @@ -7454,10 +7454,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: any[], callback: String, thisObject?: Object): boolean; /** @@ -7468,15 +7468,15 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every - * - * @param arr the array to iterate on. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate on. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ every(arr: String, callback: String, thisObject?: Object): boolean; /** - * - * @param exitcode + * + * @param exitcode */ exit(exitcode: any): void; /** @@ -7486,23 +7486,23 @@ declare module dojo { * APIs are subject to change without notice. Experimental code may be * completed deleted without going through the normal deprecation * process. - * - * @param moduleName The name of a module, or the name of a module file or a specificfunction - * @param extra Optionalsome additional message for the user + * + * @param moduleName The name of a module, or the name of a module file or a specificfunction + * @param extra Optionalsome additional message for the user */ experimental(moduleName: String, extra?: String): void; /** * Returns an animation that will fade node defined in 'args' from * its current opacity to fully opaque. - * - * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ fadeIn(args: Object): any; /** * Returns an animation that will fade node defined in 'args' * from its current opacity to fully transparent. - * - * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ fadeOut(args: Object): any; /** @@ -7511,8 +7511,8 @@ declare module dojo { * as a string or an array of strings. Disabled form elements * and unchecked radio and checkboxes are skipped. Multi-select * elements are returned as an array of string values. - * - * @param inputNode + * + * @param inputNode */ fieldToObject(inputNode: HTMLElement): Object; /** @@ -7521,8 +7521,8 @@ declare module dojo { * as a string or an array of strings. Disabled form elements * and unchecked radio and checkboxes are skipped. Multi-select * elements are returned as an array of string values. - * - * @param inputNode + * + * @param inputNode */ fieldToObject(inputNode: String): Object; /** @@ -7533,10 +7533,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter - * - * @param arr the array to iterate over. - * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. + * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. + * @param thisObject Optionalmay be used to scope the call to callback */ filter(arr: any[], callback: Function, thisObject?: Object): any[]; /** @@ -7547,18 +7547,18 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter - * - * @param arr the array to iterate over. - * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. + * @param callback a function that is invoked with three arguments (item,index, array). The return of this function is expected tobe a boolean which determines whether the passed-in itemwill be included in the returned array. + * @param thisObject Optionalmay be used to scope the call to callback */ filter(arr: any[], callback: String, thisObject?: Object): any[]; /** * normalizes properties on the event object including event * bubbling methods, keystroke normalization, and x/y positions - * - * @param evt native event object - * @param sender node to treat as "currentTarget" + * + * @param evt native event object + * @param sender node to treat as "currentTarget" */ fixEvent(evt: Event, sender: HTMLElement): Event; /** @@ -7566,9 +7566,9 @@ declare module dojo { * returns a positive one. All codes using documentElement.scrollLeft * must call this function to fix this error, otherwise the position * will offset to right when there is a horizontal scrollbar. - * - * @param scrollLeft - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param scrollLeft + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ fixIeBiDiScrollLeft(scrollLeft: number, doc?: HTMLDocument): number; /** @@ -7580,10 +7580,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: any[], callback: Function, thisObject?: Object): void; /** @@ -7595,10 +7595,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: String, callback: Function, thisObject?: Object): void; /** @@ -7610,10 +7610,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: any[], callback: String, thisObject?: Object): void; /** @@ -7625,26 +7625,26 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach - * - * @param arr - * @param callback - * @param thisObject Optional + * + * @param arr + * @param callback + * @param thisObject Optional */ forEach(arr: String, callback: String, thisObject?: Object): void; /** * Create a serialized JSON string from a form node or string * ID identifying the form to serialize - * - * @param formNode - * @param prettyPrint Optional + * + * @param formNode + * @param prettyPrint Optional */ formToJson(formNode: HTMLElement, prettyPrint?: boolean): String; /** * Create a serialized JSON string from a form node or string * ID identifying the form to serialize - * - * @param formNode - * @param prettyPrint Optional + * + * @param formNode + * @param prettyPrint Optional */ formToJson(formNode: String, prettyPrint?: boolean): String; /** @@ -7653,8 +7653,8 @@ declare module dojo { * string properties in an object which it then returns. Disabled form * elements, buttons, and other non-value form elements are skipped. * Multi-select elements are returned as an array of string values. - * - * @param formNode + * + * @param formNode */ formToObject(formNode: HTMLElement): Object; /** @@ -7663,22 +7663,22 @@ declare module dojo { * string properties in an object which it then returns. Disabled form * elements, buttons, and other non-value form elements are skipped. * Multi-select elements are returned as an array of string values. - * - * @param formNode + * + * @param formNode */ formToObject(formNode: String): Object; /** * Returns a URL-encoded string representing the form passed as either a * node or string ID identifying the form to serialize - * - * @param formNode + * + * @param formNode */ formToQuery(formNode: HTMLElement): String; /** * Returns a URL-encoded string representing the form passed as either a * node or string ID identifying the form to serialize - * - * @param formNode + * + * @param formNode */ formToQuery(formNode: String): String; /** @@ -7688,24 +7688,24 @@ declare module dojo { * from a trusted source. * It is recommend that you use dojo/json's parse function for an * implementation uses the (faster) native JSON parse when available. - * - * @param js a string literal of a JavaScript expression, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }' + * + * @param js a string literal of a JavaScript expression, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }' */ fromJson(js: String): any; /** * Gets an attribute on an HTML element. * Handles normalized getting of attributes on DOM Nodes. - * - * @param node id or reference to the element to get the attribute on - * @param name the name of the attribute to get. + * + * @param node id or reference to the element to get the attribute on + * @param name the name of the attribute to get. */ getAttr(node: HTMLElement, name: String): any; /** * Gets an attribute on an HTML element. * Handles normalized getting of attributes on DOM Nodes. - * - * @param node id or reference to the element to get the attribute on - * @param name the name of the attribute to get. + * + * @param node id or reference to the element to get the attribute on + * @param name the name of the attribute to get. */ getAttr(node: String, name: String): any; /** @@ -7717,116 +7717,116 @@ declare module dojo { * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getBorderExtents(node: HTMLElement, computedStyle?: Object): Object; /** * Returns a "computed style" object. * Gets a "computed style" object which can be used to gather * information about the current state of the rendered node. - * + * * Note that this may behave differently on different browsers. * Values may have different formats and value encodings across * browsers. - * + * * Note also that this method is expensive. Wherever possible, * reuse the returned object. - * + * * Use the dojo/dom-style.get() method for more consistent (pixelized) * return values. - * - * @param node A reference to a DOM node. Does NOT support taking anID string for speed reasons. + * + * @param node A reference to a DOM node. Does NOT support taking anID string for speed reasons. */ getComputedStyle(node: HTMLElement): void; /** * Returns an object that encodes the width, height, left and top * positions of the node's content box, irrespective of the * current box model. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getContentBox(node: HTMLElement, computedStyle?: Object): Object; /** * returns the offset in x and y from the document body to the * visual edge of the page for IE * The following values in IE contain an offset: - * + * * event.clientX * event.clientY * node.getBoundingClientRect().left * node.getBoundingClientRect().top * But other position related values do not contain this offset, - * + * * such as node.offsetLeft, node.offsetTop, node.style.left and * node.style.top. The offset is always (2, 2) in LTR direction. * When the body is in RTL direction, the offset counts the width * of left scroll bar's width. This function computes the actual * offset. - * - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ getIeDocumentElementOffset(doc?: HTMLDocument): Object; /** - * - * @param moduleName - * @param bundleName - * @param locale + * + * @param moduleName + * @param bundleName + * @param locale */ getL10nName(moduleName: any, bundleName: any, locale: any): String; /** * returns an object that encodes the width, height, left and top * positions of the node's margin box. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginBox(node: HTMLElement, computedStyle?: Object): Object; /** * returns object with properties useful for box fitting with * regards to box margins (i.e., the outer-box). - * + * * l/t = marginLeft, marginTop, respectively * w = total width, margin inclusive * h = total height, margin inclusive * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginExtents(node: HTMLElement, computedStyle?: Object): Object; /** * returns an object that encodes the width and height of * the node's margin box - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginSize(node: HTMLElement, computedStyle?: Object): Object; /** * returns an object that encodes the width and height of * the node's margin box - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginSize(node: String, computedStyle?: Object): Object; /** * Returns an effective value of a property or an attribute. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute */ getNodeProp(node: HTMLElement, name: String): any; /** * Returns an effective value of a property or an attribute. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute */ getNodeProp(node: String, name: String): any; /** @@ -7838,43 +7838,43 @@ declare module dojo { * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getPadBorderExtents(node: HTMLElement, computedStyle?: Object): Object; /** * Returns object with special values specifically useful for node * fitting. * Returns an object with w, h, l, t properties: - * + * * l/t/r/b = left/top/right/bottom padding (respectively) * w = the total of the left and right padding * h = the total of the top and bottom padding * If 'node' has position, l/t forms the origin for child nodes. - * + * * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getPadExtents(node: HTMLElement, computedStyle?: Object): Object; /** * Gets a property on an HTML element. * Handles normalized getting of properties on DOM nodes. - * - * @param node id or reference to the element to get the property on - * @param name the name of the property to get. + * + * @param node id or reference to the element to get the property on + * @param name the name of the property to get. */ getProp(node: HTMLElement, name: String): any; /** * Gets a property on an HTML element. * Handles normalized getting of properties on DOM nodes. - * - * @param node id or reference to the element to get the property on - * @param name the name of the property to get. + * + * @param node id or reference to the element to get the property on + * @param name the name of the property to get. */ getProp(node: String, name: String): any; /** @@ -7886,9 +7886,9 @@ declare module dojo { * "border" are not necessarily reflected as expected. * If you want to get node dimensions, use dojo/dom-geometry.getMarginBox(), * dojo/dom-geometry.getContentBox() or dojo/dom-geometry.getPosition(). - * - * @param node id or reference to node to get style for - * @param name Optionalthe style property to get + * + * @param node id or reference to node to get style for + * @param name Optionalthe style property to get */ getStyle(node: HTMLElement, name?: String): any; /** @@ -7900,124 +7900,124 @@ declare module dojo { * "border" are not necessarily reflected as expected. * If you want to get node dimensions, use dojo/dom-geometry.getMarginBox(), * dojo/dom-geometry.getContentBox() or dojo/dom-geometry.getPosition(). - * - * @param node id or reference to node to get style for - * @param name Optionalthe style property to get + * + * @param node id or reference to node to get style for + * @param name Optionalthe style property to get */ getStyle(node: String, name?: String): any; /** * Returns true if the requested attribute is specified on the * given element, and false otherwise. - * - * @param node id or reference to the element to check - * @param name the name of the attribute + * + * @param node id or reference to the element to check + * @param name the name of the attribute */ hasAttr(node: HTMLElement, name: String): boolean; /** * Returns true if the requested attribute is specified on the * given element, and false otherwise. - * - * @param node id or reference to the element to check - * @param name the name of the attribute + * + * @param node id or reference to the element to check + * @param name the name of the attribute */ hasAttr(node: String, name: String): boolean; /** * Returns whether or not the specified classes are a portion of the * class list currently applied to the node. - * - * @param node String ID or DomNode reference to check the class for. - * @param classStr A string class name to look for. + * + * @param node String ID or DomNode reference to check the class for. + * @param classStr A string class name to look for. */ hasClass(node: String, classStr: String): boolean; /** * Returns whether or not the specified classes are a portion of the * class list currently applied to the node. - * - * @param node String ID or DomNode reference to check the class for. - * @param classStr A string class name to look for. + * + * @param node String ID or DomNode reference to check the class for. + * @param classStr A string class name to look for. */ hasClass(node: HTMLElement, classStr: String): boolean; /** * Gets or sets the hash string in the browser URL. * Handles getting and setting of location.hash. - * + * * If no arguments are passed, acts as a getter. * If a string is passed, acts as a setter. - * - * @param hash Optionalthe hash is set - #string. - * @param replace OptionalIf true, updates the hash value in the current historystate instead of creating a new history state. + * + * @param hash Optionalthe hash is set - #string. + * @param replace OptionalIf true, updates the hash value in the current historystate instead of creating a new history state. */ hash(hash?: String, replace?: boolean): any; /** * locates the first index of the provided value in the * passed array. If the value is not found, -1 is returned. * This method corresponds to the JavaScript 1.6 Array.indexOf method, with two differences: - * + * * when run over sparse arrays, the Dojo function invokes the callback for every index * whereas JavaScript 1.6's indexOf skips the holes in the sparse array. * uses equality (==) rather than strict equality (===) * For details on this method, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/indexOf - * - * @param arr - * @param value - * @param fromIndex Optional - * @param findLast OptionalMakes indexOf() work like lastIndexOf(). Used internally; not meant for external usage. + * + * @param arr + * @param value + * @param fromIndex Optional + * @param findLast OptionalMakes indexOf() work like lastIndexOf(). Used internally; not meant for external usage. */ indexOf(arr: any[], value: Object, fromIndex?: number, findLast?: boolean): number; /** * Returns true if the current language is left-to-right, and false otherwise. - * - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ isBodyLtr(doc?: HTMLDocument): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: HTMLElement, ancestor: HTMLElement): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: String, ancestor: HTMLElement): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: HTMLElement, ancestor: String): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: String, ancestor: String): boolean; /** * locates the last index of the provided value in the passed * array. If the value is not found, -1 is returned. * This method corresponds to the JavaScript 1.6 Array.lastIndexOf method, with two differences: - * + * * when run over sparse arrays, the Dojo function invokes the callback for every index * whereas JavaScript 1.6's lasIndexOf skips the holes in the sparse array. * uses equality (==) rather than strict equality (===) * For details on this method, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/lastIndexOf - * - * @param arr - * @param value - * @param fromIndex Optional + * + * @param arr + * @param value + * @param fromIndex Optional */ lastIndexOf(arr: any, value: any, fromIndex?: number): number; /** - * - * @param f + * + * @param f */ loadInit(f: any): void; /** @@ -8028,11 +8028,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: any[], callback: Function, thisObject: Object, Ctr: any): any[]; /** @@ -8043,11 +8043,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: String, callback: Function, thisObject: Object, Ctr: any): any[]; /** @@ -8058,11 +8058,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: any[], callback: String, thisObject: Object, Ctr: any): any[]; /** @@ -8073,11 +8073,11 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map - * - * @param arr the array to iterate on. If a string, operates onindividual characters. - * @param callback a function is invoked with three arguments, (item, index,array), and returns a value - * @param thisObject Optionalmay be used to scope the call to callback - * @param Ctr + * + * @param arr the array to iterate on. If a string, operates onindividual characters. + * @param callback a function is invoked with three arguments, (item, index,array), and returns a value + * @param thisObject Optionalmay be used to scope the call to callback + * @param Ctr */ map(arr: String, callback: String, thisObject: Object, Ctr: any): any[]; /** @@ -8089,9 +8089,9 @@ declare module dojo { * for a node offset from its parent 50px to the left, 200px from * the top with a margin width of 300px and a margin-height of * 150px. - * - * @param node id or reference to DOM Node to get/set box for - * @param box OptionalIf passed, denotes that dojo.marginBox() shouldupdate/set the margin box for node. Box is an object in theabove format. All properties are optional if passed. + * + * @param node id or reference to DOM Node to get/set box for + * @param box OptionalIf passed, denotes that dojo.marginBox() shouldupdate/set the margin box for node. Box is an object in theabove format. All properties are optional if passed. */ marginBox(node: HTMLElement, box?: Object): any; /** @@ -8103,16 +8103,16 @@ declare module dojo { * for a node offset from its parent 50px to the left, 200px from * the top with a margin width of 300px and a margin-height of * 150px. - * - * @param node id or reference to DOM Node to get/set box for - * @param box OptionalIf passed, denotes that dojo.marginBox() shouldupdate/set the margin box for node. Box is an object in theabove format. All properties are optional if passed. + * + * @param node id or reference to DOM Node to get/set box for + * @param box OptionalIf passed, denotes that dojo.marginBox() shouldupdate/set the margin box for node. Box is an object in theabove format. All properties are optional if passed. */ marginBox(node: String, box?: Object): any; /** * Returns a URL relative to a module. - * - * @param module dojo/dom-class - * @param url Optional + * + * @param module dojo/dom-class + * @param url Optional */ moduleUrl(module: String, url?: String): String; /** @@ -8126,87 +8126,87 @@ declare module dojo { * functions in the dojo package, NodeLists generally make the * full power of Dojo available for DOM manipulation tasks in a * simple, chainable way. - * - * @param array + * + * @param array */ NodeList(array: any): any[]; /** * takes a name/value mapping object and returns a string representing * a URL-encoded version of that object. - * - * @param map + * + * @param map */ objectToQuery(map: Object): any; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: HTMLElement, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: HTMLElement, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: String, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: String, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: HTMLElement, position?: number): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: HTMLElement, position?: number): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: String, position?: number): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: String, position?: number): HTMLElement; /** @@ -8220,8 +8220,8 @@ declare module dojo { * dojo.name, set by your host environment. The items in the * "common" array will always be loaded, regardless of which * list is chosen. - * - * @param modMap + * + * @param modMap */ platformRequire(modMap: Object): void; /** @@ -8229,7 +8229,7 @@ declare module dojo { * subsequent code executes in the previous context to the * current context. The current context set ([global, * document]) is returned. - * + * */ popContext(): void; /** @@ -8243,9 +8243,9 @@ declare module dojo { * viewport. * Uses the border-box model (inclusive of border and padding but * not margin). Does not act as a setter. - * - * @param node - * @param includeScroll Optional + * + * @param node + * @param includeScroll Optional */ position(node: HTMLElement, includeScroll?: boolean): Object; /** @@ -8259,9 +8259,9 @@ declare module dojo { * viewport. * Uses the border-box model (inclusive of border and padding but * not margin). Does not act as a setter. - * - * @param node - * @param includeScroll Optional + * + * @param node + * @param includeScroll Optional */ position(node: String, includeScroll?: boolean): Object; /** @@ -8269,10 +8269,10 @@ declare module dojo { * Handles normalized getting and setting of properties on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8282,10 +8282,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the property on - * @param name the name of the property to get or set. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to get or set the property on + * @param name the name of the property to get or set. + * @param value OptionalThe value to set for the property */ prop(node: HTMLElement, name: String, value?: String): any; /** @@ -8293,10 +8293,10 @@ declare module dojo { * Handles normalized getting and setting of properties on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8306,10 +8306,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the property on - * @param name the name of the property to get or set. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to get or set the property on + * @param name the name of the property to get or set. + * @param value OptionalThe value to set for the property */ prop(node: String, name: String, value?: String): any; /** @@ -8317,10 +8317,10 @@ declare module dojo { * Handles normalized getting and setting of properties on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8330,10 +8330,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the property on - * @param name the name of the property to get or set. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to get or set the property on + * @param name the name of the property to get or set. + * @param value OptionalThe value to set for the property */ prop(node: HTMLElement, name: Object, value?: String): any; /** @@ -8341,10 +8341,10 @@ declare module dojo { * Handles normalized getting and setting of properties on DOM * Nodes. If 2 arguments are passed, and a the second argument is a * string, acts as a getter. - * + * * If a third argument is passed, or if the second argument is a * map of attributes, acts as a setter. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8354,15 +8354,15 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to get or set the property on - * @param name the name of the property to get or set. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to get or set the property on + * @param name the name of the property to get or set. + * @param value OptionalThe value to set for the property */ prop(node: String, name: Object, value?: String): any; /** - * - * @param mid + * + * @param mid */ provide(mid: any): void; /** @@ -8385,9 +8385,9 @@ declare module dojo { * the context to push. This means that iframes can be given * an ID and code can be executed in the scope of the iframe's * document in subsequent calls easily. - * - * @param g OptionalThe global context. If a string, the id of the frame tosearch for a context and document. - * @param d OptionalThe document element to execute subsequent code with. + * + * @param g OptionalThe global context. If a string, the id of the frame tosearch for a context and document. + * @param d OptionalThe document element to execute subsequent code with. */ pushContext(g?: Object, d?: HTMLDocument): void; /** @@ -8410,42 +8410,42 @@ declare module dojo { * the context to push. This means that iframes can be given * an ID and code can be executed in the scope of the iframe's * document in subsequent calls easily. - * - * @param g OptionalThe global context. If a string, the id of the frame tosearch for a context and document. - * @param d OptionalThe document element to execute subsequent code with. + * + * @param g OptionalThe global context. If a string, the id of the frame tosearch for a context and document. + * @param d OptionalThe document element to execute subsequent code with. */ pushContext(g?: String, d?: HTMLDocument): void; /** * Create an object representing a de-serialized query section of a * URL. Query keys with multiple values are returned in an array. - * - * @param str + * + * @param str */ queryToObject(str: String): Object; /** * Sends an HTTP POST request to the server. In addition to the properties * listed for the dojo.__XhrArgs type, the following property is allowed: - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ rawXhrPost(args: Object): any; /** * Sends an HTTP PUT request to the server. In addition to the properties * listed for the dojo.__XhrArgs type, the following property is allowed: - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ rawXhrPut(args: Object): any; /** * Add a function to execute on DOM content loaded and all requested modules have arrived and been evaluated. * In most cases, the domReady plug-in should suffice and this method should not be needed. - * + * * When called in a non-browser environment, just checks that all requested modules have arrived and been * evaluated. - * - * @param priority OptionalThe order in which to exec this callback relative to other callbacks, defaults to 1000 - * @param context The context in which to run execute callback, or a callback if not using context - * @param callback OptionalThe function to execute. + * + * @param priority OptionalThe order in which to exec this callback relative to other callbacks, defaults to 1000 + * @param context The context in which to run execute callback, or a callback if not using context + * @param callback OptionalThe function to execute. */ ready(priority: number, context: any, callback?: Function): void; /** @@ -8454,127 +8454,127 @@ declare module dojo { * relative to Dojo root. For example, module acme is mapped to * ../acme. If you want to use a different module name, use * dojo.registerModulePath. - * - * @param moduleName - * @param prefix + * + * @param moduleName + * @param prefix */ registerModulePath(moduleName: String, prefix: String): void; /** * Removes an attribute from an HTML element. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute to remove + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute to remove */ removeAttr(node: HTMLElement, name: String): void; /** * Removes an attribute from an HTML element. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute to remove + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute to remove */ removeAttr(node: String, name: String): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ removeClass(node: String, classStr?: String): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ removeClass(node: HTMLElement, classStr?: String): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ removeClass(node: String, classStr?: any[]): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ removeClass(node: HTMLElement, classStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: String, addClassStr: String, removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: HTMLElement, addClassStr: String, removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: String, addClassStr: any[], removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: HTMLElement, addClassStr: any[], removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: String, addClassStr: String, removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: HTMLElement, addClassStr: String, removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: String, addClassStr: any[], removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replaceClass(node: HTMLElement, addClassStr: any[], removeClassStr?: any[]): void; /** @@ -8584,77 +8584,77 @@ declare module dojo { * custom build that specified loader=xdomain and the module lives on a modulePath * that is a whole URL, with protocol and a domain. The versions of Dojo that are on * the Google and AOL CDNs use the xdomain loader. - * + * * If the module is loaded via the xdomain loader, it is an asynchronous load, since * the module is added via a dynamically created script tag. This * means that dojo.require() can return before the module has loaded. However, this * should only happen in the case where you do dojo.require calls in the top-level * HTML page, or if you purposely avoid the loader checking for dojo.require * dependencies in your module by using a syntax like dojo["require"] to load the module. - * + * * Sometimes it is useful to not have the loader detect the dojo.require calls in the * module so that you can dynamically load the modules as a result of an action on the * page, instead of right at module load time. - * + * * Also, for script blocks in an HTML page, the loader does not pre-process them, so * it does not know to download the modules before the dojo.require calls occur. - * + * * So, in those two cases, when you want on-the-fly module loading or for script blocks * in the HTML page, special care must be taken if the dojo.required code is loaded * asynchronously. To make sure you can execute code that depends on the dojo.required * modules, be sure to add the code that depends on the modules in a dojo.addOnLoad() * callback. dojo.addOnLoad waits for all outstanding modules to finish loading before * executing. - * + * * This type of syntax works with both xdomain and normal loaders, so it is good * practice to always use this idiom for on-the-fly code loading and in HTML script * blocks. If at some point you change loaders and where the code is loaded from, * it will all still work. - * + * * More on how dojo.require * dojo.require("A.B") first checks to see if symbol A.B is * defined. If it is, it is simply returned (nothing to do). - * + * * If it is not defined, it will look for A/B.js in the script root * directory. - * + * * dojo.require throws an exception if it cannot find a file * to load, or if the symbol A.B is not defined after loading. - * + * * It returns the object A.B, but note the caveats above about on-the-fly loading and * HTML script blocks when the xdomain loader is loading a module. - * + * * dojo.require() does nothing about importing symbols into * the current namespace. It is presumed that the caller will * take care of that. - * - * @param moduleName module name to load, using periods for separators, e.g. "dojo.date.locale". Module paths are de-referenced by dojo'sinternal mapping of locations to names and are disambiguated bylongest prefix. See dojo.registerModulePath() for details onregistering new modules. - * @param omitModuleCheck Optionalif true, omitModuleCheck skips the step of ensuring that theloaded file actually defines the symbol it is referenced by.For example if it called as dojo.require("a.b.c") and thefile located at a/b/c.js does not define an object a.b.c,and exception will be throws whereas no exception is raisedwhen called as dojo.require("a.b.c", true) + * + * @param moduleName module name to load, using periods for separators, e.g. "dojo.date.locale". Module paths are de-referenced by dojo'sinternal mapping of locations to names and are disambiguated bylongest prefix. See dojo.registerModulePath() for details onregistering new modules. + * @param omitModuleCheck Optionalif true, omitModuleCheck skips the step of ensuring that theloaded file actually defines the symbol it is referenced by.For example if it called as dojo.require("a.b.c") and thefile located at a/b/c.js does not define an object a.b.c,and exception will be throws whereas no exception is raisedwhen called as dojo.require("a.b.c", true) */ require(moduleName: String, omitModuleCheck: boolean): any; /** * If the condition is true then call dojo.require() for the specified * resource - * - * @param condition - * @param moduleName - * @param omitModuleCheck Optional + * + * @param condition + * @param moduleName + * @param omitModuleCheck Optional */ requireAfterIf(condition: boolean, moduleName: String, omitModuleCheck?: boolean): void; /** * If the condition is true then call dojo.require() for the specified * resource - * - * @param condition - * @param moduleName - * @param omitModuleCheck Optional + * + * @param condition + * @param moduleName + * @param omitModuleCheck Optional */ requireIf(condition: boolean, moduleName: String, omitModuleCheck?: boolean): void; /** - * - * @param moduleName - * @param bundleName - * @param locale Optional + * + * @param moduleName + * @param bundleName + * @param locale Optional */ requireLocalization(moduleName: String, bundleName: String, locale?: String): void; /** @@ -8663,22 +8663,22 @@ declare module dojo { * This function is used to mix in properties like lang.mixin does, * but it skips a constructor property and decorates functions like * declare() does. - * + * * It is meant to be used with classes and objects produced with * declare. Functions mixed in with dojo.safeMixin can use * this.inherited() like normal methods. - * + * * This function is used to implement extend() method of a constructor * produced with declare(). - * - * @param target Target object to accept new properties. - * @param source Source object for new properties. + * + * @param target Target object to accept new properties. + * @param source Source object for new properties. */ safeMixin(target: Object, source: Object): Object; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8688,16 +8688,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ setAttr(node: HTMLElement, name: String, value?: String): any; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8707,16 +8707,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ setAttr(node: String, name: String, value?: String): any; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8726,16 +8726,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ setAttr(node: HTMLElement, name: Object, value?: String): any; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8745,19 +8745,19 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ setAttr(node: String, name: Object, value?: String): any; /** * Sets the size of the node's contents, irrespective of margins, * padding, or borders. - * - * @param node - * @param box hash with optional "w", and "h" properties for "width", and "height"respectively. All specified properties should have numeric values in whole pixels. - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param box hash with optional "w", and "h" properties for "width", and "height"respectively. All specified properties should have numeric values in whole pixels. + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ setContentSize(node: HTMLElement, box: Object, computedStyle?: Object): void; /** @@ -8766,9 +8766,9 @@ declare module dojo { * context (e.g., an iframe). The varibles dojo.global and dojo.doc * are modified as a result of calling this function and the result of * dojo.body() likewise differs. - * - * @param globalObject - * @param globalDocument + * + * @param globalObject + * @param globalDocument */ setContext(globalObject: Object, globalDocument: HTMLDocument): void; /** @@ -8776,16 +8776,16 @@ declare module dojo { * (left/top), irrespective of box model. Think of it as a * passthrough to setBox that handles box-model vagaries for * you. - * - * @param node - * @param box hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"respectively. All specified properties should have numeric values in whole pixels. - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param box hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"respectively. All specified properties should have numeric values in whole pixels. + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ setMarginBox(node: HTMLElement, box: Object, computedStyle?: Object): void; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8795,16 +8795,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ setProp(node: HTMLElement, name: String, value?: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8814,16 +8814,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ setProp(node: String, name: String, value?: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8833,16 +8833,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ setProp(node: HTMLElement, name: Object, value?: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -8852,48 +8852,48 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ setProp(node: String, name: Object, value?: String): any; /** - * - * @param node - * @param selectable + * + * @param node + * @param selectable */ setSelectable(node: any, selectable: any): void; /** * Sets styles on a node. - * - * @param node id or reference to node to set style for - * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to set style for + * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ setStyle(node: HTMLElement, name: String, value?: String): String; /** * Sets styles on a node. - * - * @param node id or reference to node to set style for - * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to set style for + * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ setStyle(node: String, name: String, value?: String): String; /** * Sets styles on a node. - * - * @param node id or reference to node to set style for - * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to set style for + * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ setStyle(node: HTMLElement, name: Object, value?: String): String; /** * Sets styles on a node. - * - * @param node id or reference to node to set style for - * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to set style for + * @param name the style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ setStyle(node: String, name: Object, value?: String): String; /** @@ -8904,10 +8904,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: any[], callback: Function, thisObject?: Object): boolean; /** @@ -8918,10 +8918,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: String, callback: Function, thisObject?: Object): boolean; /** @@ -8932,10 +8932,10 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: any[], callback: String, thisObject?: Object): boolean; /** @@ -8946,21 +8946,21 @@ declare module dojo { * the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array. * For more details, see: * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some - * - * @param arr the array to iterate over. If a string, operates on individual characters. - * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. - * @param thisObject Optionalmay be used to scope the call to callback + * + * @param arr the array to iterate over. If a string, operates on individual characters. + * @param callback a function is invoked with three arguments: item, index,and array and returns true if the condition is met. + * @param thisObject Optionalmay be used to scope the call to callback */ some(arr: String, callback: String, thisObject?: Object): boolean; /** - * + * */ Stateful(): void; /** * prevents propagation and clobbers the default action of the * passed event - * - * @param evt The event object. If omitted, window.event is used on IE. + * + * @param evt The event object. If omitted, window.event is used on IE. */ stopEvent(evt: Event): void; /** @@ -8974,10 +8974,10 @@ declare module dojo { * "border" are not necessarily reflected as expected. * If you want to get node dimensions, use dojo.marginBox(), * dojo.contentBox() or dojo.position(). - * - * @param node id or reference to node to get/set style for - * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to get/set style for + * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ style(node: HTMLElement, name?: String, value?: String): any; /** @@ -8991,10 +8991,10 @@ declare module dojo { * "border" are not necessarily reflected as expected. * If you want to get node dimensions, use dojo.marginBox(), * dojo.contentBox() or dojo.position(). - * - * @param node id or reference to node to get/set style for - * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to get/set style for + * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ style(node: String, name?: String, value?: String): any; /** @@ -9008,10 +9008,10 @@ declare module dojo { * "border" are not necessarily reflected as expected. * If you want to get node dimensions, use dojo.marginBox(), * dojo.contentBox() or dojo.position(). - * - * @param node id or reference to node to get/set style for - * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to get/set style for + * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ style(node: HTMLElement, name?: Object, value?: String): any; /** @@ -9025,57 +9025,57 @@ declare module dojo { * "border" are not necessarily reflected as expected. * If you want to get node dimensions, use dojo.marginBox(), * dojo.contentBox() or dojo.position(). - * - * @param node id or reference to node to get/set style for - * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. - * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. + * + * @param node id or reference to node to get/set style for + * @param name Optionalthe style property to set in DOM-accessor format("borderWidth", not "border-width") or an object with key/valuepairs suitable for setting each property. + * @param value OptionalIf passed, sets value on the node for style, handlingcross-browser concerns. When setting a pixel value,be sure to include "px" in the value. For instance, top: "200px".Otherwise, in some cases, some browsers will not apply the style. */ style(node: String, name?: Object, value?: String): any; /** * instantiates an HTML fragment returning the corresponding DOM. - * - * @param frag the HTML fragment - * @param doc Optionaloptional document to use when creating DOM nodes, defaults todojo/_base/window.doc if not specified. + * + * @param frag the HTML fragment + * @param doc Optionaloptional document to use when creating DOM nodes, defaults todojo/_base/window.doc if not specified. */ toDom(frag: String, doc?: HTMLDocument): any; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggleClass(node: String, classStr: String, condition: boolean): boolean; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggleClass(node: HTMLElement, classStr: String, condition: boolean): boolean; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggleClass(node: String, classStr: any[], condition: boolean): boolean; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggleClass(node: HTMLElement, classStr: any[], condition: boolean): boolean; /** @@ -9085,22 +9085,22 @@ declare module dojo { * It is recommend that you use dojo/json's stringify function for an lighter * and faster implementation that matches the native JSON API and uses the * native JSON serializer when available. - * - * @param it an object to be serialized. Objects may define their ownserialization via a special "json" or "json" functionproperty. If a specialized serializer has been defined, it willbe used as a fallback.Note that in 1.6, toJson would serialize undefined, but this no longer supportedsince it is not supported by native JSON serializer. - * @param prettyPrint Optionalif true, we indent objects and arrays to make the output prettier.The variable dojo.toJsonIndentStr is used as the indent string --to use something other than the default (tab), change that variablebefore calling dojo.toJson().Note that if native JSON support is available, it will be used for serialization,and native implementations vary on the exact spacing used in pretty printing. + * + * @param it an object to be serialized. Objects may define their ownserialization via a special "json" or "json" functionproperty. If a specialized serializer has been defined, it willbe used as a fallback.Note that in 1.6, toJson would serialize undefined, but this no longer supportedsince it is not supported by native JSON serializer. + * @param prettyPrint Optionalif true, we indent objects and arrays to make the output prettier.The variable dojo.toJsonIndentStr is used as the indent string --to use something other than the default (tab), change that variablebefore calling dojo.toJson().Note that if native JSON support is available, it will be used for serialization,and native implementations vary on the exact spacing used in pretty printing. */ toJson(it: Object, prettyPrint?: boolean): any; /** * converts style value to pixels on IE or return a numeric value. - * - * @param node - * @param value + * + * @param node + * @param value */ toPixelValue(node: HTMLElement, value: String): number; /** * Remove a topic listener. - * - * @param handle The handle returned from a call to subscribe. + * + * @param handle The handle returned from a call to subscribe. */ unsubscribe(handle: Object): void; /** @@ -9108,23 +9108,23 @@ declare module dojo { * Accepts promises but also transparently handles non-promises. If no * callbacks are provided returns a promise, regardless of the initial * value. Foreign promises are converted. - * + * * If callbacks are provided and the initial value is not a promise, * the callback is executed immediately with no error handling. Returns * a promise if the initial value is a promise, or the result of the * callback otherwise. - * - * @param valueOrPromise Either a regular value or an object with a then() method thatfollows the Promises/A specification. - * @param callback OptionalCallback to be invoked when the promise is resolved, or a non-promiseis received. - * @param errback OptionalCallback to be invoked when the promise is rejected. - * @param progback OptionalCallback to be invoked when the promise emits a progress update. + * + * @param valueOrPromise Either a regular value or an object with a then() method thatfollows the Promises/A specification. + * @param callback OptionalCallback to be invoked when the promise is resolved, or a non-promiseis received. + * @param errback OptionalCallback to be invoked when the promise is rejected. + * @param progback OptionalCallback to be invoked when the promise emits a progress update. */ when(valueOrPromise: any, callback?: Function, errback?: Function, progback?: Function): dojo.promise.Promise; /** * signal fired by impending window destruction. You may use * dojo.addOnWIndowUnload() or dojo.connect() to this method to perform * page/application cleanup methods. See dojo.addOnWindowUnload for more info. - * + * */ windowUnloaded(): void; /** @@ -9133,11 +9133,11 @@ declare module dojo { * callback will be executed in the context of object thisObject * When callback() returns or throws an error, the dojo/_base/window::doc will * be restored to its previous state. - * - * @param documentObject - * @param callback - * @param thisObject Optional - * @param cbArguments Optional + * + * @param documentObject + * @param callback + * @param thisObject Optional + * @param cbArguments Optional */ withDoc(documentObject: HTMLDocument, callback: Function, thisObject?: Object, cbArguments?: any[]): any; /** @@ -9148,57 +9148,57 @@ declare module dojo { * will be executed in the context of object thisObject * When callback() returns or throws an error, the dojo.global * and dojo.doc will be restored to its previous state. - * - * @param globalObject - * @param callback - * @param thisObject Optional - * @param cbArguments Optional + * + * @param globalObject + * @param callback + * @param thisObject Optional + * @param cbArguments Optional */ withGlobal(globalObject: Object, callback: Function, thisObject?: Object, cbArguments?: any[]): any; /** - * - * @param method - * @param args + * + * @param method + * @param args */ xhr(method: any, args: any): any; /** * Sends an HTTP DELETE request to the server. - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ xhrDelete(args: Object): any; /** * Sends an HTTP GET request to the server. - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ xhrGet(args: Object): any; /** * Sends an HTTP POST request to the server. In addition to the properties * listed for the dojo.__XhrArgs type, the following property is allowed: - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ xhrPost(args: Object): any; /** * Sends an HTTP PUT request to the server. In addition to the properties * listed for the dojo.__XhrArgs type, the following property is allowed: - * - * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:handleAs (String, optional): Acceptable values are: text (default), json, json-comment-optional,json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlerssync (Boolean, optional): false is default. Indicates whether the request shouldbe a synchronous (blocking) request.headers (Object, optional): Additional HTTP headers to send in the request.failOk (Boolean, optional): false is default. Indicates whether a request should beallowed to fail (and therefore no console error message inthe event of a failure)contentType (String|Boolean): "application/x-www-form-urlencoded" is default. Set to false toprevent a Content-Type header from being sent, or to a stringto send a different Content-Type.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ xhrPut(args: Object): any; } - module kernel { + namespace kernel { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.__IoCallbackArgs.html * - * + * */ class __IoCallbackArgs { constructor(); /** * the original object argument to the IO call. - * + * */ "args": Object; /** @@ -9207,19 +9207,19 @@ declare module dojo { * request can be deleted after callbacks have * been called. Used internally to know when * cleanup can happen on JSONP-type requests. - * + * */ "canDelete": boolean; /** * The final indicator on how the response will be * handled. - * + * */ "handleAs": string; /** * For dojo/io/script calls only, the internal * script ID used for the request. - * + * */ "id": string; /** @@ -9229,28 +9229,28 @@ declare module dojo { * You should not need to access it directly -- * the same object should be passed to the success * callbacks directly. - * + * */ "json": Object; /** * For non-GET requests, the * name1=value1&name2=value2 parameters sent up in * the request. - * + * */ "query": string; /** * The final URL used for the call. Many times it * will be different than the original args.url * value. - * + * */ "url": string; /** * For XMLHttpRequest calls only, the * XMLHttpRequest object that was used for the * request. - * + * */ "xhr": Object; } @@ -9262,7 +9262,7 @@ declare module dojo { * published for any Input/Output, network operation. So, * dojo.xhr, dojo.io.script and dojo.io.iframe can all * trigger these topics to be published. - * + * */ class __IoPublish { constructor(); @@ -9270,47 +9270,47 @@ declare module dojo { * "/dojo/io/done" is sent whenever an IO request has completed, * either by loading or by erroring. It passes the error and * the dojo.Deferred for the request with the topic. - * + * */ "done": string; /** * "/dojo/io/error" is sent whenever an IO request has errored. * It passes the error and the dojo.Deferred * for the request with the topic. - * + * */ "error": string; /** * "/dojo/io/load" is sent whenever an IO request has loaded * successfully. It passes the response and the dojo.Deferred * for the request with the topic. - * + * */ "load": string; /** * "/dojo/io/send" is sent whenever a new IO request is started. * It passes the dojo.Deferred for the request with the topic. - * + * */ "send": string; /** * "/dojo/io/start" is sent when there are no outstanding IO * requests, and a new IO request is started. No arguments * are passed with this topic. - * + * */ "start": string; /** * "/dojo/io/stop" is sent when all outstanding IO requests have * finished. No arguments are passed with this topic. - * + * */ "stop": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.__IoArgs.html * - * + * */ class __IoArgs { constructor(); @@ -9318,19 +9318,19 @@ declare module dojo { * Contains properties with string values. These * properties will be serialized as name1=value2 and * passed in the request. - * + * */ "content": Object; /** * DOM node for a form. Used to extract the form values * and send to the server. - * + * */ "form": HTMLElement; /** * Acceptable values depend on the type of IO * transport (see specific IO calls for more information). - * + * */ "handleAs": string; /** @@ -9338,7 +9338,7 @@ declare module dojo { * IO operations. Otherwise, if djConfig.ioPublish is set to true, topics * will be published via dojo/topic.publish() for different phases of an IO operation. * See dojo/main.__IoPublish for a list of topics that are published. - * + * */ "ioPublish": boolean; /** @@ -9346,7 +9346,7 @@ declare module dojo { * "dojo.preventCache" parameter is sent in the request * with a value that changes with each request * (timestamp). Useful only with GET-type requests. - * + * */ "preventCache": boolean; /** @@ -9354,18 +9354,18 @@ declare module dojo { * property is ignored. This is mostly useful for HTTP methods that have * a body to their requests, like PUT or POST. This property can be used instead * of postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively. - * + * */ "rawBody": string; /** * Milliseconds to wait for the response. If this time * passes, the then error callbacks are called. - * + * */ "timeout": number; /** * URL to server endpoint. - * + * */ "url": string; /** @@ -9375,26 +9375,26 @@ declare module dojo { * exception, unless djConfig.debugAtAllCosts is true. This allows deployed applications * to continue to run even when a logic error happens in the callback, while making * it easier to troubleshoot while in debug mode. - * - * @param response The response in the format as defined with handleAs. - * @param ioArgs Provides additional information about the request. + * + * @param response The response in the format as defined with handleAs. + * @param ioArgs Provides additional information about the request. */ error(response: Object, ioArgs: dojo.main.__IoCallbackArgs): void; /** * This function will * be called at the end of every request, whether or not an error occurs. - * - * @param loadOrError Provides a string that tells you whether this functionwas called because of success (load) or failure (error). - * @param response The response in the format as defined with handleAs. - * @param ioArgs Provides additional information about the request. + * + * @param loadOrError Provides a string that tells you whether this functionwas called because of success (load) or failure (error). + * @param response The response in the format as defined with handleAs. + * @param ioArgs Provides additional information about the request. */ handle(loadOrError: String, response: Object, ioArgs: dojo.main.__IoCallbackArgs): void; /** * This function will be * called on a successful HTTP response code. - * - * @param response The response in the format as defined with handleAs. - * @param ioArgs Provides additional information about the request. + * + * @param response The response in the format as defined with handleAs. + * @param ioArgs Provides additional information about the request. */ load(response: Object, ioArgs: dojo.main.__IoCallbackArgs): void; } @@ -9403,7 +9403,7 @@ declare module dojo { * * In addition to the properties listed for the dojo._IoArgs type, * the following properties are allowed for dojo.xhr* methods. - * + * */ class __XhrArgs { constructor(); @@ -9411,38 +9411,38 @@ declare module dojo { * Contains properties with string values. These * properties will be serialized as name1=value2 and * passed in the request. - * + * */ "content": Object; /** * "application/x-www-form-urlencoded" is default. Set to false to * prevent a Content-Type header from being sent, or to a string * to send a different Content-Type. - * + * */ "contentType": string; /** * false is default. Indicates whether a request should be * allowed to fail (and therefore no console error message in * the event of a failure) - * + * */ "failOk": boolean; /** * DOM node for a form. Used to extract the form values * and send to the server. - * + * */ "form": HTMLElement; /** * Acceptable values are: text (default), json, json-comment-optional, * json-comment-filtered, javascript, xml. See dojo/_base/xhr.contentHandlers - * + * */ "handleAs": string; /** * Additional HTTP headers to send in the request. - * + * */ "headers": Object; /** @@ -9450,7 +9450,7 @@ declare module dojo { * IO operations. Otherwise, if djConfig.ioPublish is set to true, topics * will be published via dojo/topic.publish() for different phases of an IO operation. * See dojo/main.__IoPublish for a list of topics that are published. - * + * */ "ioPublish": boolean; /** @@ -9458,7 +9458,7 @@ declare module dojo { * "dojo.preventCache" parameter is sent in the request * with a value that changes with each request * (timestamp). Useful only with GET-type requests. - * + * */ "preventCache": boolean; /** @@ -9466,24 +9466,24 @@ declare module dojo { * property is ignored. This is mostly useful for HTTP methods that have * a body to their requests, like PUT or POST. This property can be used instead * of postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively. - * + * */ "rawBody": string; /** * false is default. Indicates whether the request should * be a synchronous (blocking) request. - * + * */ "sync": boolean; /** * Milliseconds to wait for the response. If this time * passes, the then error callbacks are called. - * + * */ "timeout": number; /** * URL to server endpoint. - * + * */ "url": string; /** @@ -9493,26 +9493,26 @@ declare module dojo { * exception, unless djConfig.debugAtAllCosts is true. This allows deployed applications * to continue to run even when a logic error happens in the callback, while making * it easier to troubleshoot while in debug mode. - * - * @param response The response in the format as defined with handleAs. - * @param ioArgs Provides additional information about the request. + * + * @param response The response in the format as defined with handleAs. + * @param ioArgs Provides additional information about the request. */ error(response: Object, ioArgs: dojo.main.__IoCallbackArgs): void; /** * This function will * be called at the end of every request, whether or not an error occurs. - * - * @param loadOrError Provides a string that tells you whether this functionwas called because of success (load) or failure (error). - * @param response The response in the format as defined with handleAs. - * @param ioArgs Provides additional information about the request. + * + * @param loadOrError Provides a string that tells you whether this functionwas called because of success (load) or failure (error). + * @param response The response in the format as defined with handleAs. + * @param ioArgs Provides additional information about the request. */ handle(loadOrError: String, response: Object, ioArgs: dojo.main.__IoCallbackArgs): void; /** * This function will be * called on a successful HTTP response code. - * - * @param response The response in the format as defined with handleAs. - * @param ioArgs Provides additional information about the request. + * + * @param response The response in the format as defined with handleAs. + * @param ioArgs Provides additional information about the request. */ load(response: Object, ioArgs: dojo.main.__IoCallbackArgs): void; } @@ -9521,14 +9521,14 @@ declare module dojo { * * Base class for objects that provide named properties with optional getter/setter * control and the ability to watch for property changes - * + * * The class also provides the functionality to auto-magically manage getters * and setters for object attributes/properties. - * - * Getters and Setters should follow the format of _xxxGetter or _xxxSetter where - * the xxx is a name of the attribute to handle. So an attribute of "foo" + * + * Getters and Setters should follow the format of _xxxGetter or _xxxSetter where + * the xxx is a name of the attribute to handle. So an attribute of "foo" * would have a custom getter of _fooGetter and a custom setter of _fooSetter. - * + * */ class Stateful { constructor(); @@ -9537,29 +9537,29 @@ declare module dojo { * Get a named property on a Stateful object. The property may * potentially be retrieved via a getter method in subclasses. In the base class * this just retrieves the object's property. - * - * @param name The property to get. + * + * @param name The property to get. */ get(name: String): any; /** - * - * @param params Optional + * + * @param params Optional */ postscript(params?: Object): void; /** * Set a property on a Stateful instance * Sets named properties on a stateful object and notifies any watchers of * the property. A programmatic setter may be defined in subclasses. - * - * @param name The property to set. - * @param value The value to set in the property. + * + * @param name The property to set. + * @param value The value to set in the property. */ set(name: String, value: Object): any; /** * Watches a property for changes - * - * @param name OptionalIndicates the property to watch. This is optional (the callback may be theonly parameter), and if omitted, all the properties will be watched - * @param callback The function to execute when the property changes. This will be called afterthe property has been changed. The callback will be called with the |this|set to the instance, the first argument as the name of the property, thesecond argument as the old value and the third argument as the new value. + * + * @param name OptionalIndicates the property to watch. This is optional (the callback may be theonly parameter), and if omitted, all the properties will be watched + * @param callback The function to execute when the property changes. This will be called afterthe property has been changed. The callback will be called with the |this|set to the instance, the first argument as the name of the property, thesecond argument as the old value and the third argument as the new value. */ watch(property: string, callback:{(property?:string, oldValue?:any, newValue?: any):void}) :{unwatch():void}; } @@ -9573,24 +9573,24 @@ declare module dojo { * called, passing the xhr object for manipulation. The return value * from the contentHandler will be passed to the load or handle * functions defined in the original xhr call. - * + * */ interface _contentHandlers { /** - * - * @param xhr + * + * @param xhr */ auto(xhr: any): void; /** * A contentHandler which evaluates the response data, expecting it to be valid JavaScript - * - * @param xhr + * + * @param xhr */ javascript(xhr: any): any; /** * A contentHandler which returns a JavaScript object created from the response data - * - * @param xhr + * + * @param xhr */ json(xhr: any): any; /** @@ -9599,52 +9599,52 @@ declare module dojo { * the json-comment-filtered option was implemented to prevent * "JavaScript Hijacking", but it is less secure than standard JSON. Use * standard JSON instead. JSON prefixing can be used to subvert hijacking. - * + * * Will throw a notice suggesting to use application/json mimetype, as * json-commenting can introduce security issues. To decrease the chances of hijacking, * use the standard json contentHandler, and prefix your "JSON" with: {}&& - * + * * use djConfig.useCommentedJson = true to turn off the notice - * - * @param xhr + * + * @param xhr */ json_comment_filtered(xhr: any): any; /** * A contentHandler which checks the presence of comment-filtered JSON and * alternates between the json and json-comment-filtered contentHandlers. - * - * @param xhr + * + * @param xhr */ json_comment_optional(xhr: any): any; /** - * - * @param xhr + * + * @param xhr */ olson_zoneinfo(xhr: any): void; /** * A contentHandler which simply returns the plaintext response data - * - * @param xhr + * + * @param xhr */ text(xhr: any): any; /** * A contentHandler returning an XML Document parsed from the response data - * - * @param xhr + * + * @param xhr */ xml(xhr: any): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel._hasResource.html * - * + * */ interface _hasResource { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel._nodeDataCache.html * - * + * */ interface _nodeDataCache { } @@ -9652,7 +9652,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.back.html * * Browser history management resources - * + * */ interface back { /** @@ -9661,44 +9661,44 @@ declare module dojo { * argument should implement a function called either "back", * "backButton", or "handle". The string "back" will be passed as * the first and only argument to this callback. - * + * * To support getting forward button notifications, the object * argument should implement a function called either "forward", * "forwardButton", or "handle". The string "forward" will be * passed as the first and only argument to this callback. - * + * * If you want the browser location string to change, define "changeUrl" on the object. If the * value of "changeUrl" is true, then a unique number will be appended to the URL as a fragment * identifier (http://some.domain.com/path#uniquenumber). If it is any other value that does * not evaluate to false, that value will be used as the fragment identifier. For example, * if changeUrl: 'page1', then the URL will look like: http://some.domain.com/path#page1 - * + * * There are problems with using dojo/back with semantically-named fragment identifiers * ("hash values" on an URL). In most browsers it will be hard for dojo/back to know * distinguish a back from a forward event in those cases. For back/forward support to * work best, the fragment ID should always be a unique value (something using new Date().getTime() * for example). If you want to detect hash changes using semantic fragment IDs, then * consider using dojo/hash instead (in Dojo 1.4+). - * - * @param args The state object that will be added to the history list. + * + * @param args The state object that will be added to the history list. */ addToHistory(args: Object): void; /** - * + * */ getHash(): any; /** * private method. Do not call this directly. - * + * */ goBack(): void; /** * private method. Do not call this directly. - * + * */ goForward(): void; /** - * Initializes the undo stack. This must be called from a + * Initializes the undo stack. This must be called from a * block that lives inside the <body> tag to prevent bugs on IE. *

*

Only call this method before the page's DOM is finished loading. Otherwise @@ -9707,7 +9707,7 @@ declare module dojo { * * *

- *
setHash(h) + *
setHash(h) *
*
Defined by dojo/back *
@@ -9727,7 +9727,7 @@ declare module dojo { * *
*
- *
setInitialState(args) + *
setInitialState(args) *
*
Defined by dojo/back *
@@ -9747,7 +9747,7 @@ declare module dojo { * args * Object *

See the addToHistory() function for the list of valid args properties.

- * + * * * * @@ -9761,31 +9761,31 @@ declare module dojo { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.cldr.html * - * + * */ interface cldr { /** * TODOC - * + * */ monetary: Object; /** * TODOC - * + * */ supplemental: Object; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.colors.html * - * + * */ interface colors { /** * creates a greyscale color with an optional alpha - * - * @param g - * @param a Optional + * + * @param g + * @param a Optional */ makeGrey(g: number, a?: number): void; } @@ -9798,7 +9798,7 @@ declare module dojo { * Also, when multiple instances of dojo exist in a single application, each will necessarily be located * at an unique absolute module identifier as given by the package configuration. Implementing configuration * as a module allows for specifying unique, per-instance configurations. - * + * */ interface config { /** @@ -9809,50 +9809,50 @@ declare module dojo { * djConfig.addOnLoad = [myObject, "functionName"]; and for object with * function reference use * djConfig.addOnLoad = [myObject, function(){}]; - * + * */ addOnLoad: Function; /** - * + * */ afterOnLoad: boolean; /** - * + * */ baseUrl: Object; /** - * Defines a callback to be used when dependencies are defined before - * the loader has been loaded. When provided, they cause the loader to - * execute require(deps, callback) once it has finished loading. + * Defines a callback to be used when dependencies are defined before + * the loader has been loaded. When provided, they cause the loader to + * execute require(deps, callback) once it has finished loading. * Should be used with deps. - * + * */ callback: Function; /** - * + * */ debugContainerId: string; /** - * + * */ debugHeight: number; /** * Default duration, in milliseconds, for wipe and fade animations within dijits. * Assigned to dijit.defaultDuration. - * + * */ defaultDuration: number; /** * Whether deferred instrumentation should be loaded or included * in builds. - * + * */ deferredInstrumentation: boolean; /** * Defines dependencies to be used before the loader has been loaded. - * When provided, they cause the loader to execute require(deps, callback) + * When provided, they cause the loader to execute require(deps, callback) * once it has finished loading. Should be used with callback. - * + * */ deps: Function; /** @@ -9862,21 +9862,21 @@ declare module dojo { * does not need to be set, except when using cross-domain/CDN Dojo builds. * Save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl * to the path on your domain your copy of blank.html. - * + * */ dojoBlankHtmlUrl: string; /** * No default value. Specifies additional locales whose * resources should also be loaded alongside the default locale when * calls to dojo.requireLocalization() are processed. - * + * */ extraLocale: any[]; /** * Set this to true to enable publishing of topics for the different phases of * IO operations. Publishing is done via dojo/topic.publish(). See dojo/main.__IoPublish for a list * of topics that are published. - * + * */ ioPublish: Object; /** @@ -9889,7 +9889,7 @@ declare module dojo { * Firebug's console.* methods are ALWAYS defined by Dojo. If * isDebug is false and you are on a platform without Firebug, these * methods will be defined as no-ops. - * + * */ isDebug: boolean; /** @@ -9900,7 +9900,7 @@ declare module dojo { * for details on loading localized resources. If no locale is specified, * Dojo assumes the locale of the user agent, according to navigator.userLanguage * or navigator.language properties. - * + * */ locale: string; /** @@ -9910,47 +9910,47 @@ declare module dojo { * djConfig.modulePaths = { "foo": "../../bar" } is the equivalent * of calling dojo.registerModulePath("foo", "../../bar");. Multiple * modules may be configured via djConfig.modulePaths. - * + * */ modulePaths: Object; /** * Run the parser after the page is loaded - * + * */ parseOnLoad: boolean; /** * An array of module names to be loaded immediately after dojo.js has been included * in a page. - * + * */ require: Object; /** * Array containing the r, g, b components used as transparent color in dojo.Color; * if undefined, [255,255,255] (white) will be used. - * + * */ transparentColor: any[]; /** * Used by dojox.analytics.Urchin as the default UA-123456-7 account * number used when being created. Alternately, you can pass an acct:"" * parameter to the constructor a la: new dojox.analytics.Urchin({ acct:"UA-123456-7" }); - * + * */ urchin: string; /** * If set to a value that evaluates to true such as a string or array and * isDebug is true and Firebug is not available or running, then it bypasses * the creation of Firebug Lite allowing you to define your own console object. - * + * */ useCustomLogger: Object; /** * Whether the deferred instrumentation should be used. - * + * * "report-rejections": report each rejection as it occurs. * true or 1 or "report-unhandled-rejections": wait 1 second * in an attempt to detect unhandled rejections. - * + * */ useDeferredInstrumentation: boolean; } @@ -9964,24 +9964,24 @@ declare module dojo { * called, passing the xhr object for manipulation. The return value * from the contentHandler will be passed to the load or handle * functions defined in the original xhr call. - * + * */ interface contentHandlers { /** - * - * @param xhr + * + * @param xhr */ auto(xhr: any): void; /** * A contentHandler which evaluates the response data, expecting it to be valid JavaScript - * - * @param xhr + * + * @param xhr */ javascript(xhr: any): any; /** * A contentHandler which returns a JavaScript object created from the response data - * - * @param xhr + * + * @param xhr */ json(xhr: any): any; /** @@ -9990,140 +9990,140 @@ declare module dojo { * the json-comment-filtered option was implemented to prevent * "JavaScript Hijacking", but it is less secure than standard JSON. Use * standard JSON instead. JSON prefixing can be used to subvert hijacking. - * + * * Will throw a notice suggesting to use application/json mimetype, as * json-commenting can introduce security issues. To decrease the chances of hijacking, * use the standard json contentHandler, and prefix your "JSON" with: {}&& - * + * * use djConfig.useCommentedJson = true to turn off the notice - * - * @param xhr + * + * @param xhr */ json_comment_filtered(xhr: any): any; /** * A contentHandler which checks the presence of comment-filtered JSON and * alternates between the json and json-comment-filtered contentHandlers. - * - * @param xhr + * + * @param xhr */ json_comment_optional(xhr: any): any; /** - * - * @param xhr + * + * @param xhr */ olson_zoneinfo(xhr: any): void; /** * A contentHandler which simply returns the plaintext response data - * - * @param xhr + * + * @param xhr */ text(xhr: any): any; /** * A contentHandler returning an XML Document parsed from the response data - * - * @param xhr + * + * @param xhr */ xml(xhr: any): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.dnd.html * - * + * */ interface dnd { /** * Used by dojo/dnd/Manager to scroll document or internal node when the user * drags near the edge of the viewport or a scrollable node - * + * */ autoscroll: Object; /** - * + * */ move: Object; /** - * + * */ AutoSource(): void; /** - * + * */ Avatar(): void; /** - * + * */ Container(): void; /** - * + * */ Manager(): void; /** - * + * */ Moveable(): void; /** - * + * */ Mover(): void; /** - * + * */ Selector(): void; /** - * + * */ Source(): void; /** - * + * */ Target(): void; /** - * + * */ TimedMoveable(): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.date.html * - * + * */ interface date { /** * TODOC - * + * */ stamp: Object; /** * Add to a Date in intervals of different size, from milliseconds to years - * - * @param date Date object to start with - * @param interval A string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday" - * @param amount How much to add to the date. + * + * @param date Date object to start with + * @param interval A string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday" + * @param amount How much to add to the date. */ add(date: Date, interval: String, amount: number): any; /** * Compare two date objects by date, time, or both. * Returns 0 if equal, positive if a > b, else negative. - * - * @param date1 Date object - * @param date2 OptionalDate object. If not specified, the current Date is used. - * @param portion OptionalA string indicating the "date" or "time" portion of a Date object.Compares both "date" and "time" by default. One of the following:"date", "time", "datetime" + * + * @param date1 Date object + * @param date2 OptionalDate object. If not specified, the current Date is used. + * @param portion OptionalA string indicating the "date" or "time" portion of a Date object.Compares both "date" and "time" by default. One of the following:"date", "time", "datetime" */ compare(date1: Date, date2?: Date, portion?: String): number; /** * Get the difference in a specific unit of time (e.g., number of * months, weeks, days, etc.) between two dates, rounded to the * nearest integer. - * - * @param date1 Date object - * @param date2 OptionalDate object. If not specified, the current Date is used. - * @param interval OptionalA string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday"Defaults to "day". + * + * @param date1 Date object + * @param date2 OptionalDate object. If not specified, the current Date is used. + * @param interval OptionalA string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday"Defaults to "day". */ difference(date1: Date, date2?: Date, interval?: String): any; /** * Returns the number of days in the month used by dateObject - * - * @param dateObject + * + * @param dateObject */ getDaysInMonth(dateObject: Date): number; /** @@ -10132,8 +10132,8 @@ declare module dojo { * the Date object -- UTC offset is not a time zone. See * http://www.twinsun.com/tz/tz-link.htm Note: results may be * inconsistent across browsers. - * - * @param dateObject Needed because the timezone may vary with time (daylight savings) + * + * @param dateObject Needed because the timezone may vary with time (daylight savings) */ getTimezoneName(dateObject: Date): any; /** @@ -10143,8 +10143,8 @@ declare module dojo { * a year is a multiple of 100, then it is only a leap year if it is * also a multiple of 400. For example, 1900 was not a leap year, but * 2000 is one. - * - * @param dateObject + * + * @param dateObject */ isLeapYear(dateObject: Date): boolean; } @@ -10155,42 +10155,42 @@ declare module dojo { * for temporary context shifting. See also withDoc(). * Use this rather than referring to 'window.document' to ensure your code runs * correctly in managed contexts. - * + * */ interface doc { /** - * + * */ documentElement: Object; /** - * + * */ dojoClick: boolean; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.data.html * - * + * */ interface data { /** - * + * */ api: Object; /** - * + * */ util: Object; /** - * + * */ ItemFileReadStore(): void; /** - * + * */ ItemFileWriteStore(): void; /** - * + * */ ObjectStore(): void; } @@ -10205,7 +10205,7 @@ declare module dojo { * currency support is included. A fixed number of decimal places is determined based * on the currency type and is not determined by the 'pattern' argument. The fractional * portion is optional, by default, and variable length decimals are not supported. - * + * */ interface currency { /** @@ -10214,169 +10214,169 @@ declare module dojo { * Formatting patterns * appropriate to the locale are chosen from the CLDR * as well as the appropriate symbols and delimiters and number of decimal places. - * - * @param value the number to be formatted. - * @param options Optional + * + * @param value the number to be formatted. + * @param options Optional */ format(value: number, options: dojo.currency.__FormatOptions): any; /** - * - * @param expression - * @param options OptionalAn object with the following properties:type (String, optional): Should not be set. Value is assumed to be currency.currency (String, optional): an ISO4217 currency code, a three letter sequence like "USD".For use with dojo.currency only.symbol (String, optional): localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldrA ISO4217 currency code will be used if not found.places (Number, optional): fixed number of decimal places to accept. The default is determined based on which currency is used.fractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by the currencyor explicit 'places' parameter. The value [true,false] makes the fractional portion optional.By default for currencies, it the fractional portion is optional.pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators + * + * @param expression + * @param options OptionalAn object with the following properties:type (String, optional): Should not be set. Value is assumed to be currency.currency (String, optional): an ISO4217 currency code, a three letter sequence like "USD".For use with dojo.currency only.symbol (String, optional): localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldrA ISO4217 currency code will be used if not found.places (Number, optional): fixed number of decimal places to accept. The default is determined based on which currency is used.fractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by the currencyor explicit 'places' parameter. The value [true,false] makes the fractional portion optional.By default for currencies, it the fractional portion is optional.pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators */ parse(expression: String, options?: Object): any; /** - * - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. + * + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. */ regexp(options: Object): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.dijit.html * - * + * */ interface dijit { /** - * + * */ form: Object; /** - * + * */ layout: Object; /** * W3C range API - * + * */ range: Object; /** - * + * */ registry: Object; /** - * + * */ tree: Object; /** - * - * @param id + * + * @param id */ byId(id: any): any; /** - * + * */ Calendar(): void; /** - * + * */ CalendarLite(): void; /** - * + * */ CheckedMenuItem(): void; /** - * + * */ ColorPalette(): void; /** - * + * */ Declaration(): void; /** - * + * */ Destroyable(): void; /** - * + * */ Dialog(): void; /** - * + * */ DialogUnderlay(): void; /** - * + * */ DropDownMenu(): void; /** - * + * */ Dye(): void; /** - * + * */ Editor(): void; /** - * + * */ Fieldset(): void; /** - * + * */ InlineEditBox(): void; /** - * + * */ Menu(): void; /** - * + * */ MenuBar(): void; /** - * + * */ MenuBarItem(): void; /** - * + * */ MenuItem(): void; /** - * + * */ MenuSeparator(): void; /** - * + * */ PopupMenuBarItem(): void; /** - * + * */ PopupMenuItem(): void; /** - * + * */ ProgressBar(): void; /** - * + * */ RadioButtonMenuItem(): void; /** - * + * */ TitlePane(): void; /** - * + * */ Toolbar(): void; /** - * + * */ ToolbarSeparator(): void; /** - * + * */ Tooltip(): void; /** - * + * */ TooltipDialog(): void; /** - * + * */ Tree(): void; /** - * + * */ WidgetSet(): void; } @@ -10387,31 +10387,31 @@ declare module dojo { * for temporary context shifting. See also withGlobal(). * Use this rather than referring to 'window' to ensure your code runs * correctly in managed contexts. - * + * */ interface global { /** - * + * */ $(): any; /** - * - * @param start - * @param data - * @param responseCode - * @param errorMsg + * + * @param start + * @param data + * @param responseCode + * @param errorMsg */ GoogleSearchStoreCallback_undefined_NaN(start: any, data: any, responseCode: any, errorMsg: any): void; /** - * + * */ jQuery(): any; /** - * + * */ swfIsInHTML(): void; /** - * + * */ undefined_onload(): void; } @@ -10419,12 +10419,12 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.gears.html * * TODOC - * + * */ interface gears { /** * True if client is using Google Gears - * + * */ available: Object; } @@ -10432,13 +10432,13 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.fx.html * * Effects library on top of Base animations - * + * */ interface fx { /** * Collection of easing functions to use beyond the default * dojo._defaultEasing function. - * + * */ easing: Object; /** @@ -10448,8 +10448,8 @@ declare module dojo { * synthesized events simulating a single animation. (eg: * onEnd of this animation means the end of the chain, * not the individual animations within) - * - * @param animations + * + * @param animations */ chain(animations: dojo._base.fx.Animation[]): any; /** @@ -10457,8 +10457,8 @@ declare module dojo { * Combine an array of dojo/_base/fx.Animations to run in parallel, * providing a new dojo/_base/fx.Animation instance encompasing each * animation, firing standard animation events. - * - * @param animations + * + * @param animations */ combine(animations: dojo._base.fx.Animation[]): any; /** @@ -10466,12 +10466,12 @@ declare module dojo { * Returns an animation that will slide "node" * defined in args Object from its current position to * the position defined by (args.left, args.top). - * - * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on). Special args membersare top and left, which indicate the new position to slide to. + * + * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on). Special args membersare top and left, which indicate the new position to slide to. */ slideTo(args: Object): any; /** - * + * */ Toggler(): void; /** @@ -10480,16 +10480,16 @@ declare module dojo { * node defined in 'args' object from it's current height to * it's natural height (with no scrollbar). * Node must have no margin/border/padding. - * - * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) + * + * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) */ wipeIn(args: Object): any; /** * Shrink a node to nothing and hide it. * Returns an animation that will shrink node defined in "args" * from it's current height to 1px, and then hide it. - * - * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) + * + * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) */ wipeOut(args: Object): any; } @@ -10497,7 +10497,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.html.html * * TODOC - * + * */ interface html { /** @@ -10511,10 +10511,10 @@ declare module dojo { * an HTML string into the DOM, but it only handles inserting an HTML string as DOM * elements, or inserting a DOM node. dojo/dom-construct.place does not handle NodeList insertions * or the other capabilities as defined by the params object for this method. - * - * @param node the parent element that will receive the content - * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter + * + * @param node the parent element that will receive the content + * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter */ set(node: HTMLElement, cont: String, params?: Object): any; /** @@ -10528,10 +10528,10 @@ declare module dojo { * an HTML string into the DOM, but it only handles inserting an HTML string as DOM * elements, or inserting a DOM node. dojo/dom-construct.place does not handle NodeList insertions * or the other capabilities as defined by the params object for this method. - * - * @param node the parent element that will receive the content - * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter + * + * @param node the parent element that will receive the content + * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter */ set(node: HTMLElement, cont: HTMLElement, params?: Object): any; /** @@ -10545,274 +10545,274 @@ declare module dojo { * an HTML string into the DOM, but it only handles inserting an HTML string as DOM * elements, or inserting a DOM node. dojo/dom-construct.place does not handle NodeList insertions * or the other capabilities as defined by the params object for this method. - * - * @param node the parent element that will receive the content - * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter + * + * @param node the parent element that will receive the content + * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter */ set(node: HTMLElement, cont: NodeList, params?: Object): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.io.html * - * + * */ interface io { /** - * + * */ iframe: Object; /** * TODOC - * + * */ script: Object; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.dojox.html * - * + * */ interface dojox { /** - * + * */ analytics: Object; /** - * + * */ app: Object; /** - * + * */ atom: Object; /** - * + * */ av: Object; /** - * + * */ BidiComplex: Object; /** - * + * */ calc: Object; /** - * + * */ calendar: Object; /** - * + * */ charting: Object; /** - * + * */ collections: Object; /** - * + * */ color: Object; /** - * + * */ css3: Object; /** - * + * */ data: Object; /** - * + * */ date: Object; /** - * + * */ dgauges: Object; /** - * + * */ dnd: Object; /** - * + * */ drawing: Object; /** - * + * */ dtl: Object; /** - * + * */ editor: Object; /** - * + * */ embed: Object; /** - * + * */ encoding: Object; /** - * + * */ enhanced: Object; /** * Utilities to embed and communicate with the Flash player from Javascript - * + * */ flash: Object; /** - * + * */ form: Object; /** - * + * */ fx: Object; /** - * + * */ gantt: Object; /** - * + * */ gauges: Object; /** - * + * */ geo: Object; /** - * + * */ gesture: Object; /** - * + * */ gfx: Object; /** - * + * */ gfx3d: Object; /** - * + * */ grid: Object; /** - * + * */ help: Object; /** - * + * */ highlight: Object; /** - * + * */ html: Object; /** - * + * */ image: Object; /** - * + * */ io: Object; /** - * + * */ jq: Object; /** - * + * */ json: Object; /** - * + * */ jsonPath: Object; /** - * + * */ lang: Object; /** - * + * */ layout: Object; /** - * + * */ math: Object; /** - * + * */ mdnd: Object; /** - * + * */ mobile: Object; /** - * + * */ mvc: Object; /** - * + * */ openlayers: Object; /** - * + * */ rails: Object; /** - * + * */ robot: Object; /** - * + * */ rpc: Object; /** - * + * */ secure: Object; /** - * + * */ sketch: Object; /** - * + * */ sql: Object; /** - * + * */ string: Object; /** - * + * */ testing: Object; /** - * + * */ timing: Object; /** - * + * */ treemap: Object; /** - * + * */ uuid: Object; /** - * + * */ validate: Object; /** - * + * */ widget: Object; /** - * + * */ xml: Object; /** @@ -10821,14 +10821,14 @@ declare module dojo { * on the WebSocket API and returns an object that implements the WebSocket interface: * http://dev.w3.org/html5/websockets/#websocket * Provides socket connections. This can be used with virtually any Comet protocol. - * - * @param argsOrUrl This uses the same arguments as the other I/O functions in Dojo, or aURL to connect to. The URL should be a relative URL in order to properlywork with WebSockets (it can still be host relative, like //other-site.org/endpoint) + * + * @param argsOrUrl This uses the same arguments as the other I/O functions in Dojo, or aURL to connect to. The URL should be a relative URL in order to properlywork with WebSockets (it can still be host relative, like //other-site.org/endpoint) */ socket(argsOrUrl: Object): any; /** - * - * @param format - * @param filler + * + * @param format + * @param filler */ sprintf(format: String, filler: any): void; } @@ -10839,69 +10839,69 @@ declare module dojo { * We choose to include our own plugin to leverage functionality already contained in dojo * and thereby reduce the size of the plugin compared to various loader implementations. Also, this * allows foreign AMD loaders to be used without their plugins. - * + * */ interface i18n { /** - * + * */ cache: Object; /** - * + * */ dynamic: boolean; /** - * + * */ unitTests: any[]; /** - * - * @param moduleName - * @param bundleName - * @param locale + * + * @param moduleName + * @param bundleName + * @param locale */ getL10nName(moduleName: any, bundleName: any, locale: any): String; /** - * - * @param moduleName - * @param bundleName - * @param locale + * + * @param moduleName + * @param bundleName + * @param locale */ getLocalization(moduleName: any, bundleName: any, locale: any): any; /** * id is in one of the following formats - * + * * /nls/ * => load the bundle, localized to config.locale; load all bundles localized to * config.extraLocale (if any); return the loaded bundle localized to config.locale. * /nls// - * => load then return the bundle localized to + * => load then return the bundle localized to * preload/nls// * => for config.locale and all config.extraLocale, load all bundles found * in the best-matching bundle rollup. A value of 1 is returned, which * is meaningless other than to say the plugin is executing the requested * preloads - * + * * In cases 1 and 2, is always normalized to an absolute module id upon entry; see * normalize. In case 3, it is assumed to be absolute; this is arranged by the builder. - * + * * To load a bundle means to insert the bundle into the plugin's cache and publish the bundle * value to the loader. Given , , and a particular , the cache key - * + * * /nls// * will hold the value. Similarly, then plugin will publish this value to the loader by - * + * * define("/nls//", ); * Given this algorithm, other machinery can provide fast load paths be preplacing * values in the plugin's cache, which is public. When a load is demanded the * cache is inspected before starting any loading. Explicitly placing values in the plugin * cache is an advanced/experimental feature that should not be needed; use at your own risk. - * + * * For the normal AMD algorithm, the root bundle is loaded first, which instructs the * plugin what additional localized bundles are required for a particular locale. These * additional locales are loaded and a mix of the root and each progressively-specific * locale is returned. For example: - * + * * The client demands "dojo/i18n!some/path/nls/someBundle * The loader demands load(some/path/nls/someBundle) * This plugin require's "some/path/nls/someBundle", which is the root bundle. @@ -10913,33 +10913,33 @@ declare module dojo { * mixin(mixin(mixin({}, require("some/path/nls/someBundle"), * require("some/path/nls/ab/someBundle")), * require("some/path/nls/ab-cd-ef/someBundle")); - * + * * This value is inserted into the cache and published to the loader at the * key/module-id some/path/nls/someBundle/ab-cd-ef. - * + * * The special preload signature (case 3) instructs the plugin to stop servicing all normal requests * (further preload requests will be serviced) until all ongoing preloading has completed. - * + * * The preload signature instructs the plugin that a special rollup module is available that contains * one or more flattened, localized bundles. The JSON array of available locales indicates which locales * are available. Here is an example: - * + * * *preload*some/path/nls/someModule*["root", "ab", "ab-cd-ef"] * This indicates the following rollup modules are available: - * + * * some/path/nls/someModule_ROOT * some/path/nls/someModule_ab * some/path/nls/someModule_ab-cd-ef * Each of these modules is a normal AMD module that contains one or more flattened bundles in a hash. * For example, assume someModule contained the bundles some/bundle/path/someBundle and * some/bundle/path/someOtherBundle, then some/path/nls/someModule_ab would be expressed as follows: - * + * * define({ * some/bundle/path/someBundle:, * some/bundle/path/someOtherBundle:, * }); * E.g., given this design, preloading for locale=="ab" can execute the following algorithm: - * + * * require(["some/path/nls/someModule_ab"], function(rollup){ * for(var p in rollup){ * var id = p + "/ab", @@ -10949,25 +10949,25 @@ declare module dojo { * }); * Similarly, if "ab-cd" is requested, the algorithm can determine that "ab" is the best available and * load accordingly. - * + * * The builder will write such rollups for every layer if a non-empty localeList profile property is * provided. Further, the builder will include the following cache entry in the cache associated with * any layer. - * + * * "*now":function(r){r(['dojo/i18n!*preload*/nls/*']);} * The *now special cache module instructs the loader to apply the provided function to context-require * with respect to the particular layer being defined. This causes the plugin to hold all normal service * requests until all preloading is complete. - * + * * Notice that this algorithm is rarely better than the standard AMD load algorithm. Consider the normal case * where the target locale has a single segment and a layer depends on a single bundle: - * + * * Without Preloads: - * + * * Layer loads root bundle. * bundle is demanded; plugin loads single localized bundle. * With Preloads: - * + * * Layer causes preloading of target bundle. * bundle is demanded; service is delayed until preloading complete; bundle is returned. * In each case a single transaction is required to load the target bundle. In cases where multiple bundles @@ -10975,90 +10975,90 @@ declare module dojo { * the normal path requires an additional transaction for each additional bundle/locale-segment. However all * of these additional transactions can be done concurrently. Owing to this analysis, the entire preloading * algorithm can be discard during a build by setting the has feature dojo-preload-i18n-Api to false. - * - * @param id - * @param require - * @param load + * + * @param id + * @param require + * @param load */ load(id: any, require: any, load: any): void; /** * id may be relative. * preload has form *preload*/nls/* and * therefore never looks like a relative - * - * @param id - * @param toAbsMid + * + * @param id + * @param toAbsMid */ normalize(id: any, toAbsMid: any): any; /** - * - * @param locale + * + * @param locale */ normalizeLocale(locale: any): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.mouseButtons.html * - * + * */ interface mouseButtons { /** * Numeric value of the left mouse button for the platform. - * + * */ LEFT: number; /** * Numeric value of the middle mouse button for the platform. - * + * */ MIDDLE: number; /** * Numeric value of the right mouse button for the platform. - * + * */ RIGHT: number; /** * Checks an event object for a pressed button - * - * @param e Event object to examine - * @param button The button value (example: dojo.mouseButton.LEFT) + * + * @param e Event object to examine + * @param button The button value (example: dojo.mouseButton.LEFT) */ isButton(e: Event, button: number): boolean; /** * Checks an event object for the pressed left button - * - * @param e Event object to examine + * + * @param e Event object to examine */ isLeft(e: Event): boolean; /** * Checks an event object for the pressed middle button - * - * @param e Event object to examine + * + * @param e Event object to examine */ isMiddle(e: Event): boolean; /** * Checks an event object for the pressed right button - * - * @param e Event object to examine + * + * @param e Event object to examine */ isRight(e: Event): boolean; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.rpc.html * - * + * */ interface rpc { /** - * + * */ JsonpService(): void; /** - * + * */ JsonService(): void; /** - * + * */ RpcService(): void; } @@ -11066,7 +11066,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.regexp.html * * Regular expressions and Builder resources - * + * */ interface regexp { /** @@ -11076,10 +11076,10 @@ declare module dojo { * parameter. re builds one subexpression for each elem in the array * a, in the first parameter. Returns a string for a regular * expression that groups all the subexpressions. - * - * @param arr A single value or an array of values. - * @param re A function. Takes one parameter and converts it to a regularexpression. - * @param nonCapture OptionalIf true, uses non-capturing match, otherwise matches are retainedby regular expression. Defaults to false + * + * @param arr A single value or an array of values. + * @param re A function. Takes one parameter and converts it to a regularexpression. + * @param nonCapture OptionalIf true, uses non-capturing match, otherwise matches are retainedby regular expression. Defaults to false */ buildGroupRE(arr: Object, re: Function, nonCapture?: boolean): any; /** @@ -11089,24 +11089,24 @@ declare module dojo { * parameter. re builds one subexpression for each elem in the array * a, in the first parameter. Returns a string for a regular * expression that groups all the subexpressions. - * - * @param arr A single value or an array of values. - * @param re A function. Takes one parameter and converts it to a regularexpression. - * @param nonCapture OptionalIf true, uses non-capturing match, otherwise matches are retainedby regular expression. Defaults to false + * + * @param arr A single value or an array of values. + * @param re A function. Takes one parameter and converts it to a regularexpression. + * @param nonCapture OptionalIf true, uses non-capturing match, otherwise matches are retainedby regular expression. Defaults to false */ buildGroupRE(arr: any[], re: Function, nonCapture?: boolean): any; /** * Adds escape sequences for special characters in regular expressions - * - * @param str - * @param except Optionala String with special characters to be left unescaped + * + * @param str + * @param except Optionala String with special characters to be left unescaped */ escapeString(str: String, except?: String): any; /** * adds group match to expression - * - * @param expression - * @param nonCapture OptionalIf true, uses non-capturing match, otherwise matches are retainedby regular expression. + * + * @param expression + * @param nonCapture OptionalIf true, uses non-capturing match, otherwise matches are retainedby regular expression. */ group(expression: String, nonCapture?: boolean): String; } @@ -11114,7 +11114,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.number.html * * localized formatting and parsing routines for Number - * + * */ interface number_ { /** @@ -11124,9 +11124,9 @@ declare module dojo { * Common Locale Data Repository as well as the appropriate symbols and * delimiters. * If value is Infinity, -Infinity, or is not a valid JavaScript number, return null. - * - * @param value the number to be formatted - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.places (Number, optional): fixed number of decimal places to show. This overrides anyinformation in the provided pattern.round (Number, optional): 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1means do not round.locale (String, optional): override the locale used to determine formatting rulesfractional (Boolean, optional): If false, show no decimal places, overriding places and pattern settings. + * + * @param value the number to be formatted + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.places (Number, optional): fixed number of decimal places to show. This overrides anyinformation in the provided pattern.round (Number, optional): 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1means do not round.locale (String, optional): override the locale used to determine formatting rulesfractional (Boolean, optional): If false, show no decimal places, overriding places and pattern settings. */ format(value: number, options?: Object): any; /** @@ -11137,17 +11137,17 @@ declare module dojo { * and follow the syntax described by * unicode.org TR35 * Note that literal characters in patterns are not supported. - * - * @param expression A string representation of a Number - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsfractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by patternor explicit 'places' parameter. The value [true,false] makes the fractional portion optional. + * + * @param expression A string representation of a Number + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsfractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by patternor explicit 'places' parameter. The value [true,false] makes the fractional portion optional. */ parse(expression: String, options?: Object): number; /** * Builds the regular needed to parse a number * Returns regular expression with positive and negative match, group * and decimal separators - * - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. + * + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. */ regexp(options: Object): any; /** @@ -11156,29 +11156,29 @@ declare module dojo { * Similar to Number.toFixed(), but compensates for browser quirks. Rounding can be done by * fractional increments also, such as the nearest quarter. * NOTE: Subject to floating point errors. See dojox/math/round for experimental workaround. - * - * @param value The number to round - * @param places OptionalThe number of decimal places where rounding takes place. Defaults to 0 for whole rounding.Must be non-negative. - * @param increment OptionalRounds next place to nearest value of increment/10. 10 by default. + * + * @param value The number to round + * @param places OptionalThe number of decimal places where rounding takes place. Defaults to 0 for whole rounding.Must be non-negative. + * @param increment OptionalRounds next place to nearest value of increment/10. 10 by default. */ round(value: number, places?: number, increment?: number): number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.scopeMap.html * - * + * */ interface scopeMap { /** - * + * */ dijit: any[]; /** - * + * */ dojo: any[]; /** - * + * */ dojox: any[]; } @@ -11186,7 +11186,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.tests.html * * D.O.H. Test files for Dojo unit testing. - * + * */ interface tests { } @@ -11195,293 +11195,293 @@ declare module dojo { * * Definitions for common key values. Client code should test keyCode against these named constants, * as the actual codes can vary by browser. - * + * */ interface keys { /** - * + * */ ALT: number; /** - * + * */ BACKSPACE: number; /** - * + * */ CAPS_LOCK: number; /** - * + * */ CLEAR: number; /** - * + * */ copyKey: number; /** - * + * */ CTRL: number; /** - * + * */ DELETE: number; /** - * + * */ DOWN_ARROW: number; /** - * + * */ DOWN_DPAD: number; /** - * + * */ END: number; /** - * + * */ ENTER: number; /** - * + * */ ESCAPE: number; /** - * + * */ F1: number; /** - * + * */ F10: number; /** - * + * */ F11: number; /** - * + * */ F12: number; /** - * + * */ F13: number; /** - * + * */ F14: number; /** - * + * */ F15: number; /** - * + * */ F2: number; /** - * + * */ F3: number; /** - * + * */ F4: number; /** - * + * */ F5: number; /** - * + * */ F6: number; /** - * + * */ F7: number; /** - * + * */ F8: number; /** - * + * */ F9: number; /** - * + * */ HELP: number; /** - * + * */ HOME: number; /** - * + * */ INSERT: number; /** - * + * */ LEFT_ARROW: number; /** - * + * */ LEFT_DPAD: number; /** - * + * */ LEFT_WINDOW: number; /** - * + * */ META: number; /** - * + * */ NUM_LOCK: number; /** - * + * */ NUMPAD_0: number; /** - * + * */ NUMPAD_1: number; /** - * + * */ NUMPAD_2: number; /** - * + * */ NUMPAD_3: number; /** - * + * */ NUMPAD_4: number; /** - * + * */ NUMPAD_5: number; /** - * + * */ NUMPAD_6: number; /** - * + * */ NUMPAD_7: number; /** - * + * */ NUMPAD_8: number; /** - * + * */ NUMPAD_9: number; /** - * + * */ NUMPAD_DIVIDE: number; /** - * + * */ NUMPAD_ENTER: number; /** - * + * */ NUMPAD_MINUS: number; /** - * + * */ NUMPAD_MULTIPLY: number; /** - * + * */ NUMPAD_PERIOD: number; /** - * + * */ NUMPAD_PLUS: number; /** - * + * */ PAGE_DOWN: number; /** - * + * */ PAGE_UP: number; /** - * + * */ PAUSE: number; /** - * + * */ RIGHT_ARROW: number; /** - * + * */ RIGHT_DPAD: number; /** - * + * */ RIGHT_WINDOW: number; /** - * + * */ SCROLL_LOCK: number; /** - * + * */ SELECT: number; /** - * + * */ SHIFT: number; /** - * + * */ SPACE: number; /** - * + * */ TAB: number; /** - * + * */ UP_ARROW: number; /** - * + * */ UP_DPAD: number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.store.html * - * + * */ interface store { /** - * + * */ util: Object; /** - * - * @param masterStore - * @param cachingStore - * @param options + * + * @param masterStore + * @param cachingStore + * @param options */ Cache(masterStore: any, cachingStore: any, options: any): any; /** - * + * */ DataStore(): void; /** - * + * */ JsonRest(): void; /** - * + * */ Memory(): void; /** @@ -11489,8 +11489,8 @@ declare module dojo { * results that can be used to monitor results for changes. * Observable wraps an existing store so that notifications can be made when a query * is performed. - * - * @param store + * + * @param store */ Observable(store: dojo.store.api.Store): any; } @@ -11498,45 +11498,45 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.string.html * * String utilities for Dojo - * + * */ interface string_ { /** * Pad a string to guarantee that it is at least size length by * filling with the character ch at either the start or end of the * string. Pads at the start, by default. - * - * @param text the string to pad - * @param size length to provide padding - * @param ch Optionalcharacter to pad, defaults to '0' - * @param end Optionaladds padding at the end if true, otherwise pads at start + * + * @param text the string to pad + * @param size length to provide padding + * @param ch Optionalcharacter to pad, defaults to '0' + * @param end Optionaladds padding at the end if true, otherwise pads at start */ pad(text: String, size: number, ch?: String, end?: boolean): number; /** * Efficiently replicate a string n times. - * - * @param str the string to replicate - * @param num number of times to replicate the string + * + * @param str the string to replicate + * @param num number of times to replicate the string */ rep(str: String, num: number): String; /** * Performs parameterized substitutions on a string. Throws an * exception if any parameter is unmatched. - * - * @param template a string with expressions in the form ${key} to be replaced or${key:format} which specifies a format function. keys are case-sensitive. - * @param map hash to search for substitutions - * @param transform Optionala function to process all parameters before substitution takesplace, e.g. mylib.encodeXML - * @param thisObject Optionalwhere to look for optional format function; default to the globalnamespace + * + * @param template a string with expressions in the form ${key} to be replaced or${key:format} which specifies a format function. keys are case-sensitive. + * @param map hash to search for substitutions + * @param transform Optionala function to process all parameters before substitution takesplace, e.g. mylib.encodeXML + * @param thisObject Optionalwhere to look for optional format function; default to the globalnamespace */ substitute(template: String, map: Object, transform?: Function, thisObject?: Object): any; /** * Performs parameterized substitutions on a string. Throws an * exception if any parameter is unmatched. - * - * @param template a string with expressions in the form ${key} to be replaced or${key:format} which specifies a format function. keys are case-sensitive. - * @param map hash to search for substitutions - * @param transform Optionala function to process all parameters before substitution takesplace, e.g. mylib.encodeXML - * @param thisObject Optionalwhere to look for optional format function; default to the globalnamespace + * + * @param template a string with expressions in the form ${key} to be replaced or${key:format} which specifies a format function. keys are case-sensitive. + * @param map hash to search for substitutions + * @param transform Optionala function to process all parameters before substitution takesplace, e.g. mylib.encodeXML + * @param thisObject Optionalwhere to look for optional format function; default to the globalnamespace */ substitute(template: String, map: any[], transform?: Function, thisObject?: Object): any; /** @@ -11544,8 +11544,8 @@ declare module dojo { * This version of trim() was taken from Steven Levithan's blog. * The short yet performant version of this function is dojo/_base/lang.trim(), * which is part of Dojo base. Uses String.prototype.trim instead, if available. - * - * @param str String to be trimmed + * + * @param str String to be trimmed */ trim(str: String): String; } @@ -11554,37 +11554,37 @@ declare module dojo { * * Version number of the Dojo Toolkit * Hash about the version, including - * + * * major: Integer: Major version. If total version is "1.2.0beta1", will be 1 * minor: Integer: Minor version. If total version is "1.2.0beta1", will be 2 * patch: Integer: Patch version. If total version is "1.2.0beta1", will be 0 * flag: String: Descriptor flag. If total version is "1.2.0beta1", will be "beta1" * revision: Number: The Git rev from which dojo was pulled - * + * */ interface version { /** - * + * */ flag: string; /** - * + * */ major: number; /** - * + * */ minor: number; /** - * + * */ patch: number; /** - * + * */ revision: number; /** - * + * */ toString(): String; } @@ -11598,64 +11598,64 @@ declare module dojo { * click events immediately for this node and its descendants (except for descendants that * have a dojoClick property set to falsy), to avoid the delay before native browser click events, * and regardless of whether evt.preventDefault() was called in a touch.press event listener. - * + * */ interface touch { /** * Register a listener to 'touchcancel'|'mouseleave' for the given node - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ cancel(node: HTMLElement, listener: Function): any; /** * Register a listener to mouse.enter or touch equivalent for the given node - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ enter(node: HTMLElement, listener: Function): any; /** * Register a listener to mouse.leave or touch equivalent for the given node - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ leave(node: HTMLElement, listener: Function): any; /** * Register a listener that fires when the mouse cursor or a finger is dragged over the given node. - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ move(node: HTMLElement, listener: Function): any; /** * Register a listener to 'mouseout' or touch equivalent for the given node - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ out(node: HTMLElement, listener: Function): any; /** * Register a listener to 'mouseover' or touch equivalent for the given node - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ over(node: HTMLElement, listener: Function): any; /** * Register a listener to 'touchstart'|'mousedown' for the given node - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ press(node: HTMLElement, listener: Function): any; /** * Register a listener to releasing the mouse button while the cursor is over the given node * (i.e. "mouseup") or for removing the finger from the screen while touching the given node. - * - * @param node Target node to listen to - * @param listener Callback function + * + * @param node Target node to listen to + * @param listener Callback function */ release(node: HTMLElement, listener: Function): any; } @@ -11663,26 +11663,26 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/_base/kernel.window.html * * TODOC - * + * */ interface window { /** * Get window object associated with document doc. - * - * @param doc The document to get the associated window for. + * + * @param doc The document to get the associated window for. */ get(doc: HTMLDocument): any; /** * Returns the dimensions and scroll position of the viewable area of a browser window - * - * @param doc Optional + * + * @param doc Optional */ getBox(doc?: HTMLDocument): Object; /** * Scroll the passed node into view using minimal movement, if it is not already. - * - * @param node - * @param pos Optional + * + * @param node + * @param pos Optional */ scrollIntoView(node: HTMLElement, pos?: Object): void; } @@ -11691,23 +11691,23 @@ declare module dojo { } module _firebug { - module firebug { + namespace firebug { } } - module cldr { + namespace cldr { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/cldr/monetary.html * * TODOC - * + * */ interface monetary { /** * A mapping of currency code to currency-specific formatting information. Returns a unique object with properties: places, round. - * - * @param code an ISO 4217 currency code + * + * @param code an ISO 4217 currency code */ getData(code: String): Object; } @@ -11715,15 +11715,15 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/cldr/supplemental.html * * TODOC - * + * */ interface supplemental { /** * Returns a zero-based index for first day of the week * Returns a zero-based index for first day of the week, as used by the local (Gregorian) calendar. * e.g. Sunday (returns 0), or Monday (returns 1) - * - * @param locale Optional + * + * @param locale Optional */ getFirstDayOfWeek(locale?: String): number; /** @@ -11731,30 +11731,30 @@ declare module dojo { * Returns a hash containing the start and end days of the weekend according to local custom using locale, * or by default in the user's locale. * e.g. {start:6, end:0} - * - * @param locale Optional + * + * @param locale Optional */ getWeekend(locale?: String): Object; } } - module data { + namespace data { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/data/ItemFileReadStore.html * * The ItemFileReadStore implements the dojo/data/api/Read API and reads * data from JSON files that have contents in this format -- - * + * * { items: [ * { name:'Kermit', color:'green', age:12, friends:['Gonzo', {_reference:{name:'Fozzie Bear'}}]}, * { name:'Fozzie Bear', wears:['hat', 'tie']}, * { name:'Miss Piggy', pets:'Foo-Foo'} * ]} * Note that it can also contain an 'identifier' property that specified which attribute on the items - * + * * in the array of items that acts as the unique identifier for that item. - * - * @param keywordParameters {url: String} {data: jsonObject} {typeMap: object}The structure of the typeMap object is as follows:{ type0: function || object, type1: function || object, ... typeN: function || object}Where if it is a function, it is assumed to be an object constructor that takes thevalue of _value as the initialization parameters. If it is an object, then it is assumedto be an object of general form:{ type: function, //constructor. deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately.} + * + * @param keywordParameters {url: String} {data: jsonObject} {typeMap: object}The structure of the typeMap object is as follows:{ type0: function || object, type1: function || object, ... typeN: function || object}Where if it is a function, it is assumed to be an object constructor that takes thevalue of _value as the initialization parameters. If it is an object, then it is assumedto be an object of general form:{ type: function, //constructor. deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately.} */ class ItemFileReadStore extends dojo.Evented { constructor(keywordParameters: Object); @@ -11763,16 +11763,16 @@ declare module dojo { * By default, it retains the old behavior of not clearing if close is called. But * if set true, the store will be reset to default state. Note that by doing this, * all item handles will become invalid and a new fetch must be issued. - * + * */ "clearOnClose": boolean; /** - * + * */ "data": Object; /** * Parameter for specifying that it is OK for the xhrGet call to fail silently. - * + * */ "failOk": boolean; /** @@ -11781,56 +11781,56 @@ declare module dojo { * for backwards compatibility. False means only root items are processed * as items, all child objects outside of type-mapped objects and those in * specific reference format, are left straight JS data objects. - * + * */ "hierarchical": boolean; /** - * + * */ "typeMap": Object; /** - * + * */ "url": string; /** * Parameter to allow specifying if preventCache should be passed to the xhrGet call or not when loading data from a url. * Note this does not mean the store calls the server on each fetch, only that the data load has preventCache set as an option. * Added for tracker: #6072 - * + * */ "urlPreventCache": boolean; /** * See dojo/data/api/Read.close() - * - * @param request Optional + * + * @param request Optional */ close(request?: dojo.data.api.Request ): void; /** * See dojo/data/api/Read.close() - * - * @param request Optional + * + * @param request Optional */ close(request?: Object): void; /** * See dojo/data/api/Read.containsValue() - * - * @param item - * @param attribute - * @param value + * + * @param item + * @param attribute + * @param value */ containsValue(item: dojo.data.api.Item, attribute: String, value: any): any; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * The error handler when there is an error fetching items. This function should not be called * directly and is used by simpleFetch.fetch(). - * - * @param errorData - * @param requestObject + * + * @param errorData + * @param requestObject */ errorHandler(errorData: Object, requestObject: Object): void; /** @@ -11857,113 +11857,113 @@ declare module dojo { * or, the _fetchItems() method may, if it wants to, create an new request object * with other specifics about the request that are specific to the datastore and pass * that as the request object to the handler. - * + * * For more information on this specific function, see dojo/data/api/Read.fetch() - * - * @param request OptionalThe keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param request OptionalThe keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(request: Object): void; /** * The handler when items are sucessfully fetched. This function should not be called directly * and is used by simpleFetch.fetch(). - * - * @param items - * @param requestObject + * + * @param items + * @param requestObject */ fetchHandler(items: any[], requestObject: Object): void; /** * See dojo/data/api/Identity.fetchItemByIdentity() - * - * @param keywordArgs + * + * @param keywordArgs */ fetchItemByIdentity(keywordArgs: Object): void; /** * This method handles the basic filtering needs for ItemFile* based stores. - * - * @param requestArgs - * @param arrayOfItems - * @param findCallback + * + * @param requestArgs + * @param arrayOfItems + * @param findCallback */ filter(requestArgs: Object, arrayOfItems: any[], findCallback: Function): void; /** * See dojo/data/api/Read.getAttributes() - * - * @param item + * + * @param item */ getAttributes(item: dojo.data.api.Item): any[]; /** * See dojo/data/api/Read.getFeatures() - * + * */ getFeatures(): any; /** * See dojo/data/api/Identity.getIdentity() - * - * @param item + * + * @param item */ getIdentity(item: dojo.data.api.Item): any; /** * See dojo/data/api/Identity.getIdentityAttributes() - * - * @param item + * + * @param item */ getIdentityAttributes(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getLabel() - * - * @param item + * + * @param item */ getLabel(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getLabelAttributes() - * - * @param item + * + * @param item */ getLabelAttributes(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getValue() - * - * @param item - * @param attribute - * @param defaultValue Optional + * + * @param item + * @param attribute + * @param defaultValue Optional */ getValue(item: dojo.data.api.Item, attribute: String, defaultValue?: any): any; /** * See dojo/data/api/Read.getValues() - * - * @param item - * @param attribute + * + * @param item + * @param attribute */ getValues(item: dojo.data.api.Item, attribute: String): any; /** * See dojo/data/api/Read.hasAttribute() - * - * @param item - * @param attribute + * + * @param item + * @param attribute */ hasAttribute(item: dojo.data.api.Item, attribute: String): boolean; /** * See dojo/data/api/Read.isItem() - * - * @param something + * + * @param something */ isItem(something: any): boolean; /** * See dojo/data/api/Read.isItemLoaded() - * - * @param something + * + * @param something */ isItemLoaded(something: any): any; /** * See dojo/data/api/Read.loadItem() - * - * @param keywordArgs + * + * @param keywordArgs */ loadItem(keywordArgs: Object): void; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; } @@ -11972,17 +11972,17 @@ declare module dojo { * * A Dojo Data implementation that wraps Dojo object stores for backwards * compatibility. - * - * @param options The configuration information to pass into the data store.options.objectStore:The object store to use as the source provider for this data store + * + * @param options The configuration information to pass into the data store.options.objectStore:The object store to use as the source provider for this data store */ class ObjectStore extends dojo.Evented { constructor(options: any); /** - * + * */ "labelProperty": string; /** - * + * */ "objectStore": Object; /** @@ -11990,128 +11990,128 @@ declare module dojo { * contains a reference to the object itself as well as a * cloned and trimmed version of old object for use with * revert. - * - * @param object Indicates that the given object is changing and should be marked as dirty for the next save - * @param _deleting + * + * @param object Indicates that the given object is changing and should be marked as dirty for the next save + * @param _deleting */ changing(object: Object, _deleting: boolean): void; /** * See dojo/data/api/Read.close() - * - * @param request + * + * @param request */ close(request: any): any; /** * Checks to see if 'item' has 'value' at 'attribute' - * - * @param item The item to check - * @param attribute The attribute to check - * @param value The value to look for + * + * @param item The item to check + * @param attribute The attribute to check + * @param value The value to look for */ containsValue(item: Object, attribute: String, value: any): boolean; /** * deletes item and any references to that item from the store. - * - * @param item item to delete + * + * @param item item to delete */ deleteItem(item: any): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * See dojo/data/api/Read.fetch() - * - * @param args + * + * @param args */ fetch(args: any): any; /** * fetch an item by its identity, by looking in our index of what we have loaded - * - * @param args + * + * @param args */ fetchItemByIdentity(args: any): any; /** * Gets the available attributes of an item's 'property' and returns * it as an array. - * - * @param item + * + * @param item */ getAttributes(item: Object): any[]; /** * return the store feature set - * + * */ getFeatures(): Object; /** * returns the identity of the given item * See dojo/data/api/Read.getIdentity() - * - * @param item + * + * @param item */ getIdentity(item: any): any; /** * returns the attributes which are used to make up the * identity of an item. Basically returns this.objectStore.idProperty * See dojo/data/api/Read.getIdentityAttributes() - * - * @param item + * + * @param item */ getIdentityAttributes(item: any): any[]; /** * See dojo/data/api/Read.getLabel() - * - * @param item + * + * @param item */ getLabel(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getLabelAttributes() - * - * @param item + * + * @param item */ getLabelAttributes(item: dojo.data.api.Item): any[]; /** * Gets the value of an item's 'property' - * - * @param item The item to get the value from - * @param property property to look up value for - * @param defaultValue Optionalthe default value + * + * @param item The item to get the value from + * @param property property to look up value for + * @param defaultValue Optionalthe default value */ getValue(item: Object, property: String, defaultValue?: any): any; /** * Gets the value of an item's 'property' and returns * it. If this value is an array it is just returned, * if not, the value is added to an array and that is returned. - * - * @param item - * @param property property to look up value for + * + * @param item + * @param property property to look up value for */ getValues(item: Object, property: String): any[]; /** * Checks to see if item has attribute - * - * @param item The item to check - * @param attribute The attribute to check + * + * @param item The item to check + * @param attribute The attribute to check */ hasAttribute(item: Object, attribute: String): boolean; /** * returns true if the item is marked as dirty or true if there are any dirty items - * - * @param item The item to check + * + * @param item The item to check */ isDirty(item: Object): any; /** * Checks to see if the argument is an item - * - * @param item The item to check + * + * @param item The item to check */ isItem(item: Object): boolean; /** * Checks to see if the item is loaded. - * - * @param item The item to check + * + * @param item The item to check */ isItemLoaded(item: Object): any; /** @@ -12120,81 +12120,81 @@ declare module dojo { * that an item is loaded is situations when the item may or may not be loaded yet. * If you access a value directly through property access, you can use this to load * a lazy value as well (doesn't need to be an item). - * - * @param args See dojo/data/api/Read.fetch() + * + * @param args See dojo/data/api/Read.fetch() */ loadItem(args: Object): any; /** * adds a new item to the store at the specified point. * Takes two parameters, data, and options. - * - * @param data See dojo/data/api/Write.newItem() - * @param parentInfo + * + * @param data See dojo/data/api/Write.newItem() + * @param parentInfo */ newItem(data: Object, parentInfo: any): Object; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * returns any modified data to its original state prior to a save(); - * + * */ revert(): void; /** * Saves the dirty data using object store provider. See dojo/data/api/Write for API. - * - * @param kwArgs kwArgs.global:This will cause the save to commit the dirty data for allObjectStores as a single transaction.kwArgs.revertOnError:This will cause the changes to be reverted if there is anerror on the save. By default a revert is executed unlessa value of false is provide for this parameter.kwArgs.onError:Called when an error occurs in the commitkwArgs.onComplete:Called when an the save/commit is completed + * + * @param kwArgs kwArgs.global:This will cause the save to commit the dirty data for allObjectStores as a single transaction.kwArgs.revertOnError:This will cause the changes to be reverted if there is anerror on the save. By default a revert is executed unlessa value of false is provide for this parameter.kwArgs.onError:Called when an error occurs in the commitkwArgs.onComplete:Called when an the save/commit is completed */ save(kwArgs: any): void; /** * sets 'attribute' on 'item' to 'value' * See dojo/data/api/Write.setValue() - * - * @param item - * @param attribute - * @param value + * + * @param item + * @param attribute + * @param value */ setValue(item: any, attribute: any, value: any): void; /** * sets 'attribute' on 'item' to 'value' value * must be an array. * See dojo/data/api/Write.setValues() - * - * @param item - * @param attribute - * @param values + * + * @param item + * @param attribute + * @param values */ setValues(item: any, attribute: any, values: any): void; /** * unsets 'attribute' on 'item' * See dojo/data/api/Write.unsetAttribute() - * - * @param item - * @param attribute + * + * @param item + * @param attribute */ unsetAttribute(item: any, attribute: any): void; /** * See dojo/data/api/Notification.onDelete() - * + * */ onDelete(): void; /** - * Called when a fetch occurs - * - * @param results + * Called when a fetch occurs + * + * @param results */ onFetch(results: any): void; /** * See dojo/data/api/Notification.onNew() - * + * */ onNew(): void; /** * See dojo/data/api/Notification.onSet() - * + * */ onSet(): void; } @@ -12202,8 +12202,8 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/data/ItemFileWriteStore.html * * TODOC - * - * @param keywordParameters The structure of the typeMap object is as follows:{ type0: function || object, type1: function || object, ... typeN: function || object}Where if it is a function, it is assumed to be an object constructor that takes thevalue of _value as the initialization parameters. It is serialized assuming object.toString()serialization. If it is an object, then it is assumedto be an object of general form:{ type: function, //constructor. deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately. serialize: function(object) //The function that converts the object back into the proper file format form.} + * + * @param keywordParameters The structure of the typeMap object is as follows:{ type0: function || object, type1: function || object, ... typeN: function || object}Where if it is a function, it is assumed to be an object constructor that takes thevalue of _value as the initialization parameters. It is serialized assuming object.toString()serialization. If it is an object, then it is assumedto be an object of general form:{ type: function, //constructor. deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately. serialize: function(object) //The function that converts the object back into the proper file format form.} */ class ItemFileWriteStore extends dojo.data.ItemFileReadStore { constructor(keywordParameters: Object); @@ -12212,16 +12212,16 @@ declare module dojo { * By default, it retains the old behavior of not clearing if close is called. But * if set true, the store will be reset to default state. Note that by doing this, * all item handles will become invalid and a new fetch must be issued. - * + * */ "clearOnClose": boolean; /** - * + * */ "data": Object; /** * Parameter for specifying that it is OK for the xhrGet call to fail silently. - * + * */ "failOk": boolean; /** @@ -12230,26 +12230,26 @@ declare module dojo { * for backwards compatibility. False means only root items are processed * as items, all child objects outside of type-mapped objects and those in * specific reference format, are left straight JS data objects. - * + * */ "hierarchical": boolean; /** - * + * */ "referenceIntegrity": boolean; /** - * + * */ "typeMap": Object; /** - * + * */ "url": string; /** * Parameter to allow specifying if preventCache should be passed to the xhrGet call or not when loading data from a url. * Note this does not mean the store calls the server on each fetch, only that the data load has preventCache set as an option. * Added for tracker: #6072 - * + * */ "urlPreventCache": boolean; /** @@ -12257,36 +12257,36 @@ declare module dojo { * Over-ride of base close function of ItemFileReadStore to add in check for store state. * If the store is still dirty (unsaved changes), then an error will be thrown instead of * clearing the internal state for reload from the url. - * - * @param request Optional + * + * @param request Optional */ close(request?: Object): void; /** * See dojo/data/api/Read.containsValue() - * - * @param item - * @param attribute - * @param value + * + * @param item + * @param attribute + * @param value */ containsValue(item: dojo.data.api.Item, attribute: String, value: any): any; /** * See dojo/data/api/Write.deleteItem() - * - * @param item + * + * @param item */ deleteItem(item: dojo.data.api.Item): boolean; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * The error handler when there is an error fetching items. This function should not be called * directly and is used by simpleFetch.fetch(). - * - * @param errorData - * @param requestObject + * + * @param errorData + * @param requestObject */ errorHandler(errorData: Object, requestObject: Object): void; /** @@ -12313,220 +12313,220 @@ declare module dojo { * or, the _fetchItems() method may, if it wants to, create an new request object * with other specifics about the request that are specific to the datastore and pass * that as the request object to the handler. - * + * * For more information on this specific function, see dojo/data/api/Read.fetch() - * - * @param request OptionalThe keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param request OptionalThe keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(request: Object): void; /** * The handler when items are sucessfully fetched. This function should not be called directly * and is used by simpleFetch.fetch(). - * - * @param items - * @param requestObject + * + * @param items + * @param requestObject */ fetchHandler(items: any[], requestObject: Object): void; /** * See dojo/data/api/Identity.fetchItemByIdentity() - * - * @param keywordArgs + * + * @param keywordArgs */ fetchItemByIdentity(keywordArgs: Object): void; /** * This method handles the basic filtering needs for ItemFile* based stores. - * - * @param requestArgs - * @param arrayOfItems - * @param findCallback + * + * @param requestArgs + * @param arrayOfItems + * @param findCallback */ filter(requestArgs: Object, arrayOfItems: any[], findCallback: Function): void; /** * See dojo/data/api/Read.getAttributes() - * - * @param item + * + * @param item */ getAttributes(item: dojo.data.api.Item): any[]; /** * See dojo/data/api/Read.getFeatures() - * + * */ getFeatures(): any; /** * See dojo/data/api/Identity.getIdentity() - * - * @param item + * + * @param item */ getIdentity(item: dojo.data.api.Item): any; /** * See dojo/data/api/Identity.getIdentityAttributes() - * - * @param item + * + * @param item */ getIdentityAttributes(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getLabel() - * - * @param item + * + * @param item */ getLabel(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getLabelAttributes() - * - * @param item + * + * @param item */ getLabelAttributes(item: dojo.data.api.Item): any; /** * See dojo/data/api/Read.getValue() - * - * @param item - * @param attribute - * @param defaultValue Optional + * + * @param item + * @param attribute + * @param defaultValue Optional */ getValue(item: dojo.data.api.Item, attribute: String, defaultValue?: any): any; /** * See dojo/data/api/Read.getValues() - * - * @param item - * @param attribute + * + * @param item + * @param attribute */ getValues(item: dojo.data.api.Item, attribute: String): any; /** * See dojo/data/api/Read.hasAttribute() - * - * @param item - * @param attribute + * + * @param item + * @param attribute */ hasAttribute(item: dojo.data.api.Item, attribute: String): boolean; /** * See dojo/data/api/Write.isDirty() - * - * @param item Optional + * + * @param item Optional */ isDirty(item?: any): any; /** * See dojo/data/api/Read.isItem() - * - * @param something + * + * @param something */ isItem(something: any): boolean; /** * See dojo/data/api/Read.isItemLoaded() - * - * @param something + * + * @param something */ isItemLoaded(something: any): any; /** * See dojo/data/api/Read.loadItem() - * - * @param keywordArgs + * + * @param keywordArgs */ loadItem(keywordArgs: Object): void; /** * See dojo/data/api/Write.newItem() - * - * @param keywordArgs Optional - * @param parentInfo Optional + * + * @param keywordArgs Optional + * @param parentInfo Optional */ newItem(keywordArgs?: Object, parentInfo?: Object): Object; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * See dojo/data/api/Write.revert() - * + * */ revert(): boolean; /** * See dojo/data/api/Write.save() - * - * @param keywordArgs + * + * @param keywordArgs */ save(keywordArgs: Object): void; /** * See dojo/data/api/Write.set() - * - * @param item - * @param attribute - * @param value + * + * @param item + * @param attribute + * @param value */ setValue(item: dojo.data.api.Item, attribute: String, value: any): any; /** * See dojo/data/api/Write.setValues() - * - * @param item - * @param attribute - * @param values + * + * @param item + * @param attribute + * @param values */ setValues(item: dojo.data.api.Item, attribute: String, values: any[]): any; /** * See dojo/data/api/Write.unsetAttribute() - * - * @param item - * @param attribute + * + * @param item + * @param attribute */ unsetAttribute(item: dojo.data.api.Item, attribute: String): any; /** * See dojo/data/api/Notification.onDelete() - * - * @param deletedItem + * + * @param deletedItem */ onDelete(deletedItem: dojo.data.api.Item): void; /** * See dojo/data/api/Notification.onNew() - * - * @param newItem - * @param parentInfo Optional + * + * @param newItem + * @param parentInfo Optional */ onNew(newItem: dojo.data.api.Item, parentInfo?: Object): void; /** * See dojo/data/api/Notification.onSet() - * - * @param item - * @param attribute - * @param oldValue - * @param newValue + * + * @param item + * @param attribute + * @param oldValue + * @param newValue */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: Object, newValue: Object): void; /** * See dojo/data/api/Notification.onSet() - * - * @param item - * @param attribute - * @param oldValue - * @param newValue + * + * @param item + * @param attribute + * @param oldValue + * @param newValue */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: any[], newValue: Object): void; /** * See dojo/data/api/Notification.onSet() - * - * @param item - * @param attribute - * @param oldValue - * @param newValue + * + * @param item + * @param attribute + * @param oldValue + * @param newValue */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: Object, newValue: any[]): void; /** * See dojo/data/api/Notification.onSet() - * - * @param item - * @param attribute - * @param oldValue - * @param newValue + * + * @param item + * @param attribute + * @param oldValue + * @param newValue */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: any[], newValue: any[]): void; } - module api { + namespace api { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/data/api/Item.html * * An item in a dojo/data store - * Class for documentation purposes only. An item can take any form, so no + * Class for documentation purposes only. An item can take any form, so no * properties or methods are defined here. - * + * */ class Item { constructor(); @@ -12537,7 +12537,7 @@ declare module dojo { * This is an abstract API that data provider implementations conform to. * This file defines methods signatures and intentionally leaves all the * methods unimplemented. - * + * */ class Identity extends dojo.data.api.Read { constructor(); @@ -12550,8 +12550,8 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: dojo.data.api.Request ): void; /** @@ -12563,17 +12563,17 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: Object): void; /** * Returns true if the given value is one of the values that getValues() * would return. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param value The value to match as a value for the attribute. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param value The value to match as a value for the attribute. */ containsValue(item: dojo.data.api.Item, attribute: String, value: any): void; /** @@ -12586,12 +12586,12 @@ declare module dojo { * an additional function attached, abort(). The returned request object may then be used * to cancel a fetch. All data items returns are passed through the callbacks defined in the * fetch parameters and are not present on the 'request' object. - * + * * This does not mean that custom stores can not add methods and properties to the request object * returned, only that the API does not require it. For more info about the Request API, * see dojo/data/api/Request - * - * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(keywordArgs: Object): any; /** @@ -12600,29 +12600,29 @@ declare module dojo { * should return null if there is no item with the given identity. * Implementations of fetchItemByIdentity() may sometimes return an item * from a local cache and may sometimes fetch an item from a remote server, - * - * @param keywordArgs An anonymous object that defines the item to locate and callbacks to invoke when theitem has been located and load has completed. The format of the object is as follows:{ identity: string|object, onItem: Function, onError: Function, scope: object}The identity parameterThe identity parameter is the identity of the item you wish to locate and loadThis attribute is required. It should be a string or an object that toString()can be called on.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the item located, or null if none found.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global.For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global, item, request) + * + * @param keywordArgs An anonymous object that defines the item to locate and callbacks to invoke when theitem has been located and load has completed. The format of the object is as follows:{ identity: string|object, onItem: Function, onError: Function, scope: object}The identity parameterThe identity parameter is the identity of the item you wish to locate and loadThis attribute is required. It should be a string or an object that toString()can be called on.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the item located, or null if none found.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global.For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global, item, request) */ fetchItemByIdentity(keywordArgs: Object): void; /** * Returns an array with all the attributes that this item has. This * method will always return an array; if the item has no attributes * at all, getAttributes() will return an empty array: []. - * - * @param item The item to access attributes on. + * + * @param item The item to access attributes on. */ getAttributes(item: dojo.data.api.Item): void; /** * See dojo/data/api/Read.getFeatures() - * + * */ getFeatures(): Object; /** * Returns a unique identifier for an item. The return value will be * either a string or something that has a toString() method (such as, * for example, a dojox/uuid object). - * - * @param item The item from the store from which to obtain its identifier. + * + * @param item The item from the store from which to obtain its identifier. */ getIdentity(item: dojo.data.api.Item): void; /** @@ -12634,8 +12634,8 @@ declare module dojo { * the attributes that comprise the identity so that so that during a render * of all attributes, the UI can hide the the identity information if it * chooses. - * - * @param item The item from the store from which to obtain the array of public attributes thatcompose the identifier, if any. + * + * @param item The item from the store from which to obtain the array of public attributes thatcompose the identifier, if any. */ getIdentityAttributes(item: dojo.data.api.Item): void; /** @@ -12651,8 +12651,8 @@ declare module dojo { * to customize how a store instance labels items should replace the getLabel() function on * their instance of the store, or extend the store and replace the function in * the extension class. - * - * @param item The item to return the label for. + * + * @param item The item to return the label for. */ getLabel(item: dojo.data.api.Item): any; /** @@ -12663,8 +12663,8 @@ declare module dojo { * attributes can be ignored out of the attributes an item has when displaying it, in cases * where the UI is using the label as an overall identifer should they wish to hide * redundant information. - * - * @param item The item to return the list of label attributes for. + * + * @param item The item to return the list of label attributes for. */ getLabelAttributes(item: dojo.data.api.Item): any; /** @@ -12679,10 +12679,10 @@ declare module dojo { * or "the item has that attribute but does not have any attribute values". * If store.hasAttribute(item, attribute) returns false, then * store.getValue(item, attribute) will return undefined. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. */ getValue(item: dojo.data.api.Item, attribute: String, defaultValue?: any): any; /** @@ -12693,24 +12693,24 @@ declare module dojo { * If the item does not have a value for the given attribute, then getValues() * will return an empty array: []. (So, if store.hasAttribute(item, attribute) * has a return of false, then store.getValues(item, attribute) will return [].) - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. */ getValues(item: dojo.data.api.Item, attribute: String): any; /** * Returns true if the given item has a value for the given attribute. - * - * @param item The item to access attributes on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access attributes on. + * @param attribute The attribute to access represented as a string. */ hasAttribute(item: dojo.data.api.Item, attribute: String): void; /** * Returns true if something is an item and came from the store instance. * Returns false if something is a literal, an item from another store instance, * or is any object other than an item. - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItem(something: any): void; /** @@ -12718,8 +12718,8 @@ declare module dojo { * if isItem(something) is true but the the item is not yet loaded * in local memory (for example, if the item has not yet been read * from the server). - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItemLoaded(something: any): void; /** @@ -12729,8 +12729,8 @@ declare module dojo { * then loadItem() need not do any work at all and will not even invoke * the callback handlers. So, before invoking this method, check that * the item has not already been loaded. - * - * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) + * + * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) */ loadItem(keywordArgs: Object): void; } @@ -12743,13 +12743,13 @@ declare module dojo { * attached to it to allow users to abort a particular request if they so choose. * No other functions are required on a general Request object return. That does not * inhibit other store implementations from adding extensions to it, of course. - * + * * This is an abstract API that data provider implementations conform to. * This file defines methods signatures and intentionally leaves all the * methods unimplemented. - * + * * For more details on fetch, see dojo/data/api/Read.fetch(). - * + * */ class Request { constructor(); @@ -12759,7 +12759,7 @@ declare module dojo { * This function is a hook point for stores to provide as a way for * a fetch to be halted mid-processing. For more details on the fetch() api, * please see dojo/data/api/Read.fetch(). - * + * */ abort(): void; } @@ -12778,7 +12778,7 @@ declare module dojo { * this feature. In the case of a read-only store, this feature makes sense if * the store itself does internal polling to a back-end server and periodically updates * its cache of items (deletes, adds, and updates). - * + * */ class Notification extends dojo.data.api.Read { constructor(); @@ -12791,8 +12791,8 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: dojo.data.api.Request ): void; /** @@ -12804,17 +12804,17 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: Object): void; /** * Returns true if the given value is one of the values that getValues() * would return. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param value The value to match as a value for the attribute. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param value The value to match as a value for the attribute. */ containsValue(item: dojo.data.api.Item, attribute: String, value: any): void; /** @@ -12827,25 +12827,25 @@ declare module dojo { * an additional function attached, abort(). The returned request object may then be used * to cancel a fetch. All data items returns are passed through the callbacks defined in the * fetch parameters and are not present on the 'request' object. - * + * * This does not mean that custom stores can not add methods and properties to the request object * returned, only that the API does not require it. For more info about the Request API, * see dojo/data/api/Request - * - * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(keywordArgs: Object): any; /** * Returns an array with all the attributes that this item has. This * method will always return an array; if the item has no attributes * at all, getAttributes() will return an empty array: []. - * - * @param item The item to access attributes on. + * + * @param item The item to access attributes on. */ getAttributes(item: dojo.data.api.Item): void; /** * See dojo/data/api/Read.getFeatures() - * + * */ getFeatures(): Object; /** @@ -12861,8 +12861,8 @@ declare module dojo { * to customize how a store instance labels items should replace the getLabel() function on * their instance of the store, or extend the store and replace the function in * the extension class. - * - * @param item The item to return the label for. + * + * @param item The item to return the label for. */ getLabel(item: dojo.data.api.Item): any; /** @@ -12873,8 +12873,8 @@ declare module dojo { * attributes can be ignored out of the attributes an item has when displaying it, in cases * where the UI is using the label as an overall identifer should they wish to hide * redundant information. - * - * @param item The item to return the list of label attributes for. + * + * @param item The item to return the list of label attributes for. */ getLabelAttributes(item: dojo.data.api.Item): any; /** @@ -12889,10 +12889,10 @@ declare module dojo { * or "the item has that attribute but does not have any attribute values". * If store.hasAttribute(item, attribute) returns false, then * store.getValue(item, attribute) will return undefined. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. */ getValue(item: dojo.data.api.Item, attribute: String, defaultValue?: any): any; /** @@ -12903,24 +12903,24 @@ declare module dojo { * If the item does not have a value for the given attribute, then getValues() * will return an empty array: []. (So, if store.hasAttribute(item, attribute) * has a return of false, then store.getValues(item, attribute) will return [].) - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. */ getValues(item: dojo.data.api.Item, attribute: String): any; /** * Returns true if the given item has a value for the given attribute. - * - * @param item The item to access attributes on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access attributes on. + * @param attribute The attribute to access represented as a string. */ hasAttribute(item: dojo.data.api.Item, attribute: String): void; /** * Returns true if something is an item and came from the store instance. * Returns false if something is a literal, an item from another store instance, * or is any object other than an item. - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItem(something: any): void; /** @@ -12928,8 +12928,8 @@ declare module dojo { * if isItem(something) is true but the the item is not yet loaded * in local memory (for example, if the item has not yet been read * from the server). - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItemLoaded(something: any): void; /** @@ -12939,8 +12939,8 @@ declare module dojo { * then loadItem() need not do any work at all and will not even invoke * the callback handlers. So, before invoking this method, check that * the item has not already been loaded. - * - * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) + * + * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) */ loadItem(keywordArgs: Object): void; /** @@ -12948,8 +12948,8 @@ declare module dojo { * It is called immediately after the store deleteItem processing has completed. * This function is called any time an item is deleted from the store. * It is called immediately after the store deleteItem processing has completed. - * - * @param deletedItem The item deleted. + * + * @param deletedItem The item deleted. */ onDelete(deletedItem: dojo.data.api.Item): any; /** @@ -12957,9 +12957,9 @@ declare module dojo { * It is called immediately after the store newItem processing has completed. * This function is called any time a new item is created in the store. * It is called immediately after the store newItem processing has completed. - * - * @param newItem The item created. - * @param parentInfo OptionalAn optional javascript object that is passed when the item created was placed in the storehierarchy as a value f another item's attribute, instead of a root level item. Note that if thisfunction is invoked with a value for parentInfo, then onSet is not invoked stating the attribute ofthe parent item was modified. This is to avoid getting two notification events occurring when a new itemwith a parent is created. The structure passed in is as follows:{ item: someItem, //The parent item attribute: "attribute-name-string", //The attribute the new item was assigned to. oldValue: something //Whatever was the previous value for the attribute. //If it is a single-value attribute only, then this value will be a single value. //If it was a multi-valued attribute, then this will be an array of all the values minus the new one. newValue: something //The new value of the attribute. In the case of single value calls, such as setValue, this value will be //generally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes, //it will be an array.} + * + * @param newItem The item created. + * @param parentInfo OptionalAn optional javascript object that is passed when the item created was placed in the storehierarchy as a value f another item's attribute, instead of a root level item. Note that if thisfunction is invoked with a value for parentInfo, then onSet is not invoked stating the attribute ofthe parent item was modified. This is to avoid getting two notification events occurring when a new itemwith a parent is created. The structure passed in is as follows:{ item: someItem, //The parent item attribute: "attribute-name-string", //The attribute the new item was assigned to. oldValue: something //Whatever was the previous value for the attribute. //If it is a single-value attribute only, then this value will be a single value. //If it was a multi-valued attribute, then this will be an array of all the values minus the new one. newValue: something //The new value of the attribute. In the case of single value calls, such as setValue, this value will be //generally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes, //it will be an array.} */ onNew(newItem: dojo.data.api.Item, parentInfo?: Object): any; /** @@ -12968,11 +12968,11 @@ declare module dojo { * Its purpose is to provide a hook point for those who wish to monitor actions on items in the store * in a simple manner. The general expected usage is to dojo.connect() to the store's * implementation and be called after the store function is called. - * - * @param item The item being modified. - * @param attribute The attribute being changed represented as a string name. - * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. - * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. + * + * @param item The item being modified. + * @param attribute The attribute being changed represented as a string name. + * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. + * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: Object, newValue: Object): any; /** @@ -12981,11 +12981,11 @@ declare module dojo { * Its purpose is to provide a hook point for those who wish to monitor actions on items in the store * in a simple manner. The general expected usage is to dojo.connect() to the store's * implementation and be called after the store function is called. - * - * @param item The item being modified. - * @param attribute The attribute being changed represented as a string name. - * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. - * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. + * + * @param item The item being modified. + * @param attribute The attribute being changed represented as a string name. + * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. + * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: any[], newValue: Object): any; /** @@ -12994,11 +12994,11 @@ declare module dojo { * Its purpose is to provide a hook point for those who wish to monitor actions on items in the store * in a simple manner. The general expected usage is to dojo.connect() to the store's * implementation and be called after the store function is called. - * - * @param item The item being modified. - * @param attribute The attribute being changed represented as a string name. - * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. - * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. + * + * @param item The item being modified. + * @param attribute The attribute being changed represented as a string name. + * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. + * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: Object, newValue: any[]): any; /** @@ -13007,11 +13007,11 @@ declare module dojo { * Its purpose is to provide a hook point for those who wish to monitor actions on items in the store * in a simple manner. The general expected usage is to dojo.connect() to the store's * implementation and be called after the store function is called. - * - * @param item The item being modified. - * @param attribute The attribute being changed represented as a string name. - * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. - * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. + * + * @param item The item being modified. + * @param attribute The attribute being changed represented as a string name. + * @param oldValue The old value of the attribute. In the case of single value calls, such as setValue, unsetAttribute, etc,this value will be generally be an atomic value of some sort (string, int, etc, object). In the case ofmulti-valued attributes, it will be an array. + * @param newValue The new value of the attribute. In the case of single value calls, such as setValue, this value will begenerally be an atomic value of some sort (string, int, etc, object). In the case of multi-valued attributes,it will be an array. In the case of unsetAttribute, the new value will be 'undefined'. */ onSet(item: dojo.data.api.Item, attribute: String, oldValue: any[], newValue: any[]): any; } @@ -13022,7 +13022,7 @@ declare module dojo { * This file defines methods signatures and intentionally leaves all the * methods unimplemented. For more information on the dojo.data APIs, * please visit: http://www.dojotoolkit.org/node/98 - * + * */ class Read { constructor(); @@ -13035,8 +13035,8 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: dojo.data.api.Request ): void; /** @@ -13048,17 +13048,17 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: Object): void; /** * Returns true if the given value is one of the values that getValues() * would return. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param value The value to match as a value for the attribute. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param value The value to match as a value for the attribute. */ containsValue(item: dojo.data.api.Item, attribute: String, value: any): void; /** @@ -13071,20 +13071,20 @@ declare module dojo { * an additional function attached, abort(). The returned request object may then be used * to cancel a fetch. All data items returns are passed through the callbacks defined in the * fetch parameters and are not present on the 'request' object. - * + * * This does not mean that custom stores can not add methods and properties to the request object * returned, only that the API does not require it. For more info about the Request API, * see dojo/data/api/Request - * - * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(keywordArgs: Object): any; /** * Returns an array with all the attributes that this item has. This * method will always return an array; if the item has no attributes * at all, getAttributes() will return an empty array: []. - * - * @param item The item to access attributes on. + * + * @param item The item to access attributes on. */ getAttributes(item: dojo.data.api.Item): void; /** @@ -13097,7 +13097,7 @@ declare module dojo { * A more sophisticated datastore might implement a variety of * interface features, like 'dojo.data.api.Read', 'dojo/data/api/Write', * 'dojo.data.api.Identity', and 'dojo/data/api/Attribution'. - * + * */ getFeatures(): Object; /** @@ -13113,8 +13113,8 @@ declare module dojo { * to customize how a store instance labels items should replace the getLabel() function on * their instance of the store, or extend the store and replace the function in * the extension class. - * - * @param item The item to return the label for. + * + * @param item The item to return the label for. */ getLabel(item: dojo.data.api.Item): any; /** @@ -13125,8 +13125,8 @@ declare module dojo { * attributes can be ignored out of the attributes an item has when displaying it, in cases * where the UI is using the label as an overall identifer should they wish to hide * redundant information. - * - * @param item The item to return the list of label attributes for. + * + * @param item The item to return the list of label attributes for. */ getLabelAttributes(item: dojo.data.api.Item): any; /** @@ -13141,10 +13141,10 @@ declare module dojo { * or "the item has that attribute but does not have any attribute values". * If store.hasAttribute(item, attribute) returns false, then * store.getValue(item, attribute) will return undefined. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. */ getValue(item: dojo.data.api.Item, attribute: String, defaultValue?: any): any; /** @@ -13155,24 +13155,24 @@ declare module dojo { * If the item does not have a value for the given attribute, then getValues() * will return an empty array: []. (So, if store.hasAttribute(item, attribute) * has a return of false, then store.getValues(item, attribute) will return [].) - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. */ getValues(item: dojo.data.api.Item, attribute: String): any; /** * Returns true if the given item has a value for the given attribute. - * - * @param item The item to access attributes on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access attributes on. + * @param attribute The attribute to access represented as a string. */ hasAttribute(item: dojo.data.api.Item, attribute: String): void; /** * Returns true if something is an item and came from the store instance. * Returns false if something is a literal, an item from another store instance, * or is any object other than an item. - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItem(something: any): void; /** @@ -13180,8 +13180,8 @@ declare module dojo { * if isItem(something) is true but the the item is not yet loaded * in local memory (for example, if the item has not yet been read * from the server). - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItemLoaded(something: any): void; /** @@ -13191,8 +13191,8 @@ declare module dojo { * then loadItem() need not do any work at all and will not even invoke * the callback handlers. So, before invoking this method, check that * the item has not already been loaded. - * - * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) + * + * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) */ loadItem(keywordArgs: Object): void; } @@ -13202,7 +13202,7 @@ declare module dojo { * This is an abstract API that data provider implementations conform to. * This file defines function signatures and intentionally leaves all the * functions unimplemented. - * + * */ class Write extends dojo.data.api.Read { constructor(); @@ -13215,8 +13215,8 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: dojo.data.api.Request ): void; /** @@ -13228,23 +13228,23 @@ declare module dojo { * It will then close out anything associated with that request, such as * clearing any internal datastore caches and closing any 'open' connections. * For some store implementations, this call may be a no-op. - * - * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. + * + * @param request OptionalAn instance of a request for the store to use to identify what to close out.If no request is passed, then the store should clear all internal caches (if any)and close out all 'open' connections. It does not render the store unusable fromthere on, it merely cleans out any current data and resets the store to initialstate. */ close(request?: Object): void; /** * Returns true if the given value is one of the values that getValues() * would return. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param value The value to match as a value for the attribute. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param value The value to match as a value for the attribute. */ containsValue(item: dojo.data.api.Item, attribute: String, value: any): void; /** * Deletes an item from the store. - * - * @param item The item to delete. + * + * @param item The item to delete. */ deleteItem(item: dojo.data.api.Item): void; /** @@ -13257,25 +13257,25 @@ declare module dojo { * an additional function attached, abort(). The returned request object may then be used * to cancel a fetch. All data items returns are passed through the callbacks defined in the * fetch parameters and are not present on the 'request' object. - * + * * This does not mean that custom stores can not add methods and properties to the request object * returned, only that the API does not require it. For more info about the Request API, * see dojo/data/api/Request - * - * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param keywordArgs The keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(keywordArgs: Object): any; /** * Returns an array with all the attributes that this item has. This * method will always return an array; if the item has no attributes * at all, getAttributes() will return an empty array: []. - * - * @param item The item to access attributes on. + * + * @param item The item to access attributes on. */ getAttributes(item: dojo.data.api.Item): void; /** * See dojo/data/api/Read.getFeatures() - * + * */ getFeatures(): Object; /** @@ -13291,8 +13291,8 @@ declare module dojo { * to customize how a store instance labels items should replace the getLabel() function on * their instance of the store, or extend the store and replace the function in * the extension class. - * - * @param item The item to return the label for. + * + * @param item The item to return the label for. */ getLabel(item: dojo.data.api.Item): any; /** @@ -13303,8 +13303,8 @@ declare module dojo { * attributes can be ignored out of the attributes an item has when displaying it, in cases * where the UI is using the label as an overall identifer should they wish to hide * redundant information. - * - * @param item The item to return the list of label attributes for. + * + * @param item The item to return the list of label attributes for. */ getLabelAttributes(item: dojo.data.api.Item): any; /** @@ -13319,10 +13319,10 @@ declare module dojo { * or "the item has that attribute but does not have any attribute values". * If store.hasAttribute(item, attribute) returns false, then * store.getValue(item, attribute) will return undefined. - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. - * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. + * @param defaultValue OptionalOptional. A default value to use for the getValue return in the attribute does not exist or has no value. */ getValue(item: dojo.data.api.Item, attribute: String, defaultValue?: any): any; /** @@ -13333,16 +13333,16 @@ declare module dojo { * If the item does not have a value for the given attribute, then getValues() * will return an empty array: []. (So, if store.hasAttribute(item, attribute) * has a return of false, then store.getValues(item, attribute) will return [].) - * - * @param item The item to access values on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access values on. + * @param attribute The attribute to access represented as a string. */ getValues(item: dojo.data.api.Item, attribute: String): any; /** * Returns true if the given item has a value for the given attribute. - * - * @param item The item to access attributes on. - * @param attribute The attribute to access represented as a string. + * + * @param item The item to access attributes on. + * @param attribute The attribute to access represented as a string. */ hasAttribute(item: dojo.data.api.Item, attribute: String): void; /** @@ -13350,16 +13350,16 @@ declare module dojo { * since the last save(). If isDirty() is called with no item argument, * then this function returns true if any item has been modified since * the last save(). - * - * @param item OptionalThe item to check. + * + * @param item OptionalThe item to check. */ isDirty(item?: any): void; /** * Returns true if something is an item and came from the store instance. * Returns false if something is a literal, an item from another store instance, * or is any object other than an item. - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItem(something: any): void; /** @@ -13367,8 +13367,8 @@ declare module dojo { * if isItem(something) is true but the the item is not yet loaded * in local memory (for example, if the item has not yet been read * from the server). - * - * @param something Can be anything. + * + * @param something Can be anything. */ isItemLoaded(something: any): void; /** @@ -13378,8 +13378,8 @@ declare module dojo { * then loadItem() need not do any work at all and will not even invoke * the callback handlers. So, before invoking this method, check that * the item has not already been loaded. - * - * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) + * + * @param keywordArgs An anonymous object that defines the item to load and callbacks to invoke when theload has completed. The format of the object is as follows:{ item: object, onItem: Function, onError: Function, scope: object}The item parameterThe item parameter is an object that represents the item in question that should becontained by the store. This attribute is required.The onItem parameterFunction(item)The onItem parameter is the callback to invoke when the item has been loaded. It takes only oneparameter, the fully loaded item.The onError parameterFunction(error)The onError parameter is the callback to invoke when the item load encountered an error. It takes only oneparameter, the error objectThe scope parameterIf a scope object is provided, all of the callback functions (onItem,onError, etc) will be invoked in the context of the scope object.In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request) */ loadItem(keywordArgs: Object): void; /** @@ -13392,15 +13392,15 @@ declare module dojo { * of the new item and what attribute of that item should the new item be assigned to. * In general, this will assume that the attribute targeted is multi-valued and a new item * is appended onto the list of values for that attribute. - * - * @param keywordArgs OptionalA javascript object defining the initial content of the item as a set of JavaScript 'property name: value' pairs. - * @param parentInfo OptionalAn optional javascript object defining what item is the parent of this item (in a hierarchical store. Not all stores do hierarchical items),and what attribute of that parent to assign the new item to. If this is present, and the attribute specifiedis a multi-valued attribute, it will append this item into the array of values for that attribute. The structureof the object is as follows:{ parent: someItem, attribute: "attribute-name-string"} + * + * @param keywordArgs OptionalA javascript object defining the initial content of the item as a set of JavaScript 'property name: value' pairs. + * @param parentInfo OptionalAn optional javascript object defining what item is the parent of this item (in a hierarchical store. Not all stores do hierarchical items),and what attribute of that parent to assign the new item to. If this is present, and the attribute specifiedis a multi-valued attribute, it will append this item into the array of values for that attribute. The structureof the object is as follows:{ parent: someItem, attribute: "attribute-name-string"} */ newItem(keywordArgs?: Object, parentInfo?: Object): void; /** * Discards any unsaved changes. * Discards any unsaved changes. - * + * */ revert(): void; /** @@ -13408,17 +13408,17 @@ declare module dojo { * The save operation may take some time and is generally performed * in an asynchronous fashion. The outcome of the save action is * is passed into the set of supported callbacks for the save. - * - * @param keywordArgs { onComplete: function onError: function scope: object} ####The *onComplete* parameter. function(); If an onComplete callback function is provided, the callback function will be called just once, after the save has completed. No parameters are generally passed to the onComplete. ####The *onError* parameter. function(errorData); If an onError callback function is provided, the callback function will be called if there is any sort of error while attempting to execute the save. The onError function will be based one parameter, the error. ####The *scope* parameter. If a scope object is provided, all of the callback function ( onComplete, onError, etc) will be invoked in the context of the scope object. In the body of the callback function, the value of the "this" keyword will be the scope object. If no scope object is provided, the callback functions will be called in the context of dojo.global. For example, onComplete.call(scope) vs. onComplete.call(dojo.global) + * + * @param keywordArgs { onComplete: function onError: function scope: object} ####The *onComplete* parameter. function(); If an onComplete callback function is provided, the callback function will be called just once, after the save has completed. No parameters are generally passed to the onComplete. ####The *onError* parameter. function(errorData); If an onError callback function is provided, the callback function will be called if there is any sort of error while attempting to execute the save. The onError function will be based one parameter, the error. ####The *scope* parameter. If a scope object is provided, all of the callback function ( onComplete, onError, etc) will be invoked in the context of the scope object. In the body of the callback function, the value of the "this" keyword will be the scope object. If no scope object is provided, the callback functions will be called in the context of dojo.global. For example, onComplete.call(scope) vs. onComplete.call(dojo.global) */ save(keywordArgs: Object): any; /** * Sets the value of an attribute on an item. * Replaces any previous value or values. - * - * @param item The item to modify. - * @param attribute The attribute of the item to change represented as a string name. - * @param value The value to assign to the item. + * + * @param item The item to modify. + * @param attribute The attribute of the item to change represented as a string name. + * @param value The value to assign to the item. */ setValue(item: dojo.data.api.Item, attribute: String, value: any): void; /** @@ -13427,57 +13427,57 @@ declare module dojo { * Replaces any previous value or values. * Calling store.setValues(x, y, []) (with values as an empty array) has * the same effect as calling store.unsetAttribute(x, y). - * - * @param item The item to modify. - * @param attribute The attribute of the item to change represented as a string name. - * @param values An array of values to assign to the attribute.. + * + * @param item The item to modify. + * @param attribute The attribute of the item to change represented as a string name. + * @param values An array of values to assign to the attribute.. */ setValues(item: dojo.data.api.Item, attribute: String, values: any[]): void; /** * Deletes all the values of an attribute on an item. - * - * @param item The item to modify. - * @param attribute The attribute of the item to unset represented as a string. + * + * @param item The item to modify. + * @param attribute The attribute of the item to unset represented as a string. */ unsetAttribute(item: dojo.data.api.Item, attribute: String): void; } } - module util { + namespace util { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/data/util/filter.html * - * + * */ interface filter { /** * Helper function to convert a simple pattern to a regular expression for matching. * Returns a regular expression object that conforms to the defined conversion rules. * For example: - * + * * ca -> /^ca.$/ * ca -> /^.ca.$/ * c\a -> /^.c*a.*$/ * c\a? -> /^.c*a..*$/ * and so on. - * - * @param pattern A simple matching pattern to convert that follows basic rules:Means match anything, so ca* means match anything starting with ca? Means match single character. So, b?b will match to bob and bab, and so on.\ is an escape character. So for example, * means do not treat as a match, but literal character .To use a \ as a character in the string, it must be escaped. So in the pattern it should berepresented by \ to be treated as an ordinary \ character instead of an escape. - * @param ignoreCase OptionalAn optional flag to indicate if the pattern matching should be treated as case-sensitive or not when comparingBy default, it is assumed case sensitive. + * + * @param pattern A simple matching pattern to convert that follows basic rules:Means match anything, so ca* means match anything starting with ca? Means match single character. So, b?b will match to bob and bab, and so on.\ is an escape character. So for example, * means do not treat as a match, but literal character .To use a \ as a character in the string, it must be escaped. So in the pattern it should berepresented by \ to be treated as an ordinary \ character instead of an escape. + * @param ignoreCase OptionalAn optional flag to indicate if the pattern matching should be treated as case-sensitive or not when comparingBy default, it is assumed case sensitive. */ patternToRegExp(pattern: String, ignoreCase?: boolean): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/data/util/simpleFetch.html * - * + * */ interface simpleFetch { /** * The error handler when there is an error fetching items. This function should not be called * directly and is used by simpleFetch.fetch(). - * - * @param errorData - * @param requestObject + * + * @param errorData + * @param requestObject */ errorHandler(errorData: Object, requestObject: Object): void; /** @@ -13504,25 +13504,25 @@ declare module dojo { * or, the _fetchItems() method may, if it wants to, create an new request object * with other specifics about the request that are specific to the datastore and pass * that as the request object to the handler. - * + * * For more information on this specific function, see dojo/data/api/Read.fetch() - * - * @param request OptionalThe keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. + * + * @param request OptionalThe keywordArgs parameter may either be an instance ofconforming to dojo/data/api/Request or may be a simple anonymous objectthat may contain any of the following:{ query: query-object or query-string, queryOptions: object, onBegin: Function, onItem: Function, onComplete: Function, onError: Function, scope: object, start: int count: int sort: array}All implementations should accept keywordArgs objects with any ofthe 9 standard properties: query, onBegin, onItem, onComplete, onErrorscope, sort, start, and count. Some implementations may accept additionalproperties in the keywordArgs object as valid parameters, such as{includeOutliers:true}.The query parameterThe query may be optional in some data store implementations.The dojo/data/api/Read API does not specify the syntax or semanticsof the query itself -- each different data store implementationmay have its own notion of what a query should look like.However, as of dojo 0.9, 1.0, and 1.1, all the provided datastores in dojo.dataand dojox.data support an object structure query, where the object is a set ofname/value parameters such as { attrFoo: valueBar, attrFoo1: valueBar1}. Most of thedijit widgets, such as ComboBox assume this to be the case when working with a datastorewhen they dynamically update the query. Therefore, for maximum compatibility with dijitwidgets the recommended query parameter is a key/value object. That does not mean that thethe datastore may not take alternative query forms, such as a simple string, a Date, a number,or a mix of such. Ultimately, The dojo/data/api/Read API is agnostic about what the queryformat.Further note: In general for query objects that accept strings as attributevalue matches, the store should also support basic filtering capability, such as (match any character) and ? (match single character). An example query that is a query objectwould be like: { attrFoo: "value"}. Which generally means match all items where they havean attribute named attrFoo, with a value that starts with 'value'.The queryOptions parameterThe queryOptions parameter is an optional parameter used to specify options that may modifythe query in some fashion, such as doing a case insensitive search, or doing a deep searchwhere all items in a hierarchical representation of data are scanned instead of just the rootitems. It currently defines two options that all datastores should attempt to honor if possible:{ ignoreCase: boolean, // Whether or not the query should match case sensitively or not. Default behaviour is false. deep: boolean // Whether or not a fetch should do a deep search of items and all child // items instead of just root-level items in a datastore. Default is false.}The onBegin parameter.function(size, request);If an onBegin callback function is provided, the callback functionwill be called just once, before the first onItem callback is called.The onBegin callback function will be passed two arguments, thethe total number of items identified and the Request object. If the total number isunknown, then size will be -1. Note that size is not necessarily the size of thecollection of items returned from the query, as the request may have specified to return only asubset of the total set of items through the use of the start and count parameters.The onItem parameter.function(item, request);If an onItem callback function is provided, the callback functionwill be called as each item in the result is received. The callbackfunction will be passed two arguments: the item itself, and theRequest object.The onComplete parameter.function(items, request);If an onComplete callback function is provided, the callback functionwill be called just once, after the last onItem callback is called.Note that if the onItem callback is not present, then onComplete will be passedan array containing all items which matched the query and the request object.If the onItem callback is present, then onComplete is called as:onComplete(null, request).The onError parameter.function(errorData, request);If an onError callback function is provided, the callback functionwill be called if there is any sort of error while attempting toexecute the query.The onError callback function will be passed two arguments:an Error object and the Request object.The scope parameter.If a scope object is provided, all of the callback functions (onItem,onComplete, onError, etc) will be invoked in the context of the scopeobject. In the body of the callback function, the value of the "this"keyword will be the scope object. If no scope object is provided,the callback functions will be called in the context of dojo.global().For example, onItem.call(scope, item, request) vs.onItem.call(dojo.global(), item, request)The start parameter.If a start parameter is specified, this is a indication to the datastore toonly start returning items once the start number of items have been located andskipped. When this parameter is paired with 'count', the store should be ableto page across queries with millions of hits by only returning subsets of thehits for each queryThe count parameter.If a count parameter is specified, this is a indication to the datastore toonly return up to that many items. This allows a fetch call that may havemillions of item matches to be paired down to something reasonable.The sort parameter.If a sort parameter is specified, this is a indication to the datastore tosort the items in some manner before returning the items. The array is an array ofjavascript objects that must conform to the following format to be applied to thefetching of items:{ attribute: attribute || attribute-name-string, descending: true|false; // Optional. Default is false.}Note that when comparing attributes, if an item contains no value for the attribute(undefined), then it the default ascending sort logic should push it to the bottomof the list. In the descending order case, it such items should appear at the top of the list. */ fetch(request: Object): void; /** * The handler when items are sucessfully fetched. This function should not be called directly * and is used by simpleFetch.fetch(). - * - * @param items - * @param requestObject + * + * @param items + * @param requestObject */ fetchHandler(items: any[], requestObject: Object): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/data/util/sorter.html * - * + * */ interface sorter { /** @@ -13530,9 +13530,9 @@ declare module dojo { * returns 1 if a > b, -1 if a < b, 0 if equal. * 'null' values (null, undefined) are treated as larger values so that they're pushed to the end of the list. * And compared to each other, null is equivalent to undefined. - * - * @param a - * @param b + * + * @param a + * @param b */ basicComparator(a: any, b: any): number; /** @@ -13541,9 +13541,9 @@ declare module dojo { * it will look in the mapping for comparisons function for the attributes. If one is found, it will * use it instead of the basic comparator, which is typically used for strings, ints, booleans, and dates. * Returns the sorting function for this particular list of attributes and sorting directions. - * - * @param sortSpec A JS object that array that defines out what attribute names to sort on and whether it should be descenting or asending.The objects should be formatted as follows:{ attribute: "attributeName-string" || attribute, descending: true|false; // Default is false.} - * @param store The datastore object to look up item values from. + * + * @param sortSpec A JS object that array that defines out what attribute names to sort on and whether it should be descenting or asending.The objects should be formatted as follows:{ attribute: "attributeName-string" || attribute, descending: true|false; // Default is false.} + * @param store The datastore object to look up item values from. */ createSortFunction(sortSpec: Object, store: dojo.data.api.Read): String[]; } @@ -13551,35 +13551,35 @@ declare module dojo { } - module dnd { + namespace dnd { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Avatar.html * * Object that represents transferred DnD items visually - * - * @param manager + * + * @param manager */ class Avatar { constructor(manager: any); /** * a DnD manager object - * + * */ "manager": Object; /** * constructor function; * it is separate so it can be (dynamically) overwritten in case of need - * + * */ construct(): void; /** * destructor for the avatar; called to remove all references so it can be garbage-collected - * + * */ destroy(): void; /** * updates the avatar to reflect the current DnD state - * + * */ update(): void; } @@ -13587,99 +13587,99 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Manager.html * * the manager of DnD operations (usually a singleton) - * + * */ class Manager extends dojo.Evented { constructor(); /** - * + * */ "OFFSET_X": number; /** - * + * */ "OFFSET_Y": number; /** * called to notify if the current target can accept items - * - * @param flag + * + * @param flag */ canDrop(flag: any): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * makes the avatar; it is separate to be overwritten dynamically, if needed - * + * */ makeAvatar(): any; /** * Returns the current DnD manager. Creates one if it is not created yet. - * + * */ manager(): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * called when a source detected a mouse-out condition - * - * @param source the reporter + * + * @param source the reporter */ outSource(source: Object): void; /** * called when a source detected a mouse-over condition - * - * @param source the reporter + * + * @param source the reporter */ overSource(source: Object): void; /** * called to initiate the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ startDrag(source: Object, nodes: any[], copy: boolean): void; /** * stop the DnD in progress - * + * */ stopDrag(): void; /** * updates the avatar; it is separate to be overwritten dynamically, if needed - * + * */ updateAvatar(): void; /** * event processor for onkeydown: * watching for CTRL for copy/move status, watching for ESCAPE to cancel the drag - * - * @param e keyboard event + * + * @param e keyboard event */ onKeyDown(e: Event): void; /** * event processor for onkeyup, watching for CTRL for copy/move status - * - * @param e keyboard event + * + * @param e keyboard event */ onKeyUp(e: Event): void; /** * event processor for onmousemove - * - * @param e mouse event + * + * @param e mouse event */ onMouseMove(e: Event): void; /** * event processor for onmouseup - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; } @@ -13688,9 +13688,9 @@ declare module dojo { * * a Container object, which knows when mouse hovers over it, * and over which element it hovers - * - * @param node node or node's id to build the container on - * @param params a dictionary of parameters + * + * @param node node or node's id to build the container on + * @param params a dictionary of parameters */ class Container extends dojo.Evented { constructor(node: HTMLElement, params: Object); @@ -13698,168 +13698,168 @@ declare module dojo { * Indicates whether to allow dnd item nodes to be nested within other elements. * By default this is false, indicating that only direct children of the container can * be draggable dnd item nodes - * + * */ "allowNested": boolean; /** * The DOM node the mouse is currently hovered over - * + * */ "current": HTMLElement; /** * Map from an item's id (which is also the DOMNode's id) to * the dojo/dnd/Container.Item itself. - * + * */ "map": Object; node: HTMLElement; /** - * + * */ "skipForm": boolean; /** * removes all data items from the map - * + * */ clearItems(): void; /** * creator function, dummy at the moment - * + * */ creator(): void; /** * removes a data item from the map by its key (id) - * - * @param key + * + * @param key */ delItem(key: String): void; /** * prepares this object to be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * iterates over a data map skipping members that * are present in the empty object (IE and/or 3rd-party libraries). - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInItems(f: Function, o: Object): String; /** * returns a list (an array) of all valid child nodes - * + * */ getAllNodes(): any; /** * returns a data item by its key (id) - * - * @param key + * + * @param key */ getItem(key: String): any; /** * inserts an array of new nodes before/after an anchor node - * - * @param data Logical representation of the object being dragged.If the drag object's type is "text" then data is a String,if it's another type then data could be a different Object,perhaps a name/value hash. - * @param before insert before the anchor, if true, and after the anchor otherwise - * @param anchor the anchor node to be used as a point of insertion + * + * @param data Logical representation of the object being dragged.If the drag object's type is "text" then data is a String,if it's another type then data could be a different Object,perhaps a name/value hash. + * @param before insert before the anchor, if true, and after the anchor otherwise + * @param anchor the anchor node to be used as a point of insertion */ insertNodes(addSelected?: boolean, data?: any[], before?: boolean, anchor?: HTMLElement): Function; /** * Represents (one of) the source node(s) being dragged. * Contains (at least) the "type" and "data" attributes. - * + * */ Item(): void; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * associates a data item with its key (id) - * - * @param key - * @param data + * + * @param key + * @param data */ setItem(key: String, data: any): void; /** * collects valid child items and populate the map - * + * */ startup(): void; /** * sync up the node list with the data map - * + * */ sync(): Function; /** * event processor for onmouseout - * - * @param e mouse event + * + * @param e mouse event */ onMouseOut(e: Event): void; /** * event processor for onmouseover or touch, to mark that element as the current element - * - * @param e mouse event + * + * @param e mouse event */ onMouseOver(e: Event): void; /** * this function is called once, when mouse is out of our container - * + * */ onOutEvent(): void; /** * this function is called once, when mouse is over our container - * + * */ onOverEvent(): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } - module Container { + namespace Container { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Container.__ContainerArgs.html * - * + * */ class __ContainerArgs { constructor(); /** * node or node's id to use as the parent node for dropped items * (must be underneath the 'node' parameter in the DOM) - * + * */ "dropParent": HTMLElement; /** * don't start the drag operation, if clicked on form elements - * + * */ "skipForm": boolean; /** * a creator function, which takes a data item, and returns an object like that: * {node: newNode, data: usedData, type: arrayOfStrings} - * + * */ creator(): void; @@ -13871,323 +13871,323 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/AutoSource.html * * a source that syncs its DnD nodes by default - * - * @param node - * @param params + * + * @param node + * @param params */ class AutoSource extends dojo.dnd.Source { constructor(node: any, params: any); /** - * + * */ "accept": any[]; /** * Indicates whether to allow dnd item nodes to be nested within other elements. * By default this is false, indicating that only direct children of the container can * be draggable dnd item nodes - * + * */ "allowNested": boolean; /** - * + * */ "autoSync": boolean; /** - * + * */ "copyOnly": boolean; /** * The DOM node the mouse is currently hovered over - * + * */ "current": HTMLElement; /** - * + * */ "delay": number; /** - * + * */ "generateText": boolean; /** - * + * */ "horizontal": boolean; /** - * + * */ "isSource": boolean; /** * Map from an item's id (which is also the DOMNode's id) to * the dojo/dnd/Container.Item itself. - * + * */ "map": Object; /** * The set of id's that are currently selected, such that this.selection[id] == 1 * if the node w/that id is selected. Can iterate over selected node's id's like: - * + * * for(var id in this.selection) - * + * */ "selection": Object; /** - * + * */ "selfAccept": boolean; /** - * + * */ "selfCopy": boolean; /** - * + * */ "singular": boolean; /** - * + * */ "skipForm": boolean; /** - * + * */ "withHandles": boolean; /** * checks if the target can accept nodes from this source - * - * @param source the source which provides items - * @param nodes the list of transferred items + * + * @param source the source which provides items + * @param nodes the list of transferred items */ checkAcceptance(source: Object, nodes: any[]): boolean; /** * removes all data items from the map - * + * */ clearItems(): void; /** * Returns true if we need to copy items, false to move. * It is separated to be overwritten dynamically, if needed. - * - * @param keyPressed the "copy" key was pressed - * @param self Optionaloptional flag that means that we are about to drop on itself + * + * @param keyPressed the "copy" key was pressed + * @param self Optionaloptional flag that means that we are about to drop on itself */ copyState(keyPressed: boolean, self?: boolean): any; /** * creator function, dummy at the moment - * + * */ creator(): void; /** * deletes all selected items - * + * */ deleteSelectedNodes(): Function; /** * removes a data item from the map by its key (id) - * - * @param key + * + * @param key */ delItem(key: String): void; /** * prepares the object to be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * iterates over a data map skipping members that * are present in the empty object (IE and/or 3rd-party libraries). - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInItems(f: Function, o?: Object): String; /** * iterates over selected items; * see dojo/dnd/Container.forInItems() for details - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInSelectedItems(f: Function, o?: Object): void; /** * returns a list (an array) of all valid child nodes - * + * */ getAllNodes(): any; /** * returns a data item by its key (id) - * - * @param key + * + * @param key */ getItem(key: String): any; /** * returns a list (an array) of selected nodes - * + * */ getSelectedNodes(): any; /** * inserts new data items (see dojo/dnd/Container.insertNodes() method for details) - * - * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise - * @param data a list of data items, which should be processed by the creator function - * @param before insert before the anchor, if true, and after the anchor otherwise - * @param anchor the anchor node to be used as a point of insertion + * + * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise + * @param data a list of data items, which should be processed by the creator function + * @param before insert before the anchor, if true, and after the anchor otherwise + * @param anchor the anchor node to be used as a point of insertion */ insertNodes(addSelected: boolean, data: any[], before: boolean, anchor: HTMLElement): Function; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * selects all items - * + * */ selectAll(): any; /** * unselects all items - * + * */ selectNone(): any; /** * associates a data item with its key (id) - * - * @param key - * @param data + * + * @param key + * @param data */ setItem(key: String, data: any): void; /** * collects valid child items and populate the map - * + * */ startup(): void; /** * sync up the node list with the data map - * + * */ sync(): Function; /** * topic event processor for /dnd/cancel, called to cancel the DnD operation - * + * */ onDndCancel(): void; /** * topic event processor for /dnd/drop, called to finish the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise - * @param target the target which accepts items + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise + * @param target the target which accepts items */ onDndDrop(source: Object, nodes: any[], copy: boolean, target: Object): void; /** * topic event processor for /dnd/source/over, called when detected a current source - * - * @param source the source which has the mouse over it + * + * @param source the source which has the mouse over it */ onDndSourceOver(source: Object): void; /** * topic event processor for /dnd/start, called to initiate the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDndStart(source: Object, nodes: any[], copy: boolean): void; /** * called during the active DnD operation, when items * are dragged away from this target, and it is not disabled - * + * */ onDraggingOut(): void; /** * called during the active DnD operation, when items * are dragged over this target, and it is not disabled - * + * */ onDraggingOver(): void; /** * called only on the current target, when drop is performed - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDrop(source: Object, nodes: any[], copy: boolean): void; /** * called only on the current target, when drop is performed * from an external source - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDropExternal(source: Object, nodes: any[], copy: boolean): void; /** * called only on the current target, when drop is performed * from the same target/source - * - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDropInternal(nodes: any[], copy: boolean): void; /** * event processor for onmousedown - * - * @param e mouse event + * + * @param e mouse event */ onMouseDown(e: Event): void; /** * event processor for onmousemove - * - * @param e mouse event + * + * @param e mouse event */ onMouseMove(e: Event): void; /** * event processor for onmouseout - * - * @param e mouse event + * + * @param e mouse event */ onMouseOut(e: Event): void; /** * event processor for onmouseover or touch, to mark that element as the current element - * - * @param e mouse event + * + * @param e mouse event */ onMouseOver(e: Event): void; /** * event processor for onmouseup - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * this function is called once, when mouse is out of our container - * + * */ onOutEvent(): void; /** * this function is called once, when mouse is over our container - * + * */ onOverEvent(): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } @@ -14196,46 +14196,46 @@ declare module dojo { * * an object which makes a node follow the mouse, or touch-drag on touch devices. * Used as a default mover, and as a base class for custom movers. - * - * @param node a node (or node's id) to be moved - * @param e a mouse event, which started the move;only pageX and pageY properties are used - * @param host Optionalobject which implements the functionality of the move,and defines proper events (onMoveStart and onMoveStop) + * + * @param node a node (or node's id) to be moved + * @param e a mouse event, which started the move;only pageX and pageY properties are used + * @param host Optionalobject which implements the functionality of the move,and defines proper events (onMoveStart and onMoveStop) */ class Mover extends dojo.Evented { constructor(node: HTMLElement, e: Event, host?: Object); /** * stops the move, deletes all references, so the object can be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * makes the node absolute; it is meant to be called only once. * relative and absolutely positioned nodes are assumed to use pixel units - * - * @param e + * + * @param e */ onFirstMove(e: any): void; /** * event processor for onmousemove/ontouchmove - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseMove(e: Event): void; /** - * - * @param e + * + * @param e */ onMouseUp(e: any): void; } @@ -14243,150 +14243,150 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Moveable.html * * an object, which makes a node movable - * - * @param node a node (or node's id) to be moved - * @param params Optionaloptional parameters + * + * @param node a node (or node's id) to be moved + * @param params Optionaloptional parameters */ class Moveable extends dojo.Evented { constructor(node: HTMLElement, params?: Object); /** - * + * */ "delay": number; /** - * + * */ "handle": string; /** - * + * */ "skip": boolean; /** * stops watching for possible move, deletes all references, so the object can be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * called when the drag is detected; * responsible for creation of the mover - * - * @param e + * + * @param e */ onDragDetected(e: Event): void; /** * called during the very first move notification; * can be used to initialize coordinates, can be overwritten. - * - * @param mover - * @param e + * + * @param mover + * @param e */ onFirstMove(mover: dojo.dnd.Mover, e: Event): void; /** * event processor for onmousedown/ontouchstart, creates a Mover for the node - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseDown(e: Event): void; /** * event processor for onmousemove/ontouchmove, used only for delayed drags - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseMove(e: Event): void; /** * event processor for onmouseup, used only for delayed drags - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * called during every move notification; * should actually move the node; can be overwritten. - * - * @param mover - * @param leftTop - * @param e + * + * @param mover + * @param leftTop + * @param e */ onMove(mover: dojo.dnd.Mover, leftTop: Object, e: Event): void; /** * called after every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoved(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called before every move operation - * - * @param mover + * + * @param mover */ onMoveStart(mover: dojo.dnd.Mover): void; /** * called after every move operation - * - * @param mover + * + * @param mover */ onMoveStop(mover: dojo.dnd.Mover): void; /** * called before every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoving(mover: dojo.dnd.Mover, leftTop: Object): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } - module Moveable { + namespace Moveable { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Moveable.__MoveableArgs.html * - * + * */ class __MoveableArgs { constructor(); /** * delay move by this number of pixels - * + * */ "delay": number; /** * A node (or node's id), which is used as a mouse handle. * If omitted, the node itself is used as a handle. - * + * */ "handle": HTMLElement; /** * a constructor of custom Mover - * + * */ "mover": Object; /** * skip move of form elements - * + * */ "skip": boolean; } @@ -14396,9 +14396,9 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Selector.html * * a Selector object, which knows how to select its children - * - * @param node node or node's id to build the selector on - * @param params Optionala dictionary of parameters + * + * @param node node or node's id to build the selector on + * @param params Optionala dictionary of parameters */ class Selector extends dojo.dnd.Container { constructor(node: HTMLElement, params?: Object); @@ -14406,193 +14406,193 @@ declare module dojo { * Indicates whether to allow dnd item nodes to be nested within other elements. * By default this is false, indicating that only direct children of the container can * be draggable dnd item nodes - * + * */ "allowNested": boolean; /** * The DOM node the mouse is currently hovered over - * + * */ "current": HTMLElement; /** * Map from an item's id (which is also the DOMNode's id) to * the dojo/dnd/Container.Item itself. - * + * */ "map": Object; /** * The set of id's that are currently selected, such that this.selection[id] == 1 * if the node w/that id is selected. Can iterate over selected node's id's like: - * + * * for(var id in this.selection) - * + * */ "selection": Object; /** - * + * */ "singular": boolean; /** - * + * */ "skipForm": boolean; /** * removes all data items from the map - * + * */ clearItems(): void; /** * creator function, dummy at the moment - * + * */ creator(): void; /** * deletes all selected items - * + * */ deleteSelectedNodes(): Function; /** * removes a data item from the map by its key (id) - * - * @param key + * + * @param key */ delItem(key: String): void; /** * prepares the object to be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * iterates over a data map skipping members that * are present in the empty object (IE and/or 3rd-party libraries). - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInItems(f: Function, o?: Object): String; /** * iterates over selected items; * see dojo/dnd/Container.forInItems() for details - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInSelectedItems(f: Function, o?: Object): void; /** * returns a list (an array) of all valid child nodes - * + * */ getAllNodes(): any; /** * returns a data item by its key (id) - * - * @param key + * + * @param key */ getItem(key: String): any; /** * returns a list (an array) of selected nodes - * + * */ getSelectedNodes(): any; /** * inserts new data items (see dojo/dnd/Container.insertNodes() method for details) - * - * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise - * @param data a list of data items, which should be processed by the creator function - * @param before insert before the anchor, if true, and after the anchor otherwise - * @param anchor the anchor node to be used as a point of insertion + * + * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise + * @param data a list of data items, which should be processed by the creator function + * @param before insert before the anchor, if true, and after the anchor otherwise + * @param anchor the anchor node to be used as a point of insertion */ insertNodes(addSelected?: boolean, data?: any[], before?: boolean, anchor?: HTMLElement): Function; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * selects all items - * + * */ selectAll(): any; /** * unselects all items - * + * */ selectNone(): any; /** * associates a data item with its key (id) - * - * @param key - * @param data + * + * @param key + * @param data */ setItem(key: String, data: any): void; /** * collects valid child items and populate the map - * + * */ startup(): void; /** * sync up the node list with the data map - * + * */ sync(): Function; /** * event processor for onmousedown - * - * @param e mouse event + * + * @param e mouse event */ onMouseDown(e: Event): void; /** * event processor for onmousemove - * - * @param e mouse event + * + * @param e mouse event */ onMouseMove(e: Event): void; /** * event processor for onmouseout - * - * @param e mouse event + * + * @param e mouse event */ onMouseOut(e: Event): void; /** * event processor for onmouseover or touch, to mark that element as the current element - * - * @param e mouse event + * + * @param e mouse event */ onMouseOver(e: Event): void; /** * event processor for onmouseup - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * this function is called once, when mouse is out of our container - * + * */ onOutEvent(): void; /** * this function is called once, when mouse is over our container - * + * */ onOverEvent(): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } @@ -14603,120 +14603,120 @@ declare module dojo { * This class puts an upper restriction on FPS, which may reduce * the CPU load. The additional parameter "timeout" regulates * the delay before actually moving the moveable object. - * - * @param node a node (or node's id) to be moved - * @param params object with additional parameters. + * + * @param node a node (or node's id) to be moved + * @param params object with additional parameters. */ class TimedMoveable extends dojo.dnd.Moveable { constructor(node: HTMLElement, params: Object); /** - * + * */ "delay": number; /** - * + * */ "handle": string; /** - * + * */ "skip": boolean; /** - * + * */ "timeout": number; /** * stops watching for possible move, deletes all references, so the object can be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * called when the drag is detected; * responsible for creation of the mover - * - * @param e + * + * @param e */ onDragDetected(e: Event): void; /** * called during the very first move notification; * can be used to initialize coordinates, can be overwritten. - * - * @param mover - * @param e + * + * @param mover + * @param e */ onFirstMove(mover: dojo.dnd.Mover, e: Event): void; /** * event processor for onmousedown/ontouchstart, creates a Mover for the node - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseDown(e: Event): void; /** * event processor for onmousemove/ontouchmove, used only for delayed drags - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseMove(e: Event): void; /** * event processor for onmouseup, used only for delayed drags - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMove(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called after every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoved(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called before every move operation - * - * @param mover + * + * @param mover */ onMoveStart(mover: dojo.dnd.Mover): void; /** - * - * @param mover + * + * @param mover */ onMoveStop(mover: dojo.dnd.Mover): void; /** * called before every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoving(mover: dojo.dnd.Mover, leftTop: Object): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } @@ -14724,323 +14724,323 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Target.html * * a Target object, which can be used as a DnD target - * - * @param node - * @param params + * + * @param node + * @param params */ class Target extends dojo.dnd.Source { constructor(node: any, params: any); /** - * + * */ "accept": any[]; /** * Indicates whether to allow dnd item nodes to be nested within other elements. * By default this is false, indicating that only direct children of the container can * be draggable dnd item nodes - * + * */ "allowNested": boolean; /** - * + * */ "autoSync": boolean; /** - * + * */ "copyOnly": boolean; /** * The DOM node the mouse is currently hovered over - * + * */ "current": HTMLElement; /** - * + * */ "delay": number; /** - * + * */ "generateText": boolean; /** - * + * */ "horizontal": boolean; /** - * + * */ "isSource": boolean; /** * Map from an item's id (which is also the DOMNode's id) to * the dojo/dnd/Container.Item itself. - * + * */ "map": Object; /** * The set of id's that are currently selected, such that this.selection[id] == 1 * if the node w/that id is selected. Can iterate over selected node's id's like: - * + * * for(var id in this.selection) - * + * */ "selection": Object; /** - * + * */ "selfAccept": boolean; /** - * + * */ "selfCopy": boolean; /** - * + * */ "singular": boolean; /** - * + * */ "skipForm": boolean; /** - * + * */ "withHandles": boolean; /** * checks if the target can accept nodes from this source - * - * @param source the source which provides items - * @param nodes the list of transferred items + * + * @param source the source which provides items + * @param nodes the list of transferred items */ checkAcceptance(source: Object, nodes: any[]): boolean; /** * removes all data items from the map - * + * */ clearItems(): void; /** * Returns true if we need to copy items, false to move. * It is separated to be overwritten dynamically, if needed. - * - * @param keyPressed the "copy" key was pressed - * @param self Optionaloptional flag that means that we are about to drop on itself + * + * @param keyPressed the "copy" key was pressed + * @param self Optionaloptional flag that means that we are about to drop on itself */ copyState(keyPressed: boolean, self?: boolean): any; /** * creator function, dummy at the moment - * + * */ creator(): void; /** * deletes all selected items - * + * */ deleteSelectedNodes(): Function; /** * removes a data item from the map by its key (id) - * - * @param key + * + * @param key */ delItem(key: String): void; /** * prepares the object to be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * iterates over a data map skipping members that * are present in the empty object (IE and/or 3rd-party libraries). - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInItems(f: Function, o?: Object): String; /** * iterates over selected items; * see dojo/dnd/Container.forInItems() for details - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInSelectedItems(f: Function, o?: Object): void; /** * returns a list (an array) of all valid child nodes - * + * */ getAllNodes(): any; /** * returns a data item by its key (id) - * - * @param key + * + * @param key */ getItem(key: String): any; /** * returns a list (an array) of selected nodes - * + * */ getSelectedNodes(): any; /** * inserts new data items (see dojo/dnd/Container.insertNodes() method for details) - * - * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise - * @param data a list of data items, which should be processed by the creator function - * @param before insert before the anchor, if true, and after the anchor otherwise - * @param anchor the anchor node to be used as a point of insertion + * + * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise + * @param data a list of data items, which should be processed by the creator function + * @param before insert before the anchor, if true, and after the anchor otherwise + * @param anchor the anchor node to be used as a point of insertion */ insertNodes(addSelected: boolean, data: any[], before?: boolean, anchor?: HTMLElement): Function; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * selects all items - * + * */ selectAll(): any; /** * unselects all items - * + * */ selectNone(): any; /** * associates a data item with its key (id) - * - * @param key - * @param data + * + * @param key + * @param data */ setItem(key: String, data: any): void; /** * collects valid child items and populate the map - * + * */ startup(): void; /** * sync up the node list with the data map - * + * */ sync(): Function; /** * topic event processor for /dnd/cancel, called to cancel the DnD operation - * + * */ onDndCancel(): void; /** * topic event processor for /dnd/drop, called to finish the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise - * @param target the target which accepts items + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise + * @param target the target which accepts items */ onDndDrop(source: Object, nodes: any[], copy: boolean, target: Object): void; /** * topic event processor for /dnd/source/over, called when detected a current source - * - * @param source the source which has the mouse over it + * + * @param source the source which has the mouse over it */ onDndSourceOver(source: Object): void; /** * topic event processor for /dnd/start, called to initiate the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDndStart(source: Object, nodes: any[], copy: boolean): void; /** * called during the active DnD operation, when items * are dragged away from this target, and it is not disabled - * + * */ onDraggingOut(): void; /** * called during the active DnD operation, when items * are dragged over this target, and it is not disabled - * + * */ onDraggingOver(): void; /** * called only on the current target, when drop is performed - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDrop(source: Object, nodes: any[], copy: boolean): void; /** * called only on the current target, when drop is performed * from an external source - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDropExternal(source: Object, nodes: any[], copy: boolean): void; /** * called only on the current target, when drop is performed * from the same target/source - * - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDropInternal(nodes: any[], copy: boolean): void; /** * event processor for onmousedown - * - * @param e mouse event + * + * @param e mouse event */ onMouseDown(e: Event): void; /** * event processor for onmousemove - * - * @param e mouse event + * + * @param e mouse event */ onMouseMove(e: Event): void; /** * event processor for onmouseout - * - * @param e mouse event + * + * @param e mouse event */ onMouseOut(e: Event): void; /** * event processor for onmouseover or touch, to mark that element as the current element - * - * @param e mouse event + * + * @param e mouse event */ onMouseOver(e: Event): void; /** * event processor for onmouseup - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * this function is called once, when mouse is out of our container - * + * */ onOutEvent(): void; /** * this function is called once, when mouse is over our container - * + * */ onOverEvent(): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } @@ -15048,323 +15048,323 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/Source.html * * a Source object, which can be used as a DnD source, or a DnD target - * - * @param node node or node's id to build the source on - * @param params Optionalany property of this class may be configured via the paramsobject which is mixed-in to the dojo/dnd/Source instance + * + * @param node node or node's id to build the source on + * @param params Optionalany property of this class may be configured via the paramsobject which is mixed-in to the dojo/dnd/Source instance */ class Source extends dojo.dnd.Selector { constructor(node: HTMLElement, params?: Object); /** - * + * */ "accept": any[]; /** * Indicates whether to allow dnd item nodes to be nested within other elements. * By default this is false, indicating that only direct children of the container can * be draggable dnd item nodes - * + * */ "allowNested": boolean; /** - * + * */ "autoSync": boolean; /** - * + * */ "copyOnly": boolean; /** * The DOM node the mouse is currently hovered over - * + * */ "current": HTMLElement; /** - * + * */ "delay": number; /** - * + * */ "generateText": boolean; /** - * + * */ "horizontal": boolean; /** - * + * */ "isSource": boolean; /** * Map from an item's id (which is also the DOMNode's id) to * the dojo/dnd/Container.Item itself. - * + * */ "map": Object; /** * The set of id's that are currently selected, such that this.selection[id] == 1 * if the node w/that id is selected. Can iterate over selected node's id's like: - * + * * for(var id in this.selection) - * + * */ "selection": Object; /** - * + * */ "selfAccept": boolean; /** - * + * */ "selfCopy": boolean; /** - * + * */ "singular": boolean; /** - * + * */ "skipForm": boolean; /** - * + * */ "withHandles": boolean; /** * checks if the target can accept nodes from this source - * - * @param source the source which provides items - * @param nodes the list of transferred items + * + * @param source the source which provides items + * @param nodes the list of transferred items */ checkAcceptance(source: Object, nodes: any[]): boolean; /** * removes all data items from the map - * + * */ clearItems(): void; /** * Returns true if we need to copy items, false to move. * It is separated to be overwritten dynamically, if needed. - * - * @param keyPressed the "copy" key was pressed - * @param self Optionaloptional flag that means that we are about to drop on itself + * + * @param keyPressed the "copy" key was pressed + * @param self Optionaloptional flag that means that we are about to drop on itself */ copyState(keyPressed: boolean, self?: boolean): any; /** * creator function, dummy at the moment - * + * */ creator(): void; /** * deletes all selected items - * + * */ deleteSelectedNodes(): Function; /** * removes a data item from the map by its key (id) - * - * @param key + * + * @param key */ delItem(key: String): void; /** * prepares the object to be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** * iterates over a data map skipping members that * are present in the empty object (IE and/or 3rd-party libraries). - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInItems(f: Function, o?: Object): String; /** * iterates over selected items; * see dojo/dnd/Container.forInItems() for details - * - * @param f - * @param o Optional + * + * @param f + * @param o Optional */ forInSelectedItems(f: Function, o?: Object): void; /** * returns a list (an array) of all valid child nodes - * + * */ getAllNodes(): any; /** * returns a data item by its key (id) - * - * @param key + * + * @param key */ getItem(key: String): any; /** * returns a list (an array) of selected nodes - * + * */ getSelectedNodes(): any; /** * inserts new data items (see dojo/dnd/Container.insertNodes() method for details) - * - * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise - * @param data a list of data items, which should be processed by the creator function - * @param before insert before the anchor, if true, and after the anchor otherwise - * @param anchor the anchor node to be used as a point of insertion + * + * @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise + * @param data a list of data items, which should be processed by the creator function + * @param before insert before the anchor, if true, and after the anchor otherwise + * @param anchor the anchor node to be used as a point of insertion */ insertNodes(addSelected: boolean, data: any[], before?: boolean, anchor?: HTMLElement): Function; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * selects all items - * + * */ selectAll(): any; /** * unselects all items - * + * */ selectNone(): any; /** * associates a data item with its key (id) - * - * @param key - * @param data + * + * @param key + * @param data */ setItem(key: String, data: any): void; /** * collects valid child items and populate the map - * + * */ startup(): void; /** * sync up the node list with the data map - * + * */ sync(): Function; /** * topic event processor for /dnd/cancel, called to cancel the DnD operation - * + * */ onDndCancel(): void; /** * topic event processor for /dnd/drop, called to finish the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise - * @param target the target which accepts items + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise + * @param target the target which accepts items */ onDndDrop(source: Object, nodes: any[], copy: boolean, target: Object): void; /** * topic event processor for /dnd/source/over, called when detected a current source - * - * @param source the source which has the mouse over it + * + * @param source the source which has the mouse over it */ onDndSourceOver(source: Object): void; /** * topic event processor for /dnd/start, called to initiate the DnD operation - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDndStart(source: Object, nodes: any[], copy: boolean): void; /** * called during the active DnD operation, when items * are dragged away from this target, and it is not disabled - * + * */ onDraggingOut(): void; /** * called during the active DnD operation, when items * are dragged over this target, and it is not disabled - * + * */ onDraggingOver(): void; /** * called only on the current target, when drop is performed - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDrop(source: Object, nodes: any[], copy: boolean): void; /** * called only on the current target, when drop is performed * from an external source - * - * @param source the source which provides items - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param source the source which provides items + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDropExternal(source: Object, nodes: any[], copy: boolean): void; /** * called only on the current target, when drop is performed * from the same target/source - * - * @param nodes the list of transferred items - * @param copy copy items, if true, move items otherwise + * + * @param nodes the list of transferred items + * @param copy copy items, if true, move items otherwise */ onDropInternal(nodes: any[], copy: boolean): void; /** * event processor for onmousedown - * - * @param e mouse event + * + * @param e mouse event */ onMouseDown(e: Event): void; /** * event processor for onmousemove - * - * @param e mouse event + * + * @param e mouse event */ onMouseMove(e: Event): void; /** * event processor for onmouseout - * - * @param e mouse event + * + * @param e mouse event */ onMouseOut(e: Event): void; /** * event processor for onmouseover or touch, to mark that element as the current element - * - * @param e mouse event + * + * @param e mouse event */ onMouseOver(e: Event): void; /** * event processor for onmouseup - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * this function is called once, when mouse is out of our container - * + * */ onOutEvent(): void; /** * this function is called once, when mouse is over our container - * + * */ onOverEvent(): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } @@ -15373,84 +15373,84 @@ declare module dojo { * * Used by dojo/dnd/Manager to scroll document or internal node when the user * drags near the edge of the viewport or a scrollable node - * + * */ interface autoscroll { /** - * + * */ H_AUTOSCROLL_VALUE: number; /** - * + * */ H_TRIGGER_AUTOSCROLL: number; /** - * + * */ V_AUTOSCROLL_VALUE: number; /** - * + * */ V_TRIGGER_AUTOSCROLL: number; /** * a handler for mousemove and touchmove events, which scrolls the window, if * necessary - * - * @param e mousemove/touchmove event + * + * @param e mousemove/touchmove event */ autoScroll(e: Event): void; /** * a handler for mousemove and touchmove events, which scrolls the first available * Dom element, it falls back to exports.autoScroll() - * - * @param e mousemove/touchmove event + * + * @param e mousemove/touchmove event */ autoScrollNodes(e: Event): void; /** * Called at the start of a drag. - * - * @param d The document of the node being dragged. + * + * @param d The document of the node being dragged. */ autoScrollStart(d: HTMLDocument): void; /** * Returns the dimensions and scroll position of the viewable area of a browser window - * - * @param doc Optional + * + * @param doc Optional */ getViewport(doc?: HTMLDocument): Object; } - module autoscroll { + namespace autoscroll { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/autoscroll._validOverflow.html * - * + * */ interface _validOverflow { /** - * + * */ auto: number; /** - * + * */ scroll: number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/autoscroll._validNodes.html * - * + * */ interface _validNodes { /** - * + * */ div: number; /** - * + * */ p: number; /** - * + * */ td: number; } @@ -15460,59 +15460,59 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/common.html * * TODOC - * + * */ interface common { /** - * - * @param evt + * + * @param evt */ getCopyKeyState(evt: any): any; /** * returns a unique string for use with any DOM element - * + * */ getUniqueId(): String; /** * returns true if user clicked on a form element - * - * @param e + * + * @param e */ isFormElement(e: Event): void; /** * Returns the current DnD manager. Creates one if it is not created yet. - * + * */ manager(): any; } - module common { + namespace common { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/common._empty.html * - * + * */ interface _empty { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/common._defaultCreatorNodes.html * - * + * */ interface _defaultCreatorNodes { /** - * + * */ div: string; /** - * + * */ ol: string; /** - * + * */ p: string; /** - * + * */ ul: string; } @@ -15522,408 +15522,408 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/move.html * * TODOC - * + * */ interface move { /** - * + * */ boxConstrainedMoveable(): void; /** - * + * */ constrainedMoveable(): void; /** - * + * */ parentConstrainedMoveable(): void; } - module move { + namespace move { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/move.parentConstrainedMoveable.html * - * - * @param node a node (or node's id) to be moved - * @param params Optionalan optional object with parameters + * + * @param node a node (or node's id) to be moved + * @param params Optionalan optional object with parameters */ class parentConstrainedMoveable extends dojo.dnd.Moveable { constructor(node: HTMLElement, params?: Object); /** * object attributes (for markup) - * + * */ "area": string; /** - * + * */ "delay": number; /** - * + * */ "handle": string; /** - * + * */ "skip": boolean; /** - * + * */ "within": boolean; /** - * + * */ constraints(): void; /** * stops watching for possible move, deletes all references, so the object can be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * called when the drag is detected; * responsible for creation of the mover - * - * @param e + * + * @param e */ onDragDetected(e: Event): void; /** * called during the very first move notification; * can be used to initialize coordinates, can be overwritten. - * - * @param mover + * + * @param mover */ onFirstMove(mover: dojo.dnd.Mover): void; /** * event processor for onmousedown/ontouchstart, creates a Mover for the node - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseDown(e: Event): void; /** * event processor for onmousemove/ontouchmove, used only for delayed drags - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseMove(e: Event): void; /** * event processor for onmouseup, used only for delayed drags - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * called during every move notification; * should actually move the node; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMove(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called after every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoved(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called before every move operation - * - * @param mover + * + * @param mover */ onMoveStart(mover: dojo.dnd.Mover): void; /** * called after every move operation - * - * @param mover + * + * @param mover */ onMoveStop(mover: dojo.dnd.Mover): void; /** * called before every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoving(mover: dojo.dnd.Mover, leftTop: Object): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/move.boxConstrainedMoveable.html * - * - * @param node a node (or node's id) to be moved - * @param params Optionalan optional object with parameters + * + * @param node a node (or node's id) to be moved + * @param params Optionalan optional object with parameters */ class boxConstrainedMoveable extends dojo.dnd.Moveable { constructor(node: HTMLElement, params?: Object); /** * object attributes (for markup) - * + * */ "box": Object; /** - * + * */ "delay": number; /** - * + * */ "handle": string; /** - * + * */ "skip": boolean; /** - * + * */ "within": boolean; /** - * + * */ constraints(): void; /** * stops watching for possible move, deletes all references, so the object can be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * called when the drag is detected; * responsible for creation of the mover - * - * @param e + * + * @param e */ onDragDetected(e: Event): void; /** * called during the very first move notification; * can be used to initialize coordinates, can be overwritten. - * - * @param mover + * + * @param mover */ onFirstMove(mover: dojo.dnd.Mover): void; /** * event processor for onmousedown/ontouchstart, creates a Mover for the node - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseDown(e: Event): void; /** * event processor for onmousemove/ontouchmove, used only for delayed drags - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseMove(e: Event): void; /** * event processor for onmouseup, used only for delayed drags - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * called during every move notification; * should actually move the node; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMove(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called after every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoved(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called before every move operation - * - * @param mover + * + * @param mover */ onMoveStart(mover: dojo.dnd.Mover): void; /** * called after every move operation - * - * @param mover + * + * @param mover */ onMoveStop(mover: dojo.dnd.Mover): void; /** * called before every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoving(mover: dojo.dnd.Mover, leftTop: Object): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dnd/move.constrainedMoveable.html * - * - * @param node a node (or node's id) to be moved - * @param params Optionalan optional object with additional parameters;the rest is passed to the base class + * + * @param node a node (or node's id) to be moved + * @param params Optionalan optional object with additional parameters;the rest is passed to the base class */ class constrainedMoveable extends dojo.dnd.Moveable { constructor(node: HTMLElement, params?: Object); /** - * + * */ "delay": number; /** - * + * */ "handle": string; /** - * + * */ "skip": boolean; /** - * + * */ "within": boolean; /** - * + * */ constraints(): void; /** * stops watching for possible move, deletes all references, so the object can be garbage-collected - * + * */ destroy(): void; /** - * - * @param type - * @param event + * + * @param type + * @param event */ emit(type: any, event: any): any; /** - * - * @param params - * @param node - * @param Ctor + * + * @param params + * @param node + * @param Ctor */ markupFactory(params: any, node: any, Ctor: any): any; /** - * - * @param type - * @param listener + * + * @param type + * @param listener */ on(type: any, listener: any): any; /** * called when the drag is detected; * responsible for creation of the mover - * - * @param e + * + * @param e */ onDragDetected(e: Event): void; /** * called during the very first move notification; * can be used to initialize coordinates, can be overwritten. - * - * @param mover + * + * @param mover */ onFirstMove(mover: dojo.dnd.Mover): void; /** * event processor for onmousedown/ontouchstart, creates a Mover for the node - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseDown(e: Event): void; /** * event processor for onmousemove/ontouchmove, used only for delayed drags - * - * @param e mouse/touch event + * + * @param e mouse/touch event */ onMouseMove(e: Event): void; /** * event processor for onmouseup, used only for delayed drags - * - * @param e mouse event + * + * @param e mouse event */ onMouseUp(e: Event): void; /** * called during every move notification; * should actually move the node; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMove(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called after every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoved(mover: dojo.dnd.Mover, leftTop: Object): void; /** * called before every move operation - * - * @param mover + * + * @param mover */ onMoveStart(mover: dojo.dnd.Mover): void; /** * called after every move operation - * - * @param mover + * + * @param mover */ onMoveStop(mover: dojo.dnd.Mover): void; /** * called before every incremental move; can be overwritten. - * - * @param mover - * @param leftTop + * + * @param mover + * @param leftTop */ onMoving(mover: dojo.dnd.Mover, leftTop: Object): void; /** * event processor for onselectevent and ondragevent - * - * @param e mouse event + * + * @param e mouse event */ onSelectStart(e: Event): void; } @@ -15931,73 +15931,73 @@ declare module dojo { } - module errors { + namespace errors { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/errors/create.html * - * - * @param name - * @param ctor - * @param base - * @param props + * + * @param name + * @param ctor + * @param base + * @param props */ interface create{(name: any, ctor: any, base: any, props: any): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/errors/CancelError.html * * Default error if a promise is canceled without a reason. - * + * */ interface CancelError{(): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/errors/RequestError.html * * TODOC - * + * */ interface RequestError{(): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/errors/RequestTimeoutError.html * * TODOC - * + * */ interface RequestTimeoutError{(): void} } - module io { + namespace io { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/io/iframe.html * * Deprecated, use dojo/request/iframe instead. * Sends an Ajax I/O call using and Iframe (for instance, to upload files) - * + * */ interface iframe { /** * Creates a hidden iframe in the page. Used mostly for IO * transports. You do not need to call this to start a * dojo/io/iframe request. Just call send(). - * - * @param fname The name of the iframe. Used for the name attribute on theiframe. - * @param onloadstr A string of JavaScript that will be executed when the contentin the iframe loads. - * @param uri The value of the src attribute on the iframe element. If avalue is not given, then dojo/resources/blank.html will beused. + * + * @param fname The name of the iframe. Used for the name attribute on theiframe. + * @param onloadstr A string of JavaScript that will be executed when the contentin the iframe loads. + * @param uri The value of the src attribute on the iframe element. If avalue is not given, then dojo/resources/blank.html will beused. */ create(fname: String, onloadstr: String, uri: String): void; /** * Returns the document object associated with the iframe DOM Node argument. - * - * @param iframeNode + * + * @param iframeNode */ doc(iframeNode: any): void; /** * Sets the URL that is loaded in an IFrame. The replace parameter * indicates whether location.replace() should be used when * changing the location of the iframe. - * - * @param iframe - * @param src - * @param replace + * + * @param iframe + * @param src + * @param replace */ setSrc(iframe: any, src: any, replace: any): void; } @@ -16005,7 +16005,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/io/script.html * * TODOC - * + * */ interface script { /** @@ -16014,30 +16014,30 @@ declare module dojo { * Attaches the script element to the DOM. Use this method if you * just want to attach a script to the DOM and do not care when or * if it loads. - * - * @param id - * @param url - * @param frameDocument + * + * @param id + * @param url + * @param frameDocument */ attach(id: any, url: any, frameDocument: any): void; /** * sends a get request using a dynamically created script tag. - * - * @param args An object with the following properties:callbackParamName (String): Deprecated as of Dojo 1.4 in favor of "jsonp", but still supported forlegacy code. See notes for jsonp property.jsonp (String): The URL parameter name that indicates the JSONP callback string.For instance, when using Yahoo JSONP calls it is normally,jsonp: "callback". For AOL JSONP calls it is normallyjsonp: "c".checkString (String): A string of JavaScript that when evaluated like so:"typeof(" + checkString + ") != 'undefined'"being true means that the script fetched has been loaded.Do not use this if doing a JSONP type of call (use callbackParamName instead).frameDoc (Document): The Document object for a child iframe. If this is passed in, the scriptwill be attached to that document. This can be helpful in some comet long-pollingscenarios with Firefox and Opera.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.handleAs (String, optional): Acceptable values depend on the type of IOtransport (see specific IO calls for more information).rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. + * + * @param args An object with the following properties:callbackParamName (String): Deprecated as of Dojo 1.4 in favor of "jsonp", but still supported forlegacy code. See notes for jsonp property.jsonp (String): The URL parameter name that indicates the JSONP callback string.For instance, when using Yahoo JSONP calls it is normally,jsonp: "callback". For AOL JSONP calls it is normallyjsonp: "c".checkString (String): A string of JavaScript that when evaluated like so:"typeof(" + checkString + ") != 'undefined'"being true means that the script fetched has been loaded.Do not use this if doing a JSONP type of call (use callbackParamName instead).frameDoc (Document): The Document object for a child iframe. If this is passed in, the scriptwill be attached to that document. This can be helpful in some comet long-pollingscenarios with Firefox and Opera.load: This function will becalled on a successful HTTP response code.error: This function willbe called when the request fails due to a network or server error, the urlis invalid, etc. It will also be called if the load or handle callback throws anexception, unless djConfig.debugAtAllCosts is true. This allows deployed applicationsto continue to run even when a logic error happens in the callback, while makingit easier to troubleshoot while in debug mode.handle: This function willbe called at the end of every request, whether or not an error occurs.url (String): URL to server endpoint.content (Object, optional): Contains properties with string values. Theseproperties will be serialized as name1=value2 andpassed in the request.timeout (Integer, optional): Milliseconds to wait for the response. If this timepasses, the then error callbacks are called.form (DOMNode, optional): DOM node for a form. Used to extract the form valuesand send to the server.preventCache (Boolean, optional): Default is false. If true, then a"dojo.preventCache" parameter is sent in the requestwith a value that changes with each request(timestamp). Useful only with GET-type requests.handleAs (String, optional): Acceptable values depend on the type of IOtransport (see specific IO calls for more information).rawBody (String, optional): Sets the raw body for an HTTP request. If this is used, then the contentproperty is ignored. This is mostly useful for HTTP methods that havea body to their requests, like PUT or POST. This property can be used insteadof postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.ioPublish (Boolean, optional): Set this explicitly to false to prevent publishing of topics related toIO operations. Otherwise, if djConfig.ioPublish is set to true, topicswill be published via dojo/topic.publish() for different phases of an IO operation.See dojo/main.__IoPublish for a list of topics that are published. */ get(args: Object): any; /** * removes the script element with the given id, from the given frameDocument. * If no frameDocument is passed, the current document is used. - * - * @param id - * @param frameDocument + * + * @param id + * @param frameDocument */ remove(id: any, frameDocument: any): void; } } - module promise { + namespace promise { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/promise/all.html * @@ -16047,8 +16047,8 @@ declare module dojo { * when all promises have been fulfilled. If one of the promises is rejected, * the returned promise is also rejected. Canceling the returned promise will * not cancel any passed promises. - * - * @param objectOrArray OptionalThe promise will be fulfilled with a list of results if invoked with anarray, or an object of results when passed an object (using the samekeys). If passed neither an object or array it is resolved with anundefined value. + * + * @param objectOrArray OptionalThe promise will be fulfilled with a list of results if invoked with anarray, or an object of results when passed an object (using the samekeys). If passed neither an object or array it is resolved with anundefined value. */ interface all{(value: Promise[]): Promise} /** @@ -16060,8 +16060,8 @@ declare module dojo { * when all promises have been fulfilled. If one of the promises is rejected, * the returned promise is also rejected. Canceling the returned promise will * not cancel any passed promises. - * - * @param objectOrArray OptionalThe promise will be fulfilled with a list of results if invoked with anarray, or an object of results when passed an object (using the samekeys). If passed neither an object or array it is resolved with anundefined value. + * + * @param objectOrArray OptionalThe promise will be fulfilled with a list of results if invoked with anarray, or an object of results when passed an object (using the samekeys). If passed neither an object or array it is resolved with anundefined value. */ interface all{(value: Object): Promise} /** @@ -16073,8 +16073,8 @@ declare module dojo { * when the first of these promises is fulfilled. Canceling the returned * promise will not cancel any passed promises. The promise will be * fulfilled with the value of the first fulfilled promise. - * - * @param objectOrArray OptionalThe promises are taken from the array or object values. If no valueis passed, the returned promise is resolved with an undefined value. + * + * @param objectOrArray OptionalThe promises are taken from the array or object values. If no valueis passed, the returned promise is resolved with an undefined value. */ interface first{(objectOrArray?: Object): void} /** @@ -16086,8 +16086,8 @@ declare module dojo { * when the first of these promises is fulfilled. Canceling the returned * promise will not cancel any passed promises. The promise will be * fulfilled with the value of the first fulfilled promise. - * - * @param objectOrArray OptionalThe promises are taken from the array or object values. If no valueis passed, the returned promise is resolved with an undefined value. + * + * @param objectOrArray OptionalThe promises are taken from the array or object values. If no valueis passed, the returned promise is resolved with an undefined value. */ interface first{(objectOrArray?: any[]): void} /** @@ -16098,13 +16098,13 @@ declare module dojo { * Done automatically by dojo/Deferred if the * deferredInstrumentation and useDeferredInstrumentation * config options are set. - * + * * Sets up dojo/promise/tracer to log to the console. - * + * * Sets up instrumentation of rejected deferreds so unhandled * errors are logged to the console. - * - * @param Deferred + * + * @param Deferred */ interface instrumentation{(Deferred: any): void} @@ -16118,14 +16118,14 @@ declare module dojo { * The public interface to a deferred. * The public interface to a deferred. All promises in Dojo are * instances of this class. - * + * */ interface Promise { /** * Add a callback to be invoked when the promise is resolved * or rejected. - * - * @param callbackOrErrback OptionalA function that is used both as a callback and errback. + * + * @param callbackOrErrback OptionalA function that is used both as a callback and errback. */ always(callbackOrErrback: Callback): Promise; /** @@ -16134,49 +16134,49 @@ declare module dojo { * The deferred's (optional) canceler is invoked and the * deferred will be left in a rejected state. Can affect other * promises that originate with the same deferred. - * - * @param reason A message that may be sent to the deferred's canceler,explaining why it's being canceled. - * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be canceled. + * + * @param reason A message that may be sent to the deferred's canceler,explaining why it's being canceled. + * @param strict OptionalIf strict, will throw an error if the deferred has alreadybeen fulfilled and consequently cannot be canceled. */ cancel(reason: any, strict?: boolean): any; /** * Checks whether the promise has been canceled. - * + * */ isCanceled(): boolean; /** * Checks whether the promise has been resolved or rejected. - * + * */ isFulfilled(): boolean; /** * Checks whether the promise has been rejected. - * + * */ isRejected(): boolean; /** * Checks whether the promise has been resolved. - * + * */ isResolved(): boolean; /** * Add new errbacks to the promise. - * - * @param errback OptionalCallback to be invoked when the promise is rejected. + * + * @param errback OptionalCallback to be invoked when the promise is rejected. */ otherwise(errback?: Callback): Promise; /** * Add new callbacks to the promise. * Add new callbacks to the deferred. Callbacks can be added * before or after the deferred is fulfilled. - * - * @param callback OptionalCallback to be invoked when the promise is resolved.Receives the resolution value. - * @param errback OptionalCallback to be invoked when the promise is rejected.Receives the rejection error. - * @param progback OptionalCallback to be invoked when the promise emits a progressupdate. Receives the progress update. + * + * @param callback OptionalCallback to be invoked when the promise is resolved.Receives the resolution value. + * @param errback OptionalCallback to be invoked when the promise is rejected.Receives the rejection error. + * @param progback OptionalCallback to be invoked when the promise emits a progressupdate. Receives the progress update. */ then(callback?: Callback, errback?: Callback, progback?: Callback): Promise; /** - * + * */ toString(): String; /** @@ -16186,7 +16186,7 @@ declare module dojo { * promise itself. Any arguments passed to trace() are * emitted in trace events. See dojo/promise/tracer on how * to handle traces. - * + * */ trace(): Promise; /** @@ -16196,7 +16196,7 @@ declare module dojo { * promise itself. Any arguments passed to trace() are * emitted in trace events. See dojo/promise/tracer on how * to handle traces. - * + * */ traceRejected(): Promise; } @@ -16207,91 +16207,91 @@ declare module dojo { * Trace promise fulfillment. Calling .trace() or .traceError() on a * promise enables tracing. Will emit resolved, rejected or progress * events. - * + * */ interface tracer { /** * Subscribe to traces. * See dojo/Evented#on(). - * - * @param type resolved, rejected, or progress - * @param listener The listener is passed the traced value and any argumentsthat were used with the .trace() call. + * + * @param type resolved, rejected, or progress + * @param listener The listener is passed the traced value and any argumentsthat were used with the .trace() call. */ on(type: String, listener: Function): void; } } - module rpc { + namespace rpc { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/rpc/JsonpService.html * * Generic JSONP service. Minimally extends RpcService to allow * easy definition of nearly any JSONP style service. Example * SMD files exist in dojox.data - * - * @param args - * @param requiredArgs + * + * @param args + * @param requiredArgs */ class JsonpService extends dojo.rpc.RpcService { constructor(args: any, requiredArgs: any); /** - * + * */ "serviceUrl": string; /** - * + * */ "strictArgChecks": boolean; /** * JSONP bind method. Takes remote method, parameters, * deferred, and a url, calls createRequest to make a JSON-RPC * envelope and passes that off with bind. - * - * @param method The name of the method we are calling - * @param parameters The parameters we are passing off to the method - * @param deferredRequestHandler The Deferred object for this particular request - * @param url + * + * @param method The name of the method we are calling + * @param parameters The parameters we are passing off to the method + * @param deferredRequestHandler The Deferred object for this particular request + * @param url */ bind(method: String, parameters: dojo._base.array, deferredRequestHandler: dojo.Deferred, url: any): void; /** * create a JSONP req - * - * @param parameters + * + * @param parameters */ createRequest(parameters: any): Object; /** * create callback that calls the Deferred errback method - * - * @param deferredRequestHandler The deferred object handling a request. + * + * @param deferredRequestHandler The deferred object handling a request. */ errorCallback(deferredRequestHandler: dojo._base.Deferred): Function; /** * generate the local bind methods for the remote object - * - * @param method The name of the method we are generating - * @param parameters the array of parameters for this call. - * @param url the service url for this call + * + * @param method The name of the method we are generating + * @param parameters the array of parameters for this call. + * @param url the service url for this call */ generateMethod(method: String, parameters: dojo._base.array, url: String): any; /** * parse the results coming back from an rpc request. this * base implementation, just returns the full object * subclasses should parse and only return the actual results - * - * @param obj Object that is the return results from an rpc request + * + * @param obj Object that is the return results from an rpc request */ parseResults(obj: Object): Object; /** * callback method for receipt of a smd object. Parse the smd * and generate functions based on the description - * - * @param object smd object defining this service. + * + * @param object smd object defining this service. */ processSmd(object: any): void; /** * create callback that calls the Deferred's callback method - * - * @param deferredRequestHandler The deferred object handling a request. + * + * @param deferredRequestHandler The deferred object handling a request. */ resultCallback(deferredRequestHandler: dojo._base.Deferred): any; } @@ -16299,89 +16299,89 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/rpc/JsonService.html * * TODOC - * - * @param args Takes a number of properties as kwArgs for defining the service. It alsoaccepts a string. When passed a string, it is treated as a url fromwhich it should synchronously retrieve an smd file. Otherwise it is a kwArgsobject. It accepts serviceUrl, to manually define a url for the rpc serviceallowing the rpc system to be used without an smd definition. strictArgChecksforces the system to verify that the # of arguments provided in a callmatches those defined in the smd. smdString allows a developer to passa jsonString directly, which will be converted into an object or alternativelysmdObject is accepts an smdObject directly. + * + * @param args Takes a number of properties as kwArgs for defining the service. It alsoaccepts a string. When passed a string, it is treated as a url fromwhich it should synchronously retrieve an smd file. Otherwise it is a kwArgsobject. It accepts serviceUrl, to manually define a url for the rpc serviceallowing the rpc system to be used without an smd definition. strictArgChecksforces the system to verify that the # of arguments provided in a callmatches those defined in the smd. smdString allows a developer to passa jsonString directly, which will be converted into an object or alternativelysmdObject is accepts an smdObject directly. */ class JsonService extends dojo.rpc.RpcService { constructor(args: Object); /** - * + * */ "bustCache": boolean; /** - * + * */ "contentType": string; /** - * + * */ "lastSubmissionId": number; /** - * + * */ "serviceUrl": string; /** - * + * */ "strictArgChecks": boolean; /** * JSON-RPC bind method. Takes remote method, parameters, * deferred, and a url, calls createRequest to make a JSON-RPC * envelope and passes that off with bind. - * - * @param method The name of the method we are calling - * @param parameters The parameters we are passing off to the method - * @param deferredRequestHandler The Deferred object for this particular request - * @param url + * + * @param method The name of the method we are calling + * @param parameters The parameters we are passing off to the method + * @param deferredRequestHandler The Deferred object for this particular request + * @param url */ bind(method: String, parameters: any[], deferredRequestHandler: dojo.Deferred, url: any): void; /** * call an arbitrary remote method without requiring it to be * predefined with SMD - * - * @param method the name of the remote method you want to call. - * @param params array of parameters to pass to method + * + * @param method the name of the remote method you want to call. + * @param params array of parameters to pass to method */ callRemote(method: String, params: any[]): any; /** * create a JSON-RPC envelope for the request - * - * @param method The name of the method we are creating the request for - * @param params The array of parameters for this request; + * + * @param method The name of the method we are creating the request for + * @param params The array of parameters for this request; */ createRequest(method: String, params: dojo._base.array): any; /** * create callback that calls the Deferred errback method - * - * @param deferredRequestHandler The deferred object handling a request. + * + * @param deferredRequestHandler The deferred object handling a request. */ errorCallback(deferredRequestHandler: dojo._base.Deferred): Function; /** * generate the local bind methods for the remote object - * - * @param method The name of the method we are generating - * @param parameters the array of parameters for this call. - * @param url the service url for this call + * + * @param method The name of the method we are generating + * @param parameters the array of parameters for this call. + * @param url the service url for this call */ generateMethod(method: String, parameters: dojo._base.array, url: String): any; /** * parse the result envelope and pass the results back to * the callback function - * - * @param obj Object containing envelope of data we receive from the server + * + * @param obj Object containing envelope of data we receive from the server */ parseResults(obj: Object): any; /** * callback method for receipt of a smd object. Parse the smd * and generate functions based on the description - * - * @param object smd object defining this service. + * + * @param object smd object defining this service. */ processSmd(object: any): void; /** * create callback that calls the Deferred's callback method - * - * @param deferredRequestHandler The deferred object handling a request. + * + * @param deferredRequestHandler The deferred object handling a request. */ resultCallback(deferredRequestHandler: dojo._base.Deferred): any; } @@ -16389,76 +16389,76 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/rpc/RpcService.html * * TODOC - * - * @param args Takes a number of properties as kwArgs for defining the service. It alsoaccepts a string. When passed a string, it is treated as a url fromwhich it should synchronously retrieve an smd file. Otherwise it is a kwArgsobject. It accepts serviceUrl, to manually define a url for the rpc serviceallowing the rpc system to be used without an smd definition. strictArgChecksforces the system to verify that the # of arguments provided in a callmatches those defined in the smd. smdString allows a developer to passa jsonString directly, which will be converted into an object or alternativelysmdObject is accepts an smdObject directly. + * + * @param args Takes a number of properties as kwArgs for defining the service. It alsoaccepts a string. When passed a string, it is treated as a url fromwhich it should synchronously retrieve an smd file. Otherwise it is a kwArgsobject. It accepts serviceUrl, to manually define a url for the rpc serviceallowing the rpc system to be used without an smd definition. strictArgChecksforces the system to verify that the # of arguments provided in a callmatches those defined in the smd. smdString allows a developer to passa jsonString directly, which will be converted into an object or alternativelysmdObject is accepts an smdObject directly. */ class RpcService { constructor(args: Object); /** - * + * */ "serviceUrl": string; /** - * + * */ "strictArgChecks": boolean; /** * create callback that calls the Deferred errback method - * - * @param deferredRequestHandler The deferred object handling a request. + * + * @param deferredRequestHandler The deferred object handling a request. */ errorCallback(deferredRequestHandler: dojo._base.Deferred): Function; /** * generate the local bind methods for the remote object - * - * @param method The name of the method we are generating - * @param parameters the array of parameters for this call. - * @param url the service url for this call + * + * @param method The name of the method we are generating + * @param parameters the array of parameters for this call. + * @param url the service url for this call */ generateMethod(method: String, parameters: dojo._base.array, url: String): any; /** * parse the results coming back from an rpc request. this * base implementation, just returns the full object * subclasses should parse and only return the actual results - * - * @param obj Object that is the return results from an rpc request + * + * @param obj Object that is the return results from an rpc request */ parseResults(obj: Object): Object; /** * callback method for receipt of a smd object. Parse the smd * and generate functions based on the description - * - * @param object smd object defining this service. + * + * @param object smd object defining this service. */ processSmd(object: any): void; /** * create callback that calls the Deferred's callback method - * - * @param deferredRequestHandler The deferred object handling a request. + * + * @param deferredRequestHandler The deferred object handling a request. */ resultCallback(deferredRequestHandler: dojo._base.Deferred): any; } } - module selector { + namespace selector { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/selector/lite.html * * A small lightweight query selector engine that implements CSS2.1 selectors * minus pseudo-classes and the sibling combinator, plus CSS3 attribute selectors - * - * @param selector - * @param root + * + * @param selector + * @param root */ interface lite{(selector: any, root: any): void} interface lite { /** - * + * */ match: Object; } - module lite { + namespace lite { } /** @@ -16472,10 +16472,10 @@ declare module dojo { * "$" function, dojo.query provides robust, high-performance * CSS-based node selector support with the option of scoping searches * to a particular sub-tree of a document. - * + * * Supported Selectors: * acme supports a rich set of CSS3 selectors, including: - * + * * class selectors (e.g., .foo) * node type selectors like span * descendant selectors @@ -16491,7 +16491,7 @@ declare module dojo { * [foo^='bar'] attribute start match * [foo$='bar'] attribute end match * [foo*='bar'] attribute substring match - * + * * :first-child, :last-child, and :only-child positional selectors * :empty content emtpy selector * :checked pseudo selector @@ -16504,21 +16504,21 @@ declare module dojo { * palette of selectors and when combined with functions for * manipulation presented by dojo/NodeList, many types of DOM * manipulation operations become very straightforward. - * + * * Unsupported Selectors: * While dojo.query handles many CSS3 selectors, some fall outside of * what's reasonable for a programmatic node querying engine to * handle. Currently unsupported selectors include: - * + * * namespace-differentiated selectors of any form * all :: pseduo-element selectors * certain pseudo-selectors which don't get a lot of day-to-day use: * :root, :lang(), :target, :focus - * + * * all visual and state selectors: * :root, :active, :hover, :visited, :link,`:enabled`, `:disabled` * :*-of-type pseudo selectors - * + * * dojo.query and XML Documents: * dojo.query (as of dojo 1.2) supports searching XML documents * in a case-sensitive manner. If an HTML document is served with @@ -16529,7 +16529,7 @@ declare module dojo { * use case-sensitive queries on strict sub-documents (iframes, * etc.) or XML documents while still assuming case-insensitivity * for a host/root document. - * + * * Non-selector Queries: * If something other than a String is passed for the query, * dojo.query will return a new dojo/NodeList instance @@ -16538,9 +16538,9 @@ declare module dojo { * to a node or NodeList, you can quickly construct a new NodeList * from the original by calling dojo.query(node) or * dojo.query(list). - * - * @param query The CSS3 expression to match against. For details on the syntax ofCSS3 selectors, see http://www.w3.org/TR/css3-selectors/#selectors - * @param root OptionalA DOMNode (or node id) to scope the search from. Optional. + * + * @param query The CSS3 expression to match against. For details on the syntax ofCSS3 selectors, see http://www.w3.org/TR/css3-selectors/#selectors + * @param root OptionalA DOMNode (or node id) to scope the search from. Optional. */ interface acme{(query: String, root?: String): void} /** @@ -16554,10 +16554,10 @@ declare module dojo { * "$" function, dojo.query provides robust, high-performance * CSS-based node selector support with the option of scoping searches * to a particular sub-tree of a document. - * + * * Supported Selectors: * acme supports a rich set of CSS3 selectors, including: - * + * * class selectors (e.g., .foo) * node type selectors like span * descendant selectors @@ -16573,7 +16573,7 @@ declare module dojo { * [foo^='bar'] attribute start match * [foo$='bar'] attribute end match * [foo*='bar'] attribute substring match - * + * * :first-child, :last-child, and :only-child positional selectors * :empty content emtpy selector * :checked pseudo selector @@ -16586,21 +16586,21 @@ declare module dojo { * palette of selectors and when combined with functions for * manipulation presented by dojo/NodeList, many types of DOM * manipulation operations become very straightforward. - * + * * Unsupported Selectors: * While dojo.query handles many CSS3 selectors, some fall outside of * what's reasonable for a programmatic node querying engine to * handle. Currently unsupported selectors include: - * + * * namespace-differentiated selectors of any form * all :: pseduo-element selectors * certain pseudo-selectors which don't get a lot of day-to-day use: * :root, :lang(), :target, :focus - * + * * all visual and state selectors: * :root, :active, :hover, :visited, :link,`:enabled`, `:disabled` * :*-of-type pseudo selectors - * + * * dojo.query and XML Documents: * dojo.query (as of dojo 1.2) supports searching XML documents * in a case-sensitive manner. If an HTML document is served with @@ -16611,7 +16611,7 @@ declare module dojo { * use case-sensitive queries on strict sub-documents (iframes, * etc.) or XML documents while still assuming case-insensitivity * for a host/root document. - * + * * Non-selector Queries: * If something other than a String is passed for the query, * dojo.query will return a new dojo/NodeList instance @@ -16620,52 +16620,52 @@ declare module dojo { * to a node or NodeList, you can quickly construct a new NodeList * from the original by calling dojo.query(node) or * dojo.query(list). - * - * @param query The CSS3 expression to match against. For details on the syntax ofCSS3 selectors, see http://www.w3.org/TR/css3-selectors/#selectors - * @param root OptionalA DOMNode (or node id) to scope the search from. Optional. + * + * @param query The CSS3 expression to match against. For details on the syntax ofCSS3 selectors, see http://www.w3.org/TR/css3-selectors/#selectors + * @param root OptionalA DOMNode (or node id) to scope the search from. Optional. */ interface acme{(query: String, root?: HTMLElement): void} interface acme { /** * function for filtering a NodeList based on a selector, optimized for simple selectors - * - * @param nodeList - * @param filter - * @param root Optional + * + * @param nodeList + * @param filter + * @param root Optional */ filter(nodeList: HTMLElement[], filter: String, root?: String): void; /** * function for filtering a NodeList based on a selector, optimized for simple selectors - * - * @param nodeList - * @param filter - * @param root Optional + * + * @param nodeList + * @param filter + * @param root Optional */ filter(nodeList: HTMLElement[], filter: String, root?: HTMLElement): void; } - module acme { + namespace acme { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/selector/_loader.html * * This module handles loading the appropriate selector engine for the given browser - * + * */ interface _loader { /** - * - * @param id - * @param parentRequire - * @param loaded - * @param config + * + * @param id + * @param parentRequire + * @param loaded + * @param config */ load(id: any, parentRequire: any, loaded: any, config: any): any; } } - module store { + namespace store { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/Observable.html * @@ -16673,8 +16673,8 @@ declare module dojo { * results that can be used to monitor results for changes. * Observable wraps an existing store so that notifications can be made when a query * is performed. - * - * @param store + * + * @param store */ interface Observable{(store: dojo.store.api.Store): void} /** @@ -16684,17 +16684,17 @@ declare module dojo { * caches data from the master into the caching store for faster * lookup. Normally one would use a memory store for the caching * store and a server store like JsonRest for the master store. - * - * @param masterStore This is the authoritative store, all uncached requests or non-safe requests willbe made against this store. - * @param cachingStore This is the caching store that will be used to store responses for quick access.Typically this should be a local store. - * @param options OptionalThese are additional options for how caching is handled. + * + * @param masterStore This is the authoritative store, all uncached requests or non-safe requests willbe made against this store. + * @param cachingStore This is the caching store that will be used to store responses for quick access.Typically this should be a local store. + * @param options OptionalThese are additional options for how caching is handled. */ class Cache extends dojo.store.api.Store { constructor(masterStore: any, cachingStore: any, options?: Object); /** * If the store has a single primary key, this indicates the property to use as the * identity property. The values of this property should be unique. - * + * */ "idProperty": string; /** @@ -16703,83 +16703,83 @@ declare module dojo { * This takes a query and query options and returns a function that can execute * the provided query on a JavaScript array. The queryEngine may be replace to * provide more sophisticated querying capabilities. For example: - * + * * var query = store.queryEngine({foo:"bar"}, {count:10}); * query(someArray) -> filtered array * The returned query function may have a "matches" property that can be - * + * * used to determine if an object matches the query. For example: - * + * * query.matches({id:"some-object", foo:"bar"}) -> true * query.matches({id:"some-object", foo:"something else"}) -> false - * + * */ queryEngine(query: Object, options: dojo.store.api.Store.QueryOptions): any; /** * Add the given object to the store. - * - * @param object The object to add to the store. - * @param directives OptionalAny additional parameters needed to describe how the add should be performed. + * + * @param object The object to add to the store. + * @param directives OptionalAny additional parameters needed to describe how the add should be performed. */ add(object: Object, directives?: any): number; /** * Remove the object with the given id from the underlying caching store. - * - * @param id The identifier for the object in question. + * + * @param id The identifier for the object in question. */ evict(id: number): void; /** * Get the object with the specific id. - * - * @param id The identifier for the object in question. - * @param directives OptionalAny additional parameters needed to describe how the get should be performed. + * + * @param id The identifier for the object in question. + * @param directives OptionalAny additional parameters needed to describe how the get should be performed. */ get(id: number, directives?: Object): dojo.store.api.Store.QueryResults; /** * Retrieves the children of an object. - * - * @param parent The object to find the children of. - * @param options OptionalAdditional options to apply to the retrieval of the children. + * + * @param parent The object to find the children of. + * @param options OptionalAdditional options to apply to the retrieval of the children. */ getChildren(parent: Object, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Returns an object's identity - * - * @param object The object to get the identity from + * + * @param object The object to get the identity from */ getIdentity(object: Object): any; /** * Returns any metadata about the object. This may include attribution, * cache directives, history, or version information. - * - * @param object The object to return metadata for. + * + * @param object The object to return metadata for. */ getMetadata(object: Object): Object; /** * Put the object into the store (similar to an HTTP PUT). - * - * @param object The object to put to the store. - * @param directives OptionalAny additional parameters needed to describe how the put should be performed. + * + * @param object The object to put to the store. + * @param directives OptionalAny additional parameters needed to describe how the put should be performed. */ put(object: Object, directives?: dojo.store.api.Store.PutDirectives): number; /** * Query the underlying master store and cache any results. - * - * @param query The object or string containing query information. Dependent on the query engine used. - * @param directives OptionalAn optional keyword arguments object with additional parameters describing the query. + * + * @param query The object or string containing query information. Dependent on the query engine used. + * @param directives OptionalAn optional keyword arguments object with additional parameters describing the query. */ query(query: Object, directives?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Query the underlying master store and cache any results. - * - * @param query The object or string containing query information. Dependent on the query engine used. - * @param directives OptionalAn optional keyword arguments object with additional parameters describing the query. + * + * @param query The object or string containing query information. Dependent on the query engine used. + * @param directives OptionalAn optional keyword arguments object with additional parameters describing the query. */ query(query: String, directives?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Remove the object with the specific id. - * - * @param id The identifier for the object in question. + * + * @param id The identifier for the object in question. */ remove(id: number): void; /** @@ -16787,7 +16787,7 @@ declare module dojo { * Note that a store user might not call transaction() prior to using put, * delete, etc. in which case these operations effectively could be thought of * as "auto-commit" style actions. - * + * */ transaction(): dojo.store.api.Store.Transaction; } @@ -16797,84 +16797,84 @@ declare module dojo { * This is an adapter for using Dojo Data stores with an object store consumer. * You can provide a Dojo data store and use this adapter to interact with it through * the Dojo object store API - * - * @param options OptionalThis provides any configuration information that will be mixed into the store,including a reference to the Dojo data store under the property "store". + * + * @param options OptionalThis provides any configuration information that will be mixed into the store,including a reference to the Dojo data store under the property "store". */ class DataStore extends dojo.store.api.Store { constructor(options?: Object); /** * The object property to use to store the identity of the store items. - * + * */ "idProperty": string; /** * The object store to convert to a data store - * + * */ "store": Object; /** - * + * */ "target": string; /** * Creates an object, throws an error if the object already exists - * - * @param object The object to store. - * @param directives OptionalAdditional directives for creating objects. + * + * @param object The object to store. + * @param directives OptionalAdditional directives for creating objects. */ add(object: Object, directives: dojo.store.api.Store.PutDirectives): any; /** * Retrieves an object by it's identity. This will trigger a fetchItemByIdentity - * - * @param id OptionalThe identity to use to lookup the object - * @param options + * + * @param id OptionalThe identity to use to lookup the object + * @param options */ get(id: Object, options?: any): any; /** * Retrieves the children of an object. - * - * @param parent The object to find the children of. - * @param options OptionalAdditional options to apply to the retrieval of the children. + * + * @param parent The object to find the children of. + * @param options OptionalAdditional options to apply to the retrieval of the children. */ getChildren(parent: Object, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Fetch the identity for the given object. - * - * @param object The data object to get the identity from. + * + * @param object The data object to get the identity from. */ getIdentity(object: Object): any; /** * Returns any metadata about the object. This may include attribution, * cache directives, history, or version information. - * - * @param object The object to return metadata for. + * + * @param object The object to return metadata for. */ getMetadata(object: Object): Object; /** * Stores an object by its identity. - * - * @param object The object to store. - * @param options OptionalAdditional metadata for storing the data. Includes a reference to an idthat the object may be stored with (i.e. { id: "foo" }). + * + * @param object The object to store. + * @param options OptionalAdditional metadata for storing the data. Includes a reference to an idthat the object may be stored with (i.e. { id: "foo" }). */ put(object: Object, options?: Object): void; /** * Queries the store for objects. - * - * @param query The query to use for retrieving objects from the store - * @param options OptionalOptional options object as used by the underlying dojo.data Store. + * + * @param query The query to use for retrieving objects from the store + * @param options OptionalOptional options object as used by the underlying dojo.data Store. */ query(query: Object, options?: Object): any; /** * Defines the query engine to use for querying the data store - * - * @param query An object hash with fields that may match fields of items in the store.Values in the hash will be compared by normal == operator, but regular expressionsor any object that provides a test() method are also supported and can beused to match strings by more complex expressions(and then the regex's or object's test() method will be used to match values). - * @param options OptionalAn object that contains optional information such as sort, start, and count. + * + * @param query An object hash with fields that may match fields of items in the store.Values in the hash will be compared by normal == operator, but regular expressionsor any object that provides a test() method are also supported and can beused to match strings by more complex expressions(and then the regex's or object's test() method will be used to match values). + * @param options OptionalAn object that contains optional information such as sort, start, and count. */ queryEngine(query: Object, options?: dojo.store.api.Store.QueryOptions): any; /** * Deletes an object by its identity. - * - * @param id The identity to use to delete the object + * + * @param id The identity to use to delete the object */ remove(id: Object): void; /** @@ -16882,7 +16882,7 @@ declare module dojo { * Note that a store user might not call transaction() prior to using put, * delete, etc. in which case these operations effectively could be thought of * as "auto-commit" style actions. - * + * */ transaction(): dojo.store.api.Store.Transaction; } @@ -16890,91 +16890,91 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/Memory.html * * This is a basic in-memory object store. It implements dojo/store/api/Store. - * - * @param options This provides any configuration information that will be mixed into the store.This should generally include the data property to provide the starting set of data. + * + * @param options This provides any configuration information that will be mixed into the store.This should generally include the data property to provide the starting set of data. */ class Memory extends dojo.store.api.Store { constructor(options: dojo.store.Memory); /** * The array of all the objects in the memory store - * + * */ "data": any[]; /** * Indicates the property to use as the identity property. The values of this * property should be unique. - * + * */ "idProperty": string; /** * An index of data indices into the data array by id - * + * */ "index": Object; /** * Creates an object, throws an error if the object already exists - * - * @param object The object to store. - * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. + * + * @param object The object to store. + * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. */ add(object: Object, options?: dojo.store.api.Store.PutDirectives): any; /** * Retrieves an object by its identity - * - * @param id The identity to use to lookup the object + * + * @param id The identity to use to lookup the object */ get(id: number): any; /** * Retrieves the children of an object. - * - * @param parent The object to find the children of. - * @param options OptionalAdditional options to apply to the retrieval of the children. + * + * @param parent The object to find the children of. + * @param options OptionalAdditional options to apply to the retrieval of the children. */ getChildren(parent: Object, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Returns an object's identity - * - * @param object The object to get the identity from + * + * @param object The object to get the identity from */ getIdentity(object: Object): any; /** * Returns any metadata about the object. This may include attribution, * cache directives, history, or version information. - * - * @param object The object to return metadata for. + * + * @param object The object to return metadata for. */ getMetadata(object: Object): Object; /** * Stores an object - * - * @param object The object to store. - * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. + * + * @param object The object to store. + * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. */ put(object: Object, options?: dojo.store.api.Store.PutDirectives): any; /** * Queries the store for objects. - * - * @param query The query to use for retrieving objects from the store. - * @param options OptionalThe optional arguments to apply to the resultset. + * + * @param query The query to use for retrieving objects from the store. + * @param options OptionalThe optional arguments to apply to the resultset. */ query(query: Object, options?: dojo.store.api.Store.QueryOptions): any; /** * Defines the query engine to use for querying the data store - * - * @param query An object hash with fields that may match fields of items in the store.Values in the hash will be compared by normal == operator, but regular expressionsor any object that provides a test() method are also supported and can beused to match strings by more complex expressions(and then the regex's or object's test() method will be used to match values). - * @param options OptionalAn object that contains optional information such as sort, start, and count. + * + * @param query An object hash with fields that may match fields of items in the store.Values in the hash will be compared by normal == operator, but regular expressionsor any object that provides a test() method are also supported and can beused to match strings by more complex expressions(and then the regex's or object's test() method will be used to match values). + * @param options OptionalAn object that contains optional information such as sort, start, and count. */ queryEngine(query: Object, options?: dojo.store.api.Store.QueryOptions): any; /** * Deletes an object by its identity - * - * @param id The identity to use to delete the object + * + * @param id The identity to use to delete the object */ remove(id: number): any; /** * Sets the given data as the source for this store, and indexes it - * - * @param data An array of objects to use as the source of data. + * + * @param data An array of objects to use as the source of data. */ setData(data: Object[]): void; /** @@ -16982,7 +16982,7 @@ declare module dojo { * Note that a store user might not call transaction() prior to using put, * delete, etc. in which case these operations effectively could be thought of * as "auto-commit" style actions. - * + * */ transaction(): dojo.store.api.Store.Transaction; } @@ -16991,36 +16991,36 @@ declare module dojo { * * This is a basic store for RESTful communicating with a server through JSON * formatted data. It implements dojo/store/api/Store. - * - * @param options This provides any configuration information that will be mixed into the store + * + * @param options This provides any configuration information that will be mixed into the store */ class JsonRest extends dojo.store.api.Store { constructor(options: dojo.store.JsonRest); /** * Defines the Accept header to use on HTTP requests - * + * */ "accepts": string; /** * The prefix to apply to sort attribute names that are ascending - * + * */ "ascendingPrefix": string; /** * The prefix to apply to sort attribute names that are ascending - * + * */ "descendingPrefix": string; /** * Additional headers to pass in all requests to the server. These can be overridden * by passing additional headers to calls to the store. - * + * */ "headers": Object; /** * Indicates the property to use as the identity property. The values of this * property should be unique. - * + * */ "idProperty": string; /** @@ -17029,82 +17029,82 @@ declare module dojo { * This takes a query and query options and returns a function that can execute * the provided query on a JavaScript array. The queryEngine may be replace to * provide more sophisticated querying capabilities. For example: - * + * * var query = store.queryEngine({foo:"bar"}, {count:10}); * query(someArray) -> filtered array * The returned query function may have a "matches" property that can be - * + * * used to determine if an object matches the query. For example: - * + * * query.matches({id:"some-object", foo:"bar"}) -> true * query.matches({id:"some-object", foo:"something else"}) -> false - * + * */ queryEngine(query: Object, options: dojo.store.api.Store.QueryOptions): any; /** * The target base URL to use for all requests to the server. This string will be * prepended to the id to generate the URL (relative or absolute) for requests * sent to the server - * + * */ "target": string; /** * Adds an object. This will trigger a PUT request to the server * if the object has an id, otherwise it will trigger a POST request. - * - * @param object The object to store. - * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. + * + * @param object The object to store. + * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. */ add(object: Object, options?: Object): any; /** * Retrieves an object by its identity. This will trigger a GET request to the server using * the url this.target + id. - * - * @param id The identity to use to lookup the object - * @param options OptionalHTTP headers. For consistency with other methods, if a headers key exists on this object, it will beused to provide HTTP headers instead. + * + * @param id The identity to use to lookup the object + * @param options OptionalHTTP headers. For consistency with other methods, if a headers key exists on this object, it will beused to provide HTTP headers instead. */ get(id: number, options?: Object): any; /** * Retrieves the children of an object. - * - * @param parent The object to find the children of. - * @param options OptionalAdditional options to apply to the retrieval of the children. + * + * @param parent The object to find the children of. + * @param options OptionalAdditional options to apply to the retrieval of the children. */ getChildren(parent: Object, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Returns an object's identity - * - * @param object The object to get the identity from + * + * @param object The object to get the identity from */ getIdentity(object: Object): any; /** * Returns any metadata about the object. This may include attribution, * cache directives, history, or version information. - * - * @param object The object to return metadata for. + * + * @param object The object to return metadata for. */ getMetadata(object: Object): Object; /** * Stores an object. This will trigger a PUT request to the server * if the object has an id, otherwise it will trigger a POST request. - * - * @param object The object to store. - * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. + * + * @param object The object to store. + * @param options OptionalAdditional metadata for storing the data. Includes an "id"property if a specific id is to be used. */ put(object: Object, options?: Object): any; /** * Queries the store for objects. This will trigger a GET request to the server, with the * query added as a query string. - * - * @param query The query to use for retrieving objects from the store. - * @param options OptionalThe optional arguments to apply to the resultset. + * + * @param query The query to use for retrieving objects from the store. + * @param options OptionalThe optional arguments to apply to the resultset. */ query(query: Object, options?: Object): any; /** * Deletes an object by its identity. This will trigger a DELETE request to the server. - * - * @param id The identity to use to delete the object - * @param options OptionalHTTP headers. + * + * @param id The identity to use to delete the object + * @param options OptionalHTTP headers. */ remove(id: number, options?: Object): any; /** @@ -17112,11 +17112,11 @@ declare module dojo { * Note that a store user might not call transaction() prior to using put, * delete, etc. in which case these operations effectively could be thought of * as "auto-commit" style actions. - * + * */ transaction(): dojo.store.api.Store.Transaction; } - module api { + namespace api { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/api/Store.html * @@ -17129,14 +17129,14 @@ declare module dojo { * Every method may return a promise for the specified return value if the * execution of the operation is asynchronous (except * for query() which already defines an async return value). - * + * */ class Store { constructor(); /** * If the store has a single primary key, this indicates the property to use as the * identity property. The values of this property should be unique. - * + * */ "idProperty": string; /** @@ -17145,102 +17145,102 @@ declare module dojo { * This takes a query and query options and returns a function that can execute * the provided query on a JavaScript array. The queryEngine may be replace to * provide more sophisticated querying capabilities. For example: - * + * * var query = store.queryEngine({foo:"bar"}, {count:10}); * query(someArray) -> filtered array * The returned query function may have a "matches" property that can be - * + * * used to determine if an object matches the query. For example: - * + * * query.matches({id:"some-object", foo:"bar"}) -> true * query.matches({id:"some-object", foo:"something else"}) -> false - * + * */ queryEngine(query: Object, options: dojo.store.api.Store.QueryOptions): any; /** * Creates an object, throws an error if the object already exists - * - * @param object The object to store. - * @param directives OptionalAdditional directives for creating objects. + * + * @param object The object to store. + * @param directives OptionalAdditional directives for creating objects. */ add(object: Object, directives?: dojo.store.api.Store.PutDirectives): any; /** * Retrieves an object by its identity - * - * @param id The identity to use to lookup the object + * + * @param id The identity to use to lookup the object */ get(id: number): Object; /** * Retrieves the children of an object. - * - * @param parent The object to find the children of. - * @param options OptionalAdditional options to apply to the retrieval of the children. + * + * @param parent The object to find the children of. + * @param options OptionalAdditional options to apply to the retrieval of the children. */ getChildren(parent: Object, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Returns an object's identity - * - * @param object The object to get the identity from + * + * @param object The object to get the identity from */ getIdentity(object: Object): any; /** * Returns any metadata about the object. This may include attribution, * cache directives, history, or version information. - * - * @param object The object to return metadata for. + * + * @param object The object to return metadata for. */ getMetadata(object: Object): Object; /** * Stores an object - * - * @param object The object to store. - * @param directives OptionalAdditional directives for storing objects. + * + * @param object The object to store. + * @param directives OptionalAdditional directives for storing objects. */ put(object: Object, directives?: dojo.store.api.Store.PutDirectives): any; /** - * + * */ PutDirectives(): void; /** * Queries the store for objects. This does not alter the store, but returns a * set of data from the store. - * - * @param query The query to use for retrieving objects from the store. - * @param options The optional arguments to apply to the resultset. + * + * @param query The query to use for retrieving objects from the store. + * @param options The optional arguments to apply to the resultset. */ query(query: String, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Queries the store for objects. This does not alter the store, but returns a * set of data from the store. - * - * @param query The query to use for retrieving objects from the store. - * @param options The optional arguments to apply to the resultset. + * + * @param query The query to use for retrieving objects from the store. + * @param options The optional arguments to apply to the resultset. */ query(query: Object, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** * Queries the store for objects. This does not alter the store, but returns a * set of data from the store. - * - * @param query The query to use for retrieving objects from the store. - * @param options The optional arguments to apply to the resultset. + * + * @param query The query to use for retrieving objects from the store. + * @param options The optional arguments to apply to the resultset. */ query(query: Function, options?: dojo.store.api.Store.QueryOptions): dojo.store.api.Store.QueryResults; /** - * + * */ QueryOptions(): void; /** - * + * */ QueryResults(): void; /** * Deletes an object by its identity - * - * @param id The identity to use to delete the object + * + * @param id The identity to use to delete the object */ remove(id: number): void; /** - * + * */ SortInformation(): void; /** @@ -17248,21 +17248,21 @@ declare module dojo { * Note that a store user might not call transaction() prior to using put, * delete, etc. in which case these operations effectively could be thought of * as "auto-commit" style actions. - * + * */ transaction(): dojo.store.api.Store.Transaction; /** - * + * */ Transaction(): void; } - module Store { + namespace Store { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/api/Store.PutDirectives.html * * Directives passed to put() and add() handlers for guiding the update and * creation of stored objects. - * + * */ class PutDirectives { constructor(); @@ -17271,12 +17271,12 @@ declare module dojo { * this indicates that the created or updated object should be placed before the * object specified by the value of this property. A value of null indicates that the * object should be last. - * + * */ "before": Object; /** * Indicates the identity of the object if a new object is created - * + * */ "id": string; /** @@ -17286,13 +17286,13 @@ declare module dojo { * value of false indicates that an existing object should not be updated, a new * object should be created (which is the same as an add() operation). When * this property is not provided, either an update or creation is acceptable. - * + * */ "overwrite": boolean; /** * If the store is hierarchical (with single parenting) this property indicates the * new parent of the created or updated object. - * + * */ "parent": Object; } @@ -17300,29 +17300,29 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/api/Store.QueryOptions.html * * Optional object with additional parameters for query results. - * + * */ class QueryOptions { constructor(); /** * The number of how many results should be returned. - * + * */ "count": number; /** * A list of attributes to sort on, as well as direction * For example: - * + * * [{attribute:"price, descending: true}]. * If the sort parameter is omitted, then the natural order of the store may be - * + * * applied if there is a natural order. - * + * */ "sort": Object; /** * The first result to begin iteration on - * + * */ "start": number; } @@ -17331,7 +17331,7 @@ declare module dojo { * * This is an object returned from query() calls that provides access to the results * of a query. Queries may be executed asynchronously. - * + * */ class QueryResults { constructor(); @@ -17340,7 +17340,7 @@ declare module dojo { * property limiting the result set. This property indicates the total number of objects * matching the query (as if "start" and "count" weren't present). This may be * a promise if the query is asynchronous. - * + * */ "total": number; /** @@ -17348,9 +17348,9 @@ declare module dojo { * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter. * Note that this may executed asynchronously. The callback may be called * after this function returns. - * - * @param callback Function that is called for each object in the query results - * @param thisObject The object to use as |this| in the callback. + * + * @param callback Function that is called for each object in the query results + * @param thisObject The object to use as |this| in the callback. */ filter(callback: any, thisObject: any): dojo.store.api.Store.QueryResults; /** @@ -17358,9 +17358,9 @@ declare module dojo { * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach. * Note that this may executed asynchronously. The callback may be called * after this function returns. - * - * @param callback Function that is called for each object in the query results - * @param thisObject The object to use as |this| in the callback. + * + * @param callback Function that is called for each object in the query results + * @param thisObject The object to use as |this| in the callback. */ forEach(callback: any, thisObject: any): void; /** @@ -17368,25 +17368,25 @@ declare module dojo { * https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map. * Note that this may executed asynchronously. The callback may be called * after this function returns. - * - * @param callback Function that is called for each object in the query results - * @param thisObject The object to use as |this| in the callback. + * + * @param callback Function that is called for each object in the query results + * @param thisObject The object to use as |this| in the callback. */ map(callback: any, thisObject: any): dojo.store.api.Store.QueryResults; /** * This registers a callback for notification of when data is modified in the query results. * This is an optional method, and is usually provided by dojo/store/Observable. - * - * @param listener The listener function is called when objects in the query results are modifiedto affect the query result. The listener function is called with the following arguments:listener(object, removedFrom, insertedInto);The object parameter indicates the object that was create, modified, or deleted.The removedFrom parameter indicates the index in the result array wherethe object used to be. If the value is -1, then the object is an addition tothis result set (due to a new object being created, or changed such that itis a part of the result set).The insertedInto parameter indicates the index in the result array wherethe object should be now. If the value is -1, then the object is a removalfrom this result set (due to an object being deleted, or changed such that itis not a part of the result set). - * @param includeAllUpdates This indicates whether or not to include object updates that do not affectthe inclusion or order of the object in the query results. By default this is false,which means that if any object is updated in such a way that it remainsin the result set and it's position in result sets is not affected, then the listenerwill not be fired. + * + * @param listener The listener function is called when objects in the query results are modifiedto affect the query result. The listener function is called with the following arguments:listener(object, removedFrom, insertedInto);The object parameter indicates the object that was create, modified, or deleted.The removedFrom parameter indicates the index in the result array wherethe object used to be. If the value is -1, then the object is an addition tothis result set (due to a new object being created, or changed such that itis a part of the result set).The insertedInto parameter indicates the index in the result array wherethe object should be now. If the value is -1, then the object is a removalfrom this result set (due to an object being deleted, or changed such that itis not a part of the result set). + * @param includeAllUpdates This indicates whether or not to include object updates that do not affectthe inclusion or order of the object in the query results. By default this is false,which means that if any object is updated in such a way that it remainsin the result set and it's position in result sets is not affected, then the listenerwill not be fired. */ observe(listener: Function, includeAllUpdates: any): void; /** * This registers a callback for when the query is complete, if the query is asynchronous. * This is an optional method, and may not be present for synchronous queries. - * - * @param callback This is called when the query is completed successfully, and is passed a single argumentthat is an array representing the query results. - * @param errorHandler This is called if the query failed, and is passed a single argument that is the errorfor the failure. + * + * @param callback This is called when the query is completed successfully, and is passed a single argumentthat is an array representing the query results. + * @param errorHandler This is called if the query failed, and is passed a single argument that is the errorfor the failure. */ then(callback: any, errorHandler: any): void; } @@ -17394,18 +17394,18 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/api/Store.SortInformation.html * * An object describing what attribute to sort on, and the direction of the sort. - * + * */ class SortInformation { constructor(); /** * The name of the attribute to sort on. - * + * */ "attribute": string; /** * The direction of the sort. Default is false. - * + * */ "descending": boolean; } @@ -17414,7 +17414,7 @@ declare module dojo { * * This is an object returned from transaction() calls that represents the current * transaction. - * + * */ class Transaction { constructor(); @@ -17422,16 +17422,16 @@ declare module dojo { * Aborts the transaction. This may throw an error if it fails. Of if the operation * is asynchronous, it may return a promise that represents the eventual success * or failure of the abort. - * - * @param callback - * @param thisObject + * + * @param callback + * @param thisObject */ abort(callback: any, thisObject: any): void; /** * Commits the transaction. This may throw an error if it fails. Of if the operation * is asynchronous, it may return a promise that represents the eventual success * or failure of the commit. - * + * */ commit(): void; } @@ -17439,7 +17439,7 @@ declare module dojo { } - module util { + namespace util { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/store/util/QueryResults.html * @@ -17450,10 +17450,10 @@ declare module dojo { * will return a plain array of data, other stores may return deferreds or * promises; this wrapper makes sure that all results can be treated * the same. - * + * * Additional methods include forEach, filter and map. - * - * @param results The result set as an array, or a promise for an array. + * + * @param results The result set as an array, or a promise for an array. */ interface QueryResults{(results: any[]): void} /** @@ -17466,10 +17466,10 @@ declare module dojo { * will return a plain array of data, other stores may return deferreds or * promises; this wrapper makes sure that all results can be treated * the same. - * + * * Additional methods include forEach, filter and map. - * - * @param results The result set as an array, or a promise for an array. + * + * @param results The result set as an array, or a promise for an array. */ interface QueryResults{(results: dojo.promise.Promise): void} /** @@ -17481,16 +17481,16 @@ declare module dojo { * the use of a simple object hash as a filter. The hash will be used to * match properties on data objects with the corresponding value given. In * other words, only exact matches will be returned. - * + * * This function can be used as a template for more complex query engines; * for example, an engine can be created that accepts an object hash that * contains filtering functions, or a string that gets evaluated, etc. - * + * * When creating a new dojo.store, simply set the store's queryEngine * field as a reference to this function. - * - * @param query An object hash with fields that may match fields of items in the store.Values in the hash will be compared by normal == operator, but regular expressionsor any object that provides a test() method are also supported and can beused to match strings by more complex expressions(and then the regex's or object's test() method will be used to match values). - * @param options OptionalAn object that contains optional information such as sort, start, and count. + * + * @param query An object hash with fields that may match fields of items in the store.Values in the hash will be compared by normal == operator, but regular expressionsor any object that provides a test() method are also supported and can beused to match strings by more complex expressions(and then the regex's or object's test() method will be used to match values). + * @param options OptionalAn object that contains optional information such as sort, start, and count. */ interface SimpleQueryEngine{(query: Object, options?: dojo.store.api.Store.QueryOptions): void} } @@ -17501,40 +17501,40 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/date.html * * Date manipulation utilities - * + * */ interface date { /** * Add to a Date in intervals of different size, from milliseconds to years - * - * @param date Date object to start with - * @param interval A string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday" - * @param amount How much to add to the date. + * + * @param date Date object to start with + * @param interval A string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday" + * @param amount How much to add to the date. */ add(date: Date, interval: String, amount: number): any; /** * Compare two date objects by date, time, or both. * Returns 0 if equal, positive if a > b, else negative. - * - * @param date1 Date object - * @param date2 OptionalDate object. If not specified, the current Date is used. - * @param portion OptionalA string indicating the "date" or "time" portion of a Date object.Compares both "date" and "time" by default. One of the following:"date", "time", "datetime" + * + * @param date1 Date object + * @param date2 OptionalDate object. If not specified, the current Date is used. + * @param portion OptionalA string indicating the "date" or "time" portion of a Date object.Compares both "date" and "time" by default. One of the following:"date", "time", "datetime" */ compare(date1: Date, date2?: Date, portion?: String): number; /** * Get the difference in a specific unit of time (e.g., number of * months, weeks, days, etc.) between two dates, rounded to the * nearest integer. - * - * @param date1 Date object - * @param date2 OptionalDate object. If not specified, the current Date is used. - * @param interval OptionalA string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday"Defaults to "day". + * + * @param date1 Date object + * @param date2 OptionalDate object. If not specified, the current Date is used. + * @param interval OptionalA string representing the interval. One of the following:"year", "month", "day", "hour", "minute", "second","millisecond", "quarter", "week", "weekday"Defaults to "day". */ difference(date1: Date, date2?: Date, interval?: String): any; /** * Returns the number of days in the month used by dateObject - * - * @param dateObject + * + * @param dateObject */ getDaysInMonth(dateObject: Date): number; /** @@ -17543,8 +17543,8 @@ declare module dojo { * the Date object -- UTC offset is not a time zone. See * http://www.twinsun.com/tz/tz-link.htm Note: results may be * inconsistent across browsers. - * - * @param dateObject Needed because the timezone may vary with time (daylight savings) + * + * @param dateObject Needed because the timezone may vary with time (daylight savings) */ getTimezoneName(dateObject: Date): any; /** @@ -17554,17 +17554,17 @@ declare module dojo { * a year is a multiple of 100, then it is only a leap year if it is * also a multiple of 400. For example, 1900 was not a leap year, but * 2000 is one. - * - * @param dateObject + * + * @param dateObject */ isLeapYear(dateObject: Date): boolean; } - module date { + namespace date { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/date/stamp.html * * TODOC - * + * */ interface stamp { /** @@ -17573,26 +17573,26 @@ declare module dojo { * RFC3339, except that partial input is allowed. * Can also process dates as specified by the W3C * The following combinations are valid: - * + * * dates only * yyyy * yyyy-MM * yyyy-MM-dd - * + * * times only, with an optional time zone appended * THH:mm * THH:mm:ss * THH:mm:ss.SSS - * + * * and "datetimes" which could be any combination of the above * timezones may be specified as Z (for UTC) or +/- followed by a time expression HH:mm * Assumes the local time zone if not specified. Does not validate. Improperly formatted * input may return null. Arguments which are out of bounds will be handled * by the Date constructor (e.g. January 32nd typically gets resolved to February 1st) * Only years between 100 and 9999 are supported. - * - * @param formattedString A string such as 2005-06-30T08:05:00-07:00 or 2005-06-30 or T08:05:00 - * @param defaultTime OptionalUsed for defaults for fields omitted in the formattedString.Uses 1970-01-01T00:00:00.0Z by default. + * + * @param formattedString A string such as 2005-06-30T08:05:00-07:00 or 2005-06-30 or T08:05:00 + * @param defaultTime OptionalUsed for defaults for fields omitted in the formattedString.Uses 1970-01-01T00:00:00.0Z by default. */ fromISOString(formattedString: String, defaultTime?: number): any; /** @@ -17600,9 +17600,9 @@ declare module dojo { * When options.selector is omitted, output follows RFC3339 * The local time zone is included as an offset from GMT, except when selector=='time' (time without a date) * Does not check bounds. Only years between 100 and 9999 are supported. - * - * @param dateObject A Date object - * @param options OptionalAn object with the following properties:selector (String): "date" or "time" for partial formatting of the Date object.Both date and time will be formatted by default.zulu (Boolean): if true, UTC/GMT is used for a timezonemilliseconds (Boolean): if true, output milliseconds + * + * @param dateObject A Date object + * @param options OptionalAn object with the following properties:selector (String): "date" or "time" for partial formatting of the Date object.Both date and time will be formatted by default.zulu (Boolean): if true, UTC/GMT is used for a timezonemilliseconds (Boolean): if true, output milliseconds */ toISOString(dateObject: Date, options?: Object): any; } @@ -17610,7 +17610,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/date/locale.html * * This modules defines dojo/date/locale, localization methods for Date. - * + * */ interface locale { /** @@ -17621,9 +17621,9 @@ declare module dojo { * The pattern string should match the format used by the CLDR. * See dojo/date/locale.format() for details. * The resources must be loaded by dojo.requireLocalization() prior to use - * - * @param packageName - * @param bundleName + * + * @param packageName + * @param bundleName */ addCustomFormats(packageName: String, bundleName: String): void; /** @@ -17636,25 +17636,25 @@ declare module dojo { * the dojo/date/locale.addCustomFormats() method. * Formatting patterns are implemented using the syntax described at * unicode.org - * - * @param dateObject the date and/or time to be formatted. If a time only is formatted,the values in the year, month, and day fields are irrelevant. Theopposite is true when formatting only dates. - * @param options OptionalAn object with the following properties:selector (String): choice of 'time','date' (default: date and time)formatLength (String): choice of long, short, medium or full (plus any custom additions). Defaults to 'short'datePattern (String): override pattern with this stringtimePattern (String): override pattern with this stringam (String): override strings for am in timespm (String): override strings for pm in timeslocale (String): override the locale used to determine formatting rulesfullYear (Boolean): (format only) use 4 digit years whenever 2 digit years are called forstrict (Boolean): (parse only) strict parsing, off by default + * + * @param dateObject the date and/or time to be formatted. If a time only is formatted,the values in the year, month, and day fields are irrelevant. Theopposite is true when formatting only dates. + * @param options OptionalAn object with the following properties:selector (String): choice of 'time','date' (default: date and time)formatLength (String): choice of long, short, medium or full (plus any custom additions). Defaults to 'short'datePattern (String): override pattern with this stringtimePattern (String): override pattern with this stringam (String): override strings for am in timespm (String): override strings for pm in timeslocale (String): override the locale used to determine formatting rulesfullYear (Boolean): (format only) use 4 digit years whenever 2 digit years are called forstrict (Boolean): (parse only) strict parsing, off by default */ format(dateObject: Date, options?: Object): any; /** * Used to get localized strings from dojo.cldr for day or month names. - * - * @param item 'months' || 'days' - * @param type 'wide' || 'abbr' || 'narrow' (e.g. "Monday", "Mon", or "M" respectively, in English) - * @param context Optional'standAlone' || 'format' (default) - * @param locale Optionaloverride locale used to find the names + * + * @param item 'months' || 'days' + * @param type 'wide' || 'abbr' || 'narrow' (e.g. "Monday", "Mon", or "M" respectively, in English) + * @param context Optional'standAlone' || 'format' (default) + * @param locale Optionaloverride locale used to find the names */ getNames(item: String, type: String, context?: String, locale?: String): any; /** * Determines if the date falls on a weekend, according to local custom. - * - * @param dateObject Optional - * @param locale Optional + * + * @param dateObject Optional + * @param locale Optional */ isWeekend(dateObject?: Date, locale?: String): boolean; /** @@ -17666,75 +17666,75 @@ declare module dojo { * formatting lengths may be chosen, with "full" used by default. * Custom patterns may be used or registered with translations using * the dojo/date/locale.addCustomFormats() method. - * + * * Formatting patterns are implemented using the syntax described at * unicode.org * When two digit years are used, a century is chosen according to a sliding * window of 80 years before and 20 years after present year, for both yy and yyyy patterns. * year < 100CE requires strict mode. - * - * @param value A string representation of a date - * @param options OptionalAn object with the following properties:selector (String): choice of 'time','date' (default: date and time)formatLength (String): choice of long, short, medium or full (plus any custom additions). Defaults to 'short'datePattern (String): override pattern with this stringtimePattern (String): override pattern with this stringam (String): override strings for am in timespm (String): override strings for pm in timeslocale (String): override the locale used to determine formatting rulesfullYear (Boolean): (format only) use 4 digit years whenever 2 digit years are called forstrict (Boolean): (parse only) strict parsing, off by default + * + * @param value A string representation of a date + * @param options OptionalAn object with the following properties:selector (String): choice of 'time','date' (default: date and time)formatLength (String): choice of long, short, medium or full (plus any custom additions). Defaults to 'short'datePattern (String): override pattern with this stringtimePattern (String): override pattern with this stringam (String): override strings for am in timespm (String): override strings for pm in timeslocale (String): override the locale used to determine formatting rulesfullYear (Boolean): (format only) use 4 digit years whenever 2 digit years are called forstrict (Boolean): (parse only) strict parsing, off by default */ parse(value: String, options?: Object): any; /** * Builds the regular needed to parse a localized date - * - * @param options OptionalAn object with the following properties:selector (String): choice of 'time','date' (default: date and time)formatLength (String): choice of long, short, medium or full (plus any custom additions). Defaults to 'short'datePattern (String): override pattern with this stringtimePattern (String): override pattern with this stringam (String): override strings for am in timespm (String): override strings for pm in timeslocale (String): override the locale used to determine formatting rulesfullYear (Boolean): (format only) use 4 digit years whenever 2 digit years are called forstrict (Boolean): (parse only) strict parsing, off by default + * + * @param options OptionalAn object with the following properties:selector (String): choice of 'time','date' (default: date and time)formatLength (String): choice of long, short, medium or full (plus any custom additions). Defaults to 'short'datePattern (String): override pattern with this stringtimePattern (String): override pattern with this stringam (String): override strings for am in timespm (String): override strings for pm in timeslocale (String): override the locale used to determine formatting rulesfullYear (Boolean): (format only) use 4 digit years whenever 2 digit years are called forstrict (Boolean): (parse only) strict parsing, off by default */ regexp(options?: Object): any; } - module locale { + namespace locale { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/date/locale.__FormatOptions.html * - * + * */ class __FormatOptions { constructor(); /** * override strings for am in times - * + * */ "am": string; /** * override pattern with this string - * + * */ "datePattern": string; /** * choice of long, short, medium or full (plus any custom additions). Defaults to 'short' - * + * */ "formatLength": string; /** * (format only) use 4 digit years whenever 2 digit years are called for - * + * */ "fullYear": boolean; /** * override the locale used to determine formatting rules - * + * */ "locale": string; /** * override strings for pm in times - * + * */ "pm": string; /** * choice of 'time','date' (default: date and time) - * + * */ "selector": string; /** * (parse only) strict parsing, off by default - * + * */ "strict": boolean; /** * override pattern with this string - * + * */ "timePattern": string; } @@ -17746,13 +17746,13 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/fx.html * * Effects library on top of Base animations - * + * */ interface fx { /** * Collection of easing functions to use beyond the default * dojo._defaultEasing function. - * + * */ easing: Object; /** @@ -17762,8 +17762,8 @@ declare module dojo { * synthesized events simulating a single animation. (eg: * onEnd of this animation means the end of the chain, * not the individual animations within) - * - * @param animations + * + * @param animations */ chain(animations: dojo._base.fx.Animation[]): any; /** @@ -17771,8 +17771,8 @@ declare module dojo { * Combine an array of dojo/_base/fx.Animations to run in parallel, * providing a new dojo/_base/fx.Animation instance encompasing each * animation, firing standard animation events. - * - * @param animations + * + * @param animations */ combine(animations: dojo._base.fx.Animation[]): any; /** @@ -17780,12 +17780,12 @@ declare module dojo { * Returns an animation that will slide "node" * defined in args Object from its current position to * the position defined by (args.left, args.top). - * - * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on). Special args membersare top and left, which indicate the new position to slide to. + * + * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on). Special args membersare top and left, which indicate the new position to slide to. */ slideTo(args: Object): any; /** - * + * */ Toggler(): void; /** @@ -17794,20 +17794,20 @@ declare module dojo { * node defined in 'args' object from it's current height to * it's natural height (with no scrollbar). * Node must have no margin/border/padding. - * - * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) + * + * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) */ wipeIn(args: Object): any; /** * Shrink a node to nothing and hide it. * Returns an animation that will shrink node defined in "args" * from it's current height to 1px, and then hide it. - * - * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) + * + * @param args A hash-map of standard dojo/_base/fx.Animation constructor properties(such as easing: node: duration: and so on) */ wipeOut(args: Object): any; } - module fx { + namespace fx { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/fx/Toggler.html * @@ -17817,48 +17817,48 @@ declare module dojo { * direction, duration, etc. All available members are mixed into * these animations from the constructor (for example, node, * showDuration, hideDuration). - * - * @param args + * + * @param args */ class Toggler { constructor(args: any); /** * Time in milliseconds to run the hide Animation - * + * */ "hideDuration": number; /** * the node to target for the showing and hiding animations - * + * */ "node": HTMLElement; /** * Time in milliseconds to run the show Animation - * + * */ "showDuration": number; /** * Toggle the node to hidden - * - * @param delay OptionalAmount of time to stall playing the hide animation + * + * @param delay OptionalAmount of time to stall playing the hide animation */ hide(delay?: number): any; /** * The function that returns the dojo.Animation to hide the node - * - * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ hideFunc(args: Object): any; /** * Toggle the node to showing - * - * @param delay OptionalAmount of time to stall playing the show animation + * + * @param delay OptionalAmount of time to stall playing the show animation */ show(delay?: number): any; /** * The function that returns the dojo.Animation to show the node - * - * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. + * + * @param args An object with the following properties:node (DOMNode|String): The node referenced in the animationduration (Integer, optional): Duration of the animation in milliseconds.easing (Function, optional): An easing function. */ showFunc(args: Object): any; } @@ -17872,26 +17872,26 @@ declare module dojo { * and the easing function progresses through that Line determining * how quickly (or slowly) it should go. Or more accurately: modify * the value of the _Line based on the percentage of animation completed. - * + * * All functions follow a simple naming convention of "ease type" + "when". * If the name of the function ends in Out, the easing described appears * towards the end of the animation. "In" means during the beginning, * and InOut means both ranges of the Animation will applied, both * beginning and end. - * + * * One does not call the easing function directly, it must be passed to * the easing property of an animation. - * + * */ interface easing { /** * An easing function that starts away from the target, * and quickly accelerates towards the end value. - * + * * Use caution when the easing will cause values to become * negative as some properties cannot be set to negative values. - * - * @param n Optional + * + * @param n Optional */ backIn(n?: number): number; /** @@ -17899,76 +17899,76 @@ declare module dojo { * An easing function combining the effects of backIn and backOut. * Use caution when the easing will cause values to become negative * as some properties cannot be set to negative values. - * - * @param n Optional + * + * @param n Optional */ backInOut(n?: number): number; /** * An easing function that pops past the range briefly, and slowly comes back. * An easing function that pops past the range briefly, and slowly comes back. - * + * * Use caution when the easing will cause values to become negative as some * properties cannot be set to negative values. - * - * @param n Optional + * + * @param n Optional */ backOut(n?: number): number; /** * An easing function that 'bounces' near the beginning of an Animation - * - * @param n Optional + * + * @param n Optional */ bounceIn(n?: number): number; /** * An easing function that 'bounces' at the beginning and end of the Animation - * - * @param n Optional + * + * @param n Optional */ bounceInOut(n?: number): number; /** * An easing function that 'bounces' near the end of an Animation - * - * @param n Optional + * + * @param n Optional */ bounceOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ circIn(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ circInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ circOut(n?: number): any; /** - * - * @param n Optional + * + * @param n Optional */ cubicIn(n?: number): any; /** - * - * @param n Optional + * + * @param n Optional */ cubicInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ cubicOut(n?: number): number; /** * An easing function the elastically snaps from the start value * An easing function the elastically snaps from the start value - * + * * Use caution when the elasticity will cause values to become negative * as some properties cannot be set to negative values. - * - * @param n Optional + * + * @param n Optional */ elasticIn(n?: number): number; /** @@ -17976,11 +17976,11 @@ declare module dojo { * the beginning and end of the Animation. * An easing function that elasticly snaps around the value, near * the beginning and end of the Animation. - * + * * Use caution when the elasticity will cause values to become * negative as some properties cannot be set to negative values. - * - * @param n Optional + * + * @param n Optional */ elasticInOut(n?: number): number; /** @@ -17988,92 +17988,92 @@ declare module dojo { * near the end of the Animation * An easing function that elasticly snaps around the target value, * near the end of the Animation - * + * * Use caution when the elasticity will cause values to become * negative as some properties cannot be set to negative values. - * - * @param n Optional + * + * @param n Optional */ elasticOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ expoIn(n?: number): any; /** - * - * @param n Optional + * + * @param n Optional */ expoInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ expoOut(n?: number): number; /** * A linear easing function - * - * @param n Optional + * + * @param n Optional */ linear(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ quadIn(n?: number): any; /** - * - * @param n Optional + * + * @param n Optional */ quadInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ quadOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ quartIn(n?: number): any; /** - * - * @param n Optional + * + * @param n Optional */ quartInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ quartOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ quintIn(n?: number): any; /** - * - * @param n Optional + * + * @param n Optional */ quintInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ quintOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ sineIn(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ sineInOut(n?: number): number; /** - * - * @param n Optional + * + * @param n Optional */ sineOut(n?: number): any; } @@ -18084,49 +18084,49 @@ declare module dojo { * * A singleton-style instance of dojo/router/RouterBase. See that * module for specifics. - * + * */ interface router extends dojo.router.RouterBase { } - module router { + namespace router { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/router/RouterBase.html * * A module that allows one to easily map hash-based structures into * callbacks. The router module is a singleton, offering one central * point for all registrations of this type. - * - * @param kwArgs + * + * @param kwArgs */ class RouterBase { constructor(kwArgs: any); /** - * + * */ "globMatch": RegExp; /** - * + * */ "globReplacement": string; /** - * + * */ "idMatch": RegExp; /** - * + * */ "idReplacement": string; /** - * + * */ destroy(): void; /** * A simple pass-through to make changing the hash easy, * without having to require dojo/hash directly. It also * synchronously fires off any routes that match. - * - * @param path - * @param replace + * + * @param path + * @param replace */ go(path: string, replace?: boolean): any; /** @@ -18134,13 +18134,13 @@ declare module dojo { * Given either a string or a regular expression, the router * will monitor the page's hash and respond to changes that * match the string or regex as provided. - * + * * When provided a regex for the route: - * + * * Matching is performed, and the resulting capture groups * are passed through to the callback as an array. * When provided a string for the route: - * + * * The string is parsed as a URL-like structure, like * "/foo/bar" * If any portions of that URL are prefixed with a colon @@ -18152,9 +18152,9 @@ declare module dojo { * anything remaining on the hash will be provided as a * property on the object passed into the callback. Think of * it like a basic means of globbing the end of a route. - * - * @param route A string or regular expression which will be used whenmonitoring hash changes. - * @param callback When the hash matches a pattern as described in the route,this callback will be executed. It will receive an eventobject that will have several properties:params: Either an array or object of properties pulledfrom the new hasholdPath: The hash in its state before the changenewPath: The new hash being shifted topreventDefault: A method that will stop hash changesfrom being actually applied to the active hash. This onlyworks if the hash change was initiated using router.go,as changes initiated more directly to the location.hashproperty will already be in placestopImmediatePropagation: When called, will stop anyfurther bound callbacks on this particular route frombeing executed. If two distinct routes are bound that aredifferent, but both happen to match the current hash insome way, this will not keep other routes from receivingnotice of the change. + * + * @param route A string or regular expression which will be used whenmonitoring hash changes. + * @param callback When the hash matches a pattern as described in the route,this callback will be executed. It will receive an eventobject that will have several properties:params: Either an array or object of properties pulledfrom the new hasholdPath: The hash in its state before the changenewPath: The new hash being shifted topreventDefault: A method that will stop hash changesfrom being actually applied to the active hash. This onlyworks if the hash change was initiated using router.go,as changes initiated more directly to the location.hashproperty will already be in placestopImmediatePropagation: When called, will stop anyfurther bound callbacks on this particular route frombeing executed. If two distinct routes are bound that aredifferent, but both happen to match the current hash insome way, this will not keep other routes from receivingnotice of the change. */ register(route: String, callback: Function): any; /** @@ -18162,13 +18162,13 @@ declare module dojo { * Given either a string or a regular expression, the router * will monitor the page's hash and respond to changes that * match the string or regex as provided. - * + * * When provided a regex for the route: - * + * * Matching is performed, and the resulting capture groups * are passed through to the callback as an array. * When provided a string for the route: - * + * * The string is parsed as a URL-like structure, like * "/foo/bar" * If any portions of that URL are prefixed with a colon @@ -18180,9 +18180,9 @@ declare module dojo { * anything remaining on the hash will be provided as a * property on the object passed into the callback. Think of * it like a basic means of globbing the end of a route. - * - * @param route A string or regular expression which will be used whenmonitoring hash changes. - * @param callback When the hash matches a pattern as described in the route,this callback will be executed. It will receive an eventobject that will have several properties:params: Either an array or object of properties pulledfrom the new hasholdPath: The hash in its state before the changenewPath: The new hash being shifted topreventDefault: A method that will stop hash changesfrom being actually applied to the active hash. This onlyworks if the hash change was initiated using router.go,as changes initiated more directly to the location.hashproperty will already be in placestopImmediatePropagation: When called, will stop anyfurther bound callbacks on this particular route frombeing executed. If two distinct routes are bound that aredifferent, but both happen to match the current hash insome way, this will not keep other routes from receivingnotice of the change. + * + * @param route A string or regular expression which will be used whenmonitoring hash changes. + * @param callback When the hash matches a pattern as described in the route,this callback will be executed. It will receive an eventobject that will have several properties:params: Either an array or object of properties pulledfrom the new hasholdPath: The hash in its state before the changenewPath: The new hash being shifted topreventDefault: A method that will stop hash changesfrom being actually applied to the active hash. This onlyworks if the hash change was initiated using router.go,as changes initiated more directly to the location.hashproperty will already be in placestopImmediatePropagation: When called, will stop anyfurther bound callbacks on this particular route frombeing executed. If two distinct routes are bound that aredifferent, but both happen to match the current hash insome way, this will not keep other routes from receivingnotice of the change. */ register(route: RegExp, callback: Function): any; /** @@ -18192,9 +18192,9 @@ declare module dojo { * us to register route callbacks to happen before any * previously registered callbacks. See the documentation for * register for more details and examples. - * - * @param route - * @param callback + * + * @param route + * @param callback */ registerBefore(route: String, callback: Function): any; /** @@ -18204,17 +18204,17 @@ declare module dojo { * us to register route callbacks to happen before any * previously registered callbacks. See the documentation for * register for more details and examples. - * - * @param route - * @param callback + * + * @param route + * @param callback */ registerBefore(route: RegExp, callback: Function): any; /** * This method must be called to activate the router. Until * startup is called, no hash changes will trigger route * callbacks. - * - * @param defaultPath + * + * @param defaultPath */ startup(defaultPath: any): void; } @@ -18225,7 +18225,7 @@ declare module dojo { * * provides aspect oriented programming functionality, allowing for * one to add before, around, or after advice on existing methods. - * + * */ interface aspect { /** @@ -18236,11 +18236,11 @@ declare module dojo { * The fourth (optional) argument can be set to true to so the function receives the original * arguments (from when the original method was called) rather than the return value. * If there are multiple "after" advisors, they are executed in the order they were registered. - * - * @param target This is the target object - * @param methodName This is the name of the method to attach to. - * @param advice This is function to be called after the original method - * @param receiveArguments OptionalIf this is set to true, the advice function receives the original arguments (from when the original mehtodwas called) rather than the return value of the original/previous method. + * + * @param target This is the target object + * @param methodName This is the name of the method to attach to. + * @param advice This is function to be called after the original method + * @param receiveArguments OptionalIf this is set to true, the advice function receives the original arguments (from when the original mehtodwas called) rather than the return value of the original/previous method. */ after(target: Object, methodName: String, advice: Function, receiveArguments?: boolean): any; /** @@ -18251,10 +18251,10 @@ declare module dojo { * The advisor function should return a function, and this function will be called whenever * the method is called. It will be called with the arguments used to call the method. * Whatever this function returns will be returned as the result of the method call (unless after advise changes it). - * - * @param target This is the target object - * @param methodName This is the name of the method to attach to. - * @param advice This is function to be called around the original method + * + * @param target This is the target object + * @param methodName This is the name of the method to attach to. + * @param advice This is function to be called around the original method */ around(target: Object, methodName: String, advice: Function): void; /** @@ -18266,10 +18266,10 @@ declare module dojo { * If the before method doesn't return anything (returns undefined) the original arguments * will be preserved. * If there are multiple "before" advisors, they are executed in the reverse order they were registered. - * - * @param target This is the target object - * @param methodName This is the name of the method to attach to. - * @param advice This is function to be called before the original method + * + * @param target This is the target object + * @param methodName This is the name of the method to attach to. + * @param advice This is function to be called before the original method */ before(target: Object, methodName: String, advice: Function): void; } @@ -18277,7 +18277,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/back.html * * Browser history management resources - * + * */ interface back { /** @@ -18286,44 +18286,44 @@ declare module dojo { * argument should implement a function called either "back", * "backButton", or "handle". The string "back" will be passed as * the first and only argument to this callback. - * + * * To support getting forward button notifications, the object * argument should implement a function called either "forward", * "forwardButton", or "handle". The string "forward" will be * passed as the first and only argument to this callback. - * + * * If you want the browser location string to change, define "changeUrl" on the object. If the * value of "changeUrl" is true, then a unique number will be appended to the URL as a fragment * identifier (http://some.domain.com/path#uniquenumber). If it is any other value that does * not evaluate to false, that value will be used as the fragment identifier. For example, * if changeUrl: 'page1', then the URL will look like: http://some.domain.com/path#page1 - * + * * There are problems with using dojo/back with semantically-named fragment identifiers * ("hash values" on an URL). In most browsers it will be hard for dojo/back to know * distinguish a back from a forward event in those cases. For back/forward support to * work best, the fragment ID should always be a unique value (something using new Date().getTime() * for example). If you want to detect hash changes using semantic fragment IDs, then * consider using dojo/hash instead (in Dojo 1.4+). - * - * @param args The state object that will be added to the history list. + * + * @param args The state object that will be added to the history list. */ addToHistory(args: Object): void; /** - * + * */ getHash(): any; /** * private method. Do not call this directly. - * + * */ goBack(): void; /** * private method. Do not call this directly. - * + * */ goForward(): void; /** - * Initializes the undo stack. This must be called from a + * Initializes the undo stack. This must be called from a * block that lives inside the <body> tag to prevent bugs on IE. *

*

Only call this method before the page's DOM is finished loading. Otherwise @@ -18332,7 +18332,7 @@ declare module dojo { *

*
*
- *
setHash(h) + *
setHash(h) *
*
Defined by dojo/back *
@@ -18352,7 +18352,7 @@ declare module dojo { * *
*
- *
setInitialState(args) + *
setInitialState(args) *
*
Defined by dojo/back *
@@ -18372,7 +18372,7 @@ declare module dojo { * args * Object *

See the addToHistory() function for the list of valid args properties.

- * + * * * * @@ -18387,11 +18387,11 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/colors.html * * Color utilities, extending Base dojo.Color - * + * */ interface colors { /** - * + * */ ThreeD: Object; } @@ -18406,7 +18406,7 @@ declare module dojo { * currency support is included. A fixed number of decimal places is determined based * on the currency type and is not determined by the 'pattern' argument. The fractional * portion is optional, by default, and variable length decimals are not supported. - * + * */ interface currency { /** @@ -18415,129 +18415,129 @@ declare module dojo { * Formatting patterns * appropriate to the locale are chosen from the CLDR * as well as the appropriate symbols and delimiters and number of decimal places. - * - * @param value the number to be formatted. - * @param options Optional + * + * @param value the number to be formatted. + * @param options Optional */ format(value: number, options?: dojo.currency.__FormatOptions): any; /** - * - * @param expression - * @param options OptionalAn object with the following properties:type (String, optional): Should not be set. Value is assumed to be currency.currency (String, optional): an ISO4217 currency code, a three letter sequence like "USD".For use with dojo.currency only.symbol (String, optional): localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldrA ISO4217 currency code will be used if not found.places (Number, optional): fixed number of decimal places to accept. The default is determined based on which currency is used.fractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by the currencyor explicit 'places' parameter. The value [true,false] makes the fractional portion optional.By default for currencies, it the fractional portion is optional.pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators + * + * @param expression + * @param options OptionalAn object with the following properties:type (String, optional): Should not be set. Value is assumed to be currency.currency (String, optional): an ISO4217 currency code, a three letter sequence like "USD".For use with dojo.currency only.symbol (String, optional): localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldrA ISO4217 currency code will be used if not found.places (Number, optional): fixed number of decimal places to accept. The default is determined based on which currency is used.fractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by the currencyor explicit 'places' parameter. The value [true,false] makes the fractional portion optional.By default for currencies, it the fractional portion is optional.pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators */ parse(expression: String, options?: Object): any; /** - * - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. + * + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. */ regexp(options?: Object): any; } - module currency { + namespace currency { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/currency.__FormatOptions.html * - * + * */ class __FormatOptions { constructor(); /** * an ISO4217 currency code, a three letter sequence like "USD". * For use with dojo.currency only. - * + * */ "currency": string; /** * If false, show no decimal places, overriding places and pattern settings. - * + * */ "fractional": boolean; /** * override the locale used to determine formatting rules - * + * */ "locale": string; /** * override formatting pattern * with this string. Default value is based on locale. Overriding this property will defeat * localization. Literal characters in patterns are not supported. - * + * */ "pattern": string; /** * number of decimal places to show. Default is defined based on which currency is used. - * + * */ "places": number; /** * 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1 * means do not round. - * + * */ "round": number; /** * localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldr * A ISO4217 currency code will be used if not found. - * + * */ "symbol": string; /** * Should not be set. Value is assumed to be "currency". - * + * */ "type": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/currency.__ParseOptions.html * - * + * */ class __ParseOptions { constructor(); /** * an ISO4217 currency code, a three letter sequence like "USD". * For use with dojo.currency only. - * + * */ "currency": string; /** * Whether to include the fractional portion, where the number of decimal places are implied by the currency * or explicit 'places' parameter. The value [true,false] makes the fractional portion optional. * By default for currencies, it the fractional portion is optional. - * + * */ "fractional": boolean; /** * override the locale used to determine formatting rules - * + * */ "locale": string; /** * override formatting pattern * with this string. Default value is based on locale. Overriding this property will defeat * localization. Literal characters in patterns are not supported. - * + * */ "pattern": string; /** * fixed number of decimal places to accept. The default is determined based on which currency is used. - * + * */ "places": number; /** * strict parsing, false by default. Strict parsing requires input as produced by the format() method. * Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators - * + * */ "strict": boolean; /** * localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldr * A ISO4217 currency code will be used if not found. - * + * */ "symbol": string; /** * Should not be set. Value is assumed to be currency. - * + * */ "type": string; } @@ -18547,130 +18547,130 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom.html * * This module defines the core dojo DOM API. - * + * */ interface dom { /** * Returns DOM node with matching id attribute or falsy value (ex: null or undefined) * if not found. If id is a DomNode, this function is a no-op. - * - * @param id A string to match an HTML id attribute or a reference to a DOM Node - * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. + * + * @param id A string to match an HTML id attribute or a reference to a DOM Node + * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. */ byId(id: String, doc?: HTMLDocument): any; /** * Returns DOM node with matching id attribute or falsy value (ex: null or undefined) * if not found. If id is a DomNode, this function is a no-op. - * - * @param id A string to match an HTML id attribute or a reference to a DOM Node - * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. + * + * @param id A string to match an HTML id attribute or a reference to a DOM Node + * @param doc OptionalDocument to work in. Defaults to the current value ofdojo/_base/window.doc. Can be used to retrievenode references from other documents. */ byId(id: HTMLElement, doc?: HTMLDocument): any; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: HTMLElement, ancestor: HTMLElement): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: String, ancestor: HTMLElement): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: HTMLElement, ancestor: String): boolean; /** * Returns true if node is a descendant of ancestor - * - * @param node string id or node reference to test - * @param ancestor string id or node reference of potential parent to test against + * + * @param node string id or node reference to test + * @param ancestor string id or node reference of potential parent to test against */ isDescendant(node: String, ancestor: String): boolean; /** - * - * @param node - * @param selectable + * + * @param node + * @param selectable */ setSelectable(node: any, selectable: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-attr.html * - * + * */ interface dom_attr { /** * Gets an attribute on an HTML element. * Handles normalized getting of attributes on DOM Nodes. - * - * @param node id or reference to the element to get the attribute on - * @param name the name of the attribute to get. + * + * @param node id or reference to the element to get the attribute on + * @param name the name of the attribute to get. */ get(node: HTMLElement, name: String): any; /** * Gets an attribute on an HTML element. * Handles normalized getting of attributes on DOM Nodes. - * - * @param node id or reference to the element to get the attribute on - * @param name the name of the attribute to get. + * + * @param node id or reference to the element to get the attribute on + * @param name the name of the attribute to get. */ get(node: String, name: String): any; /** * Returns an effective value of a property or an attribute. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute */ getNodeProp(node: HTMLElement, name: String): any; /** * Returns an effective value of a property or an attribute. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute */ getNodeProp(node: String, name: String): any; /** * Returns true if the requested attribute is specified on the * given element, and false otherwise. - * - * @param node id or reference to the element to check - * @param name the name of the attribute + * + * @param node id or reference to the element to check + * @param name the name of the attribute */ has(node: HTMLElement, name: String): boolean; /** * Returns true if the requested attribute is specified on the * given element, and false otherwise. - * - * @param node id or reference to the element to check - * @param name the name of the attribute + * + * @param node id or reference to the element to check + * @param name the name of the attribute */ has(node: String, name: String): boolean; /** * Removes an attribute from an HTML element. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute to remove + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute to remove */ remove(node: HTMLElement, name: String): void; /** * Removes an attribute from an HTML element. - * - * @param node id or reference to the element to remove the attribute from - * @param name the name of the attribute to remove + * + * @param node id or reference to the element to remove the attribute from + * @param name the name of the attribute to remove */ remove(node: String, name: String): void; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -18680,16 +18680,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ set(node: HTMLElement, name: String, value?: String): any; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -18699,16 +18699,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ set(node: String, name: String, value?: String): any; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -18718,16 +18718,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ set(node: HTMLElement, name: Object, value?: String): any; /** * Sets an attribute on an HTML element. * Handles normalized setting of attributes on DOM Nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -18737,10 +18737,10 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the attribute on - * @param name the name of the attribute to set, or a hash of key-value pairs to set. - * @param value Optionalthe value to set for the attribute, if the name is a string. + * + * @param node id or reference to the element to set the attribute on + * @param name the name of the attribute to set, or a hash of key-value pairs to set. + * @param value Optionalthe value to set for the attribute, if the name is a string. */ set(node: String, name: Object, value?: String): any; } @@ -18748,199 +18748,199 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-class.html * * This module defines the core dojo DOM class API. - * + * */ interface dom_class { /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ add(node: String, classStr: String): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ add(node: HTMLElement, classStr: String): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ add(node: String, classStr: any[]): void; /** * Adds the specified classes to the end of the class list on the * passed node. Will not re-apply duplicate classes. - * - * @param node String ID or DomNode reference to add a class string too - * @param classStr A String class name to add, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to add a class string too + * @param classStr A String class name to add, or several space-separated class names,or an array of class names. */ add(node: HTMLElement, classStr: any[]): void; /** * Returns whether or not the specified classes are a portion of the * class list currently applied to the node. - * - * @param node String ID or DomNode reference to check the class for. - * @param classStr A string class name to look for. + * + * @param node String ID or DomNode reference to check the class for. + * @param classStr A string class name to look for. */ contains(node: String, classStr: String): boolean; /** * Returns whether or not the specified classes are a portion of the * class list currently applied to the node. - * - * @param node String ID or DomNode reference to check the class for. - * @param classStr A string class name to look for. + * + * @param node String ID or DomNode reference to check the class for. + * @param classStr A string class name to look for. */ contains(node: HTMLElement, classStr: String): boolean; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ remove(node: String, classStr?: String): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ remove(node: HTMLElement, classStr?: String): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ remove(node: String, classStr?: any[]): void; /** * Removes the specified classes from node. No contains() * check is required. - * - * @param node String ID or DomNode reference to remove the class from. - * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. + * + * @param node String ID or DomNode reference to remove the class from. + * @param classStr OptionalAn optional String class name to remove, or several space-separatedclass names, or an array of class names. If omitted, all class nameswill be deleted. */ remove(node: HTMLElement, classStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: String, addClassStr: String, removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: HTMLElement, addClassStr: String, removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: String, addClassStr: any[], removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: HTMLElement, addClassStr: any[], removeClassStr?: String): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: String, addClassStr: String, removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: HTMLElement, addClassStr: String, removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: String, addClassStr: any[], removeClassStr?: any[]): void; /** * Replaces one or more classes on a node if not present. * Operates more quickly than calling dojo.removeClass and dojo.addClass - * - * @param node String ID or DomNode reference to remove the class from. - * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. - * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. + * + * @param node String ID or DomNode reference to remove the class from. + * @param addClassStr A String class name to add, or several space-separated class names,or an array of class names. + * @param removeClassStr OptionalA String class name to remove, or several space-separated class names,or an array of class names. */ replace(node: HTMLElement, addClassStr: any[], removeClassStr?: any[]): void; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggle(node: String, classStr: String, condition?: boolean): boolean; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggle(node: HTMLElement, classStr: String, condition?: boolean): boolean; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggle(node: String, classStr: any[], condition?: boolean): boolean; /** * Adds a class to node if not present, or removes if present. * Pass a boolean condition if you want to explicitly add or remove. * Returns the condition that was specified directly or indirectly. - * - * @param node String ID or DomNode reference to toggle a class string - * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. - * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. + * + * @param node String ID or DomNode reference to toggle a class string + * @param classStr A String class name to toggle, or several space-separated class names,or an array of class names. + * @param condition OptionalIf passed, true means to add the class, false means to remove.Otherwise dojo.hasClass(node, classStr) is used to detect the class presence. */ toggle(node: HTMLElement, classStr: any[], condition?: boolean): boolean; } @@ -18948,7 +18948,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-form.html * * This module defines form-processing functions. - * + * */ interface dom_form { /** @@ -18957,8 +18957,8 @@ declare module dojo { * as a string or an array of strings. Disabled form elements * and unchecked radio and checkboxes are skipped. Multi-select * elements are returned as an array of string values. - * - * @param inputNode + * + * @param inputNode */ fieldToObject(inputNode: HTMLElement): Object; /** @@ -18967,24 +18967,24 @@ declare module dojo { * as a string or an array of strings. Disabled form elements * and unchecked radio and checkboxes are skipped. Multi-select * elements are returned as an array of string values. - * - * @param inputNode + * + * @param inputNode */ fieldToObject(inputNode: String): Object; /** * Create a serialized JSON string from a form node or string * ID identifying the form to serialize - * - * @param formNode - * @param prettyPrint Optional + * + * @param formNode + * @param prettyPrint Optional */ toJson(formNode: HTMLElement, prettyPrint?: boolean): String; /** * Create a serialized JSON string from a form node or string * ID identifying the form to serialize - * - * @param formNode - * @param prettyPrint Optional + * + * @param formNode + * @param prettyPrint Optional */ toJson(formNode: String, prettyPrint?: boolean): String; /** @@ -18993,8 +18993,8 @@ declare module dojo { * string properties in an object which it then returns. Disabled form * elements, buttons, and other non-value form elements are skipped. * Multi-select elements are returned as an array of string values. - * - * @param formNode + * + * @param formNode */ toObject(formNode: HTMLElement): Object; /** @@ -19003,29 +19003,29 @@ declare module dojo { * string properties in an object which it then returns. Disabled form * elements, buttons, and other non-value form elements are skipped. * Multi-select elements are returned as an array of string values. - * - * @param formNode + * + * @param formNode */ toObject(formNode: String): Object; /** * Returns a URL-encoded string representing the form passed as either a * node or string ID identifying the form to serialize - * - * @param formNode + * + * @param formNode */ toQuery(formNode: HTMLElement): String; /** * Returns a URL-encoded string representing the form passed as either a * node or string ID identifying the form to serialize - * - * @param formNode + * + * @param formNode */ toQuery(formNode: String): String; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-construct.html * - * + * */ interface dom_construct { /** @@ -19034,17 +19034,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: HTMLElement, attrs: Object, refNode?: HTMLElement, pos?: String): any; /** @@ -19053,17 +19053,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: String, attrs: Object, refNode?: HTMLElement, pos?: String): any; /** @@ -19072,17 +19072,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: HTMLElement, attrs: Object, refNode?: String, pos?: String): any; /** @@ -19091,17 +19091,17 @@ declare module dojo { * A DOM Element creation function. A shorthand method for creating a node or * a fragment, and allowing for a convenient optional attribute setting step, * as well as an optional DOM placement reference. - * + * * Attributes are set by passing the optional object through dojo.setAttr. * See dojo.setAttr for noted caveats and nuances, and API if applicable. - * + * * Placement is done via dojo.place, assuming the new node to be the action * node, passing along the optional reference node and position. - * - * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. - * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. - * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. - * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. + * + * @param tag A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),or an existing DOM node to process. + * @param attrs An object-hash of attributes to set on the newly created node.Can be null, if you don't want to set any attributes/styles.See: dojo.setAttr for a description of available attributes. + * @param refNode OptionalOptional reference node. Used by dojo.place to place the newly creatednode somewhere in the dom relative to refNode. Can be a DomNode referenceor String ID of a node. + * @param pos OptionalOptional positional reference. Defaults to "last" by way of dojo.place,though can be set to "first","after","before","last", "replace" or "only"to further control the placement of the new node relative to the refNode.'refNode' is required if a 'pos' is specified. */ create(tag: String, attrs: Object, refNode?: String, pos?: String): any; /** @@ -19109,8 +19109,8 @@ declare module dojo { * children. * Removes a node from its parent, clobbering it and all of its * children. Function only works with DomNodes, and returns nothing. - * - * @param node A String ID or DomNode reference of the element to be destroyed + * + * @param node A String ID or DomNode reference of the element to be destroyed */ destroy(node: HTMLElement): void; /** @@ -19118,132 +19118,132 @@ declare module dojo { * children. * Removes a node from its parent, clobbering it and all of its * children. Function only works with DomNodes, and returns nothing. - * - * @param node A String ID or DomNode reference of the element to be destroyed + * + * @param node A String ID or DomNode reference of the element to be destroyed */ destroy(node: String): void; /** * safely removes all children of the node. - * - * @param node a reference to a DOM node or an id. + * + * @param node a reference to a DOM node or an id. */ empty(node: HTMLElement): void; /** * safely removes all children of the node. - * - * @param node a reference to a DOM node or an id. + * + * @param node a reference to a DOM node or an id. */ empty(node: String): void; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: HTMLElement, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: HTMLElement, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: String, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: String, position?: String): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: HTMLElement, position?: number): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: HTMLElement, position?: number): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: HTMLElement, refNode: String, position?: number): HTMLElement; /** * Attempt to insert node into the DOM, choosing from various positioning options. * Returns the first argument resolved to a DOM node. - * - * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode - * @param refNode id or node reference to use as basis for placement - * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified + * + * @param node id or node reference, or HTML fragment starting with "<" to place relative to refNode + * @param refNode id or node reference to use as basis for placement + * @param position Optionalstring noting the position of node relative to refNode or anumber indicating the location in the childNodes collection of refNode.Accepted string values are:beforeafterreplaceonlyfirstlast"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,"only" replaces all children. position defaults to "last" if not specified */ place(node: String, refNode: String, position?: number): HTMLElement; /** * instantiates an HTML fragment returning the corresponding DOM. - * - * @param frag the HTML fragment - * @param doc Optionaloptional document to use when creating DOM nodes, defaults todojo/_base/window.doc if not specified. + * + * @param frag the HTML fragment + * @param doc Optionaloptional document to use when creating DOM nodes, defaults todojo/_base/window.doc if not specified. */ toDom(frag: String, doc?: HTMLDocument): any; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-prop.html * - * + * */ interface dom_prop { /** - * + * */ names: Object; /** * Gets a property on an HTML element. * Handles normalized getting of properties on DOM nodes. - * - * @param node id or reference to the element to get the property on - * @param name the name of the property to get. + * + * @param node id or reference to the element to get the property on + * @param name the name of the property to get. */ get(node: HTMLElement, name: String): any; /** * Gets a property on an HTML element. * Handles normalized getting of properties on DOM nodes. - * - * @param node id or reference to the element to get the property on - * @param name the name of the property to get. + * + * @param node id or reference to the element to get the property on + * @param name the name of the property to get. */ get(node: String, name: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -19253,16 +19253,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ set(node: HTMLElement, name: String, value?: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -19272,16 +19272,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ set(node: String, name: String, value?: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -19291,16 +19291,16 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ set(node: HTMLElement, name: Object, value?: String): any; /** * Sets a property on an HTML element. * Handles normalized setting of properties on DOM nodes. - * + * * When passing functions as values, note that they will not be * directly assigned to slots on the node, but rather the default * behavior will be removed and the new behavior will be added @@ -19310,50 +19310,50 @@ declare module dojo { * should cancel form submission using dojo.stopEvent() on the * passed event object instead of returning a boolean value from * the handler itself. - * - * @param node id or reference to the element to set the property on - * @param name the name of the property to set, or a hash object to setmultiple properties at once. - * @param value OptionalThe value to set for the property + * + * @param node id or reference to the element to set the property on + * @param name the name of the property to set, or a hash object to setmultiple properties at once. + * @param value OptionalThe value to set for the property */ set(node: String, name: Object, value?: String): any; } - module dom_prop { + namespace dom_prop { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-prop.names.html * - * + * */ interface names { /** - * + * */ class: string; /** - * + * */ colspan: string; /** - * + * */ for: string; /** - * + * */ frameborder: string; /** - * + * */ readonly: string; /** - * + * */ rowspan: string; /** - * + * */ tabindex: string; /** - * + * */ valuetype: string; } @@ -19363,84 +19363,84 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-style.html * * This module defines the core dojo DOM style API. - * + * */ interface dom_style { /** - * - * @param node - * @param name + * + * @param node + * @param name */ get(node: HTMLElement, name: String): any; /** - * - * @param node - * @param name + * + * @param node + * @param name */ get(node: String, name: String): any; /** - * - * @param node - * @param name + * + * @param node + * @param name */ get(node: HTMLElement, name: Object): any; /** - * - * @param node - * @param name + * + * @param node + * @param name */ get(node: String, name: Object): any; /** * Returns a "computed style" object. * Gets a "computed style" object which can be used to gather * information about the current state of the rendered node. - * + * * Note that this may behave differently on different browsers. * Values may have different formats and value encodings across * browsers. - * + * * Note also that this method is expensive. Wherever possible, * reuse the returned object. - * + * * Use the dojo/dom-style.get() method for more consistent (pixelized) * return values. - * - * @param node A reference to a DOM node. Does NOT support taking anID string for speed reasons. + * + * @param node A reference to a DOM node. Does NOT support taking anID string for speed reasons. */ getComputedStyle(node: HTMLElement): void; /** - * - * @param node - * @param name - * @param value Optional + * + * @param node + * @param name + * @param value Optional */ set(node: HTMLElement, name: String, value?: String): any; /** - * - * @param node - * @param name - * @param value Optional + * + * @param node + * @param name + * @param value Optional */ set(node: String, name: String, value?: String): any; /** - * - * @param node - * @param name - * @param value Optional + * + * @param node + * @param name + * @param value Optional */ set(node: HTMLElement, name: Object, value?: String): any; /** - * - * @param node - * @param name - * @param value Optional + * + * @param node + * @param name + * @param value Optional */ set(node: String, name: Object, value?: String): any; /** * converts style value to pixels on IE or return a numeric value. - * - * @param node - * @param value + * + * @param node + * @param value */ toPixelValue(node: HTMLElement, value: String): number; } @@ -19448,17 +19448,17 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/dom-geometry.html * * This module defines the core dojo DOM geometry API. - * + * */ interface dom_geometry { /** - * + * */ boxModel: string; /** * Returns an object with {node, x, y} with corresponding offsets. - * - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ docScroll(doc?: HTMLDocument): Object; /** @@ -19466,9 +19466,9 @@ declare module dojo { * returns a positive one. All codes using documentElement.scrollLeft * must call this function to fix this error, otherwise the position * will offset to right when there is a horizontal scrollbar. - * - * @param scrollLeft - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param scrollLeft + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ fixIeBiDiScrollLeft(scrollLeft: number, doc?: HTMLDocument): number; /** @@ -19480,77 +19480,77 @@ declare module dojo { * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getBorderExtents(node: HTMLElement, computedStyle?: Object): Object; /** * Returns an object that encodes the width, height, left and top * positions of the node's content box, irrespective of the * current box model. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getContentBox(node: HTMLElement, computedStyle?: Object): Object; /** * returns the offset in x and y from the document body to the * visual edge of the page for IE * The following values in IE contain an offset: - * + * * event.clientX * event.clientY * node.getBoundingClientRect().left * node.getBoundingClientRect().top * But other position related values do not contain this offset, - * + * * such as node.offsetLeft, node.offsetTop, node.style.left and * node.style.top. The offset is always (2, 2) in LTR direction. * When the body is in RTL direction, the offset counts the width * of left scroll bar's width. This function computes the actual * offset. - * - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ getIeDocumentElementOffset(doc?: HTMLDocument): Object; /** * returns an object that encodes the width, height, left and top * positions of the node's margin box. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginBox(node: HTMLElement, computedStyle?: Object): Object; /** * returns object with properties useful for box fitting with * regards to box margins (i.e., the outer-box). - * + * * l/t = marginLeft, marginTop, respectively * w = total width, margin inclusive * h = total height, margin inclusive * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginExtents(node: HTMLElement, computedStyle?: Object): Object; /** * returns an object that encodes the width and height of * the node's margin box - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginSize(node: HTMLElement, computedStyle?: Object): Object; /** * returns an object that encodes the width and height of * the node's margin box - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getMarginSize(node: String, computedStyle?: Object): Object; /** @@ -19562,40 +19562,40 @@ declare module dojo { * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getPadBorderExtents(node: HTMLElement, computedStyle?: Object): Object; /** * Returns object with special values specifically useful for node * fitting. * Returns an object with w, h, l, t properties: - * + * * l/t/r/b = left/top/right/bottom padding (respectively) * w = the total of the left and right padding * h = the total of the top and bottom padding * If 'node' has position, l/t forms the origin for child nodes. - * + * * The w/h are used for calculating boxes. * Normally application code will not need to invoke this * directly, and will use the ...box... functions instead. - * - * @param node - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ getPadExtents(node: HTMLElement, computedStyle?: Object): Object; /** * Returns true if the current language is left-to-right, and false otherwise. - * - * @param doc OptionalOptional document to query. If unspecified, use win.doc. + * + * @param doc OptionalOptional document to query. If unspecified, use win.doc. */ isBodyLtr(doc?: HTMLDocument): boolean; /** * Normalizes the geometry of a DOM event, normalizing the pageX, pageY, * offsetX, offsetY, layerX, and layerX properties - * - * @param event + * + * @param event */ normalizeEvent(event: Object): void; /** @@ -19609,9 +19609,9 @@ declare module dojo { * viewport. * Uses the border-box model (inclusive of border and padding but * not margin). Does not act as a setter. - * - * @param node - * @param includeScroll Optional + * + * @param node + * @param includeScroll Optional */ position(node: HTMLElement, includeScroll?: boolean): { w: number; h: number; x: number; y: number }; /** @@ -19625,18 +19625,18 @@ declare module dojo { * viewport. * Uses the border-box model (inclusive of border and padding but * not margin). Does not act as a setter. - * - * @param node - * @param includeScroll Optional + * + * @param node + * @param includeScroll Optional */ position(node: String, includeScroll?: boolean): { w: number; h: number; x: number; y: number }; /** * Sets the size of the node's contents, irrespective of margins, * padding, or borders. - * - * @param node - * @param box hash with optional "w", and "h" properties for "width", and "height"respectively. All specified properties should have numeric values in whole pixels. - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param box hash with optional "w", and "h" properties for "width", and "height"respectively. All specified properties should have numeric values in whole pixels. + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ setContentSize(node: HTMLElement, box: Object, computedStyle?: Object): void; /** @@ -19644,10 +19644,10 @@ declare module dojo { * (left/top), irrespective of box model. Think of it as a * passthrough to setBox that handles box-model vagaries for * you. - * - * @param node - * @param box hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"respectively. All specified properties should have numeric values in whole pixels. - * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). + * + * @param node + * @param box hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"respectively. All specified properties should have numeric values in whole pixels. + * @param computedStyle OptionalThis parameter accepts computed styles object.If this parameter is omitted, the functions will calldojo/dom-style.getComputedStyle to get one. It is a better way, callingdojo/dom-style.getComputedStyle once, and then pass the reference to thiscomputedStyle parameter. Wherever possible, reuse the returnedobject of dojo/dom-style.getComputedStyle(). */ setMarginBox(node: HTMLElement, box: Object, computedStyle?: Object): void; } @@ -19655,21 +19655,21 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/gears.html * * TODOC - * + * */ interface gears { /** * True if client is using Google Gears - * + * */ available: Object; } - module gears { + namespace gears { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/gears.available.html * * True if client is using Google Gears - * + * */ interface available { } @@ -19679,7 +19679,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/html.html * * TODOC - * + * */ interface html { /** @@ -19693,10 +19693,10 @@ declare module dojo { * an HTML string into the DOM, but it only handles inserting an HTML string as DOM * elements, or inserting a DOM node. dojo/dom-construct.place does not handle NodeList insertions * or the other capabilities as defined by the params object for this method. - * - * @param node the parent element that will receive the content - * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter + * + * @param node the parent element that will receive the content + * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter */ set(node: HTMLElement, cont: String, params?: Object): any; /** @@ -19710,10 +19710,10 @@ declare module dojo { * an HTML string into the DOM, but it only handles inserting an HTML string as DOM * elements, or inserting a DOM node. dojo/dom-construct.place does not handle NodeList insertions * or the other capabilities as defined by the params object for this method. - * - * @param node the parent element that will receive the content - * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter + * + * @param node the parent element that will receive the content + * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter */ set(node: HTMLElement, cont: HTMLElement, params?: Object): any; /** @@ -19727,53 +19727,53 @@ declare module dojo { * an HTML string into the DOM, but it only handles inserting an HTML string as DOM * elements, or inserting a DOM node. dojo/dom-construct.place does not handle NodeList insertions * or the other capabilities as defined by the params object for this method. - * - * @param node the parent element that will receive the content - * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes - * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter + * + * @param node the parent element that will receive the content + * @param cont the content to be set on the parent element.This can be an html string, a node reference or a NodeList, dojo/NodeList, Array or other enumerable list of nodes + * @param params OptionalOptional flags/properties to configure the content-setting. See dojo/html/_ContentSetter */ set(node: HTMLElement, cont: NodeList, params?: Object): any; } - module html { + namespace html { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/html._ContentSetter.html * - * - * @param params - * @param node + * + * @param params + * @param node */ class _ContentSetter { constructor(params: Object, node: String); /** * Should the content be treated as a full html document, * and the real content stripped of , wrapper before injection - * + * */ "cleanContent": boolean; /** * The content to be placed in the node. Can be an HTML string, a node reference, or a enumerable list of nodes - * + * */ "content": string; /** * Should the content be treated as a full html document, * and the real content stripped of wrapper before injection - * + * */ "extractContent": boolean; /** * Usually only used internally, and auto-generated with each instance - * + * */ "id": Object; /** * An node which will be the parent element that we set content into - * + * */ "node": HTMLElement; /** * Should the node by passed to the parser after the new content is set - * + * */ "parseContent": boolean; /** @@ -19781,43 +19781,43 @@ declare module dojo { * will search for data-dojo-type (or dojoType). For backwards compatibility * reasons defaults to dojo._scopeName (which is "dojo" except when * multi-version support is used, when it will be something like dojo16, dojo20, etc.) - * + * */ "parserScope": string; /** * Start the child widgets after parsing them. Only obeyed if parseContent is true. - * + * */ "startup": boolean; /** * cleanly empty out existing content - * + * */ empty(): void; /** * front-end to the set-content sequence - * - * @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used - * @param params Optional + * + * @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used + * @param params Optional */ set(cont: String, params?: Object): any; /** * front-end to the set-content sequence - * - * @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used - * @param params Optional + * + * @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used + * @param params Optional */ set(cont: HTMLElement, params?: Object): any; /** * front-end to the set-content sequence - * - * @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used - * @param params Optional + * + * @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used + * @param params Optional */ set(cont: NodeList, params?: Object): any; /** * sets the content on the node - * + * */ setContent(): void; /** @@ -19825,7 +19825,7 @@ declare module dojo { * tearDown() is not called automatically. * In normal use, the Setter instance properties are simply allowed to fall out of scope * but the tearDown method can be called to explicitly reset this instance. - * + * */ tearDown(): void; /** @@ -19834,24 +19834,24 @@ declare module dojo { * including the node and content provided - before the set operation actually takes place * This default implementation checks for cleanContent and extractContent flags to * optionally pre-process html string content - * + * */ onBegin(): any; /** - * - * @param err + * + * @param err */ onContentError(err: any): String; /** * Called after set(), when the new content has been pushed into the node * It provides an opportunity for post-processing before handing back the node to the caller * This default implementation checks a parseContent flag to optionally run the dojo parser over the new content - * + * */ onEnd(): any; /** - * - * @param err + * + * @param err */ onExecError(err: any): String; } @@ -19861,21 +19861,21 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/io-query.html * * This module defines query string processing functions. - * + * */ interface io_query { /** * takes a name/value mapping object and returns a string representing * a URL-encoded version of that object. - * - * @param map + * + * @param map */ objectToQuery(map: Object): any; /** * Create an object representing a de-serialized query section of a * URL. Query keys with multiple values are returned in an array. - * - * @param str + * + * @param str */ queryToObject(str: String): Object; } @@ -19886,69 +19886,69 @@ declare module dojo { * We choose to include our own plugin to leverage functionality already contained in dojo * and thereby reduce the size of the plugin compared to various loader implementations. Also, this * allows foreign AMD loaders to be used without their plugins. - * + * */ interface i18n { /** - * + * */ cache: Object; /** - * + * */ dynamic: boolean; /** - * + * */ unitTests: any[]; /** - * - * @param moduleName - * @param bundleName - * @param locale + * + * @param moduleName + * @param bundleName + * @param locale */ getL10nName(moduleName: any, bundleName: any, locale: any): String; /** - * - * @param moduleName - * @param bundleName - * @param locale + * + * @param moduleName + * @param bundleName + * @param locale */ getLocalization(moduleName: any, bundleName: any, locale: any): any; /** * id is in one of the following formats - * + * * /nls/ * => load the bundle, localized to config.locale; load all bundles localized to * config.extraLocale (if any); return the loaded bundle localized to config.locale. * /nls// - * => load then return the bundle localized to + * => load then return the bundle localized to * preload/nls// * => for config.locale and all config.extraLocale, load all bundles found * in the best-matching bundle rollup. A value of 1 is returned, which * is meaningless other than to say the plugin is executing the requested * preloads - * + * * In cases 1 and 2, is always normalized to an absolute module id upon entry; see * normalize. In case 3, it is assumed to be absolute; this is arranged by the builder. - * + * * To load a bundle means to insert the bundle into the plugin's cache and publish the bundle * value to the loader. Given , , and a particular , the cache key - * + * * /nls// * will hold the value. Similarly, then plugin will publish this value to the loader by - * + * * define("/nls//", ); * Given this algorithm, other machinery can provide fast load paths be preplacing * values in the plugin's cache, which is public. When a load is demanded the * cache is inspected before starting any loading. Explicitly placing values in the plugin * cache is an advanced/experimental feature that should not be needed; use at your own risk. - * + * * For the normal AMD algorithm, the root bundle is loaded first, which instructs the * plugin what additional localized bundles are required for a particular locale. These * additional locales are loaded and a mix of the root and each progressively-specific * locale is returned. For example: - * + * * The client demands "dojo/i18n!some/path/nls/someBundle * The loader demands load(some/path/nls/someBundle) * This plugin require's "some/path/nls/someBundle", which is the root bundle. @@ -19960,33 +19960,33 @@ declare module dojo { * mixin(mixin(mixin({}, require("some/path/nls/someBundle"), * require("some/path/nls/ab/someBundle")), * require("some/path/nls/ab-cd-ef/someBundle")); - * + * * This value is inserted into the cache and published to the loader at the * key/module-id some/path/nls/someBundle/ab-cd-ef. - * + * * The special preload signature (case 3) instructs the plugin to stop servicing all normal requests * (further preload requests will be serviced) until all ongoing preloading has completed. - * + * * The preload signature instructs the plugin that a special rollup module is available that contains * one or more flattened, localized bundles. The JSON array of available locales indicates which locales * are available. Here is an example: - * + * * *preload*some/path/nls/someModule*["root", "ab", "ab-cd-ef"] * This indicates the following rollup modules are available: - * + * * some/path/nls/someModule_ROOT * some/path/nls/someModule_ab * some/path/nls/someModule_ab-cd-ef * Each of these modules is a normal AMD module that contains one or more flattened bundles in a hash. * For example, assume someModule contained the bundles some/bundle/path/someBundle and * some/bundle/path/someOtherBundle, then some/path/nls/someModule_ab would be expressed as follows: - * + * * define({ * some/bundle/path/someBundle:, * some/bundle/path/someOtherBundle:, * }); * E.g., given this design, preloading for locale=="ab" can execute the following algorithm: - * + * * require(["some/path/nls/someModule_ab"], function(rollup){ * for(var p in rollup){ * var id = p + "/ab", @@ -19996,25 +19996,25 @@ declare module dojo { * }); * Similarly, if "ab-cd" is requested, the algorithm can determine that "ab" is the best available and * load accordingly. - * + * * The builder will write such rollups for every layer if a non-empty localeList profile property is * provided. Further, the builder will include the following cache entry in the cache associated with * any layer. - * + * * "*now":function(r){r(['dojo/i18n!*preload*/nls/*']);} * The *now special cache module instructs the loader to apply the provided function to context-require * with respect to the particular layer being defined. This causes the plugin to hold all normal service * requests until all preloading is complete. - * + * * Notice that this algorithm is rarely better than the standard AMD load algorithm. Consider the normal case * where the target locale has a single segment and a layer depends on a single bundle: - * + * * Without Preloads: - * + * * Layer loads root bundle. * bundle is demanded; plugin loads single localized bundle. * With Preloads: - * + * * Layer causes preloading of target bundle. * bundle is demanded; service is delayed until preloading complete; bundle is returned. * In each case a single transaction is required to load the target bundle. In cases where multiple bundles @@ -20022,32 +20022,32 @@ declare module dojo { * the normal path requires an additional transaction for each additional bundle/locale-segment. However all * of these additional transactions can be done concurrently. Owing to this analysis, the entire preloading * algorithm can be discard during a build by setting the has feature dojo-preload-i18n-Api to false. - * - * @param id - * @param require - * @param load + * + * @param id + * @param require + * @param load */ load(id: any, require: any, load: any): void; /** * id may be relative. * preload has form *preload*/nls/* and * therefore never looks like a relative - * - * @param id - * @param toAbsMid + * + * @param id + * @param toAbsMid */ normalize(id: any, toAbsMid: any): any; /** - * - * @param locale + * + * @param locale */ normalizeLocale(locale: any): any; } - module i18n { + namespace i18n { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/i18n.cache.html * - * + * */ interface cache { } @@ -20057,7 +20057,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/json.html * * Functions to parse and serialize JSON - * + * */ interface json { /** @@ -20069,9 +20069,9 @@ declare module dojo { * valid JSON strings are parsed (otherwise throwing an error). Without the strict * parameter, the content passed to this method must come * from a trusted source. - * - * @param str a string literal of a JSON item, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }' - * @param strict When set to true, this will ensure that only valid, secure JSON is ever parsed.Make sure this is set to true for untrusted content. Note that on browsers/engineswithout native JSON support, setting this to true will run slower. + * + * @param str a string literal of a JSON item, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }' + * @param strict When set to true, this will ensure that only valid, secure JSON is ever parsed.Make sure this is set to true for untrusted content. Note that on browsers/engineswithout native JSON support, setting this to true will run slower. */ parse(str: any, strict: any): void; /** @@ -20079,30 +20079,30 @@ declare module dojo { * Returns a JSON serialization of an object. * This function follows native JSON API * Note that this doesn't check for infinite recursion, so don't do that! - * - * @param value A value to be serialized. - * @param replacer A replacer function that is called for each value and can return a replacement - * @param spacer A spacer string to be used for pretty printing of JSON + * + * @param value A value to be serialized. + * @param replacer A replacer function that is called for each value and can return a replacement + * @param spacer A spacer string to be used for pretty printing of JSON */ stringify(value: any, replacer: any, spacer: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/loadInit.html * - * + * */ interface loadInit { /** - * + * */ dynamic: number; /** - * + * */ load: Object; /** - * - * @param id + * + * @param id */ normalize(id: any): any; } @@ -20111,263 +20111,263 @@ declare module dojo { * * Definitions for common key values. Client code should test keyCode against these named constants, * as the actual codes can vary by browser. - * + * */ interface keys { /** - * + * */ ALT: number; /** - * + * */ BACKSPACE: number; /** - * + * */ CAPS_LOCK: number; /** - * + * */ CLEAR: number; /** - * + * */ copyKey: number; /** - * + * */ CTRL: number; /** - * + * */ DELETE: number; /** - * + * */ DOWN_ARROW: number; /** - * + * */ DOWN_DPAD: number; /** - * + * */ END: number; /** - * + * */ ENTER: number; /** - * + * */ ESCAPE: number; /** - * + * */ F1: number; /** - * + * */ F10: number; /** - * + * */ F11: number; /** - * + * */ F12: number; /** - * + * */ F13: number; /** - * + * */ F14: number; /** - * + * */ F15: number; /** - * + * */ F2: number; /** - * + * */ F3: number; /** - * + * */ F4: number; /** - * + * */ F5: number; /** - * + * */ F6: number; /** - * + * */ F7: number; /** - * + * */ F8: number; /** - * + * */ F9: number; /** - * + * */ HELP: number; /** - * + * */ HOME: number; /** - * + * */ INSERT: number; /** - * + * */ LEFT_ARROW: number; /** - * + * */ LEFT_DPAD: number; /** - * + * */ LEFT_WINDOW: number; /** - * + * */ META: number; /** - * + * */ NUM_LOCK: number; /** - * + * */ NUMPAD_0: number; /** - * + * */ NUMPAD_1: number; /** - * + * */ NUMPAD_2: number; /** - * + * */ NUMPAD_3: number; /** - * + * */ NUMPAD_4: number; /** - * + * */ NUMPAD_5: number; /** - * + * */ NUMPAD_6: number; /** - * + * */ NUMPAD_7: number; /** - * + * */ NUMPAD_8: number; /** - * + * */ NUMPAD_9: number; /** - * + * */ NUMPAD_DIVIDE: number; /** - * + * */ NUMPAD_ENTER: number; /** - * + * */ NUMPAD_MINUS: number; /** - * + * */ NUMPAD_MULTIPLY: number; /** - * + * */ NUMPAD_PERIOD: number; /** - * + * */ NUMPAD_PLUS: number; /** - * + * */ PAGE_DOWN: number; /** - * + * */ PAGE_UP: number; /** - * + * */ PAUSE: number; /** - * + * */ RIGHT_ARROW: number; /** - * + * */ RIGHT_DPAD: number; /** - * + * */ RIGHT_WINDOW: number; /** - * + * */ SCROLL_LOCK: number; /** - * + * */ SELECT: number; /** - * + * */ SHIFT: number; /** - * + * */ SPACE: number; /** - * + * */ TAB: number; /** - * + * */ UP_ARROW: number; /** - * + * */ UP_DPAD: number; } @@ -20376,42 +20376,42 @@ declare module dojo { * * This module provide mouse event handling utility functions and exports * mouseenter and mouseleave event emulation. - * + * */ interface mouse { /** * This is an extension event for the mouseenter that IE provides, emulating the * behavior on other browsers. - * + * */ enter: Object; /** * This is an extension event for the mouseleave that IE provides, emulating the * behavior on other browsers. - * + * */ leave: Object; /** * Test an event object (from a mousedown event) to see if the left button was pressed. - * + * */ isLeft(): void; /** * Test an event object (from a mousedown event) to see if the middle button was pressed. - * + * */ isMiddle(): void; /** * Test an event object (from a mousedown event) to see if the right button was pressed. - * + * */ isRight(): void; /** * This is an extension event for the mousewheel that non-Mozilla browsers provide, * emulating the behavior on Mozilla based browsers. - * - * @param node - * @param listener + * + * @param node + * @param listener */ wheel(node: any, listener: any): any; } @@ -20420,25 +20420,25 @@ declare module dojo { * * This AMD plugin module allows native Node.js modules to be loaded by AMD modules using the Dojo * loader. Note that this plugin will not work with AMD loaders other than the Dojo loader. - * + * */ interface node { /** * Standard AMD plugin interface. See https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins * for information. - * - * @param id - * @param require - * @param load + * + * @param id + * @param require + * @param load */ load(id: String, require: Function, load: Function): void; /** * Produces a normalized id to be used by node. Relative ids are resolved relative to the requesting * module's location in the file system and will return an id with path separators appropriate for the * local file system. - * - * @param id - * @param normalize + * + * @param id + * @param normalize */ normalize(id: String, normalize: Function): any; } @@ -20446,7 +20446,7 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.html * * localized formatting and parsing routines for Number - * + * */ interface number_ { /** @@ -20456,9 +20456,9 @@ declare module dojo { * Common Locale Data Repository as well as the appropriate symbols and * delimiters. * If value is Infinity, -Infinity, or is not a valid JavaScript number, return null. - * - * @param value the number to be formatted - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.places (Number, optional): fixed number of decimal places to show. This overrides anyinformation in the provided pattern.round (Number, optional): 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1means do not round.locale (String, optional): override the locale used to determine formatting rulesfractional (Boolean, optional): If false, show no decimal places, overriding places and pattern settings. + * + * @param value the number to be formatted + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.places (Number, optional): fixed number of decimal places to show. This overrides anyinformation in the provided pattern.round (Number, optional): 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1means do not round.locale (String, optional): override the locale used to determine formatting rulesfractional (Boolean, optional): If false, show no decimal places, overriding places and pattern settings. */ format(value: number, options?: Object): any; /** @@ -20469,17 +20469,17 @@ declare module dojo { * and follow the syntax described by * unicode.org TR35 * Note that literal characters in patterns are not supported. - * - * @param expression A string representation of a Number - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsfractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by patternor explicit 'places' parameter. The value [true,false] makes the fractional portion optional. + * + * @param expression A string representation of a Number + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization. Literal characters in patterns are not supported.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsfractional (Boolean|Array, optional): Whether to include the fractional portion, where the number of decimal places are implied by patternor explicit 'places' parameter. The value [true,false] makes the fractional portion optional. */ parse(expression: String, options?: Object): number; /** * Builds the regular needed to parse a number * Returns regular expression with positive and negative match, group * and decimal separators - * - * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. + * + * @param options OptionalAn object with the following properties:pattern (String, optional): override formatting patternwith this string. Default value is based on locale. Overriding this property will defeatlocalization.type (String, optional): choose a format type based on the locale from the following:decimal, scientific (not yet supported), percent, currency. decimal by default.locale (String, optional): override the locale used to determine formatting rulesstrict (Boolean, optional): strict parsing, false by default. Strict parsing requires input as produced by the format() method.Non-strict is more permissive, e.g. flexible on white space, omitting thousands separatorsplaces (Number|String, optional): number of decimal places to accept: Infinity, a positive number, ora range "n,m". Defined by pattern or Infinity if pattern not provided. */ regexp(options: Object): any; /** @@ -20488,129 +20488,129 @@ declare module dojo { * Similar to Number.toFixed(), but compensates for browser quirks. Rounding can be done by * fractional increments also, such as the nearest quarter. * NOTE: Subject to floating point errors. See dojox/math/round for experimental workaround. - * - * @param value The number to round - * @param places OptionalThe number of decimal places where rounding takes place. Defaults to 0 for whole rounding.Must be non-negative. - * @param increment OptionalRounds next place to nearest value of increment/10. 10 by default. + * + * @param value The number to round + * @param places OptionalThe number of decimal places where rounding takes place. Defaults to 0 for whole rounding.Must be non-negative. + * @param increment OptionalRounds next place to nearest value of increment/10. 10 by default. */ round(value: number, places?: number, increment?: number): number; } - module number_ { + namespace number_ { /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.__FormatAbsoluteOptions.html * - * + * */ class __FormatAbsoluteOptions { constructor(); /** * the decimal separator - * + * */ "decimal": string; /** * the group separator - * + * */ "group": string; /** * number of decimal places. the range "n,m" will format to m places. - * + * */ "places": number; /** * 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1 * means don't round. - * + * */ "round": number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.__IntegerRegexpFlags.html * - * + * */ class __IntegerRegexpFlags { constructor(); /** * group size between separators - * + * */ "groupSize": number; /** * second grouping, where separators 2..n have a different interval than the first separator (for India) - * + * */ "groupSize2": number; /** * The character used as the thousands separator. Default is no * separator. For more than one symbol use an array, e.g. [",", ""], * makes ',' optional. - * + * */ "separator": string; /** * The leading plus-or-minus sign. Can be true, false, or [true,false]. * Default is [true, false], (i.e. will match if it is signed * or unsigned). - * + * */ "signed": boolean; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.__FormatOptions.html * - * + * */ class __FormatOptions { constructor(); /** * If false, show no decimal places, overriding places and pattern settings. - * + * */ "fractional": boolean; /** * override the locale used to determine formatting rules - * + * */ "locale": string; /** * override formatting pattern * with this string. Default value is based on locale. Overriding this property will defeat * localization. Literal characters in patterns are not supported. - * + * */ "pattern": string; /** * fixed number of decimal places to show. This overrides any * information in the provided pattern. - * + * */ "places": number; /** * 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1 * means do not round. - * + * */ "round": number; /** * choose a format type based on the locale from the following: * decimal, scientific (not yet supported), percent, currency. decimal by default. - * + * */ "type": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.__RealNumberRegexpFlags.html * - * + * */ class __RealNumberRegexpFlags { constructor(); /** * A string for the character used as the decimal point. Default * is ".". - * + * */ "decimal": string; /** @@ -20618,103 +20618,103 @@ declare module dojo { * false, or [true, false]. Default is [true, false], (i.e. will * match if it is signed or unsigned). flags in regexp.integer can be * applied. - * + * */ "eSigned": boolean; /** * Express in exponential notation. Can be true, false, or [true, * false]. Default is [true, false], (i.e. will match if the * exponential part is present are not). - * + * */ "exponent": boolean; /** * Whether decimal places are used. Can be true, false, or [true, * false]. Default is [true, false] which means optional. - * + * */ "fractional": boolean; /** * The integer number of decimal places or a range given as "n,m". If * not given, the decimal part is optional and the number of places is * unlimited. - * + * */ "places": number; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.__ParseOptions.html * - * + * */ class __ParseOptions { constructor(); /** * Whether to include the fractional portion, where the number of decimal places are implied by pattern * or explicit 'places' parameter. The value [true,false] makes the fractional portion optional. - * + * */ "fractional": boolean; /** * override the locale used to determine formatting rules - * + * */ "locale": string; /** * override formatting pattern * with this string. Default value is based on locale. Overriding this property will defeat * localization. Literal characters in patterns are not supported. - * + * */ "pattern": string; /** * strict parsing, false by default. Strict parsing requires input as produced by the format() method. * Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators - * + * */ "strict": boolean; /** * choose a format type based on the locale from the following: * decimal, scientific (not yet supported), percent, currency. decimal by default. - * + * */ "type": string; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojo/number.__RegexpOptions.html * - * + * */ class __RegexpOptions { constructor(); /** * override the locale used to determine formatting rules - * + * */ "locale": string; /** * override formatting pattern * with this string. Default value is based on locale. Overriding this property will defeat * localization. - * + * */ "pattern": string; /** * number of decimal places to accept: Infinity, a positive number, or * a range "n,m". Defined by pattern or Infinity if pattern not provided. - * + * */ "places": number; /** * strict parsing, false by default. Strict parsing requires input as produced by the format() method. * Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators - * + * */ "strict": boolean; /** * choose a format type based on the locale from the following: * decimal, scientific (not yet supported), percent, currency. decimal by default. - * + * */ "type": string; } @@ -20724,29 +20724,29 @@ declare module dojo { * Permalink: http://dojotoolkit.org/api/1.9/dojo/parser.html * * The Dom/Widget parsing package - * + * */ interface parser { /** * Calls new ctor(params, node), where params is the hash of parameters specified on the node, * excluding data-dojo-type and data-dojo-mixins. Does not call startup(). - * - * @param ctor Widget constructor. - * @param node This node will be replaced/attached to by the widget. It also specifies the arguments to pass to ctor. - * @param mixin OptionalAttributes in this object will be passed as parameters to ctor,overriding attributes specified on the node. - * @param options OptionalAn options object used to hold kwArgs for instantiation. See parse.options argument for details. - * @param scripts OptionalArray of * One can provide XML or JSON data by simply quoting the data as a string, and parsing the data - * + * * on the client. * If you use the authorization window.name protocol, the requester should include an * authElement element in the args, and a request will be created like: - * + * * http://othersite.com/greeting?windowname=auth * And the server can respond like this: - * + * * * When using windowName from a XD Dojo build, make sure to set the - * + * * dojo.dojoBlankHtmlUrl property to a local URL. - * - * @param method The method to use to send the request, GET or POST - * @param args See dojo.xhrargs.authElement: DOMNode?By providing an authElement, this indicates that windowName should use theauthorized window.name protocol, relying onthe loaded XD resource to return to the provided return URL on completionof authorization/authentication. The provided authElement will be used to placethe iframe in, so the user can interact with the server resource for authenticationand/or authorization to access the resource.args.onAuthLoad: Function?When using authorized access to resources, this function will be called when theauthorization page has been loaded. (When authorization is actually completed,the deferred callback function is called with the result). The primary use for thisis to make the authElement visible to the user once the resource has loaded(this can be preferable to showing the iframe while the resource is loadingsince it may not require authorization, it may simply return the resource). + * + * @param method The method to use to send the request, GET or POST + * @param args See dojo.xhrargs.authElement: DOMNode?By providing an authElement, this indicates that windowName should use theauthorized window.name protocol, relying onthe loaded XD resource to return to the provided return URL on completionof authorization/authentication. The provided authElement will be used to placethe iframe in, so the user can interact with the server resource for authenticationand/or authorization to access the resource.args.onAuthLoad: Function?When using authorized access to resources, this function will be called when theauthorization page has been loaded. (When authorization is actually completed,the deferred callback function is called with the result). The primary use for thisis to make the authElement visible to the user once the resource has loaded(this can be preferable to showing the iframe while the resource is loadingsince it may not require authorization, it may simply return the resource). */ send(method: String, args: Object): any; } diff --git a/dojo/dojox.jq.d.ts b/dojo/dojox.jq.d.ts index 2b558a2acb8294..a63f4075ded0e0 100644 --- a/dojo/dojox.jq.d.ts +++ b/dojo/dojox.jq.d.ts @@ -3,12 +3,12 @@ // Definitions by: Michael Van Sickle // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module dojox { - +declare namespace dojox { + /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/jq.html * - * + * */ interface jq { } diff --git a/dojo/dojox.json.d.ts b/dojo/dojox.json.d.ts index 563bdc8eee8d9f..1aa4a492cd6ce5 100644 --- a/dojo/dojox.json.d.ts +++ b/dojo/dojox.json.d.ts @@ -3,9 +3,9 @@ // Definitions by: Michael Van Sickle // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module dojox { - - module json { +declare namespace dojox { + + namespace json { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/json/query.html * @@ -17,12 +17,12 @@ declare module dojox { * wildcard string comparisons and various operators. JSONQuery generally supersets * JSONPath and provides syntax that matches and behaves like JavaScript where * possible. - * + * * JSONQuery evaluations begin with the provided object, which can referenced with * $. From * the starting object, various operators can be successively applied, each operating * on the result of the last operation. - * + * * Supported Operators * .property - This will return the provided property of the object, behaving exactly * like JavaScript. @@ -67,17 +67,17 @@ declare module dojox { * in JavaScript. * dojox.json.query(queryString,object) * and - * + * * dojox.json.query(queryString)(object) * always return identical results. The first one immediately evaluates, the second one returns a - * + * * function that then evaluates the object. - * - * @param query Query string - * @param obj OptionalTarget of the JSONQuery + * + * @param query Query string + * @param obj OptionalTarget of the JSONQuery */ interface query{(query: String, obj?: Object): void} - module schema { + namespace schema { } /** @@ -89,41 +89,41 @@ declare module dojox { * On parsing, references are resolved. When references are made to * ids/objects that have been loaded yet, the loader function will be set to * _loadObject to denote a lazy loading (not loaded yet) object. - * + * */ interface ref { /** - * + * */ refAttribute: string; /** - * + * */ serializeFunctions: boolean; /** * evaluates the passed string-form of a JSON object. - * - * @param str a string literal of a JSON item, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }' - * @param args OptionalSee resolveJson + * + * @param str a string literal of a JSON item, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }' + * @param args OptionalSee resolveJson */ fromJson(str: String, args: Object): any; /** * Indexes and resolves references in the JSON object. * A JSON Schema object that can be used to advise the handling of the JSON (defining ids, date properties, urls, etc) - * - * @param root The root object of the object graph to be processed - * @param args OptionalObject with additional arguments:The index parameter: This is the index object (map) to use to store an index of all the objects. If you are using inter-message referencing, you must provide the same object for each call.The defaultId parameter: This is the default id to use for the root object (if it doesn't define it's own id)The idPrefix parameter: This the prefix to use for the ids as they enter the index. This allows multiple tables to use ids (that might otherwise collide) that enter the same global index. idPrefix should be in the form "/Service/". For example, if the idPrefix is "/Table/", and object is encountered {id:"4",...}, this would go in the index as "/Table/4".The idAttribute parameter: This indicates what property is the identity property. This defaults to "id"The assignAbsoluteIds parameter: This indicates that the resolveJson should assign absolute ids (__id) as the objects are being parsed.The schemas parameter: This provides a map of schemas, from which prototypes can be retrievedThe loader parameter: This is a function that is called added to the reference objects that can't be resolved (lazy objects) + * + * @param root The root object of the object graph to be processed + * @param args OptionalObject with additional arguments:The index parameter: This is the index object (map) to use to store an index of all the objects. If you are using inter-message referencing, you must provide the same object for each call.The defaultId parameter: This is the default id to use for the root object (if it doesn't define it's own id)The idPrefix parameter: This the prefix to use for the ids as they enter the index. This allows multiple tables to use ids (that might otherwise collide) that enter the same global index. idPrefix should be in the form "/Service/". For example, if the idPrefix is "/Table/", and object is encountered {id:"4",...}, this would go in the index as "/Table/4".The idAttribute parameter: This indicates what property is the identity property. This defaults to "id"The assignAbsoluteIds parameter: This indicates that the resolveJson should assign absolute ids (__id) as the objects are being parsed.The schemas parameter: This provides a map of schemas, from which prototypes can be retrievedThe loader parameter: This is a function that is called added to the reference objects that can't be resolved (lazy objects) */ resolveJson(root: Object, args: Object): any; /** * Create a JSON serialization of an object. * This has support for referencing, including circular references, duplicate references, and out-of-message references * id and path-based referencing is supported as well and is based on http://www.json.com/2007/10/19/json-referencing-proposal-and-library/. - * - * @param it an object to be serialized. - * @param prettyPrint Optionalif true, we indent objects and arrays to make the output prettier.The variable dojo.toJsonIndentStr is used as the indent string-- to use something other than the default (tab),change that variable before calling dojo.toJson(). - * @param idPrefix OptionalThe prefix that has been used for the absolute ids - * @param indexSubObjects Optional + * + * @param it an object to be serialized. + * @param prettyPrint Optionalif true, we indent objects and arrays to make the output prettier.The variable dojo.toJsonIndentStr is used as the indent string-- to use something other than the default (tab),change that variable before calling dojo.toJson(). + * @param idPrefix OptionalThe prefix that has been used for the absolute ids + * @param indexSubObjects Optional */ toJson(it: Object, prettyPrint: boolean, idPrefix: Object, indexSubObjects: Object): any; } diff --git a/dojo/dojox.jsonPath.d.ts b/dojo/dojox.jsonPath.d.ts index a03f6546e31194..f76fcc98b66da6 100644 --- a/dojo/dojox.jsonPath.d.ts +++ b/dojo/dojox.jsonPath.d.ts @@ -3,30 +3,30 @@ // Definitions by: Michael Van Sickle // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module dojox { +declare namespace dojox { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/jsonPath.html * * Deprecated. Should require dojox/jsonPath modules directly rather than trying to access them through * this module. - * + * */ interface jsonPath { } - module jsonPath { + namespace jsonPath { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/jsonPath/query.html * * Perform jsonPath query expr on javascript object or json string obj - * - * @param obj object || json string to perform query on - * @param expr jsonPath expression (string) to be evaluated - * @param arg {} special arguments.resultType: "VALUE"||"BOTH"||"PATH"} (defaults to value)evalType: "RESULT"||"ITEM"} (defaults to ?) + * + * @param obj object || json string to perform query on + * @param expr jsonPath expression (string) to be evaluated + * @param arg {} special arguments.resultType: "VALUE"||"BOTH"||"PATH"} (defaults to value)evalType: "RESULT"||"ITEM"} (defaults to ?) */ interface query { (obj: Object, expr: String, arg: Object): void } } - + } diff --git a/dojo/dojox.lang.d.ts b/dojo/dojox.lang.d.ts index cb1c591f634f86..e31e6d2922bb69 100644 --- a/dojo/dojox.lang.d.ts +++ b/dojo/dojox.lang.d.ts @@ -3,9 +3,9 @@ // Definitions by: Michael Van Sickle // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module dojox { - - module lang { +declare namespace dojox { + + namespace lang { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/observable.html * @@ -13,14 +13,14 @@ declare module dojox { * is a proxy to the wrapped object. If you will be making multiple wrapper * objects with the same set of listeners, it is recommended that you * use makeObservable, as it is more memory efficient. - * - * @param wrapped The object to be wrapped and monitored for property access and modification - * @param onRead See dojox.lang.makeObservable.onRead - * @param onWrite See dojox.lang.makeObservable.onWrite - * @param onInvoke See dojox.lang.makeObservable.onInvoke + * + * @param wrapped The object to be wrapped and monitored for property access and modification + * @param onRead See dojox.lang.makeObservable.onRead + * @param onWrite See dojox.lang.makeObservable.onWrite + * @param onInvoke See dojox.lang.makeObservable.onInvoke */ interface observable{(wrapped: Object, onRead: Function, onWrite: Function, onInvoke: Function): void} - module oo { + namespace oo { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/oo/Decorator.html * @@ -28,9 +28,9 @@ declare module dojox { * This object holds an original function or another decorator * object, and implements a special mixin algorithm to be used * by dojox.lang.oo.mixin. - * - * @param value a payload to be processed by the decorator. - * @param decorator a function to handle the custom assignment, or an object with exec()method. The signature is:decorator(/String/ name, /Function/ newValue, /Function/ oldValue). + * + * @param value a payload to be processed by the decorator. + * @param decorator a function to handle the custom assignment, or an object with exec()method. The signature is:decorator(/String/ name, /Function/ newValue, /Function/ oldValue). */ interface Decorator{(value: Object, decorator?: Function): void} /** @@ -40,22 +40,22 @@ declare module dojox { * This object holds an original function or another decorator * object, and implements a special mixin algorithm to be used * by dojox.lang.oo.mixin. - * - * @param value a payload to be processed by the decorator. - * @param decorator a function to handle the custom assignment, or an object with exec()method. The signature is:decorator(/String/ name, /Function/ newValue, /Function/ oldValue). + * + * @param value a payload to be processed by the decorator. + * @param decorator a function to handle the custom assignment, or an object with exec()method. The signature is:decorator(/String/ name, /Function/ newValue, /Function/ oldValue). */ interface Decorator{(value: Object, decorator?: Object): void} - module Decorator { + namespace Decorator { /** * a function to handle the custom assignment, or an object with exec() * method. The signature is: * decorator(/String/ name, /Function/ newValue, /Function/ oldValue). - * + * */ var decorator: Function /** * a payload to be processed by the decorator. - * + * */ var value: Object } @@ -68,9 +68,9 @@ declare module dojox { * This object is used as a holder of an original object * (whose properties are to be copied), and a filter * function used while copying by dojox.lang.oo.mixin. - * - * @param bag object to be filtered - * @param filter a function to handle the name filtering,or an object with exec() method + * + * @param bag object to be filtered + * @param filter a function to handle the name filtering,or an object with exec() method */ interface Filter{(bag: Object, filter: Function): void} /** @@ -81,21 +81,21 @@ declare module dojox { * This object is used as a holder of an original object * (whose properties are to be copied), and a filter * function used while copying by dojox.lang.oo.mixin. - * - * @param bag object to be filtered - * @param filter a function to handle the name filtering,or an object with exec() method + * + * @param bag object to be filtered + * @param filter a function to handle the name filtering,or an object with exec() method */ interface Filter{(bag: Object, filter: Object): void} - module Filter { + namespace Filter { /** * object to be filtered - * + * */ var bag: Object /** * a function to handle the name filtering, * or an object with exec() method - * + * */ var filter: Function } @@ -105,9 +105,9 @@ declare module dojox { * * mixes in two or more objects processing decorators and filters * using defaults as a fallback - * - * @param target target to receive new/updated properties - * @param source source of properties, more than one source is allowed + * + * @param target target to receive new/updated properties + * @param source source of properties, more than one source is allowed */ interface mixin{(target: Object, source: Object[]): void} /** @@ -116,70 +116,70 @@ declare module dojox { * Process properties in place by removing and renaming them. * Properties of an object are to be renamed or removed specified * by "map" argument. Only own properties of "map" are processed. - * - * @param bag the object to be processed - * @param map the dictionary for renaming (false value indicates removal of the named property) + * + * @param bag the object to be processed + * @param map the dictionary for renaming (false value indicates removal of the named property) */ interface rearrange{(bag: Object, map: Object): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/oo/aop.html * - * + * */ interface aop { /** - * + * */ after: Object; /** - * + * */ afterReturning: Object; /** - * + * */ afterThrowing: Object; /** - * + * */ around: Object; /** - * + * */ before: Object; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/oo/general.html * - * + * */ interface general { /** - * + * */ after: Object; /** - * + * */ augment: Object; /** - * + * */ before: Object; /** - * + * */ override: Object; /** - * + * */ shuffle: Object; /** - * + * */ tap: Object; /** - * + * */ wrap: Object; } @@ -188,7 +188,7 @@ declare module dojox { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/aspect.html * - * + * */ interface aspect { /** @@ -201,13 +201,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: String, advice: Object): void; /** @@ -220,13 +220,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: RegExp, advice: Object): void; /** @@ -239,13 +239,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: any[], advice: Object): void; /** @@ -258,13 +258,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: String, advice: Function): void; /** @@ -277,13 +277,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: RegExp, advice: Function): void; /** @@ -296,13 +296,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: any[], advice: Function): void; /** @@ -315,13 +315,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: String, advice: any[]): void; /** @@ -334,13 +334,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: RegExp, advice: any[]): void; /** @@ -353,13 +353,13 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * + * * This function is a convenience wrapper for * dojox.lang.aspect.adviseRaw(). - * - * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. - * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. - * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function. Cannot be a DOM node.If this object is a constructor, its prototype is advised. + * @param method A string name of the function in obj. In case of RegExp allmethods of obj matching the regular expression are advised. + * @param advice An object, which defines advises, or a function, whichreturns such object, or an array of previous items.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ advise(obj: Object, method: any[], advice: any[]): void; /** @@ -371,22 +371,22 @@ declare module dojox { * satisfy the RegExp condition are processed. This function * returns a handle, which can be used to unadvise, or null, * if advising has failed. - * - * @param obj A source object for the advised function.Cannot be a DOM node. - * @param methods An array of method names (strings) to be advised. - * @param advices An array of advices represented by objects or functions thatreturn such objects on demand during the event processing.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. + * + * @param obj A source object for the advised function.Cannot be a DOM node. + * @param methods An array of method names (strings) to be advised. + * @param advices An array of advices represented by objects or functions thatreturn such objects on demand during the event processing.The advice object can define following member functions:before, around, afterReturning, afterThrowing, after.If the function is supplied, it is called with a contextobject once per call to create a temporary advice object, whichis destroyed after the processing. The temporary advice objectcan implement a destroy() method, if it wants to be called whennot needed. */ adviseRaw(obj: Object, methods: any[], advices: any[]): void; /** * Returns the context information for the advice in effect. - * + * */ getContext(): void; /** * Returns the context stack, which reflects executing advices * up to this point. The array is ordered from oldest to newest. * In order to get the active context use dojox.lang.aspect.getContext(). - * + * */ getContextStack(): void; /** @@ -394,22 +394,22 @@ declare module dojox { * Calls the original function (or the next level around advice). * Accepts and passes on any number of arguments, and returns a value. * This function is valid only in the content of around calls. - * + * */ proceed(): void; /** * Detach previously attached AOP-style advices. - * - * @param handle The object returned by dojox.lang.aspect.advise(). + * + * @param handle The object returned by dojox.lang.aspect.advise(). */ unadvise(handle: Object): void; } - module aspect { + namespace aspect { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/aspect/counter.html * * Returns an object, which can be used to count calls to methods. - * + * */ interface counter{(): void} /** @@ -417,9 +417,9 @@ declare module dojox { * * Returns true if the context stack contains a context for a given * instance that satisfies a given method name criteria. - * - * @param instance An instance to be matched. If null, any context will be examined.Otherwise the context should belong to this instance. - * @param method OptionalAn optional pattern to be matched against a method name. Can be a string,a RegExp object or an array of strings and RegExp objects.If it is omitted, any name will satisfy the criteria. + * + * @param instance An instance to be matched. If null, any context will be examined.Otherwise the context should belong to this instance. + * @param method OptionalAn optional pattern to be matched against a method name. Can be a string,a RegExp object or an array of strings and RegExp objects.If it is omitted, any name will satisfy the criteria. */ interface cflow{(instance: Object, method?: String): void} /** @@ -427,9 +427,9 @@ declare module dojox { * * Returns true if the context stack contains a context for a given * instance that satisfies a given method name criteria. - * - * @param instance An instance to be matched. If null, any context will be examined.Otherwise the context should belong to this instance. - * @param method OptionalAn optional pattern to be matched against a method name. Can be a string,a RegExp object or an array of strings and RegExp objects.If it is omitted, any name will satisfy the criteria. + * + * @param instance An instance to be matched. If null, any context will be examined.Otherwise the context should belong to this instance. + * @param method OptionalAn optional pattern to be matched against a method name. Can be a string,a RegExp object or an array of strings and RegExp objects.If it is omitted, any name will satisfy the criteria. */ interface cflow{(instance: Object, method?: RegExp): void} /** @@ -437,17 +437,17 @@ declare module dojox { * * Returns true if the context stack contains a context for a given * instance that satisfies a given method name criteria. - * - * @param instance An instance to be matched. If null, any context will be examined.Otherwise the context should belong to this instance. - * @param method OptionalAn optional pattern to be matched against a method name. Can be a string,a RegExp object or an array of strings and RegExp objects.If it is omitted, any name will satisfy the criteria. + * + * @param instance An instance to be matched. If null, any context will be examined.Otherwise the context should belong to this instance. + * @param method OptionalAn optional pattern to be matched against a method name. Can be a string,a RegExp object or an array of strings and RegExp objects.If it is omitted, any name will satisfy the criteria. */ interface cflow{(instance: Object, method?: any[]): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/aspect/memoizer.html * * Returns an object, which can be used to count calls to methods. - * - * @param keyMaker Optionalthe function, which takes method's arguments and returns a key,which can be used to index the result. + * + * @param keyMaker Optionalthe function, which takes method's arguments and returns a key,which can be used to index the result. */ interface memoizer{(keyMaker?: Function): void} /** @@ -455,8 +455,8 @@ declare module dojox { * * Invalidates the memoizer's cache (see dojox.lang.aspect.memoizer) * after calling certain methods. - * - * @param method OptionalOptional method's name to be guarded: only cache forthis method will be invalidated on call. Can be a stringor an array of method names. If omitted the whole cachewill be invalidated. + * + * @param method OptionalOptional method's name to be guarded: only cache forthis method will be invalidated on call. Can be a stringor an array of method names. If omitted the whole cachewill be invalidated. */ interface memoizerGuard{(method?: String): void} /** @@ -464,24 +464,24 @@ declare module dojox { * * Invalidates the memoizer's cache (see dojox.lang.aspect.memoizer) * after calling certain methods. - * - * @param method OptionalOptional method's name to be guarded: only cache forthis method will be invalidated on call. Can be a stringor an array of method names. If omitted the whole cachewill be invalidated. + * + * @param method OptionalOptional method's name to be guarded: only cache forthis method will be invalidated on call. Can be a stringor an array of method names. If omitted the whole cachewill be invalidated. */ interface memoizerGuard{(method?: any[]): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/aspect/profiler.html * * Returns an object, which can be used to time calls to methods. - * - * @param title OptionalThe optional name of the profile section. + * + * @param title OptionalThe optional name of the profile section. */ interface profiler{(title?: String): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/aspect/timer.html * * Returns an object, which can be used to time calls to methods. - * - * @param name OptionalThe optional unique name of the timer. + * + * @param name OptionalThe optional unique name of the timer. */ interface timer{(name?: String): void} /** @@ -489,8 +489,8 @@ declare module dojox { * * Returns an object, which can be used to trace calls with Firebug's console. * Prints argument, a return value, or an exception. - * - * @param grouping The flag to group output. If true, indents embedded console messages. + * + * @param grouping The flag to group output. If true, indents embedded console messages. */ interface tracer{(grouping: boolean): void} } @@ -498,23 +498,23 @@ declare module dojox { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/async.html * - * + * */ interface async { /** * Executes functions in parallel. As soon as one of them finishes * cancels the rest. - * - * @param x + * + * @param x */ any(x: any): void; /** * Executes a condition, waits for it if necessary, and executes * one of two functions. - * - * @param cond - * @param ifTrue - * @param ifFalse + * + * @param cond + * @param ifTrue + * @param ifFalse */ ifThen(cond: any, ifTrue: any, ifFalse: any): void; /** @@ -522,83 +522,83 @@ declare module dojox { * the body, if truthy value was returned. * Then it repeats the cycle until the condition function returns * a falsy value. - * - * @param cond - * @param body + * + * @param cond + * @param body */ loop(cond: any, body: any): void; /** * Executes functions in parallel. Waits for all of them to finish. - * - * @param x + * + * @param x */ par(x: any): void; /** * Executes a condition, waits for it if necessary, and executes * Nth function from list. - * - * @param cond - * @param x + * + * @param cond + * @param x */ select(cond: any, x: any): void; /** * Executes functions sequentially. Waits if any of them returns Deferred. - * - * @param x + * + * @param x */ seq(x: any): void; } - module async { + namespace async { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/async/timeout.html * - * + * */ interface timeout { /** - * - * @param ms + * + * @param ms */ failOn(ms: any): void; /** - * - * @param ms + * + * @param ms */ from(ms: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/async/event.html * - * + * */ interface event { /** - * - * @param src - * @param name + * + * @param src + * @param name */ failOn(src: any, name: any): void; /** - * - * @param src - * @param name + * + * @param src + * @param name */ from(src: any, name: any): void; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/async/topic.html * - * + * */ interface topic { /** - * - * @param topic + * + * @param topic */ failOn(topic: any): void; /** - * - * @param topic + * + * @param topic */ from(topic: any): void; } @@ -607,7 +607,7 @@ declare module dojox { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional.html * - * + * */ interface functional { /** @@ -617,694 +617,694 @@ declare module dojox { * built from the snippet. It is meant to be evaled in the * proper context, so local variables can be pulled from the * environment. - * - * @param s + * + * @param s */ buildLambda(s: String): String; /** * clears internal cache of lambdas - * + * */ clearLambdaCache(): void; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: any[], o: Object): boolean; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: any[], o: Object): any[]; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: String, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: Object, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: any[], o: Object): any; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: any[], o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: any[], o: Object): void; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: Function, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: String, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: any[], o: Object): String; /** * returns an array of all keys in the object - * - * @param obj + * + * @param obj */ keys(obj: Object): any[]; /** @@ -1314,8 +1314,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: Function): Function; /** @@ -1325,8 +1325,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: String): Function; /** @@ -1336,170 +1336,170 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: any[]): Function; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: any[], o: Object): any[]; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: String, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: any[], o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: any[], o: Object): any; /** @@ -1510,997 +1510,997 @@ declare module dojox { * text snippet) to an object that contains an array of * arguments, and a body , which is used to calculate the * returning value. - * - * @param s + * + * @param s */ rawLambda(s: String): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: any[], z: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: Function, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: String, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: any[], o: Object): any; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: any[], o: Object): boolean; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: any[], z: Object, o: Object): any[]; /** * returns an array of all values in the object - * - * @param obj + * + * @param obj */ values(obj: Object): any[]; } - module functional { + namespace functional { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/array.html * - * + * */ interface array { /** @@ -2510,694 +2510,694 @@ declare module dojox { * built from the snippet. It is meant to be evaled in the * proper context, so local variables can be pulled from the * environment. - * - * @param s + * + * @param s */ buildLambda(s: String): String; /** * clears internal cache of lambdas - * + * */ clearLambdaCache(): void; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: any[], o: Object): boolean; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: any[], o: Object): any[]; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: String, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: Object, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: any[], o: Object): any; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: any[], o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: any[], o: Object): void; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: Function, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: String, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: any[], o: Object): String; /** * returns an array of all keys in the object - * - * @param obj + * + * @param obj */ keys(obj: Object): any[]; /** @@ -3207,8 +3207,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: Function): Function; /** @@ -3218,8 +3218,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: String): Function; /** @@ -3229,170 +3229,170 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: any[]): Function; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: any[], o: Object): any[]; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: String, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: any[], o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: any[], o: Object): any; /** @@ -3403,996 +3403,996 @@ declare module dojox { * text snippet) to an object that contains an array of * arguments, and a body , which is used to calculate the * returning value. - * - * @param s + * + * @param s */ rawLambda(s: String): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: any[], z: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: Function, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: String, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: any[], o: Object): any; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: any[], o: Object): boolean; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: any[], z: Object, o: Object): any[]; /** * returns an array of all values in the object - * - * @param obj + * + * @param obj */ values(obj: Object): any[]; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/lambda.html * - * + * */ interface lambda { /** @@ -4402,694 +4402,694 @@ declare module dojox { * built from the snippet. It is meant to be evaled in the * proper context, so local variables can be pulled from the * environment. - * - * @param s + * + * @param s */ buildLambda(s: String): String; /** * clears internal cache of lambdas - * + * */ clearLambdaCache(): void; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: any[], o: Object): boolean; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: any[], o: Object): any[]; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: String, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: Object, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: any[], o: Object): any; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: any[], o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: any[], o: Object): void; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: Function, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: String, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: any[], o: Object): String; /** * returns an array of all keys in the object - * - * @param obj + * + * @param obj */ keys(obj: Object): any[]; /** @@ -5099,8 +5099,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: Function): Function; /** @@ -5110,8 +5110,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: String): Function; /** @@ -5121,170 +5121,170 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: any[]): Function; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: any[], o: Object): any[]; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: String, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: any[], o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: any[], o: Object): any; /** @@ -5295,1003 +5295,1003 @@ declare module dojox { * text snippet) to an object that contains an array of * arguments, and a body , which is used to calculate the * returning value. - * - * @param s + * + * @param s */ rawLambda(s: String): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: any[], z: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: Function, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: String, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: any[], o: Object): any; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: any[], o: Object): boolean; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: any[], z: Object, o: Object): any[]; /** * returns an array of all values in the object - * - * @param obj + * + * @param obj */ values(obj: Object): any[]; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/listcomp.html * - * + * */ interface listcomp { } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/object.html * - * + * */ interface object { /** @@ -6301,694 +6301,694 @@ declare module dojox { * built from the snippet. It is meant to be evaled in the * proper context, so local variables can be pulled from the * environment. - * - * @param s + * + * @param s */ buildLambda(s: String): String; /** * clears internal cache of lambdas - * + * */ clearLambdaCache(): void; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: any[], o: Object): boolean; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: any[], o: Object): any[]; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: String, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: Object, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: any[], o: Object): any; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: any[], o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: any[], o: Object): void; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: Function, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: String, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: any[], o: Object): String; /** * returns an array of all keys in the object - * - * @param obj + * + * @param obj */ keys(obj: Object): any[]; /** @@ -6998,8 +6998,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: Function): Function; /** @@ -7009,8 +7009,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: String): Function; /** @@ -7020,170 +7020,170 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: any[]): Function; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: any[], o: Object): any[]; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: String, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: any[], o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: any[], o: Object): any; /** @@ -7194,996 +7194,996 @@ declare module dojox { * text snippet) to an object that contains an array of * arguments, and a body , which is used to calculate the * returning value. - * - * @param s + * + * @param s */ rawLambda(s: String): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: any[], z: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: Function, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: String, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: any[], o: Object): any; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: any[], o: Object): boolean; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: any[], z: Object, o: Object): any[]; /** * returns an array of all values in the object - * - * @param obj + * + * @param obj */ values(obj: Object): any[]; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/reversed.html * - * + * */ interface reversed { /** @@ -8193,694 +8193,694 @@ declare module dojox { * built from the snippet. It is meant to be evaled in the * proper context, so local variables can be pulled from the * environment. - * - * @param s + * + * @param s */ buildLambda(s: String): String; /** * clears internal cache of lambdas - * + * */ clearLambdaCache(): void; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: any[], o: Object): boolean; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: any[], o: Object): any[]; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: String, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: Object, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: any[], o: Object): any; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: any[], o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: any[], o: Object): void; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: Function, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: String, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: any[], o: Object): String; /** * returns an array of all keys in the object - * - * @param obj + * + * @param obj */ keys(obj: Object): any[]; /** @@ -8890,8 +8890,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: Function): Function; /** @@ -8901,8 +8901,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: String): Function; /** @@ -8912,170 +8912,170 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: any[]): Function; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: any[], o: Object): any[]; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: String, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: any[], o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: any[], o: Object): any; /** @@ -9086,996 +9086,996 @@ declare module dojox { * text snippet) to an object that contains an array of * arguments, and a body , which is used to calculate the * returning value. - * - * @param s + * + * @param s */ rawLambda(s: String): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: any[], z: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: Function, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: String, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: any[], o: Object): any; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: any[], o: Object): boolean; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: any[], z: Object, o: Object): any[]; /** * returns an array of all values in the object - * - * @param obj + * + * @param obj */ values(obj: Object): any[]; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/sequence.html * - * + * */ interface sequence { /** @@ -10085,694 +10085,694 @@ declare module dojox { * built from the snippet. It is meant to be evaled in the * proper context, so local variables can be pulled from the * environment. - * - * @param s + * + * @param s */ buildLambda(s: String): String; /** * clears internal cache of lambdas - * + * */ clearLambdaCache(): void; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: String, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ every(a: Object, f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: Function, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: String, o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: any[], f: any[], o: Object): boolean; /** * tests whether all elements in the array pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ everyRev(a: String, f: any[], o: Object): boolean; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: String, f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filter(a: Object, f: any[], o: Object): any[]; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: String, o: Object): Object; /** * creates new object with all attributes that pass the test * implemented by the provided function. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ filterIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: Function, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: String, o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: any[], f: any[], o: Object): any[]; /** * creates a new array with all elements that pass the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ filterRev(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldl(a: Object, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: String, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from left * to right; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldl1(a: Object, f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: Function, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: String, z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: any[], f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns the final * value. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ foldr(a: String, f: any[], z: Object, o: Object): Object; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns the final value. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ foldr1(a: String, f: any[], o: Object): any; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: Function, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: String, o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: any[], f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: String, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEach(a: Object, f: any[], o: Object): String; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: Function, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: String, o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: any[], f: any[], o: Object): void; /** * executes a provided function once per array element. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ forEachRev(a: String, f: any[], o: Object): void; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: Function, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: String, o: Object): String; /** * iterates over all object attributes. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ forIn(obj: Object, f: any[], o: Object): String; /** * returns an array of all keys in the object - * - * @param obj + * + * @param obj */ keys(obj: Object): any[]; /** @@ -10782,8 +10782,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: Function): Function; /** @@ -10793,8 +10793,8 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: String): Function; /** @@ -10804,170 +10804,170 @@ declare module dojox { * This method is used to normalize a functional * representation (a text snippet, an array, or a function) to * a function object. - * - * @param s + * + * @param s */ lambda(s: any[]): Function; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: Function, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: String, o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: any[], f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: String, f: any[], o: Object): any[]; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ map(a: Object, f: any[], o: Object): any[]; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: Function, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: String, o: Object): Object; /** * creates new object with the results of calling * a provided function on every attribute in this object. - * - * @param obj - * @param f - * @param o Optional + * + * @param obj + * @param f + * @param o Optional */ mapIn(obj: Object, f: any[], o: Object): Object; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: Function, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: String, o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: any[], f: any[], o: Object): any; /** * creates a new array with the results of calling * a provided function on every element in this array. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ mapRev(a: String, f: any[], o: Object): any; /** @@ -10978,1003 +10978,1003 @@ declare module dojox { * text snippet) to an object that contains an array of * arguments, and a body , which is used to calculate the * returning value. - * - * @param s + * + * @param s */ rawLambda(s: String): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: String, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from left-to-right) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduce(a: Object, f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: Function, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: String, z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: any[], f: any[], z: Object): any; /** * apply a function simultaneously against two values of the array * (from right-to-left) as to reduce it to a single value. - * - * @param a - * @param f - * @param z Optional + * + * @param a + * @param f + * @param z Optional */ reduceRight(a: String, f: any[], z: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: Function, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: String, z: Object, o: Object): any; /** * builds an array by repeatedly applying a unary function N times * with a seed value Z. N should be greater than 0. - * - * @param n - * @param f - * @param z - * @param o Optional + * + * @param n + * @param f + * @param z + * @param o Optional */ repeat(n: number, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: Function, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: String, z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: any[], f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: String, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right using a seed value as a starting point; returns an array * of values produced by foldl() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanl(a: Object, f: any[], z: Object, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: Function, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: String, o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: any[], f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: String, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from left * to right; returns an array of values produced by foldl1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanl1(a: Object, f: any[], o: Object): any[]; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: Function, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: String, z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: any[], f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left using a seed value as a starting point; returns an array * of values produced by foldr() at that point. - * - * @param a - * @param f - * @param z - * @param o Optional + * + * @param a + * @param f + * @param z + * @param o Optional */ scanr(a: String, f: any[], z: Object, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: Function, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: String, o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: any[], f: any[], o: Object): any; /** * repeatedly applies a binary function to an array from right * to left; returns an array of values produced by foldr1() at that * point. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ scanr1(a: String, f: any[], o: Object): any; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: String, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ some(a: Object, f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: Function, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: String, o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: any[], f: any[], o: Object): boolean; /** * tests whether some element in the array passes the test * implemented by the provided function. - * - * @param a - * @param f - * @param o Optional + * + * @param a + * @param f + * @param o Optional */ someRev(a: String, f: any[], o: Object): boolean; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: Function, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: String, z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: Function, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: String, g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: Function, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: String, f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by unfolding a value - * - * @param pr - * @param f - * @param g - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param g + * @param z + * @param o Optional */ unfold(pr: any[], f: any[], g: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: Function, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: String, z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: Function, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: String, f: any[], z: Object, o: Object): any[]; /** * builds an array by repeatedly applying a unary function with * a seed value Z until the predicate is satisfied. - * - * @param pr - * @param f - * @param z - * @param o Optional + * + * @param pr + * @param f + * @param z + * @param o Optional */ until(pr: any[], f: any[], z: Object, o: Object): any[]; /** * returns an array of all values in the object - * - * @param obj + * + * @param obj */ values(obj: Object): any[]; } /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/functional/zip.html * - * + * */ interface zip { } - module fold { + namespace fold { } - module scan { + namespace scan { } } @@ -11982,38 +11982,38 @@ declare module dojox { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/lang/utils.html * - * + * */ interface utils { /** * Coerces one object to the type of another. - * - * @param target object, which typeof result is used to coerce "source" object. - * @param source object, which will be forced to change type. + * + * @param target object, which typeof result is used to coerce "source" object. + * @param source object, which will be forced to change type. */ coerceType(target: Object, source: Object): any; /** * Merge two objects structurally, mixin properties will override object's properties. - * - * @param object original object. - * @param mixin additional object, which properties will override object's properties. + * + * @param object original object. + * @param mixin additional object, which properties will override object's properties. */ merge(object: Object, mixin: Object): any; /** * Updates an existing object in place with properties from an "source" object. - * - * @param target the "target" object to be updated - * @param source the "source" object, whose properties will be used to source the existed object. - * @param conv Optionalforce conversion to the original type + * + * @param target the "target" object to be updated + * @param source the "source" object, whose properties will be used to source the existed object. + * @param conv Optionalforce conversion to the original type */ updateWithObject(target: Object, source: Object, conv: boolean): Object; /** * Updates an existing object in place with properties from an "source" object. - * - * @param target the "target" object to be updated - * @param source the "source" object, whose properties will be used to source the existed object. - * @param pattern object, whose properties will be used to pull values from the "source" - * @param conv Optionalforce conversion to the original type + * + * @param target the "target" object to be updated + * @param source the "source" object, whose properties will be used to source the existed object. + * @param pattern object, whose properties will be used to pull values from the "source" + * @param conv Optionalforce conversion to the original type */ updateWithPattern(target: Object, source: Object, pattern: Object, conv: boolean): Object; } diff --git a/dojo/dojox.layout.d.ts b/dojo/dojox.layout.d.ts index f609da83a2ffc4..1fb255348486aa 100644 --- a/dojo/dojox.layout.d.ts +++ b/dojo/dojox.layout.d.ts @@ -5,9 +5,9 @@ /// /// -declare module dojox { +declare namespace dojox { - module layout { + namespace layout { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/layout/ContentPane.html * @@ -16,19 +16,19 @@ declare module dojox { * relative path adjustments (content fetched from a different folder) *