From 333b89f8d3978aef3d0d8f066fca7ba7d3b1ce82 Mon Sep 17 00:00:00 2001 From: Bartvds Date: Fri, 24 Jan 2014 00:44:14 +0100 Subject: [PATCH] added/fixed headers j https://github.com/borisyankov/DefinitelyTyped/issues/1570 jsfl: fixed odd encoding in comments --- jasmine/jasmine.d.ts | 2 +- jointjs/jointjs.d.ts | 4 ++-- jquery.address/jquery.address.d.ts | 4 ++-- jquery.colorbox/jquery.colorbox.d.ts | 6 +++--- jquery.gridster/gridster.d.ts | 7 ++++++- jquery.livestampjs/jquery.livestampjs.d.ts | 5 +++-- jquery.menuaim/jquery.menuaim.d.ts | 6 +++++- jquery.sortElements/jquery.sortElement.d.ts | 4 ++-- jquery/jquery.d.ts | 10 +++++----- jsfl/jsfl.d.ts | 19 ++++++++++++------- jsfl/xJSFL.d.ts | 5 +++++ jsoneditoronline/jsoneditoronline.d.ts | 5 +++-- jsplumb/jquery.jsPlumb.d.ts | 8 ++++---- jwplayer/jwplayer.d.ts | 3 ++- 14 files changed, 55 insertions(+), 33 deletions(-) diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index c3e95e427..6eb045230 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -1,6 +1,6 @@ // Type definitions for Jasmine 2.0 // Project: http://pivotal.github.com/jasmine/ -// Definitions by: Boris Yankov and Theodore Brown +// Definitions by: Boris Yankov , Theodore Brown // DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped diff --git a/jointjs/jointjs.d.ts b/jointjs/jointjs.d.ts index 88c67290c..6dbdece13 100644 --- a/jointjs/jointjs.d.ts +++ b/jointjs/jointjs.d.ts @@ -1,6 +1,6 @@ // Type definitions for Joint JS 0.6 // Project: http://www.jointjs.com/ -// Definitions by: Aidan Reel with help from David Durman +// Definitions by: Aidan Reel , David Durman // Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -112,4 +112,4 @@ declare module joint { function deepMixin(objects: any[]): any; function deepSupplement(objects: any[], defaultIndicator?: any): any; } -} \ No newline at end of file +} diff --git a/jquery.address/jquery.address.d.ts b/jquery.address/jquery.address.d.ts index bd016d5b1..cb7117245 100644 --- a/jquery.address/jquery.address.d.ts +++ b/jquery.address/jquery.address.d.ts @@ -1,10 +1,10 @@ -/// - // Type definitions for jQuery.Address 1.5 // Project: https://github.com/asual/jquery-address // Definitions by: Martin Duparc <@martinduparc> // Definitions: https://github.com/borisyankov/DefinitelyTyped/ +/// + interface JQueryAddressStatic { (); change(callback: any): void; diff --git a/jquery.colorbox/jquery.colorbox.d.ts b/jquery.colorbox/jquery.colorbox.d.ts index 164d47bb3..1586af0ca 100644 --- a/jquery.colorbox/jquery.colorbox.d.ts +++ b/jquery.colorbox/jquery.colorbox.d.ts @@ -1,10 +1,10 @@ -/// - -// Type definitions for jQuery.Colorbox 1.4.15 +// Type definitions for jQuery.Colorbox 1.4.15 // Project: http://www.jacklmoore.com/colorbox/ // Definitions by: Gidon Junge <@gjunge> // Definitions: https://github.com/borisyankov/DefinitelyTyped/ +/// + interface ColorboxResizeSettings { height?: number; innerHeight?: number; diff --git a/jquery.gridster/gridster.d.ts b/jquery.gridster/gridster.d.ts index 968c0f333..b293dcb2f 100644 --- a/jquery.gridster/gridster.d.ts +++ b/jquery.gridster/gridster.d.ts @@ -1,4 +1,9 @@ -/* +// Type definitions for jQuery.gridster 0.1.0 +// Project: https://github.com/jbaldwin/gridster +// Definitions by: Josh Baldwin +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/* gridster-0.1.0.d.ts may be freely distributed under the MIT license. Copyright (c) 2013 Josh Baldwin https://github.com/jbaldwin/gridster.d.ts diff --git a/jquery.livestampjs/jquery.livestampjs.d.ts b/jquery.livestampjs/jquery.livestampjs.d.ts index d460b888d..d5a44c419 100644 --- a/jquery.livestampjs/jquery.livestampjs.d.ts +++ b/jquery.livestampjs/jquery.livestampjs.d.ts @@ -1,9 +1,10 @@ // Type definitions for Livestamp.js -// A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js. // Project: http://http://mattbradley.github.com/livestampjs/ // Definitions by: Vincent Bortone // Definitions: https://github.com/borisyankov/DefinitelyTyped +// A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js. + /// /// @@ -24,4 +25,4 @@ interface JQuery { livestamp(moment: Moment): JQuery; livestamp(timestamp: number): JQuery; livestamp(timestamp: string): JQuery; -} \ No newline at end of file +} diff --git a/jquery.menuaim/jquery.menuaim.d.ts b/jquery.menuaim/jquery.menuaim.d.ts index 138adc65d..54215620a 100644 --- a/jquery.menuaim/jquery.menuaim.d.ts +++ b/jquery.menuaim/jquery.menuaim.d.ts @@ -1,5 +1,9 @@ -/// +// Type definitions for jQuery-menu-aim +// Project: https://github.com/kamens/jQuery-menu-aim +// Definitions by: Robert Fonseca-Ensor +// Definitions: https://github.com/borisyankov/DefinitelyTyped +/// interface JQueryMenuAimOptions { /** Function to call when a row is purposefully activated. Use this diff --git a/jquery.sortElements/jquery.sortElement.d.ts b/jquery.sortElements/jquery.sortElement.d.ts index d558e023a..a9768fc97 100644 --- a/jquery.sortElements/jquery.sortElement.d.ts +++ b/jquery.sortElements/jquery.sortElement.d.ts @@ -1,4 +1,4 @@ -// Typescript type definitions for jQuery.sortElements by James Padolsey +// Type definitions for jQuery.sortElements // Project: http://james.padolsey.com/javascript/sorting-elements-with-jquery/ // Definitions by: Tim Bureck // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -7,4 +7,4 @@ interface JQuery { sortElements(comparator:Function, getSortable?:Function):JQuery; -} \ No newline at end of file +} diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 3c4220c15..a170155c6 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -1,3 +1,8 @@ +// Typing for the jQuery library 1.10.x / 2.0.x +// Project: http://jquery.com/ +// Definitions by: Boris Yankov , Christian Hoffmeister , Steve Fenton, Diullei Gomes , Tass Iliopoulos , Jason Swearingen, Sean Hill , Guus Goossens , Kelly Summerlin , Basarat Ali Syed , Nicholas Wolverson , Derek Cicerone , Andrew Gaspar , James Harrison Fisher , Seikichi Kondo , Benjamin Jackman , Poul Sorensen , Josh Strobl , John Reilly +// Definitions: https://github.com/borisyankov/DefinitelyTyped + /* ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -13,11 +18,6 @@ See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ -// Typing for the jQuery library, version 1.10.x / 2.0.x -// Project: http://jquery.com/ -// Definitions by: Boris Yankov , Christian Hoffmeister , Steve Fenton, Diullei Gomes , Tass Iliopoulos , Jason Swearingen, Sean Hill , Guus Goossens , Kelly Summerlin , Basarat Ali Syed , Nicholas Wolverson , Derek Cicerone , Andrew Gaspar , James Harrison Fisher , Seikichi Kondo , Benjamin Jackman , Poul Sorensen , Josh Strobl , John Reilly -// Definitions: https://github.com/borisyankov/DefinitelyTyped - /** * Interface for the AJAX setting that will configure the AJAX request */ diff --git a/jsfl/jsfl.d.ts b/jsfl/jsfl.d.ts index 94e3d4d80..a8c9911d2 100644 --- a/jsfl/jsfl.d.ts +++ b/jsfl/jsfl.d.ts @@ -1,3 +1,8 @@ +// Type definitions for JSFL +// Project: https://adobe.com +// Definitions by: soywiz +// Definitions: https://github.com/borisyankov/DefinitelyTyped + interface FlashPoint { x: number; y: number; @@ -169,7 +174,7 @@ interface FlashDocument { /** Exports the currently active profile to an XML */ exportPublishProfile(fileURI: string): void; - /** returns a string that specifies, in XML format, the specified profile. If you don’t pass a value for profileName, the current profile is exported. */ + /** returns a string that specifies, in XML format, the specified profile. If you don't pass a value for profileName, the current profile is exported. */ exportPublishProfileString(profileName?: string): string; /** Exports the document in the Flash SWF format. */ @@ -1030,7 +1035,7 @@ interface FlashTimeline { /** Creates a new motion object at a designated start and end frame. */ createMotionObject(startFrameIndex?: number, endFrameIndex?: number): void; - /** Sets the frame.tweenType property to motion for each selected keyframe on the current layer, and converts each frame’s contents to a single symbol instance if necessary. */ + /** Sets the frame.tweenType property to motion for each selected keyframe on the current layer, and converts each frame's contents to a single symbol instance if necessary. */ createMotionTween(startFrameIndex?: number, endFrameIndex?: number): void; /** Cuts a range of frames on the current layer from the timeline and saves them to the clipboard. */ @@ -1051,13 +1056,13 @@ interface FlashTimeline { /** Finds an array of indexes for the layers with the given name. */ findLayerIndex(name: string): number[]; - /** Retrieves the specified property’s value for the selected frames. */ + /** Retrieves the specified property's value for the selected frames. */ getFrameProperty(property: string, startframeIndex?: number, endFrameIndex?: number): any; /** Returns an XML string that represents the current positions of the horizontal and vertical guide lines for a timeline(View > Guides > Show Guides). */ getGuidelines(): string; - /** Retrieves the specified property’s value for the selected layers. */ + /** Retrieves the specified property's value for the selected layers. */ getLayerProperty(property: string): any; /** Retrieves the currently selected frames in an array. */ @@ -1144,9 +1149,9 @@ interface FlashTimeline { } interface FlashPath { - /// Appends a cubic Bézier curve segment to the path. + /// Appends a cubic Bézier curve segment to the path. addCubicCurve(xAnchor: number, yAnchor: number, x2: number, y2: number, x3: number, y3: number, x4: number, y4: number): void; - /// Appends a quadratic Bézier segment to the path. + /// Appends a quadratic Bézier segment to the path. addCurve(xAnchor: number, yAnchor: number, x2: number, y2: number, x3: number, y3: number): void; /// Adds a point to the path. addPoint(x: number, y: number): void; @@ -1396,4 +1401,4 @@ declare var fl: FlashFL; declare var FLfile: FlashFLfile; declare function alert(alertText: string): void; declare function confirm(strAlert: string): boolean; -declare function prompt(promptMsg: string, text?: string): string; \ No newline at end of file +declare function prompt(promptMsg: string, text?: string): string; diff --git a/jsfl/xJSFL.d.ts b/jsfl/xJSFL.d.ts index 7db97360b..bc3af28c5 100644 --- a/jsfl/xJSFL.d.ts +++ b/jsfl/xJSFL.d.ts @@ -1,3 +1,8 @@ +// Type definitions for xJSFL +// Project: http://www.xjsfl.com/ +// Definitions by: soywiz +// Definitions: https://github.com/borisyankov/DefinitelyTyped + /// interface _xjsfl { diff --git a/jsoneditoronline/jsoneditoronline.d.ts b/jsoneditoronline/jsoneditoronline.d.ts index 64ce20bf1..171fca2d5 100644 --- a/jsoneditoronline/jsoneditoronline.d.ts +++ b/jsoneditoronline/jsoneditoronline.d.ts @@ -1,9 +1,10 @@ // Type definitions for JSONEditorOnline -// JSON Editor Online is a tool to easily edit and format JSON online. JSON is displayed in a clear, editable treeview and in formatted plain text. // Project: https://github.com/josdejong/jsoneditoronline // Definitions by: Vincent Bortone // Definitions: https://github.com/borisyankov/DefinitelyTyped +// JSON Editor Online is a tool to easily edit and format JSON online. JSON is displayed in a clear, editable treeview and in formatted plain text. + interface JSONEditorOptions { change?: () => void; history?: boolean; @@ -177,4 +178,4 @@ declare class JSONFormatter { setText(jsonString: string): void; getText(): string; onError(err: string): void; -} \ No newline at end of file +} diff --git a/jsplumb/jquery.jsPlumb.d.ts b/jsplumb/jquery.jsPlumb.d.ts index 6561f2960..ee657c2c2 100644 --- a/jsplumb/jquery.jsPlumb.d.ts +++ b/jsplumb/jquery.jsPlumb.d.ts @@ -1,9 +1,9 @@ // Type definitions for jsPlumb 1.3.16 jQuery adapter. // Project: http://jsplumb.org -// https://github.com/sporritt/jsplumb -// https://code.google.com/p/jsplumb -// +// Project: https://github.com/sporritt/jsplumb +// Project: https://code.google.com/p/jsplumb // Definitions by: Steve Shearn +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -104,4 +104,4 @@ interface SelectParams { scope?: string; source: string; target: string; -} \ No newline at end of file +} diff --git a/jwplayer/jwplayer.d.ts b/jwplayer/jwplayer.d.ts index 2540ce9d1..be4ab4fd3 100644 --- a/jwplayer/jwplayer.d.ts +++ b/jwplayer/jwplayer.d.ts @@ -1,9 +1,10 @@ // Type definitions for JW Player -// JW Player is the leading HTML5 & Flash video player, optimized for mobile and the desktop. Easy enough for beginners, advanced enough for pros. // Project: http://developer.longtailvideo.com/trac/ // Definitions by: Martin Duparc // Definitions: https://github.com/borisyankov/DefinitelyTyped +// JW Player is the leading HTML5 & Flash video player, optimized for mobile and the desktop. Easy enough for beginners, advanced enough for pros. + interface JWPlayer { addButton(icon: string, label: string, handler: () => void, id: string): void; getBuffer(): number;