Unified · Split
| @@ -15,7 +15,10 @@ module Docs · 14 unmodified lines | ||
| 15 | 15 | end |
| 16 | 16 | |
| 17 | 17 | # Remove Books, Screencasts, etc. |
| 18 | − css('#scripts ~ *', '#scripts').remove | |
| 18 | + while doc.children.last['id'] != 'scripts' | |
| 19 | + doc.children.last.remove | |
| 20 | + end | |
| 21 | + doc.children.last.remove | |
| 19 | 22 | |
| 20 | 23 | # Make proper headings |
| 21 | 24 | css('.header').each do |node| |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Coffeescript < UrlScraper |
| 3 | 3 | self.name = 'CoffeeScript' |
| 4 | 4 | self.type = 'coffeescript' |
| 5 | − self.version = '1.7.1' | |
| 5 | + self.version = '1.8.0' | |
| 6 | 6 | self.base_url = 'http://coffeescript.org' |
| 7 | 7 | |
| 8 | 8 | html_filters.push 'coffeescript/clean_html', 'coffeescript/entries', 'title' |