Changeset 363
- Timestamp:
- 05/04/08 09:25:51 (2 weeks ago)
- Files:
-
- trunk/src/ingy/pQuery/lib/pQuery.pm (modified) (3 diffs)
- trunk/src/ingy/pQuery/t/selectors.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/ingy/pQuery/lib/pQuery.pm
r361 r363 390 390 391 391 my $expr = { 392 # XXX Can't figure out how to create tests for these yet :( 393 "" => sub { 394 die 'pQuery selector error #1001. Please notify ingy@cpan.org'; 395 }, 396 "#" => sub { 397 die 'pQuery selector error #1002. Please notify ingy@cpan.org'; 398 }, 392 399 ":" => { 393 400 # Position Checks … … 427 434 contains => sub { return index(pQuery($_[0])->text, $_[2][3]) >= 0 }, 428 435 436 # XXX Finish porting these if it makes sense... 429 437 # // Visibility 430 438 # visible: function(a){return "hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";}, … … 699 707 } 700 708 elsif ($m->[1] eq ":" && $m->[2] eq "nth-child") { 701 # XXX - Finish porting this !709 # XXX - Finish porting this. Not sure how useful it is though... 702 710 } 703 711 else { trunk/src/ingy/pQuery/t/selectors.t
r361 r363 1 use t::TestpQuery tests => 2 2;1 use t::TestpQuery tests => 23; 2 2 3 3 use pQuery; … … 65 65 'Two Headers'; 66 66 67 is pQuery("table#table1")->size, 1, 'id after other selector';
