Wouter Scherphof
b0afb4bf2d
reordered paragraphs
2013-04-08 14:17:14 +02:00
Wouter Scherphof
5dd573114c
Merge pull request #23 from wscherphof/v0.1.1
...
github.io
2013-04-05 13:40:45 -07:00
Wouter Scherphof
54062b0aba
github.io
2013-04-05 22:40:16 +02:00
Wouter Scherphof
ac2d528a75
Merge pull request #22 from wscherphof/v0.1.1
...
Tests complete
2013-04-05 13:34:49 -07:00
Wouter Scherphof
9e6231a572
Tests complete
2013-04-05 22:20:38 +02:00
Wouter Scherphof
958b3a906b
Merge pull request #21 from wscherphof/v0.2
...
V0.2 -> v0.1.1
2013-04-05 11:14:44 -07:00
Wouter Scherphof
83e5f16c95
v02. -> v0.1.1
2013-04-05 20:13:53 +02:00
Wouter Scherphof
03f12a0e3a
Described dependency on lunitx
2013-04-05 20:11:37 +02:00
Wouter Scherphof
7fc66a4ef9
Merge pull request #20 from wscherphof/v0.2
...
decent attr tests
2013-04-05 11:04:46 -07:00
Wouter Scherphof
7c7b4b2f42
Removed tests from sample.lua
2013-04-05 20:03:04 +02:00
Wouter Scherphof
2983056fa2
Organised and extended attr tests
2013-04-05 19:58:39 +02:00
Wouter Scherphof
10a5faf192
added test_attr (and fixed one or two edge cases)
2013-04-03 22:32:23 +02:00
Wouter Scherphof
b3bbb56d9f
tidbit in hierarchy tests
2013-04-02 13:06:32 +02:00
Wouter Scherphof
2bba6a7189
added test for void elements
2013-04-02 12:59:44 +02:00
Wouter Scherphof
6ec365ac58
Merge pull request #19 from wscherphof/#17->
...
ready for starting v0.2
2013-04-02 03:29:45 -07:00
Wouter Scherphof
86ad900e70
ready for starting v0.2
2013-04-02 12:28:13 +02:00
Wouter Scherphof
550b39c87e
Merge pull request #18 from wscherphof/#17->
...
#17 >
2013-04-02 03:14:55 -07:00
Wouter Scherphof
f97cde994e
Separated tests for descendants and children. Fixes #17
2013-04-02 12:13:23 +02:00
Wouter Scherphof
fc12dc87e0
Made test succeed
2013-04-02 12:10:41 +02:00
Wouter Scherphof
ada9731719
Added lunitx dependency and failing test for issue #17
2013-04-02 12:07:49 +02:00
Wouter Scherphof
3ec1a7c097
Allow omitting / at the end of a void element
2013-04-02 11:15:04 +02:00
Wouter Scherphof
b58383affe
Listed some more limitations
2013-04-02 11:05:28 +02:00
Wouter Scherphof
ee2dbcc557
typo
2013-04-02 10:48:52 +02:00
Wouter Scherphof
82a3f8a873
Merge pull request #16 from wscherphof/v0.1
...
Rock published
2013-03-28 15:37:55 -07:00
Wouter Scherphof
0072da75d5
Rock published
2013-03-28 23:36:43 +01:00
Wouter Scherphof
f20d84c626
Merge pull request #15 from wscherphof/#2-#3-#4-LuaRocks
...
closes #1 #2 #3 #5
2013-03-28 05:36:58 -07:00
Wouter Scherphof
ebda6bd003
grammatical
2013-03-28 13:31:08 +01:00
Wouter Scherphof
73faf23250
last few selectors lacked a description
2013-03-28 13:29:53 +01:00
Wouter Scherphof
8483c2ca02
added some links and descriptions
2013-03-28 13:22:57 +01:00
Wouter Scherphof
eb1c0f4df8
typo
2013-03-28 12:48:36 +01:00
Wouter Scherphof
125afe7acc
Samples
2013-03-28 12:47:22 +01:00
Wouter Scherphof
16fd925625
Upped the level of #'s
2013-03-28 12:44:43 +01:00
Wouter Scherphof
17676b9b7c
Just a few more `'s
2013-03-28 12:40:47 +01:00
Wouter Scherphof
24e1a7d660
After proofreading on the site
2013-03-28 12:38:13 +01:00
Wouter Scherphof
4a9fa0a790
First draft for a Rock setup
2013-03-28 12:24:10 +01:00
Wouter Scherphof
3af809df9a
Depend on "set" LuaRock, added doc/
2013-03-27 11:40:19 +01:00
Wouter Scherphof
87fc36650c
Merge pull request #14 from wscherphof/#10-License
...
closes #10
2013-03-26 02:48:44 -07:00
Wouter Scherphof
fa0150881a
closes #10
...
MIT License
2013-03-26 10:48:21 +01:00
Wouter Scherphof
5e9cd17ed0
one better name for a variable
2013-03-26 10:31:41 +01:00
Wouter Scherphof
f2e89f40f9
string.gsub FTW
2013-03-26 10:28:33 +01:00
Wouter Scherphof
6fdd415e91
Merge pull request #13 from wscherphof/#6-selectors
...
closes #6
2013-03-26 02:00:28 -07:00
Wouter Scherphof
206f7af3c4
closes #6
...
:not(), [att=val], [att!=val], [att|=val], [att*=val], [att~=val],
[att^=val], [att$=val]
Note that the selection is now returned as a simple Set, breaking the
abilty brought in by #8 and #9 tot :select() or () on the selection. Of
course, the elements in the returned Set are still ElementNodes that
can be selected upon.
2013-03-26 09:57:00 +01:00
Wouter Scherphof
12815e032b
Merge pull request #12 from wscherphof/#6-selectors
...
#6 selectors: :not() and [attribute="value"] working
2013-03-25 06:01:16 -07:00
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
d932191a52
Merge pull request #11 from wscherphof/issue-#7---microdata
...
Issue #7 microdata
2013-03-21 16:12:48 -07:00
Wouter Scherphof
f9b04866b4
closes #7
...
Extracting microdata is fairly tedious compared to microformats, due to
its generality. Should probably be included as a standard function of
the parser, or even better, as a separate module, which then can
concern itself with being fully standards compliant.
2013-03-22 00:10:24 +01:00