Update CoffeeScript documentation (1.12.5)

pull/602/merge
Thibaut Courouble 8 years ago
parent 7fbb761f0a
commit 2ccd24a1dd

@ -22,9 +22,9 @@ module Docs
['Array slicing and splicing', 'slices', 'Language'],
['Ranges', 'slices', 'Language'],
['Expressions', 'expressions', 'Language'],
['?', 'the-existential-operator', 'Operators'],
['?=', 'the-existential-operator', 'Operators'],
['?.', 'the-existential-operator', 'Operators'],
['?', 'existential-operator', 'Operators'],
['?=', 'existential-operator', 'Operators'],
['?.', 'existential-operator', 'Operators'],
['class', 'classes', 'Statements'],
['extends', 'classes', 'Operators'],
['super', 'classes', 'Statements'],
@ -37,14 +37,14 @@ module Docs
['for...from', 'fat-arrow', 'Statements'],
['Embedded JavaScript', 'embedded', 'Language'],
['switch...when...else', 'switch', 'Statements'],
['try...catch...finally', 'try', 'Statements'],
['try...catch...finally', 'try-catch', 'Statements'],
['Chained comparisons', 'comparisons', 'Language'],
['#{} interpolation', 'strings', 'Language'],
['Block strings', 'strings', 'Language'],
['"""', 'strings', 'Language'],
['Block comments', 'strings', 'Language'],
['###', 'strings', 'Language'],
['Tagged Template Literals', 'tagged-template-literals', 'Language'],
['Tagged Template Literals', 'tagged-template-literals', 'Language'],
['Block regexes', 'regexes', 'Language'],
['///', 'regexes', 'Language'],
['Modules', 'modules', 'Language'],
@ -59,7 +59,7 @@ module Docs
entries = ENTRIES.dup
# Operators
css('.definitions td:first-child > code').each do |node|
at_css('#operators ~ table').css('td:first-child > code').each do |node|
node.content.split(', ').each do |name|
next if %w(true false yes no on off this).include?(name)
name.sub! %r{\Aa (.+) b\z}, '\1'

@ -2,7 +2,7 @@ module Docs
class Coffeescript < UrlScraper
self.name = 'CoffeeScript'
self.type = 'coffeescript'
self.release = '1.12.3'
self.release = '1.12.5'
self.base_url = 'http://coffeescript.org'
self.links = {
home: 'http://coffeescript.org',

Loading…
Cancel
Save