mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update CoffeeScript documentation (1.8.0)
This commit is contained in:
parent
4928c845a5
commit
c7ce77b66a
2 changed files with 5 additions and 2 deletions
|
@ -15,7 +15,10 @@ module Docs
|
|||
end
|
||||
|
||||
# Remove Books, Screencasts, etc.
|
||||
css('#scripts ~ *', '#scripts').remove
|
||||
while doc.children.last['id'] != 'scripts'
|
||||
doc.children.last.remove
|
||||
end
|
||||
doc.children.last.remove
|
||||
|
||||
# Make proper headings
|
||||
css('.header').each do |node|
|
||||
|
|
|
@ -2,7 +2,7 @@ module Docs
|
|||
class Coffeescript < UrlScraper
|
||||
self.name = 'CoffeeScript'
|
||||
self.type = 'coffeescript'
|
||||
self.version = '1.7.1'
|
||||
self.version = '1.8.0'
|
||||
self.base_url = 'http://coffeescript.org'
|
||||
|
||||
html_filters.push 'coffeescript/clean_html', 'coffeescript/entries', 'title'
|
||||
|
|
Loading…
Reference in a new issue