mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Removed inappropriate overloads in 'jquery.gridster' and 'royalslider', fixed JQuery overload for 'data' in 'jquery'.
This commit is contained in:
Vendored
+6
-6
@@ -1545,18 +1545,18 @@ interface JQuery {
|
||||
* @param value The new data value; it can be any Javascript type including Array or Object.
|
||||
*/
|
||||
data(key: string, value: any): JQuery;
|
||||
/**
|
||||
* Store arbitrary data associated with the matched elements.
|
||||
*
|
||||
* @param obj An object of key-value pairs of data to update.
|
||||
*/
|
||||
data(obj: { [key: string]: any; }): JQuery;
|
||||
/**
|
||||
* Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
||||
*
|
||||
* @param key Name of the data stored.
|
||||
*/
|
||||
data(key: string): any;
|
||||
/**
|
||||
* Store arbitrary data associated with the matched elements.
|
||||
*
|
||||
* @param obj An object of key-value pairs of data to update.
|
||||
*/
|
||||
data(obj: { [key: string]: any; }): JQuery;
|
||||
/**
|
||||
* Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user