Switched from using QUnit's isObj/isSet to the more robust same method.

This commit is contained in:
John Resig 2009-09-29 19:49:43 +00:00
parent f8b7d391e6
commit 4bda398e6a
6 changed files with 95 additions and 95 deletions

View file

@ -50,7 +50,7 @@ test(".data()", function() {
var div = jQuery("#foo");
div.data("test", "success");
isObj( div.data(), {test: "success"}, "data() get the entire data object" )
same( div.data(), {test: "success"}, "data() get the entire data object" )
})
test(".data(String) and .data(String, Object)", function() {