From 9de2916fa465db4c6e76d4e48e001b5a6219a8c9 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Tue, 27 Dec 2016 15:23:34 -0800 Subject: [PATCH 1/8] Rename `chosen` to `chosen-js` to match the NPM package name --- chosen/chosen-tests.ts => chosen-js/chosen-js-tests.ts | 0 {chosen => chosen-js}/index.d.ts | 0 {chosen => chosen-js}/tsconfig.json | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename chosen/chosen-tests.ts => chosen-js/chosen-js-tests.ts (100%) rename {chosen => chosen-js}/index.d.ts (100%) rename {chosen => chosen-js}/tsconfig.json (93%) diff --git a/chosen/chosen-tests.ts b/chosen-js/chosen-js-tests.ts similarity index 100% rename from chosen/chosen-tests.ts rename to chosen-js/chosen-js-tests.ts diff --git a/chosen/index.d.ts b/chosen-js/index.d.ts similarity index 100% rename from chosen/index.d.ts rename to chosen-js/index.d.ts diff --git a/chosen/tsconfig.json b/chosen-js/tsconfig.json similarity index 93% rename from chosen/tsconfig.json rename to chosen-js/tsconfig.json index 0e03fa7164..820e0164df 100644 --- a/chosen/tsconfig.json +++ b/chosen-js/tsconfig.json @@ -15,6 +15,6 @@ }, "files": [ "index.d.ts", - "chosen-tests.ts" + "chosen-js-tests.ts" ] } \ No newline at end of file From 89340811e389a93cad37b09b9a5a1dfe1cc21b7c Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Thu, 29 Dec 2016 11:58:42 -0800 Subject: [PATCH 2/8] pixi.js: Update to 4.3 --- pixi.js/index.d.ts | 423 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 343 insertions(+), 80 deletions(-) diff --git a/pixi.js/index.d.ts b/pixi.js/index.d.ts index 569c54184f..5b3b19bc58 100644 --- a/pixi.js/index.d.ts +++ b/pixi.js/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Pixi.js 4.1 -// Project: https://github.com/pixijs/pixi.js/tree/dev -// Definitions by: clark-stevenson +// Type definitions for Pixi.js v4.3.0 +// Project: https://github.com/pixijs/pixi.js/ +// Definitions by: Clark Stevenson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module PIXI { @@ -10,29 +10,55 @@ declare module PIXI { export var PI_2: typeof CONST.PI_2; export var RAD_TO_DEG: typeof CONST.RAD_TO_DEG; export var DEG_TO_RAD: typeof CONST.DEG_TO_RAD; - export var TARGET_FPMS: typeof CONST.TARGET_FPMS; export var RENDERER_TYPE: typeof CONST.RENDERER_TYPE; export var BLEND_MODES: typeof CONST.BLEND_MODES; export var DRAW_MODES: typeof CONST.DRAW_MODES; export var SCALE_MODES: typeof CONST.SCALE_MODES; export var WRAP_MODES: typeof CONST.WRAP_MODES; export var TRANSFORM_MODE: typeof CONST.TRANSFORM_MODE; - export var SPRITE_MAX_TEXTURES: typeof CONST.SPRITE_MAX_TEXTURES; export var PRECISION: typeof CONST.PRECISION; export var TEXT_STYLE_CHANGED: typeof CONST.TEXT_STYLE_CHANGED; export var GC_MODES: typeof CONST.GC_MODES; - export var MIPMAP_TEXTURES: typeof CONST.MIPMAP_TEXTURES; - export var RETINA_PREFIX: typeof CONST.RETINA_PREFIX; - export var RESOLUTION: typeof CONST.RESOLUTION; - export var FILTER_RESOLUTION: typeof CONST.FILTER_RESOLUTION; - export var DEFAULT_RENDER_OPTIONS: typeof CONST.DEFAULT_RENDER_OPTIONS; export var SHAPES: typeof CONST.SHAPES; - export var SPRITE_BATCH_SIZE: typeof CONST.SPRITE_BATCH_SIZE; export var TEXT_GRADIENT: typeof CONST.TEXT_GRADIENT; export function autoDetectRenderer(width: number, height: number, options?: PIXI.IRendererOptions, noWebGL?: boolean): PIXI.WebGLRenderer | PIXI.CanvasRenderer; export var loader: PIXI.loaders.Loader; + ////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////SETTINGS/////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////////// + + export module settings { + export var TARGET_FPMS: number; + export var MIPMAP_TEXTURES: boolean; + export var RESOLUTION: number; + export var FILTER_RESOLUTION: number; + export var SPRITE_MAX_TEXTURES: number; + export var SPRITE_BATCH_SIZE: number; + export var RETINA_PREFIX: RegExp; + export var RENDER_OPTIONS: { + view: HTMLCanvasElement, + antialias: boolean, + forceFXAA: boolean, + autoResize: boolean, + transparent: boolean, + backgroundColor: number, + clearBeforeRender: boolean, + preserveDrawingBuffer: boolean, + roundPixels: boolean + }; + export var TRANSFORM_MODE: number; + export var GC_MODE: number; + export var GC_MAX_IDLE: number; + export var GC_MAX_CHECK_COUNT: number; + export var WRAP_MODE: number; + export var SCALE_MODE: number; + export var PRECISION: string; + export var UPLOADS_PER_FRAME: number; + export var CAN_UPLOAD_SAME_BUFFER: boolean; + } + ////////////////////////////////////////////////////////////////////////////// /////////////////////////////ACCESSIBILITY//////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// @@ -124,18 +150,15 @@ declare module PIXI { TRIANGLE_FAN: number; }; export var SCALE_MODES: { - DEFAULT: number, LINEAR: number, NEAREST: number }; export var GC_MODES: { - DEFAULT: number; AUTO: number; MANUAL: number; }; export var WRAP_MODES: { CLAMP: number; - DEFAULT: number; MIRRORED_REPEAT: number; REPEAT: number; }; @@ -144,21 +167,6 @@ declare module PIXI { DYNAMIC: number; STATIC: number; }; - export var MIPMAP_TEXTURES: boolean; - export var RETINA_PREFIX: RegExp; - export var RESOLUTION: number; - export var FILTER_RESOLUTION: number; - export var DEFAULT_RENDER_OPTIONS: { - view: HTMLCanvasElement; - antialias: boolean; - forceFXAA: boolean; - autoResize: boolean; - transparent: boolean; - backgroundColor: number; - clearBeforeRender: boolean; - preserveDrawingBuffer: boolean; - roundPixels: boolean; - }; export var URL_FILE_EXTENSION: RegExp | string; export var DATA_URI: RegExp | string; export var SVG_SIZE: RegExp | string; @@ -170,7 +178,6 @@ declare module PIXI { RREC: number; }; export var PRECISION: { - DEFAULT: string; LOW: string; MEDIUM: string; HIGH: string; @@ -179,8 +186,6 @@ declare module PIXI { LINEAR_VERTICAL: number; LINEAR_HORIZONTAL: number; }; - export var SPRITE_BATCH_SIZE: number; - export var SPRITE_MAX_TEXTURES: number; export var TEXT_STYLE_CHANGED: string; } @@ -224,16 +229,15 @@ declare module PIXI { height: number; protected onChildrenChange: (...args: any[]) => void; - addChild(child: DisplayObject): DisplayObject; - addChild(...child: DisplayObject[]): DisplayObject; - addChildAt(child: DisplayObject, index: number): DisplayObject; + addChild(child: T, ...additionalChildren: DisplayObject[]): T; + addChildAt(child: T, index: number): T; swapChildren(child: DisplayObject, child2: DisplayObject): void; getChildIndex(child: DisplayObject): number; setChildIndex(child: DisplayObject, index: number): void; getChildAt(index: number): DisplayObject; removeChild(child: DisplayObject): DisplayObject; removeChildAt(index: number): DisplayObject; - removeChildren(beginIndex?: number, endIndex?: number): DisplayObject | DisplayObject[]; + removeChildren(beginIndex?: number, endIndex?: number): DisplayObject[]; updateTransform(): void; calculateBounds(): void; protected _calculateBounds(): void; @@ -331,7 +335,7 @@ declare module PIXI { toGlobal(position: Point, point?: Point, skipUpdate?: boolean): Point; toLocal(position: Point, from?: DisplayObject, point?: Point, skipUpdate?: boolean): Point; protected renderWebGL(renderer: WebGLRenderer): void; - protected renderCanvas(renderer: CanvasRenderer): void; + renderCanvas(renderer: CanvasRenderer): void; setParent(container: Container): Container; setTransform(x?: number, y?: number, scaleX?: number, scaleY?: number, rotation?: number, skewX?: number, skewY?: number, pivotX?: number, pivotY?: number): DisplayObject; destroy(): void; @@ -784,9 +788,9 @@ declare module PIXI { export class CanvasRenderer extends SystemRenderer { // plugintarget mixin start - protected __plugins: any[]; + static __plugins: any[]; + static registerPlugin(pluginName: string, ctor: Function): void; plugins: any; - registerPlugin(pluginName: string, ctor: Function): void; initPlugins(): void; destroyPlugins(): void; // plugintarget mixin end @@ -798,6 +802,9 @@ declare module PIXI { refresh: boolean; maskManager: CanvasMaskManager; smoothProperty: string; + extract: extract.CanvasExtract; + + context: CanvasRenderingContext2D; render(displayObject: PIXI.DisplayObject, renderTexture?: PIXI.RenderTexture, clear?: boolean, transform?: PIXI.Transform, skipUpdateTransform?: boolean): void setBlendMode(blendMode: number): void; @@ -856,9 +863,9 @@ declare module PIXI { export class WebGLRenderer extends SystemRenderer { // plugintarget mixin start - protected __plugins: any[]; + static __plugins: any[]; + static registerPlugin(pluginName: string, ctor: Function): void; plugins: any; - registerPlugin(pluginName: string, ctor: Function): void; initPlugins(): void; destroyPlugins(): void; // plugintarget mixin end @@ -878,14 +885,16 @@ declare module PIXI { emptyRenderer: ObjectRenderer; currentRenderer: ObjectRenderer; gl: WebGLRenderingContext; + CONTEXT_UID: number; state: WebGLState; renderingToScreen: boolean; boundTextures: Texture[]; filterManager: FilterManager; textureManager: TextureManager; + extract: extract.WebGLExtract; protected drawModes: any; protected _activeShader: Shader; - protected _activeRenderTarget: RenderTarget; + _activeRenderTarget: RenderTarget; protected _initContext(): void; render(displayObject: PIXI.DisplayObject, renderTexture?: PIXI.RenderTexture, clear?: boolean, transform?: PIXI.Transform, skipUpdateTransform?: boolean): void @@ -898,9 +907,10 @@ declare module PIXI { bindRenderTexture(renderTexture: RenderTexture, transform: Transform): WebGLRenderer; bindRenderTarget(renderTarget: RenderTarget): WebGLRenderer; bindShader(shader: Shader): WebGLRenderer; - bindTexture(texture: Texture, location: number, forceLocation?: boolean): WebGLRenderer; - unbindTexture(texture: Texture): WebGLRenderer; - protected createVao(): glCore.VertexArrayObject; + bindTexture(texture: Texture | BaseTexture, location?: number, forceLocation?: boolean): number; + unbindTexture(texture: Texture | BaseTexture): WebGLRenderer; + createVao(): glCore.VertexArrayObject; + bindVao(vao: glCore.VertexArrayObject): WebGLRenderer; reset(): WebGLRenderer; handleContextLost: (event: WebGLContextEvent) => void; handleContextRestored: () => void; @@ -998,7 +1008,6 @@ declare module PIXI { vao: glCore.VertexArrayObject; initVao(shader: glCore.GLShader): void; map(targetTextureFrame: Rectangle, destinationFrame: Rectangle): Quad; - draw(): Quad; upload(): Quad; destroy(): void; @@ -1126,7 +1135,7 @@ declare module PIXI { constructor(renderer: WebGLRenderer); renderer: WebGLRenderer; - onContextChange: () => void; + onContextChange(): void; destroy(): void; } @@ -1186,7 +1195,7 @@ declare module PIXI { protected _tint: number; protected _tintRGB: number; blendMode: number; - shader: glCore.GLShader | Filter; + pluginName: string; protected cachedTint: number; texture: Texture; protected textureDirty: boolean; @@ -1208,7 +1217,7 @@ declare module PIXI { containsPoint(point: Point): boolean; destroy(options?: IDestroyOptions | boolean): void; - static from(source: number | string | BaseTexture | HTMLCanvasElement | HTMLVideoElement): Sprite; + static from(source: number | string | BaseTexture | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement): Sprite; static fromFrame(frameId: string): Sprite; static fromImage(imageId: string, crossorigin?: boolean, scaleMode?: number): Sprite; @@ -1274,9 +1283,7 @@ declare module PIXI { } // text - - export class TextStyle { - + export interface ITextStyleStyle { align?: string; breakWords?: boolean; dropShadow?: boolean; @@ -1302,14 +1309,45 @@ declare module PIXI { textBaseline?: string; wordWrap?: boolean; wordWrapWidth?: number; - } + + export class TextStyle implements ITextStyleStyle { + align: string; + breakWords: boolean; + dropShadow: boolean; + dropShadowAngle: number; + dropShadowBlur: number; + dropShadowColor: string | number; + dropShadowDistance: number; + fill: string | string[] | number | number[] | CanvasGradient | CanvasPattern; + fillGradientType: number; + fontFamily: string; + fontSize: number | string; + fontStyle: string; + fontVariant: string; + fontWeight: string; + letterSpacing: number; + lineHeight: number; + lineJoin: string; + miterLimit: number; + padding: number; + stroke: string | number; + strokeThickness: number; + styleID: number; + textBaseline: string; + wordWrap: boolean; + wordWrapWidth: number; + constructor(style?: ITextStyleStyle); + public clone(): TextStyle; + public reset(): void; + } + export class Text extends Sprite { - static getFontStyle(style: TextStyle): string; + static getFontStyle(style: ITextStyleStyle): string; static calculateFontProperties(style: string): any; - constructor(text?: string, style?: TextStyle); + constructor(text?: string, style?: ITextStyleStyle); canvas: HTMLCanvasElement; context: CanvasRenderingContext2D; @@ -1337,7 +1375,7 @@ declare module PIXI { protected wordWrap(text: string): string; protected _calculateBounds(): void; protected _onStyleChange: () => void; - protected _generateFillStyle(style: string | number | CanvasGradient, lines: number): string | number | CanvasGradient; + protected _generateFillStyle(style: string | number | CanvasGradient, lines: string[]): string | number | CanvasGradient; destroy(options?: IDestroyOptions | boolean): void; dirty: boolean; @@ -1372,7 +1410,7 @@ declare module PIXI { } export class BaseTexture extends utils.EventEmitter { - constructor(source?: HTMLImageElement | HTMLCanvasElement, scaleMode?: number, resolution?: number); + constructor(source?: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, scaleMode?: number, resolution?: number); protected uuid: number; protected touched: number; @@ -1385,7 +1423,7 @@ declare module PIXI { hasLoaded: boolean; isLoading: boolean; wrapMode: number; - source: HTMLImageElement | HTMLCanvasElement; + source: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement; origSource: HTMLImageElement; imageType: string; sourceScale: number; @@ -1404,7 +1442,7 @@ declare module PIXI { protected _loadSvgSourceUsingDataUri(dataUri: string): void; protected _loadSvgSourceUsingXhr(): void; protected _loadSvgSourceUsingString(svgString: string): void; - loadSource(source: HTMLImageElement | HTMLCanvasElement): void; + protected loadSource(source: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement): void; protected _sourceLoaded(): void; destroy(): void; dispose(): void; @@ -1465,7 +1503,7 @@ declare module PIXI { static fromCanvas(canvas: HTMLCanvasElement, scaleMode?: number): Texture; static fromVideo(video: HTMLVideoElement | string, scaleMode?: number): Texture; static fromVideoUrl(videoUrl: string, scaleMode?: number): Texture; - static from(source: number | string | BaseTexture | HTMLCanvasElement | HTMLVideoElement): Texture; + static from(source: number | string | BaseTexture | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement): Texture; static addTextureToCache(texture: Texture, id: string): void; static removeTextureFromCache(id: string): Texture; @@ -1520,6 +1558,8 @@ declare module PIXI { static fromUrl(videoSrc: string | any | string[] | any[]): VideoBaseTexture; static fromUrls(videoSrc: string | any | string[] | any[]): VideoBaseTexture; + source: HTMLVideoElement; + protected loadSource(source: HTMLVideoElement): void; } // ticker @@ -1585,9 +1625,9 @@ declare module PIXI { } export class WebGLExtract { - protected renderer: CanvasRenderer; + protected renderer: WebGLRenderer; - constructor(renderer: CanvasRenderer); + constructor(renderer: WebGLRenderer); image(target?: DisplayObject | RenderTexture): HTMLImageElement; base64(target?: DisplayObject | RenderTexture): string; @@ -1744,7 +1784,7 @@ declare module PIXI { export class FXAAFilter extends Filter { } export class BlurFilter extends Filter { - constructor(strength?: number, quality?: number, resolution?: number); + constructor(strength?: number, quality?: number, resolution?: number, kernelSize?: number); blurXFilter: BlurXFilter; blurYFilter: BlurYFilter; @@ -1759,7 +1799,7 @@ declare module PIXI { } export class BlurXFilter extends Filter { - constructor(strength?: number, quality?: number, resolution?: number); + constructor(strength?: number, quality?: number, resolution?: number, kernelSize?: number); protected _quality: number; @@ -1773,7 +1813,7 @@ declare module PIXI { } export class BlurYFilter extends Filter { - constructor(strength?: number, quality?: number, resolution?: number); + constructor(strength?: number, quality?: number, resolution?: number, kernelSize?: number); protected _quality: number; @@ -2102,10 +2142,10 @@ declare module PIXI { dirtyVertex: boolean; protected _geometryVersion: number; blendMode: number; + pluginName: string; canvasPadding: number; drawMode: number; texture: Texture; - shader: glCore.GLShader; tintRgb: Float32Array; protected _glDatas: { [n: number]: any; }; protected _renderWebGL(renderer: WebGLRenderer): void; @@ -2256,7 +2296,6 @@ declare module PIXI { dynamicBuffer: any; dynamicData: any; - bind(): void; destroy(): void; } @@ -2303,7 +2342,7 @@ declare module PIXI { interface uploadHook { (prepare: UploadHookSource, item: any): boolean } - export abstract class BasePrepare{ + export abstract class BasePrepare{ constructor(renderer: SystemRenderer); @@ -2317,11 +2356,11 @@ declare module PIXI { protected ticking: boolean; protected delayedTick: () => void; - upload(item: Function | DisplayObject | Container, done?: () => void): void; + upload(item: Function | DisplayObject | BaseTexture | TextStyle | any, done?: () => void): void; protected tick(): void; protected prepareItems(): void; - register(addHook?: addHook, uploadHook?: uploadHook): BasePrepare; - add(item: DisplayObject | Container | any): BasePrepare; + register(addHook?: addHook, uploadHook?: uploadHook): this; + add(item: DisplayObject | any): this; destroy(): void; } @@ -2410,12 +2449,12 @@ declare module PIXI { drawType: number; data: ArrayBuffer | ArrayBufferView | any; - upload(data: ArrayBuffer | ArrayBufferView | any, offset: number, dontBind: boolean): void; + upload(data: ArrayBuffer | ArrayBufferView | any, offset?: number, dontBind?: boolean): void; bind(): void; - static createVertexBuffer(gl: WebGLRenderingContext, data: ArrayBuffer | ArrayBufferView | any, drawType: number): WebGLBuffer; - static createIndexBuffer(gl: WebGLRenderingContext, data: ArrayBuffer | ArrayBufferView | any, drawType: number): WebGLBuffer; - static create(gl: WebGLRenderingContext, type: number, data: ArrayBuffer | ArrayBufferView | any, drawType: number): WebGLBuffer; + static createVertexBuffer(gl: WebGLRenderingContext, data: ArrayBuffer | ArrayBufferView | any, drawType: number): GLBuffer; + static createIndexBuffer(gl: WebGLRenderingContext, data: ArrayBuffer | ArrayBufferView | any, drawType: number): GLBuffer; + static create(gl: WebGLRenderingContext, type: number, data: ArrayBuffer | ArrayBufferView | any, drawType: number): GLBuffer; destroy(): void; @@ -2450,6 +2489,7 @@ declare module PIXI { gl: WebGLRenderingContext; program: WebGLProgram; uniforms: any; + attributes: any; bind(): void; destroy(): void; @@ -2457,7 +2497,7 @@ declare module PIXI { } export class GLTexture { - constructor(gl: WebGLRenderingContext, width: number, height: number, format: number, type: number); + constructor(gl: WebGLRenderingContext, width?: number, height?: number, format?: number, type?: number); gl: WebGLRenderingContext; texture: WebGLTexture; @@ -2468,9 +2508,9 @@ declare module PIXI { format: number; type: number; - upload(source: HTMLImageElement | ImageData | HTMLVideoElement): void; + upload(source: HTMLImageElement | ImageData | HTMLVideoElement | HTMLCanvasElement): void; uploadData(data: number, width: number, height: number): void; - bind(): void; + bind(location?: number): void; unbind(): void; minFilter(linear: boolean): void; magFilter(linear: boolean): void; @@ -2482,7 +2522,7 @@ declare module PIXI { enableWrapMirrorRepeat(): void; destroy(): void; - static fromSource(gl: WebGLRenderingContext, source: HTMLImageElement | ImageData | HTMLVideoElement, premultipleAlpha?: boolean): GLTexture; + static fromSource(gl: WebGLRenderingContext, source: HTMLImageElement | ImageData | HTMLVideoElement | HTMLCanvasElement, premultipleAlpha?: boolean): GLTexture; static fromData(gl: WebGLRenderingContext, data: number[], width: number, height: number): GLTexture; } @@ -2558,7 +2598,7 @@ declare module PIXI { export function hex2string(hex: number): string; export function rgb2hex(rgb: Number[]): number; export function canUseNewCanvasBlendModes(): boolean; - export function getResolutionOfUrl(url: string): number; + export function getResolutionOfUrl(url: string, defaultValue?: number): number; export function getSvgSize(svgString: string): any; export function decomposeDataUri(dataUri: string): IDecomposedDataUri; export function getUrlFileExtension(url: string): string; @@ -2625,6 +2665,229 @@ declare module PIXI { } + ////////////////////////////////////////////////////////////////////////////// + /////////////////////////////depreciation///////////////////////////////////// + ////////////////////////////////////////////////////////////////////////////// + // not sure how to handle blendmodes scalemodes basetexturecache + module core { + + /** + * @class + * @private + * @name SpriteBatch + * @memberof PIXI + * @see PIXI.ParticleContainer + * @throws {ReferenceError} SpriteBatch does not exist any more, please use the new ParticleContainer instead. + * @deprecated since version 3.0.0 + */ + type SpriteBatch = ParticleContainer; + + /** + * @class + * @private + * @name AssetLoader + * @memberof PIXI + * @see PIXI.loaders.Loader + * @throws {ReferenceError} The loader system was overhauled in pixi v3, please see the new PIXI.loaders.Loader class. + * @deprecated since version 3.0.0 + */ + type AssetLoader = loaders.Loader; + + /** + * @class + * @private + * @name Stage + * @memberof PIXI + * @see PIXI.Container + * @deprecated since version 3.0.0 + */ + type Stage = Container; + + /** + * @class + * @private + * @name DisplayObjectContainer + * @memberof PIXI + * @see PIXI.Container + * @deprecated since version 3.0.0 + */ + type DisplayObjectContainer = Container; + + /** + * @class + * @private + * @name Strip + * @memberof PIXI + * @see PIXI.mesh.Mesh + * @deprecated since version 3.0.0 + */ + type Strip = mesh.Mesh; + + /** + * @class + * @private + * @name Rope + * @memberof PIXI + * @see PIXI.mesh.Rope + * @deprecated since version 3.0.0 + */ + type Rope = mesh.Rope; + + /** + * @class + * @private + * @name ParticleContainer + * @memberof PIXI + * @see PIXI.particles.ParticleContainer + * @deprecated since version 4.0.0 + */ + type ParticleContainer = particles.ParticleContainer; + + /** + * @class + * @private + * @name MovieClip + * @memberof PIXI + * @see PIXI.extras.MovieClip + * @deprecated since version 3.0.0 + */ + type MovieClip = extras.AnimatedSprite + + /** + * @class + * @private + * @name TilingSprite + * @memberof PIXI + * @see PIXI.extras.TilingSprite + * @deprecated since version 3.0.0 + */ + type TilingSprite = extras.TilingSprite; + + /** + * @class + * @private + * @name BitmapText + * @memberof PIXI + * @see PIXI.extras.BitmapText + * @deprecated since version 3.0.0 + */ + type BitmapText = extras.BitmapText; + + /** + * @namespace + * @private + * @name math + * @memberof PIXI + * @see PIXI + * @deprecated since version 3.0.6 + */ + type math = any; + + /** + * @class + * @private + * @name PIXI.AbstractFilter + * @see PIXI.Filter + * @deprecated since version 3.0.6 + */ + type AbstractFilter = Filter; + + /** + * @class + * @private + * @name PIXI.TransformManual + * @see PIXI.TransformBase + * @deprecated since version 4.0.0 + */ + type TransformManual = TransformBase; + + /** + * @static + * @constant + * @name PIXI.TARGET_FPMS + * @see PIXI.settings.TARGET_FPMS + * @deprecated since version 4.2.0 + */ + type TARGET_FPMS = number; + + /** + * @static + * @constant + * @name PIXI.FILTER_RESOLUTION + * @see PIXI.settings.FILTER_RESOLUTION + * @deprecated since version 4.2.0 + */ + type FILTER_RESOLUTION = number; + + /** + * @static + * @constant + * @name PIXI.RESOLUTION + * @see PIXI.settings.RESOLUTION + * @deprecated since version 4.2.0 + */ + type RESOLUTION = number; + + /** + * @static + * @constant + * @name PIXI.MIPMAP_TEXTURES + * @see PIXI.settings.MIPMAP_TEXTURES + * @deprecated since version 4.2.0 + */ + type MIPMAP_TEXTURES = any; + + /** + * @static + * @constant + * @name PIXI.SPRITE_BATCH_SIZE + * @see PIXI.settings.SPRITE_BATCH_SIZE + * @deprecated since version 4.2.0 + */ + type SPRITE_BATCH_SIZE = number; + + /** + * @static + * @constant + * @name PIXI.SPRITE_MAX_TEXTURES + * @see PIXI.settings.SPRITE_MAX_TEXTURES + * @deprecated since version 4.2.0 + */ + type SPRITE_MAX_TEXTURES = number; + + /** + * @static + * @constant + * @name PIXI.RETINA_PREFIX + * @see PIXI.settings.RETINA_PREFIX + * @deprecated since version 4.2.0 + */ + type RETINA_PREFIX = RegExp | string; + + /** + * @static + * @constant + * @name PIXI.DEFAULT_RENDER_OPTIONS + * @see PIXI.settings.RENDER_OPTIONS + * @deprecated since version 4.2.0 + */ + type DEFAULT_RENDER_OPTIONS = number; + + } + + export module extras { + + /** + * @class + * @name MovieClip + * @memberof PIXI.extras + * @see PIXI.extras.AnimatedSprite + * @deprecated since version 4.2.0 + */ + type MovieClip = extras.AnimatedSprite; + + } + } declare module pixi { From 053a52faa6d45555a736bf9772903cd6b35dbfa6 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Thu, 29 Dec 2016 12:07:34 -0800 Subject: [PATCH 3/8] Fix tests --- pixi.js/index.d.ts | 10 +++++----- pixi.js/pixi.js-tests.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pixi.js/index.d.ts b/pixi.js/index.d.ts index 5b3b19bc58..37243ccf35 100644 --- a/pixi.js/index.d.ts +++ b/pixi.js/index.d.ts @@ -1283,7 +1283,7 @@ declare module PIXI { } // text - export interface ITextStyleStyle { + export interface TextStyleOptions { align?: string; breakWords?: boolean; dropShadow?: boolean; @@ -1311,7 +1311,7 @@ declare module PIXI { wordWrapWidth?: number; } - export class TextStyle implements ITextStyleStyle { + export class TextStyle implements TextStyleOptions { align: string; breakWords: boolean; dropShadow: boolean; @@ -1337,17 +1337,17 @@ declare module PIXI { textBaseline: string; wordWrap: boolean; wordWrapWidth: number; - constructor(style?: ITextStyleStyle); + constructor(style?: TextStyleOptions); public clone(): TextStyle; public reset(): void; } export class Text extends Sprite { - static getFontStyle(style: ITextStyleStyle): string; + static getFontStyle(style: TextStyleOptions): string; static calculateFontProperties(style: string): any; - constructor(text?: string, style?: ITextStyleStyle); + constructor(text?: string, style?: TextStyleOptions); canvas: HTMLCanvasElement; context: CanvasRenderingContext2D; diff --git a/pixi.js/pixi.js-tests.ts b/pixi.js/pixi.js-tests.ts index 44f663af9a..8f86bf0d53 100644 --- a/pixi.js/pixi.js-tests.ts +++ b/pixi.js/pixi.js-tests.ts @@ -459,7 +459,7 @@ namespace basics { this.stage.addChild(this.basicText); - var style: PIXI.TextStyle = { + var style: PIXI.TextStyleOptions = { fontSize: 36, fontFamily: 'Arial', fontWeight: 'bold', From 800f464c8366e7b0e13db5068495bf087c7cfcca Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 29 Dec 2016 14:44:23 -0800 Subject: [PATCH 4/8] ej.web.all: Fix version (#13619) --- ej.web.all/index.d.ts | 358 +++++++++++++++++++++--------------------- 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/ej.web.all/index.d.ts b/ej.web.all/index.d.ts index 6a4017ccf9..a21e5127ee 100644 --- a/ej.web.all/index.d.ts +++ b/ej.web.all/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ej.web.all v14.4.0.20 +// Type definitions for ej.web.all 14.4 // Project: http://help.syncfusion.com/js/typescript // Definitions by: Syncfusion // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -13,7 +13,7 @@ * applicable laws. */ declare module ej { - + var dataUtil: dataUtil; function isMobile(): boolean; function isIOS(): boolean; @@ -101,7 +101,7 @@ declare module ej { function select(jsonArray: any, fields: string): any; function setTransition(): boolean; function sum(json: string, fieldName: string): string; - function swap(array: any, x: string, y: string): any; + function swap(array: any, x: string, y: string): any; var cssUA: string; var serverTimezoneOffset: number; var transform: string; @@ -115,7 +115,7 @@ declare module ej { var template: any; var util: { valueFunction(val: string): any; - } + } export module device { function isAndroid(): boolean; function isIOS(): boolean; @@ -131,8 +131,8 @@ declare module ej { function destroyAll(elements: Element): void; function init(element: Element): void; function registerInstance(element: Element, pluginName: string, className: string, prototype: any):void; - } - + } + interface browserInfoOptions { name: string; version: string; @@ -148,7 +148,7 @@ declare module ej { _on(element: JQuery, eventType?: string, handler?: (eventObject: JQueryEventObject) => any): any; _on(element: JQuery, eventType ?: string, selector ?: string, handler ?: (eventObject: JQueryEventObject) => any): any; _off(element: JQuery, eventName: string, handler ?: (eventObject: JQueryEventObject) => any): any; - _off(element: JQuery, eventType ?: string, selector ?: string, handler ?: (eventObject: JQueryEventObject) => any): any; + _off(element: JQuery, eventType ?: string, selector ?: string, handler ?: (eventObject: JQueryEventObject) => any): any; persistState(): void; restoreState(silent: boolean): void; } @@ -158,17 +158,17 @@ declare module ej { static fn: Widget; static extend(widget: Widget): any; register(pluginName: string, className: string, prototype: any): void; - destroyAll(elements: Element): void; - model: any; + destroyAll(elements: Element): void; + model: any; } interface BaseEvent { cancel: boolean; - type: string; + type: string; } class DataManager { - constructor(dataSource?: any, query?: ej.Query, adaptor?: any); + constructor(dataSource?: any, query?: ej.Query, adaptor?: any); setDefaultQuery(query: ej.Query): void; executeQuery(query?: ej.Query, done?: any, fail?: any, always?: any): JQueryPromise; executeLocal(query?: ej.Query): ej.DataManager; @@ -176,7 +176,7 @@ declare module ej { insert(data: Object, tableName?: string): JQueryPromise; remove(keyField: string, value: any, tableName?: string): Object; update(keyField: string, value: any, tableName?: string): Object; - } + } class Query { constructor(); @@ -293,7 +293,7 @@ declare module ej { changeSetContent?: string; batchChangeSetContentType?: string; } - + class WebApiAdaptor extends ej.ODataAdaptor { constructor(); insert(dm: ej.DataManager, data: Object, tableName?: string): { url: string; type: string; data: Object; } @@ -303,18 +303,18 @@ declare module ej { result: Object; count: number }; } - + class ODataV4Adaptor extends ej.ODataAdaptor { constructor(); options: ODataAdaptorOptions; onCount(e: Object): string; onEachSearch(e: Object): void; - onSearch(e: Object): string; + onSearch(e: Object): string; beforeSend(dm: ej.DataManager, request: any, settings?: any): void; processResponse(data: Object, ds: Object, query: ej.Query, xhr:any, request: any, changes: Changes): { result: Object; count: number }; - + } interface ODataAdaptorOptions { requestType?: string; @@ -419,7 +419,7 @@ declare module ej { predicates: any; }; } - interface dataUtil { + interface dataUtil { swap(array: Array, x: number, y: number): void; mergeSort(jsonArray: Array, fieldName?: string, comparer?:any): Array; max(jsonArray: Array, fieldName?: string, comparer?: string): Array; @@ -489,7 +489,7 @@ declare module ej { row, tHead } - + enum filterType{ StartsWith, Contains, @@ -505,7 +505,7 @@ declare module ej { Fade, None, Slide - } + } enum Type{ Overlay, Slide @@ -874,10 +874,10 @@ export interface HelperEventArgs { function parseDate(value: string, format: string, culture ?: string): Date; function getLocalizedConstants(controlName: string, culture ?: string): any; -interface globalize { +interface globalize { addCulture(name: string, culture?: any): void; preferredCulture(culture?: string): culture; - format(value: any, format: string, culture?: string): string; + format(value: any, format: string, culture?: string): string; parseInt(value: string, radix?: any, culture?: string): number; parseFloat(value: string, radix?: any, culture?: string): number; parseDate(value: string, format: string, culture?: string): Date; @@ -942,7 +942,7 @@ interface globalize { M: string; Y: string; S: string; - } + } class Scroller extends ej.Widget { static fn: Scroller; constructor(element: JQuery, options?: Scroller.Model); @@ -2483,7 +2483,7 @@ export interface ClickEventArgs { */ status?: boolean; - /** return the event model for sever side processing. + /** return the event model for sever side processing. */ e?: any; } @@ -2550,16 +2550,16 @@ Normal, Mini, //Creates button with Built-in small size height, width specified Small, -//Creates button with Built-in medium size height, width specified +//Creates button with Built-in medium size height, width specified Medium, -//Creates button with Built-in large size height, width specified +//Creates button with Built-in large size height, width specified Large, } enum ButtonType { //Creates button with Built-in button type specified Button, -//Creates button with Built-in reset type specified +//Creates button with Built-in reset type specified Reset, //Creates button with Built-in submit type specified Submit, @@ -2945,7 +2945,7 @@ class ListBox extends ej.Widget { removeSelectedItems(): void; /** Removes a list item by using its text. - * @param {string} Text of the listbox item to be removed. + * @param {string} Text of the listbox item to be removed. * @returns {void} */ removeItemByText(text: string): void; @@ -2956,7 +2956,7 @@ class ListBox extends ej.Widget { */ removeItemByIndex(index: number): void; - /** + /** * @returns {void} */ selectAll(): void; @@ -3002,7 +3002,7 @@ class ListBox extends ej.Widget { */ uncheckItemsByIndices(indices: number[]|string): void; - /** + /** * @returns {void} */ unselectAll(): void; @@ -3084,7 +3084,7 @@ class ListBox extends ej.Widget { */ hideItemByIndex(index: number): void; - /** + /** * @returns {void} */ show(): void; @@ -4549,7 +4549,7 @@ enum Presets{ } enum ButtonMode { -//Displays the button in split mode +//Displays the button in split mode Split, //Displays the button in Dropdown mode Dropdown, @@ -4569,25 +4569,25 @@ class FileExplorer extends ej.Widget { adjustSize(): void; /** Disable the particular context menu item. - * @param {string|HTMLElement} Id of the menu item/ Menu element to be disabled + * @param {string|HTMLElement} Id of the menu item/ Menu element to be disabled * @returns {void} */ disableMenuItem(item: string|HTMLElement): void; /** Disable the particular toolbar item. - * @param {string|HTMLElement} Id of the toolbar item/ Tool item element to be disabled + * @param {string|HTMLElement} Id of the toolbar item/ Tool item element to be disabled * @returns {void} */ disableToolbarItem(item: string|HTMLElement): void; /** Enable the particular context menu item. - * @param {string|HTMLElement} Id of the menu item/ Menu element to be Enabled + * @param {string|HTMLElement} Id of the menu item/ Menu element to be Enabled * @returns {void} */ enableMenuItem(item: string|HTMLElement): void; /** Enable the particular toolbar item - * @param {string|HTMLElement} Id of the tool item/ Tool item element to be Enabled + * @param {string|HTMLElement} Id of the tool item/ Tool item element to be Enabled * @returns {void} */ enableToolbarItem(item: string|HTMLElement): void; @@ -4598,7 +4598,7 @@ class FileExplorer extends ej.Widget { refresh(): void; /** Remove the particular toolbar item. - * @param {string|HTMLElement} Id of the tool item/ tool item element to be removed + * @param {string|HTMLElement} Id of the tool item/ tool item element to be removed * @returns {void} */ removeToolbarItem(item: string|HTMLElement): void; @@ -5346,7 +5346,7 @@ enum layoutType{ ///Supports to display files in tile view Tile, - ///Supports to display files in grid view + ///Supports to display files in grid view Grid, ///Supports to display files as large icons @@ -5958,10 +5958,10 @@ enum Level{ enum HighlightSection{ - ///Highlight the week of the currently selected date in DatePicker popup calendar + ///Highlight the week of the currently selected date in DatePicker popup calendar Week, - ///Highlight the workdays in a currently selected date's week in DatePicker popup calendar + ///Highlight the workdays in a currently selected date's week in DatePicker popup calendar WorkDays, ///Nothing will be highlighted, remove highlights from DatePicker popup calendar if already exists @@ -6435,7 +6435,7 @@ enum popupPosition { //Opens the DateTimePicker popup below to the DateTimePicker input box Bottom, -//Opens the DateTimePicker popup above to the DateTimePicker input box +//Opens the DateTimePicker popup above to the DateTimePicker input box Top, } @@ -8028,11 +8028,11 @@ export interface ActionCompleteEventArgs { */ model?: any; - /** Returns the query for data retrieval + /** Returns the query for data retrieval */ query?: any; - /** Returns the query for data retrieval from the Database + /** Returns the query for data retrieval from the Database */ request?: any; @@ -8063,7 +8063,7 @@ export interface ActionFailureEventArgs { */ model?: any; - /** Returns the query for data retrieval + /** Returns the query for data retrieval */ query?: any; @@ -8086,11 +8086,11 @@ export interface ActionSuccessEventArgs { */ model?: any; - /** Returns the query for data retrieval + /** Returns the query for data retrieval */ query?: any; - /** Returns the query for data retrieval from the Database + /** Returns the query for data retrieval from the Database */ request?: any; @@ -8539,14 +8539,14 @@ export interface Fields { } enum FilterType { -//filter the data wherever contains search key +//filter the data wherever contains search key Contains, //filter the data based on search key present at start position StartsWith, } enum MultiSelectMode { -// can select only single item in DropDownList +// can select only single item in DropDownList None, //can select multiple items and it's separated by delimiterChar Delimiter, @@ -12624,7 +12624,7 @@ enum CustomItemType{ enum QuickAccessMode{ - ///Controls are hidden in Quick Access toolbar + ///Controls are hidden in Quick Access toolbar None, ///Add controls in toolBar @@ -12692,7 +12692,7 @@ class Kanban extends ej.Widget { toggleColumn(headerText: any): void; /** Expand or collapse the card based on the state of target "div" - * @param {string|number} Pass the id of card to be toggle + * @param {string|number} Pass the id of card to be toggle * @returns {void} */ toggleCard(key: string|number): void; @@ -14255,7 +14255,7 @@ enum EditingType{ ///Allows to set edit type as string edit type String, - ///Allows to set edit type as numeric edit type + ///Allows to set edit type as numeric edit type Numeric, ///Allows to set edit type as drop down edit type @@ -15690,7 +15690,7 @@ export interface ChangeEventArgs { */ value?: number; - /** returns true if event triggered by interaction else returns false. + /** returns true if event triggered by interaction else returns false. */ isInteraction?: boolean; } @@ -16927,7 +16927,7 @@ enum Position{ ///Tab headers display to top position Top, - ///Tab headers display to bottom position + ///Tab headers display to bottom position Bottom, ///Tab headers display to left position. @@ -18792,7 +18792,7 @@ export interface BeforeCollapseEventArgs { */ parentId?: string; - /** returns the format asynchronous or synchronous + /** returns the format asynchronous or synchronous */ async?: boolean; } @@ -18920,7 +18920,7 @@ export interface BeforeExpandEventArgs { */ parentId?: string; - /** returns the format asynchronous or synchronous + /** returns the format asynchronous or synchronous */ async?: boolean; } @@ -19291,7 +19291,7 @@ export interface NodeCollapseEventArgs { */ isChildLoaded?: boolean; - /** returns the format asynchronous or synchronous + /** returns the format asynchronous or synchronous */ async?: boolean; } @@ -19595,7 +19595,7 @@ export interface NodeExpandEventArgs { */ parentId?: string; - /** returns the format asynchronous or synchronous + /** returns the format asynchronous or synchronous */ async?: boolean; } @@ -20468,7 +20468,7 @@ class Grid extends ej.Widget { defaults:Grid.Model; /** Adds a grid model property which is to be ignored upon exporting. - * @param {Array} Pass the array of parameters which need to be ignored on exporting + * @param {Array} Pass the array of parameters which need to be ignored on exporting * @returns {void} */ addIgnoreOnExport(propertyNames: Array): void; @@ -20894,7 +20894,7 @@ class Grid extends ej.Widget { saveCell(): void; /** We can prevent the client side cellSave event triggering by passing the preventSaveEvent argument as true. - * @param {boolean} optionalIf we pass preventSaveEvent as true, it prevents the client side cellSave event triggering + * @param {boolean} optionalIf we pass preventSaveEvent as true, it prevents the client side cellSave event triggering * @returns {void} */ saveCell(preventSaveEvent: boolean): void; @@ -24270,7 +24270,7 @@ export interface LoadedEventArgs { export interface TooltipInitializeEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -24394,7 +24394,7 @@ export interface PointRegionMouseClickEventArgs { export interface SparklineMouseMoveEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -24409,7 +24409,7 @@ export interface SparklineMouseMoveEventArgs { export interface SparklineMouseLeaveEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -29442,7 +29442,7 @@ export interface ResizeStopEventArgs { export interface OverflowButtonClickEventArgs { - /** Returns the object consisting of start time, end time and resource value of the underlying cell on which the clicked overflow button is present. + /** Returns the object consisting of start time, end time and resource value of the underlying cell on which the clicked overflow button is present. */ object?: any; @@ -29465,7 +29465,7 @@ export interface OverflowButtonClickEventArgs { export interface OverflowButtonHoverEventArgs { - /** Returns the object consisting of start time, end time and resource value of the underlying cell on which the overflow button is currently hovered. + /** Returns the object consisting of start time, end time and resource value of the underlying cell on which the overflow button is currently hovered. */ object?: any; @@ -32507,7 +32507,7 @@ class TreeGrid extends ej.Widget { /** To rename a column with the specified name * @param {number} Index of the column to be renamed - * @param {string} Header text of the column + * @param {string} Header text of the column * @returns {void} */ renameColumn(columnIndex: number, name: string): void; @@ -34375,9 +34375,9 @@ export interface SelectEventArgs { } enum GroupButtonMode { -//Sets the GroupButton to work as checkbox mode +//Sets the GroupButton to work as checkbox mode CheckBox, -//Sets the RadioButton to work as radio button mode +//Sets the RadioButton to work as radio button mode RadioButton, } @@ -35002,7 +35002,7 @@ export interface MouseDownEventArgs { */ text?: string; - /** returns the index of current tile item + /** returns the index of current tile item */ index?: number; } @@ -35025,7 +35025,7 @@ export interface MouseUpEventArgs { */ text?: boolean; - /** returns the index of current tile item + /** returns the index of current tile item */ index?: number; } @@ -35564,30 +35564,30 @@ export interface Model { export interface ChangeEventArgs { - /** returns the Radialslider model + /** returns the Radialslider model */ model?: any; - /** if the event should be canceled; otherwise, false. + /** if the event should be canceled; otherwise, false. */ cancel?: boolean; - /** returns the initial value of Radial slider + /** returns the initial value of Radial slider */ oldValue?: number; - /** returns the name of the event + /** returns the name of the event */ type?: string; - /** returns the current value of the Radial slider + /** returns the current value of the Radial slider */ value?: number; } export interface CreateEventArgs { - /** if the event should be canceled; otherwise, false. + /** if the event should be canceled; otherwise, false. */ cancel?: boolean; @@ -35595,91 +35595,91 @@ export interface CreateEventArgs { */ model?: any; - /** returns the name of the event + /** returns the name of the event */ type?: string; } export interface MouseoverEventArgs { - /** if the event should be canceled; otherwise, false. + /** if the event should be canceled; otherwise, false. */ cancel?: boolean; - /** returns the Radialslider model + /** returns the Radialslider model */ model?: any; - /** returns the value selected + /** returns the value selected */ selectedValue?: number; - /** returns the name of the event + /** returns the name of the event */ type?: string; - /** returns the current value selected in Radial slider + /** returns the current value selected in Radial slider */ value?: number; } export interface SlideEventArgs { - /** if the event should be canceled; otherwise, false. + /** if the event should be canceled; otherwise, false. */ cancel?: boolean; - /** returns the Radialslider model + /** returns the Radialslider model */ model?: any; - /** returns the value selected in Radial slider + /** returns the value selected in Radial slider */ selectedValue?: number; - /** returns the name of the event + /** returns the name of the event */ type?: string; - /** returns the currently selected value + /** returns the currently selected value */ value?: number; } export interface StartEventArgs { - /** if the event should be canceled; otherwise, false. + /** if the event should be canceled; otherwise, false. */ cancel?: boolean; - /** returns the Radialslider model + /** returns the Radialslider model */ model?: any; - /** returns the name of the event + /** returns the name of the event */ type?: string; - /** returns the current value selected in Radial slider + /** returns the current value selected in Radial slider */ value?: number; } export interface StopEventArgs { - /** if the event should be canceled; otherwise, false. + /** if the event should be canceled; otherwise, false. */ cancel?: boolean; - /** returns the Radialslider model + /** returns the Radialslider model */ model?: any; - /** returns the name of the event + /** returns the name of the event */ type?: string; - /** returns the current value selected in Radial slider + /** returns the current value selected in Radial slider */ value?: number; } @@ -35706,13 +35706,13 @@ class Spreadsheet extends ej.Widget { addNewSheet(): void; /** It is used to clear all the data and format in the specified range of cells in Spreadsheet. - * @param {string|Array} Optional. If range is specified, then it will clear all content in the specified range else it will use the current selected range. + * @param {string|Array} Optional. If range is specified, then it will clear all content in the specified range else it will use the current selected range. * @returns {void} */ clearAll(range?: string|Array): void; /** This property is used to clear all the formats applied in the specified range in Spreadsheet. - * @param {string|Array} Optional. If range is specified, then it will clear all format in the specified range else it will use the current selected range. + * @param {string|Array} Optional. If range is specified, then it will clear all format in the specified range else it will use the current selected range. * @returns {void} */ clearAllFormat(range?: string|Array): void; @@ -35724,7 +35724,7 @@ class Spreadsheet extends ej.Widget { clearBorder(range?: string|Array): void; /** This property is used to clear the contents in the specified range in Spreadsheet. - * @param {string|Array} Optional. If the range is specified, then it will clear the content in the specified range else it will use the current selected range. + * @param {string|Array} Optional. If the range is specified, then it will clear the content in the specified range else it will use the current selected range. * @returns {void} */ clearContents(range?: string|Array): void; @@ -35736,10 +35736,10 @@ class Spreadsheet extends ej.Widget { clearRange(rangeName: string): void; /** It is used to remove data in the specified range of cells based on the defined property. - * @param {Array|string} Optional. If range is specified, it will clear data for the specified range else it will use the current selected range. - * @param {string} Optional. If property is specified, it will remove the specified property in the range else it will remove default properties + * @param {Array|string} Optional. If range is specified, it will clear data for the specified range else it will use the current selected range. + * @param {string} Optional. If property is specified, it will remove the specified property in the range else it will remove default properties * @param {any} Optional. - * @param {boolean} Optional. pass `true`, if you want to skip the hidden rows + * @param {boolean} Optional. pass `true`, if you want to skip the hidden rows * @param {any} Optional. Pass the status to perform undo and redo operation. * @param {any} Optional. It specifies whether to skip element processing or not. * @returns {void} @@ -35863,7 +35863,7 @@ class Spreadsheet extends ej.Widget { getRange(range: string, sheetIdx: number, skipHiddenRow?: boolean): HTMLElement; /** This method is used to get the data in specified range in Spreadsheet. - * @param {any} Optional. Pass the range, property, sheetIdx, valueOnly in options. + * @param {any} Optional. Pass the range, property, sheetIdx, valueOnly in options. * @returns {Array} */ getRangeData(options?: any): Array; @@ -36153,7 +36153,7 @@ class Spreadsheet extends ej.Widget { /** This method is used to update the data for the specified range of cells in the Spreadsheet. * @param {any} Pass the cells data that you want to update. - * @param {Array|string} Optional. If range is specified, it will update data for the specified range else it will use the current selected range. + * @param {Array|string} Optional. If range is specified, it will update data for the specified range else it will use the current selected range. * @returns {void} */ updateData(data: any, range?: Array|string): void; @@ -36351,7 +36351,7 @@ export interface XLClipboard { export interface XLComment { /** This method is used to delete the comment in the specified range in Spreadsheet. - * @param {Array|string} Optional. If range is specified, it will delete comments for the specified range else it will use the current selected range. + * @param {Array|string} Optional. If range is specified, it will delete comments for the specified range else it will use the current selected range. * @param {number} Optional. If sheetIdx is specified, it will delete comment in specified sheet else it will use active sheet. * @param {boolean} Optional. Pass `true`, if you want to skip the hidden rows data. * @returns {void} @@ -36359,7 +36359,7 @@ export interface XLComment { deleteComment(range: Array|string,sheetIdx: number,skipHiddenRow: boolean): void; /** This method is used to edit the comment in the target Cell in Spreadsheet. - * @param {any} Optional. Pass the row index and column index of the cell which contains comment. + * @param {any} Optional. Pass the row index and column index of the cell which contains comment. * @returns {void} */ editComment(targetCell: any): void; @@ -36381,10 +36381,10 @@ export interface XLComment { getComment(cell: HTMLElement): any; /** This method is used to set new comment in Spreadsheet. - * @param {string|Array} Optional. If we pass the range comment will set in the range otherwise it will set with selected cells. + * @param {string|Array} Optional. If we pass the range comment will set in the range otherwise it will set with selected cells. * @param {string} Optional. Pass the comment data. - * @param {boolean} Optional. Pass `true` to show comment in edit mode - * @param {boolean} Optional. Pass `true` to show the user name + * @param {boolean} Optional. Pass `true` to show comment in edit mode + * @param {boolean} Optional. Pass `true` to show the user name * @returns {void} */ setComment(range: string|Array,data: string,showEditPanel: boolean,showUserName: boolean): void; @@ -36523,7 +36523,7 @@ export interface XLEdit { /** This method is used to update a particular cell value and its format in the Spreadsheet. * @param {any} Pass row index and column index of the cell. * @param {string|number} Pass the cell value. - * @param {string} Pass the class name to update format. + * @param {string} Pass the class name to update format. * @param {number} Pass sheet index. * @returns {void} */ @@ -36533,7 +36533,7 @@ export interface XLEdit { export interface XLExport { /** This method is used to save the sheet data as Excel ,CSV or PDF document (.xls, .xlsx .csv, .pdf) in Spreadsheet. - * @param {string} Pass the export type that you want. + * @param {string} Pass the export type that you want. * @returns {void} */ export(type: string): void; @@ -36567,7 +36567,7 @@ export interface XLFormat { /** This method is used to create a table for the selected range of cells in the Spreadsheet. * @param {any} Pass the table object. - * @param {string|Array} Optional. If the range is specified, then it will create table in the specified range else it will use the current selected range. + * @param {string|Array} Optional. If the range is specified, then it will create table in the specified range else it will use the current selected range. * @returns {String} */ createTable(tableObject: any,range: string|Array): String; @@ -36601,7 +36601,7 @@ export interface XLFormat { /** This method is used to update the format for the selected range of cells in the Spreadsheet. * @param {any} Pass the format object that you want to update. - * @param {Array} Optional. If the range is specified, then it will update format in the specified range else it will use the current selected range. + * @param {Array} Optional. If the range is specified, then it will update format in the specified range else it will use the current selected range. * @returns {void} */ updateFormat(formatObj: any,range: Array): void; @@ -36648,7 +36648,7 @@ export interface XLFreeze { export interface XLPivot { /** This property is used to clear the pivot table list in Spreadsheet. - * @param {string} Pass the name of the pivot table. + * @param {string} Pass the name of the pivot table. * @returns {void} */ clearPivotFieldList(pivotName: string): void; @@ -36955,7 +36955,7 @@ export interface XLSort { export interface XLValidate { /** This method is used to apply data validation rules in a selected range of cells based on the defined condition in the Spreadsheet. - * @param {string|Array} If range is specified, it will apply rules for the specified range else it will use the current selected range. + * @param {string|Array} If range is specified, it will apply rules for the specified range else it will use the current selected range. * @param {Array} Pass the validation condition, value1 and value2. * @param {string} Pass the data type. * @param {boolean} Pass `true` if you ignore blank values. @@ -36965,7 +36965,7 @@ export interface XLValidate { applyDVRules(range: string|Array,values: Array,type: string,required: boolean,showErrorAlert: boolean): void; /** This method is used to clear the applied validation rules in a specified range of cells in the Spreadsheet. - * @param {string|Array} Optional. If range is specified, it will clear rules for the specified range else it will use the current selected range. + * @param {string|Array} Optional. If range is specified, it will clear rules for the specified range else it will use the current selected range. * @returns {void} */ clearDV(range: string|Array): void; @@ -38664,7 +38664,7 @@ export interface SelectionSettings { export interface SheetsBorder { - /** + /** */ type?: ej.Spreadsheet.BorderType|string; @@ -39485,7 +39485,7 @@ enum PdfService{ enum LinkTarget{ - ///Opens the hyperlink in the same tab of the browser. + ///Opens the hyperlink in the same tab of the browser. Default, ///Opens the hyperlink in a new tab of the browser. @@ -39983,7 +39983,7 @@ export interface IgnoreSettings { } declare module ej.datavisualization { - + class SymbolPalette extends ej.Widget { static fn: SymbolPalette; constructor(element: JQuery, options?: SymbolPalette.Model); @@ -45070,11 +45070,11 @@ export interface DisplayTextRenderingEventArgs { */ locationY?: number; - /** Index of the series in series Collection whose data label is being rendered + /** Index of the series in series Collection whose data label is being rendered */ seriesIndex?: number; - /** Index of the point in series whose data label is being rendered + /** Index of the point in series whose data label is being rendered */ pointIndex?: number; @@ -45375,7 +45375,7 @@ export interface SeriesRenderingEventArgs { export interface SymbolRenderingEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45398,7 +45398,7 @@ export interface SymbolRenderingEventArgs { export interface TitleRenderingEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45425,7 +45425,7 @@ export interface TitleRenderingEventArgs { export interface ToolTipInitializeEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45452,7 +45452,7 @@ export interface ToolTipInitializeEventArgs { export interface TrackAxisToolTipEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45483,7 +45483,7 @@ export interface TrackAxisToolTipEventArgs { export interface TrackToolTipEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45518,7 +45518,7 @@ export interface TrackToolTipEventArgs { export interface AxisLabelClickEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45530,7 +45530,7 @@ export interface AxisLabelClickEventArgs { */ type?: string; - /** X and Y co-ordinate of the labels in chart area. + /** X and Y co-ordinate of the labels in chart area. */ location?: any; @@ -45549,7 +45549,7 @@ export interface AxisLabelClickEventArgs { export interface AxisLabelMouseMoveEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45561,7 +45561,7 @@ export interface AxisLabelMouseMoveEventArgs { */ type?: string; - /** X and Y co-ordinate of the labels in chart area. + /** X and Y co-ordinate of the labels in chart area. */ location?: any; @@ -45580,7 +45580,7 @@ export interface AxisLabelMouseMoveEventArgs { export interface ChartClickEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45592,30 +45592,30 @@ export interface ChartClickEventArgs { */ type?: string; - /** X and Y co-ordinate of the points with respect to chart area. + /** X and Y co-ordinate of the points with respect to chart area. */ location?: any; - /** ID of the target element. + /** ID of the target element. */ id?: string; - /** Width and height of the chart. + /** Width and height of the chart. */ size?: any; - /** x-coordinate of the pointer, relative to the page + /** x-coordinate of the pointer, relative to the page */ pageX?: number; - /** y-coordinate of the pointer, relative to the page + /** y-coordinate of the pointer, relative to the page */ pageY?: number; } export interface ChartMouseMoveEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45627,30 +45627,30 @@ export interface ChartMouseMoveEventArgs { */ type?: string; - /** X and Y co-ordinate of the points with respect to chart area. + /** X and Y co-ordinate of the points with respect to chart area. */ location?: any; - /** ID of the target element. + /** ID of the target element. */ id?: string; - /** Width and height of the chart. + /** Width and height of the chart. */ size?: any; - /** x-coordinate of the pointer, relative to the page + /** x-coordinate of the pointer, relative to the page */ pageX?: number; - /** y-coordinate of the pointer, relative to the page + /** y-coordinate of the pointer, relative to the page */ pageY?: number; } export interface ChartDoubleClickEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45662,30 +45662,30 @@ export interface ChartDoubleClickEventArgs { */ type?: string; - /** X and Y co-ordinate of the points with respect to chart area. + /** X and Y co-ordinate of the points with respect to chart area. */ location?: any; - /** ID of the target element. + /** ID of the target element. */ id?: string; - /** Width and height of the chart. + /** Width and height of the chart. */ size?: any; - /** x-coordinate of the pointer, relative to the page + /** x-coordinate of the pointer, relative to the page */ pageX?: number; - /** y-coordinate of the pointer, relative to the page + /** y-coordinate of the pointer, relative to the page */ pageY?: number; } export interface AnnotationClickEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45697,26 +45697,26 @@ export interface AnnotationClickEventArgs { */ type?: string; - /** X and Y co-ordinate of the annotation in chart area. + /** X and Y co-ordinate of the annotation in chart area. */ location?: any; - /** Information about the annotation, like Coordinate unit, Region, content + /** Information about the annotation, like Coordinate unit, Region, content */ contentData?: any; - /** x-coordinate of the pointer, relative to the page + /** x-coordinate of the pointer, relative to the page */ pageX?: number; - /** y-coordinate of the pointer, relative to the page + /** y-coordinate of the pointer, relative to the page */ pageY?: number; } export interface AfterResizeEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45728,34 +45728,34 @@ export interface AfterResizeEventArgs { */ type?: string; - /** Chart width, after resize + /** Chart width, after resize */ width?: number; - /** Chart height, after resize + /** Chart height, after resize */ height?: number; - /** Chart width, before resize + /** Chart width, before resize */ prevWidth?: number; - /** Chart height, before resize + /** Chart height, before resize */ prevHeight?: number; - /** Chart width, when the chart was first rendered + /** Chart width, when the chart was first rendered */ originalWidth?: number; - /** Chart height, when the chart was first rendered + /** Chart height, when the chart was first rendered */ originalHeight?: number; } export interface BeforeResizeEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45767,26 +45767,26 @@ export interface BeforeResizeEventArgs { */ type?: string; - /** Chart width, before resize + /** Chart width, before resize */ currentWidth?: number; - /** Chart height, before resize + /** Chart height, before resize */ currentHeight?: number; - /** Chart width, after resize + /** Chart width, after resize */ newWidth?: number; - /** Chart height, after resize + /** Chart height, after resize */ newHeight?: number; } export interface ErrorBarRenderingEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -45798,7 +45798,7 @@ export interface ErrorBarRenderingEventArgs { */ type?: string; - /** Error bar Object + /** Error bar Object */ errorbar?: any; } @@ -58830,11 +58830,11 @@ export interface Tooltip { } module Diagram { -enum ImageAlignment +enum ImageAlignment { //Scales the graphic content non-uniformly to the width and height of the diagram area None, -//Used to align the image at the top left of diagram area +//Used to align the image at the top left of diagram area XMinYMin, //Used to align the image at the left center of diagram area XMinYMid, @@ -59072,7 +59072,7 @@ enum BPMNFlows { //Used to specify the Sequence flow in a BPMN Process Sequence, -//Used to specify the Association flow in a BPMN Process +//Used to specify the Association flow in a BPMN Process Association, //Used to specify the Message flow in a BPMN Process Message, @@ -59680,7 +59680,7 @@ All, } module Diagram { -enum UserHandlePositions +enum UserHandlePositions { //Set the position of the userhandle as topleft TopLeft, @@ -60082,17 +60082,17 @@ module HeatMap { enum CellVisibility { -//Display the content of the cell +//Display the content of the cell Visible, -//Hide the content of the cell +//Hide the content of the cell Hidden, } } module HeatMap { -enum TextDecoration +enum TextDecoration { -//Defines a line below the text +//Defines a line below the text Underline, //Defines a line above the text Overline, @@ -60210,9 +60210,9 @@ module HeatMap { enum LegendOrientation { -//Scales the graphic content non-uniformly to the width and height of the diagram area +//Scales the graphic content non-uniformly to the width and height of the diagram area Horizontal, -//Used to align the image at the top left of diagram area +//Used to align the image at the top left of diagram area Vertical, } } @@ -60220,9 +60220,9 @@ module HeatMap { enum LegendMode { -//Scales the graphic content non-uniformly to the width and height of the diagram area +//Scales the graphic content non-uniformly to the width and height of the diagram area Gradient, -//Used to align the image at the top left of diagram area +//Used to align the image at the top left of diagram area List, } } @@ -60419,7 +60419,7 @@ export interface LoadedEventArgs { export interface TooltipInitializeEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -60543,7 +60543,7 @@ export interface PointRegionMouseClickEventArgs { export interface SparklineMouseMoveEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; @@ -60558,7 +60558,7 @@ export interface SparklineMouseMoveEventArgs { export interface SparklineMouseLeaveEventArgs { - /** Set this option to true to cancel the event + /** Set this option to true to cancel the event */ cancel?: boolean; From b7c217791037e9a13dc760b95631636f5bf4c780 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Thu, 29 Dec 2016 14:58:31 -0800 Subject: [PATCH 5/8] Ask people changing a package to consider linting it too. --- PULL_REQUEST_TEMPLATE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 7e02831b9d..68f322eddc 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -18,6 +18,7 @@ If adding a new definition: If changing an existing definition: - [ ] Provide a URL to documentation or source code which provides context for the suggested changes: <> - [ ] Increase the version number in the header if appropriate. +- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "../tslint.json" }`. If removing a declaration: - [ ] If a package was never on DefinitelyTyped, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.) From 79a6cdfefd0a4c7824e33bd4cc4dbcce1d478698 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Thu, 29 Dec 2016 15:05:26 -0800 Subject: [PATCH 6/8] Remove merge conflict marker --- notNeededPackages.json | 1 - 1 file changed, 1 deletion(-) diff --git a/notNeededPackages.json b/notNeededPackages.json index 6f0bcd5cdb..6ec3f8a6b8 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -96,7 +96,6 @@ "asOfVersion": "2.0.18" }, { -<<<<<<< HEAD "libraryName": "camel-case", "typingsPackageName": "camel-case", "sourceRepoURL": "https://github.com/blakeembrey/camel-case", From 5f9dd59253ec35323947c8864049b3966ffe3ea1 Mon Sep 17 00:00:00 2001 From: Free Willaert Date: Fri, 30 Dec 2016 00:51:00 +0100 Subject: [PATCH 7/8] @types/jsonwebtoken: SignOptions: add keyid and audience can be array (#13625) * SignOptions: add keyid and audience can be array * Update minor version. --- jsonwebtoken/index.d.ts | 6 ++++-- jsonwebtoken/jsonwebtoken-tests.ts | 10 ++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/jsonwebtoken/index.d.ts b/jsonwebtoken/index.d.ts index 013398f476..a00f878310 100644 --- a/jsonwebtoken/index.d.ts +++ b/jsonwebtoken/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jsonwebtoken 7.1.6 +// Type definitions for jsonwebtoken 7.2.0 // Project: https://github.com/auth0/node-jsonwebtoken // Definitions by: Maxime LUCE , Daniel Heim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -38,16 +38,18 @@ export interface SignOptions { * - none: No digital signature or MAC value included */ algorithm?: string; + keyid?: string; /** @member {string} - Lifetime for the token expressed in a string describing a time span [rauchg/ms](https://github.com/rauchg/ms.js). Eg: `60`, `"2 days"`, `"10h"`, `"7d"` */ expiresIn?: string | number; notBefore?: string; - audience?: string; + audience?: string | string[]; subject?: string; issuer?: string; jwtid?: string; noTimestamp?: boolean; header?: Object; encoding?: string; + } export interface VerifyOptions { diff --git a/jsonwebtoken/jsonwebtoken-tests.ts b/jsonwebtoken/jsonwebtoken-tests.ts index 279a0ebd07..4a939becbc 100644 --- a/jsonwebtoken/jsonwebtoken-tests.ts +++ b/jsonwebtoken/jsonwebtoken-tests.ts @@ -19,10 +19,20 @@ var cert: Buffer; // sign with default (HMAC SHA256) token = jwt.sign({ foo: 'bar' }, 'shhhhh'); +// sign with default (HMAC SHA256) and single audience +token = jwt.sign({ foo: 'bar' }, 'shhhhh', { audience: "theAudience"}); + +// sign with default (HMAC SHA256) and multiple audiences +token = jwt.sign({ foo: 'bar' }, 'shhhhh', { audience: ["audience1", "audience2"]}); + +// sign with default (HMAC SHA256) and a keyid +token = jwt.sign({ foo: 'bar' }, 'shhhhh', { keyid: "theKeyId"}); + // sign with RSA SHA256 cert = fs.readFileSync('private.key'); // get private key token = jwt.sign({ foo: 'bar' }, cert, { algorithm: 'RS256'}); + // sign asynchronously jwt.sign({ foo: 'bar' }, cert, { algorithm: 'RS256' }, function(err: Error, token: string) { console.log(token); From 19c26e91d87c3f24429bea0202869ec3e91cbc48 Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 29 Dec 2016 15:56:26 -0800 Subject: [PATCH 8/8] Fix header versions that weren't parse-able. (#13620) --- angular-growl-v2/index.d.ts | 2 +- cookie-session/index.d.ts | 2 +- farbtastic/index.d.ts | 4 ++-- fromjs/index.d.ts | 2 +- gapi.youtube/index.d.ts | 2 +- googlemaps.infobubble/index.d.ts | 2 +- grecaptcha/index.d.ts | 2 +- hellojs/index.d.ts | 2 +- heremaps/index.d.ts | 2 +- html2canvas/index.d.ts | 4 ++-- imgur-rest-api/index.d.ts | 2 +- inversify-binding-decorators/index.d.ts | 2 +- inversify-inject-decorators/index.d.ts | 2 +- inversify/index.d.ts | 2 +- ix.js/index.d.ts | 2 +- jasmine-expect/index.d.ts | 2 +- jee-jsf/index.d.ts | 2 +- jquery.cycle2/index.d.ts | 2 +- jquery.form/index.d.ts | 2 +- jquery.jsignature/index.d.ts | 6 +++--- jquery.rowgrid/index.d.ts | 2 +- json-pointer/index.d.ts | 2 +- jsplumb/index.d.ts | 4 ++-- jwplayer/index.d.ts | 2 +- katex/index.d.ts | 2 +- logat/index.d.ts | 2 +- minilog/index.d.ts | 2 +- nw.js/index.d.ts | 2 +- owlcarousel/index.d.ts | 2 +- phantomjs/index.d.ts | 10 +++++----- pixi-spine/index.d.ts | 2 +- plupload/index.d.ts | 2 +- pty.js/index.d.ts | 18 +++++++++--------- pug/index.d.ts | 6 +++--- react-addons-create-fragment/index.d.ts | 2 +- react-addons-css-transition-group/index.d.ts | 2 +- react-addons-linked-state-mixin/index.d.ts | 2 +- react-addons-perf/index.d.ts | 2 +- react-addons-pure-render-mixin/index.d.ts | 2 +- react-addons-shallow-compare/index.d.ts | 2 +- react-addons-test-utils/index.d.ts | 2 +- react-addons-transition-group/index.d.ts | 2 +- react-addons-update/index.d.ts | 2 +- react-big-calendar/index.d.ts | 2 +- react-dom/index.d.ts | 2 +- react-fontawesome/index.d.ts | 2 +- samchon-framework/index.d.ts | 2 +- sortablejs/index.d.ts | 2 +- three/index.d.ts | 2 +- valdr-message/index.d.ts | 2 +- vortex-web-client/index.d.ts | 2 +- webpack-env/index.d.ts | 2 +- ydn-db/index.d.ts | 2 +- zepto/index.d.ts | 2 +- zeroclipboard/index.d.ts | 2 +- 55 files changed, 74 insertions(+), 74 deletions(-) diff --git a/angular-growl-v2/index.d.ts b/angular-growl-v2/index.d.ts index e8326006ca..cf4b134d02 100644 --- a/angular-growl-v2/index.d.ts +++ b/angular-growl-v2/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Angular Growl 2 v.0.7.5 +// Type definitions for Angular Growl 2 0.7 // Project: http://janstevens.github.io/angular-growl-2 // Definitions by: Tadeusz Hucal // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/cookie-session/index.d.ts b/cookie-session/index.d.ts index 71e63d5a3c..b0f4a1060e 100644 --- a/cookie-session/index.d.ts +++ b/cookie-session/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for cookie-session v2.0.0-alpha.1 +// Type definitions for cookie-session 2.0 // Project: https://github.com/expressjs/cookie-session // Definitions by: Borislav Zhivkov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/farbtastic/index.d.ts b/farbtastic/index.d.ts index 6f6081982e..c6cf10437b 100644 --- a/farbtastic/index.d.ts +++ b/farbtastic/index.d.ts @@ -1,5 +1,5 @@ -// Type definitions for Farbtastic: jQuery Color Wheel v2.0.0-alpha.1 -// Project: http://mattfarina.github.io/farbtastic/ +// Type definitions for Farbtastic: jQuery Color Wheel 2.0 +// Project: https://github.com/mattfarina/farbtastic // Definitions by: Matt Brooks // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/fromjs/index.d.ts b/fromjs/index.d.ts index d2de8cc024..6d29439321 100644 --- a/fromjs/index.d.ts +++ b/fromjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for fromjs v2.1.6.1 +// Type definitions for fromjs 2.1 // Project: https://github.com/suckgamony/fromjs // Definitions by: Glenn Dierckx // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/gapi.youtube/index.d.ts b/gapi.youtube/index.d.ts index 9055b3a396..2bbacb9668 100644 --- a/gapi.youtube/index.d.ts +++ b/gapi.youtube/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for YouTube Data API v3 +// Type definitions for YouTube Data API 3.0 // Project: https://developers.google.com/youtube/v3/ // Definitions by: Frank M // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/googlemaps.infobubble/index.d.ts b/googlemaps.infobubble/index.d.ts index e7381109e9..a2f7501ffa 100644 --- a/googlemaps.infobubble/index.d.ts +++ b/googlemaps.infobubble/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for CSS3 InfoBubble with tabs for Google Maps API V3 +// Type definitions for CSS3 InfoBubble with tabs for Google Maps API 3.0 // Project: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/src/ // Definitions by: Johan Nilsson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/grecaptcha/index.d.ts b/grecaptcha/index.d.ts index c8f165a8f8..3759512322 100644 --- a/grecaptcha/index.d.ts +++ b/grecaptcha/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Google Recaptcha v2 +// Type definitions for Google Recaptcha 2.0 // Project: https://www.google.com/recaptcha // Definitions by: Kristof Mattei // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/hellojs/index.d.ts b/hellojs/index.d.ts index 8f0a9e9caa..ec07219cc3 100644 --- a/hellojs/index.d.ts +++ b/hellojs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for hello.js 0.2.3 +// Type definitions for hello.js 0.2 // Project: http://adodson.com/hello.js/ // Definitions by: Pavel Zika // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/heremaps/index.d.ts b/heremaps/index.d.ts index 8d730f3ae5..bfdd353dd3 100644 --- a/heremaps/index.d.ts +++ b/heremaps/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for HERE Maps API for JavaScript v3.0.12.4 +// Type definitions for HERE Maps API for JavaScript 3.0s // Project: https://developer.here.com/ // Definitions by: Joshua Efiong // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/html2canvas/index.d.ts b/html2canvas/index.d.ts index 3e661b34fa..0efe8bc34f 100644 --- a/html2canvas/index.d.ts +++ b/html2canvas/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for html2canvas.js v0.5.0-bata.4 +// Type definitions for html2canvas.js 0.5 // Project: https://github.com/niklasvh/html2canvas // Definitions by: Richard Hepburn , Pei-Tang Huang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -36,7 +36,7 @@ declare namespace Html2Canvas { /** Whether to attempt to load cross-origin images as CORS served, before reverting back to proxy. */ useCORS?: boolean; - + /** Use svg powered rendering where available (FF11+). */ svgRendering?: boolean; } diff --git a/imgur-rest-api/index.d.ts b/imgur-rest-api/index.d.ts index 3e051f15ed..5d4c483edf 100644 --- a/imgur-rest-api/index.d.ts +++ b/imgur-rest-api/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Imgur REST API v3 +// Type definitions for Imgur REST API 3.0 // Project: https://api.imgur.com/ // Definitions by: Luke William Westby // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/inversify-binding-decorators/index.d.ts b/inversify-binding-decorators/index.d.ts index 5887df8791..d26ef8ca36 100644 --- a/inversify-binding-decorators/index.d.ts +++ b/inversify-binding-decorators/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for inversify 1.0.0-beta.5 +// Type definitions for inversify 1.0 // Project: https://github.com/inversify/inversify-binding-decorators // Definitions by: inversify // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/inversify-inject-decorators/index.d.ts b/inversify-inject-decorators/index.d.ts index 9b0c628eb2..f8aa88bde1 100644 --- a/inversify-inject-decorators/index.d.ts +++ b/inversify-inject-decorators/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for inversify-inject-decorators 1.0.0-beta.1 +// Type definitions for inversify-inject-decorators 1.0 // Project: https://github.com/inversify/inversify-inject-decorators // Definitions by: inversify // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/inversify/index.d.ts b/inversify/index.d.ts index cd8f108d74..3e23a6a906 100644 --- a/inversify/index.d.ts +++ b/inversify/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for inversify 2.0.0-rc.12 +// Type definitions for inversify 2.0 // Project: https://github.com/inversify/InversifyJS // Definitions by: inversify // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/ix.js/index.d.ts b/ix.js/index.d.ts index f1f90a7fc3..9adc02cfa5 100644 --- a/ix.js/index.d.ts +++ b/ix.js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for IxJS 1.0.6 / ix.js +// Type definitions for IxJS 1.0 // Project: https://github.com/Reactive-Extensions/IxJS // Definitions by: Igor Oleinikov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/jasmine-expect/index.d.ts b/jasmine-expect/index.d.ts index 98ef2ede0e..c8ffd8dced 100644 --- a/jasmine-expect/index.d.ts +++ b/jasmine-expect/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jasmine-expect 2.0.0-beta2 +// Type definitions for jasmine-expect 2.0 // Project: https://github.com/JamieMason/Jasmine-Matchers // Definitions by: UserPixel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/jee-jsf/index.d.ts b/jee-jsf/index.d.ts index a3aec176ab..d8b97d5ee5 100644 --- a/jee-jsf/index.d.ts +++ b/jee-jsf/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for for the JSF 2.0 Ajax request API +// Type definitions for the JSF 2.0 Ajax request API // Project: https://docs.oracle.com/cd/E17802_01/j2ee/javaee/javaserverfaces/2.0/docs/js-api/symbols/jsf.ajax.html // Definitions by: Lars Michaelis and Stephan Zerhusen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/jquery.cycle2/index.d.ts b/jquery.cycle2/index.d.ts index aeff2a6b40..39bb2f0d90 100644 --- a/jquery.cycle2/index.d.ts +++ b/jquery.cycle2/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jQuery Cycle2 version 2.1.2 (build 20140216) +// Type definitions for jQuery Cycle2 version 2.1 // Project: http://jquery.malsup.com/cycle2/ // https://github.com/malsup/cycle2 // Definitions by: Donny Nadolny diff --git a/jquery.form/index.d.ts b/jquery.form/index.d.ts index 970e62f773..404b618618 100644 --- a/jquery.form/index.d.ts +++ b/jquery.form/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jQuery.form.js 3.26.0-2013.01.28 +// Type definitions for jQuery.form.js 3.26 // Project: http://malsup.com/jquery/form/ // Definitions by: François Guillot // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/jquery.jsignature/index.d.ts b/jquery.jsignature/index.d.ts index bec78605e1..a047f83dea 100644 --- a/jquery.jsignature/index.d.ts +++ b/jquery.jsignature/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jQuery.jsignature v2 +// Type definitions for jQuery.jsignature 2.0 // Project: https://github.com/willowsystems/jSignature // Definitions by: Patrick Magee // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -8,11 +8,11 @@ interface JQuery { - /** + /** * inits the jSignature widget */ jSignature(): JQuery; - + /** * Arguments vary per command. When provided, command is expected to be a string with a command for jSignature. Commands supported at this time: init, reset, getData, setData, listPlugins * @summary diff --git a/jquery.rowgrid/index.d.ts b/jquery.rowgrid/index.d.ts index ed6284b54e..5456b9c323 100644 --- a/jquery.rowgrid/index.d.ts +++ b/jquery.rowgrid/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jQuery rowGrid.js plugin (v1.0.2) +// Type definitions for jQuery rowGrid.js plugin 1.0 // Project: https://github.com/brunjo/rowGrid.js // Definitions by: Vinayak Garg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/json-pointer/index.d.ts b/json-pointer/index.d.ts index a462801795..5d2b532e5f 100644 --- a/json-pointer/index.d.ts +++ b/json-pointer/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for json-pointer 1.0 l +// Type definitions for json-pointer 1.0 // Project: https://www.npmjs.org/package/json-pointer // Definitions by: Bart van der Schoor // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/jsplumb/index.d.ts b/jsplumb/index.d.ts index ad3ad5862a..48c348f0c4 100644 --- a/jsplumb/index.d.ts +++ b/jsplumb/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jsPlumb 1.3.16 jQuery adapter +// Type definitions for jsPlumb jQuery adapter 1.3 // Project: http://jsplumb.org // Definitions by: Steve Shearn // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -38,7 +38,7 @@ interface jsPlumbInstance { getInstance(): jsPlumbInstance; getInstance(defaults: Defaults): jsPlumbInstance; getInstanceIndex(): number; - + SVG: string; CANVAS: string; VML: string; diff --git a/jwplayer/index.d.ts b/jwplayer/index.d.ts index fbe2326d1b..a00beb454e 100644 --- a/jwplayer/index.d.ts +++ b/jwplayer/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for JW Player 6 +// Type definitions for JW Player 6.0 // Project: http://developer.longtailvideo.com/trac/ // Definitions by: Martin Duparc // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/katex/index.d.ts b/katex/index.d.ts index db3c0999d1..19c7e79d06 100644 --- a/katex/index.d.ts +++ b/katex/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for KaTeX v.0.5.0 +// Type definitions for KaTeX 0.5 // Project: http://khan.github.io/KaTeX/ // Definitions by: Michael Randolph // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/logat/index.d.ts b/logat/index.d.ts index 18262236ce..053629dd68 100644 --- a/logat/index.d.ts +++ b/logat/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for logat 1.x.x +// Type definitions for logat 1.0 // Project: https://github.com/krvikash35/logat // Definitions by: Vikash // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/minilog/index.d.ts b/minilog/index.d.ts index a6fdf85a15..d683c956ea 100644 --- a/minilog/index.d.ts +++ b/minilog/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for minilog v2 +// Type definitions for minilog 2.0 // Project: https://github.com/mixu/minilog // Definitions by: Guido // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/nw.js/index.d.ts b/nw.js/index.d.ts index 7db945dcf6..8a1f120ab7 100644 --- a/nw.js/index.d.ts +++ b/nw.js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for nw.js v0.13.x and later +// Type definitions for nw.js 0.13 // Project: http://nwjs.io // Definitions by: Alireza Dabiri Nejad // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/owlcarousel/index.d.ts b/owlcarousel/index.d.ts index b00fe862d8..b7f67097a4 100644 --- a/owlcarousel/index.d.ts +++ b/owlcarousel/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for OwlCarousel v.1.3.3 +// Type definitions for OwlCarousel 1.3 // Project: https://github.com/OwlFonk/OwlCarousel // Definitions by: Damian Piątkowski // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/phantomjs/index.d.ts b/phantomjs/index.d.ts index bb219bcecf..d84309aa24 100644 --- a/phantomjs/index.d.ts +++ b/phantomjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for PhantomJS v1.9.0 API +// Type definitions for PhantomJS API 1.9 // Project: https://github.com/ariya/phantomjs/wiki/API-Reference // Definitions by: Jed Hunsaker , Mike Keesey // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -45,7 +45,7 @@ interface System { } interface WebPage { - + // Properties canGoBack: boolean; canGoForward: boolean; @@ -205,13 +205,13 @@ interface WebPageSettings { } interface FileSystem { - + // Properties separator: string; workingDirectory: string; - + // Functions - + // Query Functions list(path: string): string[]; absolute(path: string): string; diff --git a/pixi-spine/index.d.ts b/pixi-spine/index.d.ts index 432b9f6129..c88c7baa2c 100644 --- a/pixi-spine/index.d.ts +++ b/pixi-spine/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Pixi-spine v1.3, works with pixi.js v4 +// Type definitions for Pixi-spine 1.3 // Project: https://github.com/pixijs/pixi-spine/tree/master // Definitions by: Ivan Popelyshev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/plupload/index.d.ts b/plupload/index.d.ts index fddef3d497..948270d6ee 100644 --- a/plupload/index.d.ts +++ b/plupload/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Plupload 2 +// Type definitions for Plupload 2.0 // Project: http://www.plupload.com/ // Definitions by: Patrick Bußmann // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/pty.js/index.d.ts b/pty.js/index.d.ts index adb930bc66..49acad6260 100644 --- a/pty.js/index.d.ts +++ b/pty.js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for pty.js 0.2.7-1 +// Type definitions for pty.js 0.2 // Project: https://github.com/chjj/pty.js // Definitions by: Vadim Macagon // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -28,7 +28,7 @@ export declare class Terminal implements stream.Stream { /** Read-only number of rows in the terminal. */ rows: number; /** - * Read-only identifier of the spawned process associated with the slave end of the + * Read-only identifier of the spawned process associated with the slave end of the * pseudo-terminal. This will be null if the terminal was created via [[Terminal.open]]. */ pid: number; @@ -46,14 +46,14 @@ export declare class Terminal implements stream.Stream { stdin: Terminal; socket: net.Socket; - /** - * Creates a new pseudo-terminal, spawns a child process, and associates it with the slave + /** + * Creates a new pseudo-terminal, spawns a child process, and associates it with the slave * end of the pseudo-terminal. */ constructor(file?: string, args?: string[], opt?: TerminalOptions); resize(cols?: number, rows?: number): void; - /** + /** * Sends a signal to the spawned process associated with the slave end of the * pseudo-terminal (this only works if [[pid]] is not null). */ @@ -67,7 +67,7 @@ export declare class Terminal implements stream.Stream { pause(): void; resume(): void; setEncoding(encoding: string): void; - /** + /** * Closes the master end of the pseudo-terminal, and attempts to kill the spawned process * associated with the slave end of the pseudo-terminal (but only if [[pid]] is not null). */ @@ -95,8 +95,8 @@ export declare class Terminal implements stream.Stream { eventNames(): string[]; } -/** - * Creates a new pseudo-terminal, spawns a child process, and associates it with the slave +/** + * Creates a new pseudo-terminal, spawns a child process, and associates it with the slave * end of the pseudo-terminal. */ export declare function createTerminal(file?: string, args?: string[], opt?: TerminalOptions): Terminal; @@ -104,7 +104,7 @@ export declare function createTerminal(file?: string, args?: string[], opt?: Ter export declare function fork(file?: string, args?: string[], opt?: TerminalOptions): Terminal; /** Alias for [[createTerminal]]. */ export declare function spawn(file?: string, args?: string[], opt?: TerminalOptions): Terminal; -/** +/** * Creates a new pseudo-terminal. * This function is not available on Windows, use [[fork]] there instead. */ diff --git a/pug/index.d.ts b/pug/index.d.ts index dbb93ce2b0..1131d94eaa 100644 --- a/pug/index.d.ts +++ b/pug/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for pug 2.0.0-beta6 +// Type definitions for pug 2.0 // Project: https://github.com/pugjs/pug // Definitions by: TonyYang , Michał Lytek // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -125,12 +125,12 @@ declare module 'pug' { /// Types /// /////////////////// - /** + /** * A function that can be use to render html string of compiled template. */ export type compileTemplate = (locals?: LocalsObject) => string; - /** + /** * An object that can have multiple properties of any type. */ export interface LocalsObject { diff --git a/react-addons-create-fragment/index.d.ts b/react-addons-create-fragment/index.d.ts index c060e67715..247d82618c 100644 --- a/react-addons-create-fragment/index.d.ts +++ b/react-addons-create-fragment/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-create-fragment) +// Type definitions for React (react-addons-create-fragment) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-css-transition-group/index.d.ts b/react-addons-css-transition-group/index.d.ts index 77ddc09f5a..b57b39ab69 100644 --- a/react-addons-css-transition-group/index.d.ts +++ b/react-addons-css-transition-group/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-css-transition-group) +// Type definitions for React (react-addons-css-transition-group) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-linked-state-mixin/index.d.ts b/react-addons-linked-state-mixin/index.d.ts index e4df63ead1..a689ca35a0 100644 --- a/react-addons-linked-state-mixin/index.d.ts +++ b/react-addons-linked-state-mixin/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-linked-state-mixin) +// Type definitions for React (react-addons-linked-state-mixin) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-perf/index.d.ts b/react-addons-perf/index.d.ts index 7b20e5fd39..c53b8c49c0 100644 --- a/react-addons-perf/index.d.ts +++ b/react-addons-perf/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-perf) +// Type definitions for React (react-addons-perf) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-pure-render-mixin/index.d.ts b/react-addons-pure-render-mixin/index.d.ts index 7e732b583b..5265eb4ff2 100644 --- a/react-addons-pure-render-mixin/index.d.ts +++ b/react-addons-pure-render-mixin/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-pure-render-mixin) +// Type definitions for React (react-addons-pure-render-mixin) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-shallow-compare/index.d.ts b/react-addons-shallow-compare/index.d.ts index 62e4297162..dfaf03b873 100644 --- a/react-addons-shallow-compare/index.d.ts +++ b/react-addons-shallow-compare/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-shallow-compare) +// Type definitions for React (react-addons-shallow-compare) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-test-utils/index.d.ts b/react-addons-test-utils/index.d.ts index 765b01b374..b2aa5d97f6 100644 --- a/react-addons-test-utils/index.d.ts +++ b/react-addons-test-utils/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-test-utils) +// Type definitions for React (react-addons-test-utils) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-transition-group/index.d.ts b/react-addons-transition-group/index.d.ts index 7a585d2e6e..9ccb4440bb 100644 --- a/react-addons-transition-group/index.d.ts +++ b/react-addons-transition-group/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-transition-group) +// Type definitions for React (react-addons-transition-group) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-addons-update/index.d.ts b/react-addons-update/index.d.ts index bc65dcbfa7..ad3bbf43e1 100644 --- a/react-addons-update/index.d.ts +++ b/react-addons-update/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-addons-update) +// Type definitions for React (react-addons-update) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-big-calendar/index.d.ts b/react-big-calendar/index.d.ts index 499099527d..5cfbebb65e 100644 --- a/react-big-calendar/index.d.ts +++ b/react-big-calendar/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-big-calendar v0.11.X +// Type definitions for react-big-calendar 0.11 // Project: https://github.com/intljusticemission/react-big-calendar // Definitions by: Piotr Witek // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-dom/index.d.ts b/react-dom/index.d.ts index 0878cc0256..45f62060ff 100644 --- a/react-dom/index.d.ts +++ b/react-dom/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React v0.14 (react-dom) +// Type definitions for React (react-dom) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/react-fontawesome/index.d.ts b/react-fontawesome/index.d.ts index fc75fdfbd3..0950d66d95 100644 --- a/react-fontawesome/index.d.ts +++ b/react-fontawesome/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-fontawesome v.1.1.0 +// Type definitions for react-fontawesome 1.1 // Project: https://github.com/danawoodman/react-fontawesome // Definitions by: Timur Rustamov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/samchon-framework/index.d.ts b/samchon-framework/index.d.ts index 3d88d95868..558efd674a 100644 --- a/samchon-framework/index.d.ts +++ b/samchon-framework/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Samchon Framework v2.0.0-gamma.9 +// Type definitions for Samchon Framework 2.0 // Project: https://github.com/samchon/framework // Definitions by: Jeongho Nam // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/sortablejs/index.d.ts b/sortablejs/index.d.ts index dbe0789c53..56e8fe65ed 100644 --- a/sortablejs/index.d.ts +++ b/sortablejs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Sortable.js v1.3.0-rc1 +// Type definitions for Sortable.js 1.3 // Project: https://github.com/RubaXa/Sortable // Definitions by: Maw-Fox // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/three/index.d.ts b/three/index.d.ts index 383c4e2aa7..23d941fb9f 100644 --- a/three/index.d.ts +++ b/three/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for three.js r81 +// Type definitions for three.js 0.81 // Project: http://mrdoob.github.com/three.js/ // Definitions by: Kon , Satoru Kimura , Florent Poujol , SereznoKot // Definitions: https://github.com/borisyankov/DefinitelyTyped diff --git a/valdr-message/index.d.ts b/valdr-message/index.d.ts index ab3a94228a..e1f54a8a06 100644 --- a/valdr-message/index.d.ts +++ b/valdr-message/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for valdr.js v1.1.5 (valdr-message) +// Type definitions for valdr.js (valdr-message) 1.1 // Project: https://github.com/netceteragroup/valdr // Definitions by: Kai Ilbertz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/vortex-web-client/index.d.ts b/vortex-web-client/index.d.ts index 6e3dbdc452..d878a1af6c 100644 --- a/vortex-web-client/index.d.ts +++ b/vortex-web-client/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Vortex Web 1.2.0p1 +// Type definitions for Vortex Web 1.2 // Project: http://www.prismtech.com/vortex/vortex-web // Definitions by: Stefan Profanter // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/webpack-env/index.d.ts b/webpack-env/index.d.ts index c7d12909cd..4831f298e1 100644 --- a/webpack-env/index.d.ts +++ b/webpack-env/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for webpack 1.12.2 (module API) +// Type definitions for webpack (module API) 1.12 // Project: https://github.com/webpack/webpack // Definitions by: use-strict // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/ydn-db/index.d.ts b/ydn-db/index.d.ts index 39bbcf9006..601ec4de12 100644 --- a/ydn-db/index.d.ts +++ b/ydn-db/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for YDN-DB version 1 +// Type definitions for YDN-DB 1.0 // Project: http://dev.yathit.com/ydn-db/index.html // Definitions by: Kyaw Tun , Gabriel Monteagudo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/zepto/index.d.ts b/zepto/index.d.ts index 4964edf616..acb83b82bb 100644 --- a/zepto/index.d.ts +++ b/zepto/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Zepto 1.0-rc.1 +// Type definitions for Zepto 1.0 // Project: http://zeptojs.com/ // Definitions by: Josh Baldwin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/zeroclipboard/index.d.ts b/zeroclipboard/index.d.ts index 2a192a71e9..2600359826 100644 --- a/zeroclipboard/index.d.ts +++ b/zeroclipboard/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ZeroClipboard v2.x.x +// Type definitions for ZeroClipboard 2.0 // Project: https://github.com/zeroclipboard/zeroclipboard // Definitions by: Eric J. Smith , Blake Niemyjski , György Balássy , Leon Yu // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped