Unified · Split
| @@ -15,7 +15,10 @@ module Docs · 14 unmodified lines | |||
| 15 | end | 15 | end |
| 16 | 16 | ||
| 17 | # Remove Books, Screencasts, etc. | 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 | # Make proper headings | 23 | # Make proper headings |
| 21 | css('.header').each do |node| | 24 | css('.header').each do |node| |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Coffeescript < UrlScraper | 2 | class Coffeescript < UrlScraper |
| 3 | self.name = 'CoffeeScript' | 3 | self.name = 'CoffeeScript' |
| 4 | self.type = 'coffeescript' | 4 | self.type = 'coffeescript' |
| 5 | self.version = '1.7.1' | 5 | self.version = '1.8.0' |
| 6 | self.base_url = 'http://coffeescript.org' | 6 | self.base_url = 'http://coffeescript.org' |
| 7 | 7 | ||
| 8 | html_filters.push 'coffeescript/clean_html', 'coffeescript/entries', 'title' | 8 | html_filters.push 'coffeescript/clean_html', 'coffeescript/entries', 'title' |