Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e1c37a7
)
avoid "alternative form of ..." definitions
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 12 Oct 2013 21:02:25 +0000
(17:02 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 12 Oct 2013 21:02:25 +0000
(17:02 -0400)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
0467055
..
b444f1a
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-505,7
+505,7
@@
extract_wiktionary_definiton = (html) ->
if part and el.tagName is 'OL'
$(el).children().each (i, el) ->
new_def = $(el).text()
- if new_def.substr(0, 9) is '(obsolete' or new_def.substr(0, 8) is "(archaic"
+ if new_def.substr(0, 9) is '(obsolete' or new_def.substr(0, 8) is "(archaic" or new_def.substr(0, 20) is "Alternative form of "
key = 'obsolete'
else
if part is 'verb'