Commit Graph

8 Commits

Author SHA1 Message Date
Wouter Scherphof
64f3eb4df3 Moved some details to a function
... regarding [attribute=value] and other matching.
Also explained (in comments) the different matching patterns.
And fixed a bug where /> would be listed as an attribute.
And added a few more tests.
2013-03-25 13:55:35 +01:00
Wouter Scherphof
de746865be [attribute="value"] working 2013-03-25 13:02:41 +01:00
Wouter Scherphof
77f24f93be the selctor patterns explained 2013-03-24 23:30:34 +01:00
Wouter Scherphof
591e7ebc8b improved not and lost method chaining
fixed :not() in that it filters after all matches, preventing later
selection of elements that shouldn't have been there
Also, ditched the idea of returning a container node, since it was
complex and didn't add much. The functionality could be reintroduced by
having Set implement the __call or maybe even __index to return the
combined results of all its elements.
2013-03-24 23:20:03 +01:00
Wouter Scherphof
48183bbf04 :not() seems to be functioning now
needs some tidying up and some more test runs
2013-03-22 22:34:50 +01:00
Wouter Scherphof
325fbe47d1 closes #8 2013-03-20 09:38:43 +01:00
Wouter Scherphof
01c38b022d __call = select 2013-03-19 22:32:24 +01:00
Wouter Scherphof
76000166e0 first draft
Inital working version in version control
2013-03-19 11:37:08 +01:00