Removed inappropriate overloads in 'jquery.gridster' and 'royalslider', fixed JQuery overload for 'data' in 'jquery'.

This commit is contained in:
Daniel Rosenwasser
2015-08-24 18:06:19 -07:00
parent 1ba21f73e4
commit 1d6c126e8e
5 changed files with 8 additions and 14 deletions
+6 -6
View File
@@ -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.
*/