Update jquery.d.ts: added .removeData()

This commit is contained in:
Jan Bevers
2015-10-07 14:10:22 +02:00
parent e9be3cecf8
commit 40d7a3e0b4
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -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.');