diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 643582980..7afc84012 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,4 +1,4 @@ -# Contributors +# Contributors This is a non-exhaustive list of definitions and their creators. If you created a definition but are not listed then feel free to send a pull request on this file with your name and url. @@ -161,6 +161,7 @@ All definitions files include a header with the author and editors, so at some p * [jQuery.Colorbox](http://www.jacklmoore.com/colorbox/) (by [Gidon Junge](https://github.com/gjunge)) * [jQuery.contextMenu](http://medialize.github.com/jQuery-contextMenu/) (by [Natan Vivo](https://github.com/nvivo/)) * [jQuery.Cookie](https://github.com/carhartl/jquery-cookie) (by [Roy Goode](https://github.com/RoyGoode)) +* [jQuery.customSelect](https://github.com/adamcoulombe/jquery.customSelect) (by [tomato360](https://github.com/tomato360)) * [jQuery.Cycle](http://jquery.malsup.com/cycle/) (by [François Guillot](http://fguillot.developpez.com/)) * [jQuery.Cycle2](http://jquery.malsup.com/cycle2/) (by [Donny Nadolny](https://github.com/dnadolny)) * [jQuery.dataTables](http://www.datatables.net) (by [Armin Sander](https://github.com/pragmatrix)) @@ -175,6 +176,7 @@ All definitions files include a header with the author and editors, so at some p * [jQuery.jNotify](http://jnotify.codeplex.com) (by [James Curran](https://github.com/jamescurran/)) * [jQuery.joyride](http://zurb.com/playground/jquery-joyride-feature-tour-plugin) (by [Vincent Bortone](https://github.com/vbortone)) * [jQuery.jSignature](https://github.com/willowsystems/jSignature) (by [Patrick Magee](https://github.com/pjmagee)) +* [jQuery.leanModal](http://leanmodal.finelysliced.com.au/)(by [tomato360](https://github.com/tomato360)) * [jQuery.notifyBar](http://www.whoop.ee/posts/2013-04-05-the-resurrection-of-jquery-notify-bar/) (by [Shunsuke Ohtani](https://github.com/zaneli)) * [jQuery.noty](http://needim.github.io/noty/) (by [Aaron King](https://github.com/kingdango/)) * [jQuery.payment](http://needim.github.io/noty/) (by [Eric J. Smith](https://github.com/ejsmith/)) diff --git a/ace/ace.d.ts.tscparams b/ace/ace.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/ace.d.ts.tscparams +++ b/ace/ace.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/all-tests.ts.tscparams b/ace/all-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/all-tests.ts.tscparams +++ b/ace/all-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-anchor-tests.ts.tscparams b/ace/tests/ace-anchor-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-anchor-tests.ts.tscparams +++ b/ace/tests/ace-anchor-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-background_tokenizer-tests.ts.tscparams b/ace/tests/ace-background_tokenizer-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-background_tokenizer-tests.ts.tscparams +++ b/ace/tests/ace-background_tokenizer-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-default-tests.ts.tscparams b/ace/tests/ace-default-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-default-tests.ts.tscparams +++ b/ace/tests/ace-default-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-document-tests.ts.tscparams b/ace/tests/ace-document-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-document-tests.ts.tscparams +++ b/ace/tests/ace-document-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-edit_session-tests.ts.tscparams b/ace/tests/ace-edit_session-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-edit_session-tests.ts.tscparams +++ b/ace/tests/ace-edit_session-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-editor1-tests.ts.tscparams b/ace/tests/ace-editor1-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-editor1-tests.ts.tscparams +++ b/ace/tests/ace-editor1-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams b/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams +++ b/ace/tests/ace-editor_highlight_selected_word-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-editor_navigation-tests.ts.tscparams b/ace/tests/ace-editor_navigation-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-editor_navigation-tests.ts.tscparams +++ b/ace/tests/ace-editor_navigation-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-editor_text_edit-tests.ts.tscparams b/ace/tests/ace-editor_text_edit-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-editor_text_edit-tests.ts.tscparams +++ b/ace/tests/ace-editor_text_edit-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-multi_select-tests.ts.tscparams b/ace/tests/ace-multi_select-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-multi_select-tests.ts.tscparams +++ b/ace/tests/ace-multi_select-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-placeholder-tests.ts.tscparams b/ace/tests/ace-placeholder-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-placeholder-tests.ts.tscparams +++ b/ace/tests/ace-placeholder-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-range-tests.ts.tscparams b/ace/tests/ace-range-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-range-tests.ts.tscparams +++ b/ace/tests/ace-range-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-range_list-tests.ts.tscparams b/ace/tests/ace-range_list-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-range_list-tests.ts.tscparams +++ b/ace/tests/ace-range_list-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-search-tests.ts.tscparams b/ace/tests/ace-search-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-search-tests.ts.tscparams +++ b/ace/tests/ace-search-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-selection-tests.ts.tscparams b/ace/tests/ace-selection-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-selection-tests.ts.tscparams +++ b/ace/tests/ace-selection-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-token_iterator-tests.ts.tscparams b/ace/tests/ace-token_iterator-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-token_iterator-tests.ts.tscparams +++ b/ace/tests/ace-token_iterator-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ace/tests/ace-virtual_renderer-tests.ts.tscparams b/ace/tests/ace-virtual_renderer-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ace/tests/ace-virtual_renderer-tests.ts.tscparams +++ b/ace/tests/ace-virtual_renderer-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/amcharts/AmCharts.d.ts.tscparams b/amcharts/AmCharts.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/amcharts/AmCharts.d.ts.tscparams +++ b/amcharts/AmCharts.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/amplifyjs/amplifyjs-tests.ts.tscparams b/amplifyjs/amplifyjs-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/amplifyjs/amplifyjs-tests.ts.tscparams +++ b/amplifyjs/amplifyjs-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/amplifyjs/amplifyjs.d.ts.tscparams b/amplifyjs/amplifyjs.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/amplifyjs/amplifyjs.d.ts.tscparams +++ b/amplifyjs/amplifyjs.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/angularjs/angular-tests.ts b/angularjs/angular-tests.ts index 4be1f536c..ad1eef90c 100644 --- a/angularjs/angular-tests.ts +++ b/angularjs/angular-tests.ts @@ -618,6 +618,10 @@ module locationTests { $location.search('foo', 'yipee'); // => $location + // set foo to 5 + $location.search('foo', 5); + // => $location + /* * From: https://docs.angularjs.org/guide/$location */ diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 084bea034..bd6bd01cb 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -445,6 +445,7 @@ declare module ng { $untouched: boolean; $validators: IModelValidators; + $asyncValidators: IModelValidators; $pristine: boolean; $dirty: boolean; @@ -482,13 +483,11 @@ declare module ng { $digest(): void; $emit(name: string, ...args: any[]): IAngularEvent; - // Documentation says exp is optional, but actual implementaton counts on it - $eval(expression: string, args?: Object): any; - $eval(expression: (scope: IScope) => any, args?: Object): any; + $eval(expression?: string, args?: Object): any; + $eval(expression?: (scope: IScope) => any, args?: Object): any; - // Documentation says exp is optional, but actual implementaton counts on it - $evalAsync(expression: string): void; - $evalAsync(expression: (scope: IScope) => any): void; + $evalAsync(expression?: string): void; + $evalAsync(expression?: (scope: IScope) => any): void; // Defaults to false by the implementation checking strategy $new(isolate?: boolean): IScope; @@ -748,10 +747,18 @@ declare module ng { * Change search part when called with parameter and return $location. * * @param search New search params - * @param paramValue If search is a string, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. + * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. */ search(search: string, paramValue: string): ILocationService; + /** + * Change search part when called with parameter and return $location. + * + * @param search New search params + * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. + */ + search(search: string, paramValue: number): ILocationService; + /** * Change search part when called with parameter and return $location. * diff --git a/angularjs/legacy/angular-1.0-tests.ts.tscparams b/angularjs/legacy/angular-1.0-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/angularjs/legacy/angular-1.0-tests.ts.tscparams +++ b/angularjs/legacy/angular-1.0-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/angularjs/legacy/angular-scenario-1.0.d.ts.tscparams b/angularjs/legacy/angular-scenario-1.0.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/angularjs/legacy/angular-scenario-1.0.d.ts.tscparams +++ b/angularjs/legacy/angular-scenario-1.0.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/asciify/asciify.ts.tscparams b/asciify/asciify.ts.tscparams index 64dbb84a5..d68b297cb 100644 --- a/asciify/asciify.ts.tscparams +++ b/asciify/asciify.ts.tscparams @@ -1 +1 @@ -"--noImplicitAny --module commonjs" \ No newline at end of file +--noImplicitAny --module commonjs diff --git a/async/async-tests.ts.tscparams b/async/async-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/async/async-tests.ts.tscparams +++ b/async/async-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/atom/atom-tests.ts.tscparams b/atom/atom-tests.ts.tscparams index 5f84b9777..6331805a5 100644 --- a/atom/atom-tests.ts.tscparams +++ b/atom/atom-tests.ts.tscparams @@ -1 +1 @@ ---noImplicitAny --module commonjs --target es5 +--noImplicitAny --module commonjs --target es5 diff --git a/azure-mobile-services-client/AzureMobileServicesClient-tests.ts.tscparams b/azure-mobile-services-client/AzureMobileServicesClient-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/azure-mobile-services-client/AzureMobileServicesClient-tests.ts.tscparams +++ b/azure-mobile-services-client/AzureMobileServicesClient-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/backbone-relational/backbone-relational-tests.ts.tscparams b/backbone-relational/backbone-relational-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/backbone-relational/backbone-relational-tests.ts.tscparams +++ b/backbone-relational/backbone-relational-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/backbone-relational/backbone-relational.d.ts.tscparams b/backbone-relational/backbone-relational.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/backbone-relational/backbone-relational.d.ts.tscparams +++ b/backbone-relational/backbone-relational.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/backgrid/backgrid-tests.ts.tscparams b/backgrid/backgrid-tests.ts.tscparams index e85b4ac55..d45eb7650 100644 --- a/backgrid/backgrid-tests.ts.tscparams +++ b/backgrid/backgrid-tests.ts.tscparams @@ -1 +1 @@ ---target ES5 \ No newline at end of file +--target ES5 diff --git a/backgrid/backgrid.d.ts.tscparams b/backgrid/backgrid.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/backgrid/backgrid.d.ts.tscparams +++ b/backgrid/backgrid.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/bootstrap-notify/bootstrap-notify.d.ts.tscparams b/bootstrap-notify/bootstrap-notify.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/bootstrap-notify/bootstrap-notify.d.ts.tscparams +++ b/bootstrap-notify/bootstrap-notify.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/bootstrap.paginator/bootstrap.paginator.d.ts.tscparams b/bootstrap.paginator/bootstrap.paginator.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/bootstrap.paginator/bootstrap.paginator.d.ts.tscparams +++ b/bootstrap.paginator/bootstrap.paginator.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/browser-harness/browser-harness-tests.ts.tscparams b/browser-harness/browser-harness-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/browser-harness/browser-harness-tests.ts.tscparams +++ b/browser-harness/browser-harness-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/browser-harness/browser-harness.d.ts.tscparams b/browser-harness/browser-harness.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/browser-harness/browser-harness.d.ts.tscparams +++ b/browser-harness/browser-harness.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/camljs/camljs-tests.ts.tscparams b/camljs/camljs-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/camljs/camljs-tests.ts.tscparams +++ b/camljs/camljs-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/camljs/camljs.d.ts.tscparams b/camljs/camljs.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/camljs/camljs.d.ts.tscparams +++ b/camljs/camljs.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/chai-fuzzy/chai-fuzzy.d.ts.tscparams b/chai-fuzzy/chai-fuzzy.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/chai-fuzzy/chai-fuzzy.d.ts.tscparams +++ b/chai-fuzzy/chai-fuzzy.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/chai-jquery/chai-jquery-tests.ts.tscparams b/chai-jquery/chai-jquery-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/chai-jquery/chai-jquery-tests.ts.tscparams +++ b/chai-jquery/chai-jquery-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/chai/chai-tests.ts.tscparams b/chai/chai-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/chai/chai-tests.ts.tscparams +++ b/chai/chai-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/chrome/chrome-app-tests.ts.tscparams b/chrome/chrome-app-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/chrome/chrome-app-tests.ts.tscparams +++ b/chrome/chrome-app-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/chrome/chrome-app.d.ts.tscparams b/chrome/chrome-app.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/chrome/chrome-app.d.ts.tscparams +++ b/chrome/chrome-app.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/chrome/chrome-tests.ts.tscparams b/chrome/chrome-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/chrome/chrome-tests.ts.tscparams +++ b/chrome/chrome-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/convert-source-map/convert-source-map-tests.ts.tscparams b/convert-source-map/convert-source-map-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/convert-source-map/convert-source-map-tests.ts.tscparams +++ b/convert-source-map/convert-source-map-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/convert-source-map/convert-source-map.d.ts.tscparams b/convert-source-map/convert-source-map.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/convert-source-map/convert-source-map.d.ts.tscparams +++ b/convert-source-map/convert-source-map.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/crossroads/crossroads-tests.ts.tscparams b/crossroads/crossroads-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/crossroads/crossroads-tests.ts.tscparams +++ b/crossroads/crossroads-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/crossroads/crossroads.d.ts.tscparams b/crossroads/crossroads.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/crossroads/crossroads.d.ts.tscparams +++ b/crossroads/crossroads.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/d3/d3-tests.ts.tscparams b/d3/d3-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/d3/d3-tests.ts.tscparams +++ b/d3/d3-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/d3/d3.d.ts b/d3/d3.d.ts index e2bf337e4..158462aa3 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -1104,6 +1104,7 @@ declare module D3 { offset(offset: string): StackLayout; x(accessor: (d: any, i: number) => any): StackLayout; y(accessor: (d: any, i: number) => any): StackLayout; + out(setter: (d: any, y0: number, y: number) => void): StackLayout; } export interface TreeLayout { diff --git a/d3/plugins/d3.superformula-tests.ts.tscparams b/d3/plugins/d3.superformula-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/d3/plugins/d3.superformula-tests.ts.tscparams +++ b/d3/plugins/d3.superformula-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dhtmlxgantt/dhtmlxgantt-tests.ts.tscparams b/dhtmlxgantt/dhtmlxgantt-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dhtmlxgantt/dhtmlxgantt-tests.ts.tscparams +++ b/dhtmlxgantt/dhtmlxgantt-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dhtmlxgantt/dhtmlxgantt.d.ts.tscparams b/dhtmlxgantt/dhtmlxgantt.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dhtmlxgantt/dhtmlxgantt.d.ts.tscparams +++ b/dhtmlxgantt/dhtmlxgantt.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dhtmlxscheduler/dhtmlxscheduler-tests.ts.tscparams b/dhtmlxscheduler/dhtmlxscheduler-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dhtmlxscheduler/dhtmlxscheduler-tests.ts.tscparams +++ b/dhtmlxscheduler/dhtmlxscheduler-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dhtmlxscheduler/dhtmlxscheduler.d.ts.tscparams b/dhtmlxscheduler/dhtmlxscheduler.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dhtmlxscheduler/dhtmlxscheduler.d.ts.tscparams +++ b/dhtmlxscheduler/dhtmlxscheduler.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/domo/domo-tests.ts.tscparams b/domo/domo-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/domo/domo-tests.ts.tscparams +++ b/domo/domo-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dropzone/dropzone.d.ts.tscparams b/dropzone/dropzone.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dropzone/dropzone.d.ts.tscparams +++ b/dropzone/dropzone.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/durandal/durandal-1.x.d.ts.tscparams b/durandal/durandal-1.x.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/durandal/durandal-1.x.d.ts.tscparams +++ b/durandal/durandal-1.x.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/durandal/durandal.d.ts.tscparams b/durandal/durandal.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/durandal/durandal.d.ts.tscparams +++ b/durandal/durandal.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dustjs-linkedin/dustjs-linkedin-tests.ts.tscparams b/dustjs-linkedin/dustjs-linkedin-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dustjs-linkedin/dustjs-linkedin-tests.ts.tscparams +++ b/dustjs-linkedin/dustjs-linkedin-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/dustjs-linkedin/dustjs-linkedin.d.ts.tscparams b/dustjs-linkedin/dustjs-linkedin.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/dustjs-linkedin/dustjs-linkedin.d.ts.tscparams +++ b/dustjs-linkedin/dustjs-linkedin.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ember/ember-tests.ts.tscparams b/ember/ember-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ember/ember-tests.ts.tscparams +++ b/ember/ember-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/ember/ember.d.ts.tscparams b/ember/ember.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/ember/ember.d.ts.tscparams +++ b/ember/ember.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/epiceditor/epiceditor-tests.ts.tscparams b/epiceditor/epiceditor-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/epiceditor/epiceditor-tests.ts.tscparams +++ b/epiceditor/epiceditor-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/epiceditor/epiceditor.d.ts.tscparams b/epiceditor/epiceditor.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/epiceditor/epiceditor.d.ts.tscparams +++ b/epiceditor/epiceditor.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/express/express-tests.ts.tscparams b/express/express-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/express/express-tests.ts.tscparams +++ b/express/express-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/extjs/ExtJS-tests.ts.tscparams b/extjs/ExtJS-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/extjs/ExtJS-tests.ts.tscparams +++ b/extjs/ExtJS-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/fabricjs/fabricjs-tests.ts.tscparams b/fabricjs/fabricjs-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/fabricjs/fabricjs-tests.ts.tscparams +++ b/fabricjs/fabricjs-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/fabricjs/fabricjs.d.ts.tscparams b/fabricjs/fabricjs.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/fabricjs/fabricjs.d.ts.tscparams +++ b/fabricjs/fabricjs.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/fancybox/fancybox-tests.ts.tscparams b/fancybox/fancybox-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/fancybox/fancybox-tests.ts.tscparams +++ b/fancybox/fancybox-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/fancybox/fancybox.d.ts.tscparams b/fancybox/fancybox.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/fancybox/fancybox.d.ts.tscparams +++ b/fancybox/fancybox.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/flexSlider/flexSlider-tests.ts.tscparams b/flexSlider/flexSlider-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/flexSlider/flexSlider-tests.ts.tscparams +++ b/flexSlider/flexSlider-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/flexSlider/flexSlider.d.ts.tscparams b/flexSlider/flexSlider.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/flexSlider/flexSlider.d.ts.tscparams +++ b/flexSlider/flexSlider.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/flot/jquery.flot.d.ts.tscparams b/flot/jquery.flot.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/flot/jquery.flot.d.ts.tscparams +++ b/flot/jquery.flot.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/foundation/foundation-tests.ts.tscparams b/foundation/foundation-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/foundation/foundation-tests.ts.tscparams +++ b/foundation/foundation-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/foundation/foundation.d.ts.tscparams b/foundation/foundation.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/foundation/foundation.d.ts.tscparams +++ b/foundation/foundation.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/fullCalendar/fullCalendar-tests.ts.tscparams b/fullCalendar/fullCalendar-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/fullCalendar/fullCalendar-tests.ts.tscparams +++ b/fullCalendar/fullCalendar-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/gamequery/gamequery-tests.ts.tscparams b/gamequery/gamequery-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/gamequery/gamequery-tests.ts.tscparams +++ b/gamequery/gamequery-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/giraffe/giraffe-tests.ts.tscparams b/giraffe/giraffe-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/giraffe/giraffe-tests.ts.tscparams +++ b/giraffe/giraffe-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/giraffe/giraffe.d.ts.tscparams b/giraffe/giraffe.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/giraffe/giraffe.d.ts.tscparams +++ b/giraffe/giraffe.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/globalize/globalize-tests.ts.tscparams b/globalize/globalize-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/globalize/globalize-tests.ts.tscparams +++ b/globalize/globalize-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/goJS/goJS-tests.ts.tscparams b/goJS/goJS-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/goJS/goJS-tests.ts.tscparams +++ b/goJS/goJS-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/goJS/goJS.d.ts.tscparams b/goJS/goJS.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/goJS/goJS.d.ts.tscparams +++ b/goJS/goJS.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/history/history-tests.ts.tscparams b/history/history-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/history/history-tests.ts.tscparams +++ b/history/history-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/history/history.d.ts.tscparams b/history/history.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/history/history.d.ts.tscparams +++ b/history/history.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/humane/humane-tests.ts.tscparams b/humane/humane-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/humane/humane-tests.ts.tscparams +++ b/humane/humane-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/humane/humane.d.ts.tscparams b/humane/humane.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/humane/humane.d.ts.tscparams +++ b/humane/humane.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jake/jake-tests.ts.tscparams b/jake/jake-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jake/jake-tests.ts.tscparams +++ b/jake/jake-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jasmine-fixture/jasmine-fixture-tests.ts.tscparams b/jasmine-fixture/jasmine-fixture-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jasmine-fixture/jasmine-fixture-tests.ts.tscparams +++ b/jasmine-fixture/jasmine-fixture-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jasmine-jquery/jasmine-jquery-tests.ts.tscparams b/jasmine-jquery/jasmine-jquery-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jasmine-jquery/jasmine-jquery-tests.ts.tscparams +++ b/jasmine-jquery/jasmine-jquery-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jasmine-jquery/jasmine-jquery.d.ts.tscparams b/jasmine-jquery/jasmine-jquery.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jasmine-jquery/jasmine-jquery.d.ts.tscparams +++ b/jasmine-jquery/jasmine-jquery.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jasmine-matchers/jasmine-matchers-tests.ts.tscparams b/jasmine-matchers/jasmine-matchers-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jasmine-matchers/jasmine-matchers-tests.ts.tscparams +++ b/jasmine-matchers/jasmine-matchers-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index e3f46ca17..04c4f4671 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/borisyankov/DefinitelyTyped -// For ddescribe / iit use : hhttps://github.com/borisyankov/DefinitelyTyped/blob/master/karma-jasmine/karma-jasmine.d.ts +// For ddescribe / iit use : https://github.com/borisyankov/DefinitelyTyped/blob/master/karma-jasmine/karma-jasmine.d.ts declare function describe(description: string, specDefinitions: () => void): void; // declare function ddescribe(description: string, specDefinitions: () => void): void; Not a part of jasmine. Angular team adds these diff --git a/jointjs/jointjs.d.ts.tscparams b/jointjs/jointjs.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jointjs/jointjs.d.ts.tscparams +++ b/jointjs/jointjs.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jqrangeslider/jqrangeslider-tests.ts.tscparams b/jqrangeslider/jqrangeslider-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jqrangeslider/jqrangeslider-tests.ts.tscparams +++ b/jqrangeslider/jqrangeslider-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jqrangeslider/jqrangeslider.d.ts.tscparams b/jqrangeslider/jqrangeslider.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jqrangeslider/jqrangeslider.d.ts.tscparams +++ b/jqrangeslider/jqrangeslider.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.address/jquery.address.d.ts.tscparams b/jquery.address/jquery.address.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.address/jquery.address.d.ts.tscparams +++ b/jquery.address/jquery.address.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.bbq/jquery.bbq-tests.ts.tscparams b/jquery.bbq/jquery.bbq-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.bbq/jquery.bbq-tests.ts.tscparams +++ b/jquery.bbq/jquery.bbq-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.bbq/jquery.bbq.d.ts.tscparams b/jquery.bbq/jquery.bbq.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.bbq/jquery.bbq.d.ts.tscparams +++ b/jquery.bbq/jquery.bbq.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.colorbox/jquery.colorbox-tests.ts.tscparams b/jquery.colorbox/jquery.colorbox-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.colorbox/jquery.colorbox-tests.ts.tscparams +++ b/jquery.colorbox/jquery.colorbox-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.colorbox/jquery.colorbox.d.ts.tscparams b/jquery.colorbox/jquery.colorbox.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.colorbox/jquery.colorbox.d.ts.tscparams +++ b/jquery.colorbox/jquery.colorbox.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.colorpicker/jquery.colorpicker-tests.ts.tscparams b/jquery.colorpicker/jquery.colorpicker-tests.ts.tscparams index 3cc762b55..d3f5a12fa 100644 --- a/jquery.colorpicker/jquery.colorpicker-tests.ts.tscparams +++ b/jquery.colorpicker/jquery.colorpicker-tests.ts.tscparams @@ -1 +1 @@ -"" \ No newline at end of file + diff --git a/jquery.contextMenu/jquery.contextMenu.d.ts.tscparams b/jquery.contextMenu/jquery.contextMenu.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.contextMenu/jquery.contextMenu.d.ts.tscparams +++ b/jquery.contextMenu/jquery.contextMenu.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.customSelect/jquery.customSelect-tests.ts b/jquery.customSelect/jquery.customSelect-tests.ts new file mode 100644 index 000000000..ad2fb3019 --- /dev/null +++ b/jquery.customSelect/jquery.customSelect-tests.ts @@ -0,0 +1,16 @@ +/// +/// + +class CustomSelectOptions implements JQueryCustomSelectOption { + "customClass": string; + "mapClass": boolean; + "mapStyle": boolean; +} + +var customSelectOptions = new CustomSelectOptions(); + +customSelectOptions.customClass = "myOwnClassName"; +customSelectOptions.mapClass = true; +customSelectOptions.mapStyle = true; + +$('select').customSelect(customSelectOptions); diff --git a/jquery.customSelect/jquery.customSelect.d.ts b/jquery.customSelect/jquery.customSelect.d.ts new file mode 100644 index 000000000..2abe441a2 --- /dev/null +++ b/jquery.customSelect/jquery.customSelect.d.ts @@ -0,0 +1,16 @@ +// Type definitions for jquery.customSelect.js 0.5.1 +// Project: http://adam.co/lab/jquery/customselect// +// Definitions by: adamcoulombe +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +interface JQueryCustomSelectOption { + customClass?: string; + mapClass?: boolean; + mapStyle?: boolean; +} + +interface JQuery { + customSelect(val:JQueryCustomSelectOption): JQuery; +} \ No newline at end of file diff --git a/jquery.cycle/jquery.cycle-tests.ts.tscparams b/jquery.cycle/jquery.cycle-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.cycle/jquery.cycle-tests.ts.tscparams +++ b/jquery.cycle/jquery.cycle-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.dataTables/jquery.dataTables-tests.ts.tscparams b/jquery.dataTables/jquery.dataTables-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.dataTables/jquery.dataTables-tests.ts.tscparams +++ b/jquery.dataTables/jquery.dataTables-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.dynatree/jquery.dynatree.d.ts.tscparams b/jquery.dynatree/jquery.dynatree.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.dynatree/jquery.dynatree.d.ts.tscparams +++ b/jquery.dynatree/jquery.dynatree.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.jnotify/jquery.jnotify-tests.ts.tscparams b/jquery.jnotify/jquery.jnotify-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.jnotify/jquery.jnotify-tests.ts.tscparams +++ b/jquery.jnotify/jquery.jnotify-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.jnotify/jquery.jnotify.d.ts.tscparams b/jquery.jnotify/jquery.jnotify.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.jnotify/jquery.jnotify.d.ts.tscparams +++ b/jquery.jnotify/jquery.jnotify.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.leanModal/jquery.leanModal-tests.ts b/jquery.leanModal/jquery.leanModal-tests.ts new file mode 100755 index 000000000..fdcaee53e --- /dev/null +++ b/jquery.leanModal/jquery.leanModal-tests.ts @@ -0,0 +1,18 @@ +/// +/// + +class LeanModalOptions implements JQueryLeanModalOption { + top : number; + overlay : number; + closeButton: string; +} + +$.leanModal(); + +var leanModalOptions = new LeanModalOptions; + +leanModalOptions.top = 200; +leanModalOptions.overlay = 0.5; +leanModalOptions.closeButton = ".close_button"; + +$.leanModal(leanModalOptions); diff --git a/jquery.leanModal/jquery.leanModal.d.ts b/jquery.leanModal/jquery.leanModal.d.ts new file mode 100755 index 000000000..47c0e3537 --- /dev/null +++ b/jquery.leanModal/jquery.leanModal.d.ts @@ -0,0 +1,22 @@ +// Type definitions for leanModal.js 1.1 +// Project: http://leanmodal.finelysliced.com.au/ +// Definitions by: FinelySliced +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +interface JQueryLeanModalOption { + top? : number; + overlay? : number; + closeButton? : String; +} + +interface JQueryStatic { + leanModal(): JQuery; + leanModal(val : JQueryLeanModalOption): JQuery; +} + +interface JQuery { + leanModal(): JQuery; + leanModal(val : JQueryLeanModalOption): JQuery; +} \ No newline at end of file diff --git a/jquery.noty/jquery.noty.d.ts.tscparams b/jquery.noty/jquery.noty.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.noty/jquery.noty.d.ts.tscparams +++ b/jquery.noty/jquery.noty.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.payment/jquery.payment.d.ts.tscparams b/jquery.payment/jquery.payment.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.payment/jquery.payment.d.ts.tscparams +++ b/jquery.payment/jquery.payment.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.pickadate/jquery.pickadate-tests.ts.tscparams b/jquery.pickadate/jquery.pickadate-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.pickadate/jquery.pickadate-tests.ts.tscparams +++ b/jquery.pickadate/jquery.pickadate-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.pickadate/jquery.pickadate.d.ts.tscparams b/jquery.pickadate/jquery.pickadate.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.pickadate/jquery.pickadate.d.ts.tscparams +++ b/jquery.pickadate/jquery.pickadate.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.timeago/jquery.timeago-tests.ts.tscparams b/jquery.timeago/jquery.timeago-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.timeago/jquery.timeago-tests.ts.tscparams +++ b/jquery.timeago/jquery.timeago-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.timepicker/jquery.timepicker-tests.ts.tscparams b/jquery.timepicker/jquery.timepicker-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.timepicker/jquery.timepicker-tests.ts.tscparams +++ b/jquery.timepicker/jquery.timepicker-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.timer/jquery.timer-tests.ts.tscparams b/jquery.timer/jquery.timer-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.timer/jquery.timer-tests.ts.tscparams +++ b/jquery.timer/jquery.timer-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.timer/jquery.timer.d.ts.tscparams b/jquery.timer/jquery.timer.d.ts.tscparams index 3cc762b55..d3f5a12fa 100644 --- a/jquery.timer/jquery.timer.d.ts.tscparams +++ b/jquery.timer/jquery.timer.d.ts.tscparams @@ -1 +1 @@ -"" \ No newline at end of file + diff --git a/jquery.tooltipster/jquery.tooltipster-tests.ts.tscparams b/jquery.tooltipster/jquery.tooltipster-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.tooltipster/jquery.tooltipster-tests.ts.tscparams +++ b/jquery.tooltipster/jquery.tooltipster-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.tooltipster/jquery.tooltipster.d.ts.tscparams b/jquery.tooltipster/jquery.tooltipster.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.tooltipster/jquery.tooltipster.d.ts.tscparams +++ b/jquery.tooltipster/jquery.tooltipster.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.ui.layout/jquery.ui.layout.d.ts.tscparams b/jquery.ui.layout/jquery.ui.layout.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.ui.layout/jquery.ui.layout.d.ts.tscparams +++ b/jquery.ui.layout/jquery.ui.layout.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.validation/jquery.validation-tests.ts.tscparams b/jquery.validation/jquery.validation-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.validation/jquery.validation-tests.ts.tscparams +++ b/jquery.validation/jquery.validation-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery.watermark/jquery.watermark-tests.ts.tscparams b/jquery.watermark/jquery.watermark-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery.watermark/jquery.watermark-tests.ts.tscparams +++ b/jquery.watermark/jquery.watermark-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery/jquery-tests.ts.tscparams b/jquery/jquery-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquery/jquery-tests.ts.tscparams +++ b/jquery/jquery-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 1884180fb..064f6f51a 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -2763,7 +2763,14 @@ interface JQuery { * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element. * @param data Data to be passed to the handler in event.data when an event occurs. */ - on(events: { [key: string]: any; }, selector?: any, data?: any): JQuery; + on(events: { [key: string]: any; }, selector?: string, data?: any): JQuery; + /** + * Attach an event handler function for one or more events to the selected elements. + * + * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). + * @param data Data to be passed to the handler in event.data when an event occurs. + */ + on(events: { [key: string]: any; }, data?: any): JQuery; /** * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. @@ -2808,6 +2815,14 @@ interface JQuery { */ one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery; + /** + * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. + * + * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). + * @param data Data to be passed to the handler in event.data when an event occurs. + */ + one(events: { [key: string]: any; }, data?: any): JQuery; + /** * Specify a function to execute when the DOM is fully loaded. diff --git a/jquerymobile/jquerymobile-tests.ts.tscparams b/jquerymobile/jquerymobile-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jquerymobile/jquerymobile-tests.ts.tscparams +++ b/jquerymobile/jquerymobile-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jqueryui/jqueryui-tests.ts.tscparams b/jqueryui/jqueryui-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jqueryui/jqueryui-tests.ts.tscparams +++ b/jqueryui/jqueryui-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/js-signals/js-signals.d.ts.tscparams b/js-signals/js-signals.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/js-signals/js-signals.d.ts.tscparams +++ b/js-signals/js-signals.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jscrollpane/jscrollpane.d.ts.tscparams b/jscrollpane/jscrollpane.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jscrollpane/jscrollpane.d.ts.tscparams +++ b/jscrollpane/jscrollpane.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsdeferred/jsdeferred-tests.ts.tscparams b/jsdeferred/jsdeferred-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsdeferred/jsdeferred-tests.ts.tscparams +++ b/jsdeferred/jsdeferred-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsdeferred/jsdeferred.d.ts.tscparams b/jsdeferred/jsdeferred.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsdeferred/jsdeferred.d.ts.tscparams +++ b/jsdeferred/jsdeferred.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsfl/jsfl.d.ts.tscparams b/jsfl/jsfl.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsfl/jsfl.d.ts.tscparams +++ b/jsfl/jsfl.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsfl/xJSFL.d.ts.tscparams b/jsfl/xJSFL.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsfl/xJSFL.d.ts.tscparams +++ b/jsfl/xJSFL.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsoneditoronline/jsoneditoronline-tests.ts.tscparams b/jsoneditoronline/jsoneditoronline-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsoneditoronline/jsoneditoronline-tests.ts.tscparams +++ b/jsoneditoronline/jsoneditoronline-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsoneditoronline/jsoneditoronline.d.ts.tscparams b/jsoneditoronline/jsoneditoronline.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsoneditoronline/jsoneditoronline.d.ts.tscparams +++ b/jsoneditoronline/jsoneditoronline.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/jsplumb/jquery.jsPlumb.d.ts.tscparams b/jsplumb/jquery.jsPlumb.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/jsplumb/jquery.jsPlumb.d.ts.tscparams +++ b/jsplumb/jquery.jsPlumb.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockback/knockback.d.ts.tscparams b/knockback/knockback.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockback/knockback.d.ts.tscparams +++ b/knockback/knockback.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout.deferred.updates/knockout.deferred.updates-tests.ts.tscparams b/knockout.deferred.updates/knockout.deferred.updates-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout.deferred.updates/knockout.deferred.updates-tests.ts.tscparams +++ b/knockout.deferred.updates/knockout.deferred.updates-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout.deferred.updates/knockout.deferred.updates.d.ts.tscparams b/knockout.deferred.updates/knockout.deferred.updates.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout.deferred.updates/knockout.deferred.updates.d.ts.tscparams +++ b/knockout.deferred.updates/knockout.deferred.updates.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout.es5/knockout.es5-tests.ts.tscparams b/knockout.es5/knockout.es5-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout.es5/knockout.es5-tests.ts.tscparams +++ b/knockout.es5/knockout.es5-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout.es5/knockout.es5.d.ts.tscparams b/knockout.es5/knockout.es5.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout.es5/knockout.es5.d.ts.tscparams +++ b/knockout.es5/knockout.es5.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout.mapping/knockout.mapping.d.ts.tscparams b/knockout.mapping/knockout.mapping.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout.mapping/knockout.mapping.d.ts.tscparams +++ b/knockout.mapping/knockout.mapping.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout.viewmodel/knockout.viewmodel.d.ts.tscparams b/knockout.viewmodel/knockout.viewmodel.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout.viewmodel/knockout.viewmodel.d.ts.tscparams +++ b/knockout.viewmodel/knockout.viewmodel.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout/all-tests.ts.tscparams b/knockout/all-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout/all-tests.ts.tscparams +++ b/knockout/all-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout/knockout.d.ts b/knockout/knockout.d.ts index 48f550dfe..27487c7a6 100644 --- a/knockout/knockout.d.ts +++ b/knockout/knockout.d.ts @@ -586,7 +586,7 @@ interface KnockoutComponentConfig { interface KnockoutComputedContext { getDependenciesCount(): number; - isInitial: boolean; + isInitial: () => boolean; isSleeping: boolean; } diff --git a/knockout/tests/knockout-templatingBehaviors-tests.ts.tscparams b/knockout/tests/knockout-templatingBehaviors-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout/tests/knockout-templatingBehaviors-tests.ts.tscparams +++ b/knockout/tests/knockout-templatingBehaviors-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/knockout/tests/knockout-tests.ts.tscparams b/knockout/tests/knockout-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/knockout/tests/knockout-tests.ts.tscparams +++ b/knockout/tests/knockout-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/kolite/kolite-tests.ts.tscparams b/kolite/kolite-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/kolite/kolite-tests.ts.tscparams +++ b/kolite/kolite-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/kolite/kolite.d.ts.tscparams b/kolite/kolite.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/kolite/kolite.d.ts.tscparams +++ b/kolite/kolite.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/less/less-tests.ts.tscparams b/less/less-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/less/less-tests.ts.tscparams +++ b/less/less-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/less/less.d.ts.tscparams b/less/less.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/less/less.d.ts.tscparams +++ b/less/less.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/levelup/levelup-tests.ts.tscparams b/levelup/levelup-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/levelup/levelup-tests.ts.tscparams +++ b/levelup/levelup-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/levelup/levelup.d.ts.tscparams b/levelup/levelup.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/levelup/levelup.d.ts.tscparams +++ b/levelup/levelup.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/libxmljs/libxmljs-tests.ts.tscparams b/libxmljs/libxmljs-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/libxmljs/libxmljs-tests.ts.tscparams +++ b/libxmljs/libxmljs-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/libxmljs/libxmljs.d.ts.tscparams b/libxmljs/libxmljs.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/libxmljs/libxmljs.d.ts.tscparams +++ b/libxmljs/libxmljs.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/linq/linq-tests.ts.tscparams b/linq/linq-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/linq/linq-tests.ts.tscparams +++ b/linq/linq-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/linq/linq.3.0.3-Beta4.d.ts.tscparams b/linq/linq.3.0.3-Beta4.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/linq/linq.3.0.3-Beta4.d.ts.tscparams +++ b/linq/linq.3.0.3-Beta4.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/linq/linq.d.ts.tscparams b/linq/linq.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/linq/linq.d.ts.tscparams +++ b/linq/linq.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/linq/linq.jquery.d.ts.tscparams b/linq/linq.jquery.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/linq/linq.jquery.d.ts.tscparams +++ b/linq/linq.jquery.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/marionette/marionette.d.ts.tscparams b/marionette/marionette.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/marionette/marionette.d.ts.tscparams +++ b/marionette/marionette.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/meteor/meteor-tests.ts.tscparams b/meteor/meteor-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/meteor/meteor-tests.ts.tscparams +++ b/meteor/meteor-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/meteor/meteor.d.ts.tscparams b/meteor/meteor.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/meteor/meteor.d.ts.tscparams +++ b/meteor/meteor.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/modernizr/modernizr-tests.ts.tscparams b/modernizr/modernizr-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/modernizr/modernizr-tests.ts.tscparams +++ b/modernizr/modernizr-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/modernizr/modernizr.d.ts b/modernizr/modernizr.d.ts index 5827bbf9e..25043375c 100644 --- a/modernizr/modernizr.d.ts +++ b/modernizr/modernizr.d.ts @@ -75,7 +75,7 @@ interface ModernizrStatic { history: boolean; audio: Audioboolean; video: Videoboolean; - indexeddb: boolean; + indexedDB: boolean; input: Inputboolean; inputtypes: InputTypesboolean; localstorage: boolean; diff --git a/msnodesql/msnodesql-tests.ts.tscparams b/msnodesql/msnodesql-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/msnodesql/msnodesql-tests.ts.tscparams +++ b/msnodesql/msnodesql-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/msnodesql/msnodesql.d.ts.tscparams b/msnodesql/msnodesql.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/msnodesql/msnodesql.d.ts.tscparams +++ b/msnodesql/msnodesql.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/mustache/mustache-tests.ts.tscparams b/mustache/mustache-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/mustache/mustache-tests.ts.tscparams +++ b/mustache/mustache-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/mustache/mustache.d.ts.tscparams b/mustache/mustache.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/mustache/mustache.d.ts.tscparams +++ b/mustache/mustache.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/noVNC/noVNC-tests.ts.tscparams b/noVNC/noVNC-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/noVNC/noVNC-tests.ts.tscparams +++ b/noVNC/noVNC-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/noVNC/noVNC.d.ts.tscparams b/noVNC/noVNC.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/noVNC/noVNC.d.ts.tscparams +++ b/noVNC/noVNC.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/node-fibers/node-fibers-tests.ts.tscparams b/node-fibers/node-fibers-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/node-fibers/node-fibers-tests.ts.tscparams +++ b/node-fibers/node-fibers-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/node-fibers/node-fibers.d.ts.tscparams b/node-fibers/node-fibers.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/node-fibers/node-fibers.d.ts.tscparams +++ b/node-fibers/node-fibers.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/node/node-0.8.8.d.ts.tscparams b/node/node-0.8.8.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/node/node-0.8.8.d.ts.tscparams +++ b/node/node-0.8.8.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/node_redis/node_redis-tests.ts.tscparams b/node_redis/node_redis-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/node_redis/node_redis-tests.ts.tscparams +++ b/node_redis/node_redis-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/node_redis/node_redis.d.ts.tscparams b/node_redis/node_redis.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/node_redis/node_redis.d.ts.tscparams +++ b/node_redis/node_redis.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/parallel/parallel-tests.ts.tscparams b/parallel/parallel-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/parallel/parallel-tests.ts.tscparams +++ b/parallel/parallel-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/pdf/pdf-tests.ts.tscparams b/pdf/pdf-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/pdf/pdf-tests.ts.tscparams +++ b/pdf/pdf-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/pdf/pdf.d.ts.tscparams b/pdf/pdf.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/pdf/pdf.d.ts.tscparams +++ b/pdf/pdf.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/persona/persona-tests.ts.tscparams b/persona/persona-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/persona/persona-tests.ts.tscparams +++ b/persona/persona-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/persona/persona.d.ts.tscparams b/persona/persona.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/persona/persona.d.ts.tscparams +++ b/persona/persona.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/phonegap/phonegap-tests.ts.tscparams b/phonegap/phonegap-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/phonegap/phonegap-tests.ts.tscparams +++ b/phonegap/phonegap-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/phonejs/dx.phonejs-tests.ts.tscparams b/phonejs/dx.phonejs-tests.ts.tscparams index 3cc762b55..d3f5a12fa 100644 --- a/phonejs/dx.phonejs-tests.ts.tscparams +++ b/phonejs/dx.phonejs-tests.ts.tscparams @@ -1 +1 @@ -"" \ No newline at end of file + diff --git a/pixi/pixi-tests.ts.tscparams b/pixi/pixi-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/pixi/pixi-tests.ts.tscparams +++ b/pixi/pixi-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/pixi/pixi.d.ts.tscparams b/pixi/pixi.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/pixi/pixi.d.ts.tscparams +++ b/pixi/pixi.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/popcorn/popcorn.d.ts.tscparams b/popcorn/popcorn.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/popcorn/popcorn.d.ts.tscparams +++ b/popcorn/popcorn.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/pouchDB/pouch-tests.ts b/pouchDB/pouch-tests.ts index 5534ca367..eb5ea7746 100644 --- a/pouchDB/pouch-tests.ts +++ b/pouchDB/pouch-tests.ts @@ -9,7 +9,7 @@ window.alert = function (thing?: string) { var pouch: PouchDB; function pouchTests() { - PouchDB('testdb', function (err: PouchError, res: PouchDB) { + new PouchDB('testdb', function (err: PouchError, res: PouchDB) { if (err) { alert('Error ' + err.status + ' occurred ' + err.error + ' - ' + err.reason); } diff --git a/pouchDB/pouch-tests.ts.tscparams b/pouchDB/pouch-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/pouchDB/pouch-tests.ts.tscparams +++ b/pouchDB/pouch-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/pouchDB/pouch.d.ts.tscparams b/pouchDB/pouch.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/pouchDB/pouch.d.ts.tscparams +++ b/pouchDB/pouch.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/qunit/qunit-tests.ts.tscparams b/qunit/qunit-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/qunit/qunit-tests.ts.tscparams +++ b/qunit/qunit-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/raphael/raphael-tests.ts.tscparams b/raphael/raphael-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/raphael/raphael-tests.ts.tscparams +++ b/raphael/raphael-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/restangular/restangular-tests.ts.tscparams b/restangular/restangular-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/restangular/restangular-tests.ts.tscparams +++ b/restangular/restangular-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/restify/restify-tests.ts.tscparams b/restify/restify-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/restify/restify-tests.ts.tscparams +++ b/restify/restify-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/rethinkdb/rethinkdb-tests.ts.tscparams b/rethinkdb/rethinkdb-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/rethinkdb/rethinkdb-tests.ts.tscparams +++ b/rethinkdb/rethinkdb-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/rethinkdb/rethinkdb.d.ts.tscparams b/rethinkdb/rethinkdb.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/rethinkdb/rethinkdb.d.ts.tscparams +++ b/rethinkdb/rethinkdb.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/sammyjs/sammyjs-tests.ts.tscparams b/sammyjs/sammyjs-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/sammyjs/sammyjs-tests.ts.tscparams +++ b/sammyjs/sammyjs-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/sammyjs/sammyjs.d.ts.tscparams b/sammyjs/sammyjs.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/sammyjs/sammyjs.d.ts.tscparams +++ b/sammyjs/sammyjs.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/scroller/scroller-tests.ts.tscparams b/scroller/scroller-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/scroller/scroller-tests.ts.tscparams +++ b/scroller/scroller-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/select2/select2-tests.ts.tscparams b/select2/select2-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/select2/select2-tests.ts.tscparams +++ b/select2/select2-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/sencha_touch/SenchaTouch-Tests.ts.tscparams b/sencha_touch/SenchaTouch-Tests.ts.tscparams index 3cc762b55..d3f5a12fa 100644 --- a/sencha_touch/SenchaTouch-Tests.ts.tscparams +++ b/sencha_touch/SenchaTouch-Tests.ts.tscparams @@ -1 +1 @@ -"" \ No newline at end of file + diff --git a/sharepoint/SharePoint-tests.ts.tscparams b/sharepoint/SharePoint-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/sharepoint/SharePoint-tests.ts.tscparams +++ b/sharepoint/SharePoint-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/sharepoint/SharePoint.d.ts.tscparams b/sharepoint/SharePoint.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/sharepoint/SharePoint.d.ts.tscparams +++ b/sharepoint/SharePoint.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/siesta/siesta-tests.ts.tscparams b/siesta/siesta-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/siesta/siesta-tests.ts.tscparams +++ b/siesta/siesta-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/siesta/siesta.d.ts.tscparams b/siesta/siesta.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/siesta/siesta.d.ts.tscparams +++ b/siesta/siesta.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/sinon-chai/sinon-chai-tests.ts.tscparams b/sinon-chai/sinon-chai-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/sinon-chai/sinon-chai-tests.ts.tscparams +++ b/sinon-chai/sinon-chai-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/slickgrid/SlickGrid.d.ts b/slickgrid/SlickGrid.d.ts index 7301ecb1a..a27b038ff 100644 --- a/slickgrid/SlickGrid.d.ts +++ b/slickgrid/SlickGrid.d.ts @@ -1595,7 +1595,7 @@ declare module Slick { // empty } export interface OnRowsChangedEventData { - // empty + rows: number[]; } export interface OnPagingInfoChangedEventData extends PagingOptions { diff --git a/socket.io/socket.io-tests.ts.tscparams b/socket.io/socket.io-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/socket.io/socket.io-tests.ts.tscparams +++ b/socket.io/socket.io-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/stripe/stripe.d.ts.tscparams b/stripe/stripe.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/stripe/stripe.d.ts.tscparams +++ b/stripe/stripe.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/swiper/swiper-tests.ts.tscparams b/swiper/swiper-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/swiper/swiper-tests.ts.tscparams +++ b/swiper/swiper-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/swiper/swiper.d.ts.tscparams b/swiper/swiper.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/swiper/swiper.d.ts.tscparams +++ b/swiper/swiper.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/swipeview/swipeview-tests.ts.tscparams b/swipeview/swipeview-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/swipeview/swipeview-tests.ts.tscparams +++ b/swipeview/swipeview-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/teechart/teechart.d.ts.tscparams b/teechart/teechart.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/teechart/teechart.d.ts.tscparams +++ b/teechart/teechart.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/threejs/three-tests.ts.tscparams b/threejs/three-tests.ts.tscparams index 3b6942a9d..d3f5a12fa 100644 --- a/threejs/three-tests.ts.tscparams +++ b/threejs/three-tests.ts.tscparams @@ -1,2 +1 @@ -"" - + diff --git a/through/through-tests.ts.tscparams b/through/through-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/through/through-tests.ts.tscparams +++ b/through/through-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/through/through.d.ts.tscparams b/through/through.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/through/through.d.ts.tscparams +++ b/through/through.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/titanium/titanium-tests.ts.tscparams b/titanium/titanium-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/titanium/titanium-tests.ts.tscparams +++ b/titanium/titanium-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/toastr/toastr-tests.ts.tscparams b/toastr/toastr-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/toastr/toastr-tests.ts.tscparams +++ b/toastr/toastr-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/tween.js/tween.js.d.ts.tscparams b/tween.js/tween.js.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/tween.js/tween.js.d.ts.tscparams +++ b/tween.js/tween.js.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/typeahead/typeahead.d.ts b/typeahead/typeahead.d.ts index c2d50dfc4..34ea56597 100644 --- a/typeahead/typeahead.d.ts +++ b/typeahead/typeahead.d.ts @@ -186,3 +186,227 @@ declare module Twitter.Typeahead { minLength?: number; } } +declare module Bloodhound +{ + interface BloodhoundOptions + { + /** + * Transforms a datum into an array of string tokens + * + * @constructor + * @param datum individual units that compose the dataset + */ + datumTokenizer?: any; + /** + * Transforms a query into an array of string tokens + * + * @constructor + * @param query tokenizer query + */ + queryTokenizer?: any; + /** + * The max number of suggestions to return from Bloodhound#get. + * If not reached, the data source will attempt to backfill the suggestions from remote. Defaults to 5 + */ + limit?: number; + /** + * If set, this is expected to be a function with the signature (remoteMatch, localMatch) that returns true if the datums are duplicates or false otherwise. + * If not set, duplicate detection will not be performed. + */ + dupDetector?: (remoteMatch: T, localMatch: T) => boolean; + /** + * A compare function used to sort matched datums for a given query. + */ + sorter?: (a: T, b: T) => T[]; + /** + *An array of datums or a function that returns an array of datums. + */ + local?: () => T[]; + /** + * Can be a URL to a JSON file containing an array of datums or, if more configurability is needed, a prefetch options hash. + */ + prefetch?: PrefetchOptions; + /** + * Can be a URL to fetch suggestions from when the data provided by local and prefetch is insufficient or, if more configurability is needed, a remote options hash. + */ + remote?: RemoteOptions; + } + + /** + * Prefetched data is fetched and processed on initialization. + * If the browser supports localStorage, the processed data will be cached + * there to prevent additional network requests on subsequent page loads. + */ + interface PrefetchOptions + { + /** + * A URL to a JSON file containing an array of datums. Required. + */ + url: string; + /** + * The time (in milliseconds) the prefetched data should be cached + * in localStorage. Defaults to 86400000 (1 day). + */ + ttl?: number; + /** + * A function that transforms the response body into an array of datums. + * + * @param parsedResponse Response body + */ + filter?: (parsedResponse: any) => T[]; + /** The key that data will be stored in local storage under. Defaults to value of url. + * + */ + cacheKey?: string; + /** + * A string used for thumbprinting prefetched data. If this doesn't match what's stored in local storage, the data will be refetched. + */ + thumbprint?: string; + /** + * The ajax settings object passed to jQuery.ajax. + */ + ajax?: JQueryAjaxSettings; + } + + /** + * Remote data is only used when the data provided by local and prefetch + * is insufficient. In order to prevent an obscene number of requests + * being made to remote endpoint, typeahead.js rate-limits remote requests. + */ + interface RemoteOptions + { + /** + * A URL to make requests to when the data provided by local and + * prefetch is insufficient. Required. + */ + url: string; + /** + * The pattern in url that will be replaced with the user's query + * when a request is made. Defaults to %QUERY. + */ + wildcard?: string; + /** + * Overrides the request URL. If set, no wildcard substitution will + * be performed on url. + * + * @param url Replacement URL + * @param uriEncodedQuery Encoded query + * @returns A valid URL + */ + replace?: (url: string, uriEncodedQuery: string) => string; + /** + * The function used for rate-limiting network requests. + * Can be either 'debounce' or 'throttle'. Defaults to 'debounce'. + */ + rateLimitby?: string; + /** + * The time interval in milliseconds that will be used by rateLimitFn. + * Defaults to 300. + */ + rateLimitWait?: number; + + /** + * Transforms the response body into an array of datums. + * + * @param parsedResponse Response body + */ + filter?: (parsedResponse: any) => T[]; + /** + * The ajax settings object passed to jQuery.ajax. + */ + ajax?: JQueryAjaxSettings; + } + + /** + * The most common tokenization methods. + */ + interface Tokenizers + { + /** + * Split a given string on whitespace characters. + */ + whitespace(query: string): string[]; + /** + * Split a given string on non-word characters. + */ + nonword(query: string): string[]; + + /** + * Instances of the most common tokenization methods. + */ + obj: ObjTokenizer; + } + + interface ObjTokenizer + { + /** + * Split a given string on whitespace characters. + */ + whitespace(query: string): string[]; + /** + * Split a given string on non-word characters. + */ + nonword(query: string): string[]; + } +} + +declare class Bloodhound { + constructor(options: Bloodhound.BloodhoundOptions) + /** + * wraps the suggestion engine in an adapter that is compatible with the typeahead jQuery plugin + */ + public ttAdapter(): any; + /** + * Kicks off the initialization of the suggestion engine. This includes processing the data provided through local and fetching/processing the data provided through prefetch. + * Until initialized, all other methods will behave as no-ops. + * Returns a jQuery promise which is resolved when engine has been initialized. + * + * After the initial call of initialize, how subsequent invocations of the method behave depends on the reinitialize argument. + * If reinitialize is falsy, the method will not execute the initialization logic and will just return the same jQuery promise returned by the initial invocation. + * If reinitialize is truthy, the method will behave as if it were being called for the first time. + * + * var promise1 = engine.initialize(); + * var promise2 = engine.initialize(); + * var promise3 = engine.initialize(true); + * + * promise1 === promise2; + * promise3 !== promise1 && promise3 !== promise2; + */ + public initialize(reinitialize?: boolean): JQueryPromise; + /** + * Takes one argument, datums, which is expected to be an array of datums. + * The passed in datums will get added to the search index that powers the suggestion engine. + */ + public add(datums: T[]): void; + /** + * Removes all suggestions from the search index. + */ + public clear(): void; + /** + * If you're using prefetch, data gets cached in local storage in an effort to cut down on unnecessary network requests. + * clearPrefetchCache offers a way to programmatically clear said cache. + */ + public clearPrefetchCache(): void; + /** + * If you're using remote, Bloodhound will cache the 10 most recent responses in an effort to provide a better user experience. + * clearRemoteCache offers a way to programmatically clear said cache. + */ + public clearRemoteCache(): void; + /** + * Returns a reference to the Bloodhound constructor and reverts window.Bloodhound to its previous value. Can be used to avoid naming collisions. + */ + public noConflict(): any; + + /** + * Computes a set of suggestions for query. cb will be invoked with an array of datums that represent said set. + * cb will always be invoked once synchronously with suggestions that were available on the client. + * If those suggestions are insufficient (# of suggestions is less than limit) and remote was configured, cb may also be invoked asynchronously with the suggestions available on the client mixed with suggestions from the remote source. + */ + public get(query: string, cb: (datums: T[]) => void): void; + + /** + * The Bloodhound suggestion engine is token-based, so how datums and queries are tokenized plays a vital role in the quality of search results. + * Specify how you want datums and queries tokenized. + */ + public static tokenizers: Bloodhound.Tokenizers; +} diff --git a/underscore/underscore-tests.ts.tscparams b/underscore/underscore-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/underscore/underscore-tests.ts.tscparams +++ b/underscore/underscore-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/unity-webapi/unity-webapi-tests.ts.tscparams b/unity-webapi/unity-webapi-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/unity-webapi/unity-webapi-tests.ts.tscparams +++ b/unity-webapi/unity-webapi-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/unity-webapi/unity-webapi.d.ts.tscparams b/unity-webapi/unity-webapi.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/unity-webapi/unity-webapi.d.ts.tscparams +++ b/unity-webapi/unity-webapi.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/urijs/URI.d.ts.tscparams b/urijs/URI.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/urijs/URI.d.ts.tscparams +++ b/urijs/URI.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/viewporter/viewporter-tests.ts.tscparams b/viewporter/viewporter-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/viewporter/viewporter-tests.ts.tscparams +++ b/viewporter/viewporter-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/vimeo/froogaloop.d.ts.tscparams b/vimeo/froogaloop.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/vimeo/froogaloop.d.ts.tscparams +++ b/vimeo/froogaloop.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/webaudioapi/waa-nightly.d.ts.tscparams b/webaudioapi/waa-nightly.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/webaudioapi/waa-nightly.d.ts.tscparams +++ b/webaudioapi/waa-nightly.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/webrtc/MediaStream-tests.ts.tscparams b/webrtc/MediaStream-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/webrtc/MediaStream-tests.ts.tscparams +++ b/webrtc/MediaStream-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/webrtc/MediaStream.d.ts.tscparams b/webrtc/MediaStream.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/webrtc/MediaStream.d.ts.tscparams +++ b/webrtc/MediaStream.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/webrtc/RTCPeerConnection-tests.ts.tscparams b/webrtc/RTCPeerConnection-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/webrtc/RTCPeerConnection-tests.ts.tscparams +++ b/webrtc/RTCPeerConnection-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/webrtc/RTCPeerConnection.d.ts.tscparams b/webrtc/RTCPeerConnection.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/webrtc/RTCPeerConnection.d.ts.tscparams +++ b/webrtc/RTCPeerConnection.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/winrt/winrt.d.ts b/winrt/winrt.d.ts index 350b43153..a6829956e 100644 --- a/winrt/winrt.d.ts +++ b/winrt/winrt.d.ts @@ -7940,6 +7940,8 @@ declare module Windows { control: Windows.Networking.Sockets.MessageWebSocketControl; information: Windows.Networking.Sockets.MessageWebSocketInformation; onmessagereceived: any/* TODO */; + close(): void; + close(code: number, reason: string): void; } export class MessageWebSocketControl implements Windows.Networking.Sockets.IMessageWebSocketControl, Windows.Networking.Sockets.IWebSocketControl { maxMessageSize: number; @@ -7978,6 +7980,8 @@ declare module Windows { control: Windows.Networking.Sockets.StreamWebSocketControl; information: Windows.Networking.Sockets.StreamWebSocketInformation; inputStream: Windows.Storage.Streams.IInputStream; + close(): void; + close(code: number, reason: string): void; } export class StreamWebSocketControl implements Windows.Networking.Sockets.IStreamWebSocketControl, Windows.Networking.Sockets.IWebSocketControl { noDelay: boolean; diff --git a/xsockets/XSockets-tests.ts.tscparams b/xsockets/XSockets-tests.ts.tscparams index 3cc762b55..d3f5a12fa 100644 --- a/xsockets/XSockets-tests.ts.tscparams +++ b/xsockets/XSockets-tests.ts.tscparams @@ -1 +1 @@ -"" \ No newline at end of file + diff --git a/youtube/youtube.d.ts.tscparams b/youtube/youtube.d.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/youtube/youtube.d.ts.tscparams +++ b/youtube/youtube.d.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/zepto/zepto-tests.ts b/zepto/zepto-tests.ts index fc3760f9a..2d85f16c0 100644 --- a/zepto/zepto-tests.ts +++ b/zepto/zepto-tests.ts @@ -306,3 +306,9 @@ $.browser.playbook; !!$.os.ios; // => true !!$.os.version; // => "6.1" !!$.browser.version; // => "536.26" + +// shortcut methods for `.bind(event, fn)` for each event type +$('#example').click(); +$('#example').click(() => { + alert('clicked'); +}); \ No newline at end of file diff --git a/zepto/zepto-tests.ts.tscparams b/zepto/zepto-tests.ts.tscparams index e16c76dff..d3f5a12fa 100644 --- a/zepto/zepto-tests.ts.tscparams +++ b/zepto/zepto-tests.ts.tscparams @@ -1 +1 @@ -"" + diff --git a/zepto/zepto.d.ts b/zepto/zepto.d.ts index ba75e7556..04f11289e 100644 --- a/zepto/zepto.d.ts +++ b/zepto/zepto.d.ts @@ -1407,6 +1407,75 @@ interface ZeptoCollection { **/ undelegate(selector: string, type: string, fn: (e: Event) => boolean): ZeptoCollection; + focusin(): ZeptoCollection; + focusin(fn: (e: Event) => any): ZeptoCollection; + + focusout(): ZeptoCollection; + focusout(fn: (e: Event) => any): ZeptoCollection; + + load(): ZeptoCollection; + load(fn: (e: Event) => any): ZeptoCollection; + + resize(): ZeptoCollection; + resize(fn: (e: Event) => any): ZeptoCollection; + + scroll(): ZeptoCollection; + scroll(fn: (e: Event) => any): ZeptoCollection; + + unload(): ZeptoCollection; + unload(fn: (e: Event) => any): ZeptoCollection; + + click(): ZeptoCollection; + click(fn: (e: Event) => any): ZeptoCollection; + + dblclick(): ZeptoCollection; + dblclick(fn: (e: Event) => any): ZeptoCollection; + + mousedown(): ZeptoCollection; + mousedown(fn: (e: Event) => any): ZeptoCollection; + + mouseup(): ZeptoCollection; + mouseup(fn: (e: Event) => any): ZeptoCollection; + + mousemove(): ZeptoCollection; + mousemove(fn: (e: Event) => any): ZeptoCollection; + + mouseover(): ZeptoCollection; + mouseover(fn: (e: Event) => any): ZeptoCollection; + + mouseout(): ZeptoCollection; + mouseout(fn: (e: Event) => any): ZeptoCollection; + + mouseenter(): ZeptoCollection; + mouseenter(fn: (e: Event) => any): ZeptoCollection; + + mouseleave(): ZeptoCollection; + mouseleave(fn: (e: Event) => any): ZeptoCollection; + + change(): ZeptoCollection; + change(fn: (e: Event) => any): ZeptoCollection; + + select(): ZeptoCollection; + select(fn: (e: Event) => any): ZeptoCollection; + + keydown(): ZeptoCollection; + keydown(fn: (e: Event) => any): ZeptoCollection; + + keypress(): ZeptoCollection; + keypress(fn: (e: Event) => any): ZeptoCollection; + + keyup(): ZeptoCollection; + keyup(fn: (e: Event) => any): ZeptoCollection; + + error(): ZeptoCollection; + error(fn: (e: Event) => any): ZeptoCollection; + + focus(): ZeptoCollection; + focus(fn: (e: Event) => any): ZeptoCollection; + + blur(): ZeptoCollection; + blur(fn: (e: Event) => any): ZeptoCollection; + /** * Ajax **/