Changeset 354
- Timestamp:
- 03/14/08 19:55:07 (2 months ago)
- Files:
-
- trunk/src/ingy/pQuery/Changes (modified) (1 diff)
- trunk/src/ingy/pQuery/MANIFEST (modified) (1 diff)
- trunk/src/ingy/pQuery/README (modified) (1 diff)
- trunk/src/ingy/pQuery/lib/pQuery.pm (modified) (2 diffs)
- trunk/src/ingy/pQuery/t/dom.t (modified) (1 diff)
- trunk/src/ingy/pQuery/t/each.t (modified) (1 diff)
- trunk/src/ingy/pQuery/t/find.t (modified) (1 diff)
- trunk/src/ingy/pQuery/t/html.t (modified) (1 diff)
- trunk/src/ingy/pQuery/t/text.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/ingy/pQuery/Changes
r351 r354 1 --- 2 version: 0.04 3 date: Sat Mar 15 02:53:57 GMT 2008 4 changes: 5 - Bugs in MANIFEST 6 - More porting 7 1 8 --- 2 9 version: 0.03 trunk/src/ingy/pQuery/MANIFEST
r347 r354 26 26 t/dom.t 27 27 t/each.t 28 t/end.t 28 29 t/find.t 29 30 t/html.t 31 t/ideas 32 t/misc.t 33 t/TestpQuery.pm 30 34 t/text.t trunk/src/ingy/pQuery/README
r351 r354 214 214 element from the array of elements in the pQuery object. 215 215 216 This method will fetch the HTML content of the URL and return a217 HTML::Response object.216 Givn a URL, this method will fetch the HTML content of the URL and 217 return a HTML::Response object. 218 218 219 219 my $html = pQuery.get("http://google.com")->content; trunk/src/ingy/pQuery/lib/pQuery.pm
r353 r354 9 9 use base 'Exporter'; 10 10 11 our $VERSION = '0.0 3';11 our $VERSION = '0.04'; 12 12 13 13 our @EXPORT = qw(pQuery PQUERY); … … 217 217 218 218 # XXX - Not really ported yet. 219 #sub find {220 #my $this = shift;221 #my $selector = shift or return;222 #my $elems = [];223 #$this->each(sub {224 #_find_elems($_, $selector, $elems);225 #});226 #return $this->pushStack($elems);227 #}219 sub find { 220 my $this = shift; 221 my $selector = shift or return; 222 my $elems = []; 223 $this->each(sub { 224 _find_elems($_, $selector, $elems); 225 }); 226 return $this->pushStack($elems); 227 } 228 228 229 229 # sub find { trunk/src/ingy/pQuery/t/dom.t
r346 r354 1 use Test::More tests => 33; 2 use strict; 3 use warnings; 1 use t::TestpQuery tests => 33; 4 2 5 3 use pQuery::DOM; trunk/src/ingy/pQuery/t/each.t
r328 r354 1 use Test::More tests => 1; 2 use strict; 3 use warnings; 1 use t::TestpQuery tests => 1; 4 2 5 3 use pQuery; trunk/src/ingy/pQuery/t/find.t
r328 r354 1 use Test::More tests => 2; 2 use strict; 3 use warnings; 1 use t::TestpQuery tests => 2; 4 2 5 3 use pQuery; trunk/src/ingy/pQuery/t/html.t
r344 r354 1 use Test::More tests => 7; 2 use strict; 3 use warnings; 1 use t::TestpQuery tests => 7; 4 2 5 3 use pQuery; trunk/src/ingy/pQuery/t/text.t
r328 r354 1 use Test::More tests => 1; 2 use strict; 3 use warnings; 1 use t::TestpQuery tests => 1; 4 2 5 3 use pQuery;
