mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
Update jquery.d.ts: added .removeData()
This commit is contained in:
@@ -1136,6 +1136,13 @@ function test_jQuery_removeData() {
|
||||
$("span:eq(3)").text("" + jQuery.data(div, "test2"));
|
||||
}
|
||||
|
||||
function test_removeDataAll() {
|
||||
var el = $("div");
|
||||
el.data("test1", "VALUE-1");
|
||||
el.data("test2", "VALUE-2");
|
||||
el.removeData();
|
||||
}
|
||||
|
||||
function test_dblclick() {
|
||||
$('#target').dblclick(function () {
|
||||
alert('Handler for .dblclick() called.');
|
||||
|
||||
Reference in New Issue
Block a user