Skip to content
Permalink
Browse files

Removed all the extra helper macros for 1.1, and adjusted the test su…

…ite accordingly.
  • Loading branch information
jeresig committed Jan 6, 2007
1 parent 6455703 commit e473f3a9118e4eae8d1aa2c3ab3527944db2e83b
Showing with 505 additions and 955 deletions.
  1. +0 −21 src/jquery/coreTest.js
  2. +505 −934 src/jquery/jquery.js
@@ -368,27 +368,6 @@ test("html(String)", function() {
ok( pass, "Set HTML" );
});

test("id()", function() {
expect(3);
ok( $(document.getElementById('main')).id() == "main", "Check for id" );
ok( $("#foo").id() == "foo", "Check for id" );
ok( !$("head").id(), "Check for id" );
});

test("title()", function() {
expect(2);
ok( $(document.getElementById('google')).title() == "Google!", "Check for title" );
ok( !$("#yahoo").title(), "Check for title" );
});

test("name()", function() {
expect(3);
ok( $(document.getElementById('text1')).name() == "action", "Check for name" );
ok( $("#hidden1").name() == "hidden", "Check for name" );
ok( !$("#area1").name(), "Check for name" );
});


test("siblings([String])", function() {
expect(3);
isSet( $("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" );

0 comments on commit e473f3a

Please sign in to comment.
You can’t perform that action at this time.