Unified · Split
| @@ -23,7 +23,6 @@ app.views.MarionettePage = · 22 unmodified lines | ||
| 23 | 23 | app.views.MochaPage = |
| 24 | 24 | app.views.ModernizrPage = |
| 25 | 25 | app.views.MongoosePage = |
| 26 | −app.views.NodePage = | |
| 27 | 26 | app.views.PhaserPage = |
| 28 | 27 | app.views.SinonPage = |
| 29 | 28 | app.views.JavascriptPage |
| @@ -10,6 +10,7 @@ app.views.EmberPage = · 9 unmodified lines | ||
| 10 | 10 | app.views.GoPage = |
| 11 | 11 | app.views.MeteorPage = |
| 12 | 12 | app.views.MomentPage = |
| 13 | +app.views.NodePage = | |
| 13 | 14 | app.views.PerlPage = |
| 14 | 15 | app.views.PostgresPage = |
| 15 | 16 | app.views.RamdaPage = |
| @@ -15,6 +15,10 @@ module Docs · 14 unmodified lines | ||
| 15 | 15 | end |
| 16 | 16 | |
| 17 | 17 | css('pre').each do |node| |
| 18 | + if lang = node.at_css('code')['class'] | |
| 19 | + node['data-language'] = lang | |
| 20 | + end | |
| 21 | + | |
| 18 | 22 | node.content = node.content |
| 19 | 23 | end |
| 20 | 24 | |
| @@ -23,12 +23,12 @@ module Docs · 22 unmodified lines | ||
| 23 | 23 | HTML |
| 24 | 24 | |
| 25 | 25 | version do |
| 26 | − self.release = '5.10.0' | |
| 26 | + self.release = '5.11.0' | |
| 27 | 27 | self.base_url = 'https://nodejs.org/api/' |
| 28 | 28 | end |
| 29 | 29 | |
| 30 | 30 | version '4 LTS' do |
| 31 | − self.release = '4.4.2' | |
| 31 | + self.release = '4.4.3' | |
| 32 | 32 | self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" |
| 33 | 33 | end |
| 34 | 34 | end |