History

Update lodash documentation (4.17.4)

Fixes #552.

Thibaut Courouble committed 9 years ago

Commit 79a20251 parent ef8a75a2 files · +2 −2Browse files

Showing the changes to lib/docs (2 of 2 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/lodash/clean_html.rb +1 −1
  2. lib/docs/scrapers/lodash.rb +1 −1
lib/docs/filters/lodash/clean_html.rb+1−1
@@ -20,7 +20,7 @@ module Docs · 19 unmodified lines
20 20
21 # Remove code highlighting21 # Remove code highlighting
22 css('pre').each do |node|22 css('pre').each do |node|
23 node.inner_html = node.inner_html.gsub('</div>', "</div>\n").gsub('&nbsp;', ' ')23 node.inner_html = node.inner_html.gsub('</div>', "</div>\n").gsub('&nbsp;', ' ').gsub('&amp;ampamp;', '&amp;amp;')
24 node.content = node.content.strip24 node.content = node.content.strip
25 node['data-language'] = 'javascript'25 node['data-language'] = 'javascript'
26 end26 end
lib/docs/scrapers/lodash.rb+1−1
@@ -19,7 +19,7 @@ module Docs · 18 unmodified lines
19 HTML19 HTML
20 20
21 version '4' do21 version '4' do
22 self.release = '4.17.2'22 self.release = '4.17.4'
23 self.base_url = "https://lodash.com/docs/#{release}"23 self.base_url = "https://lodash.com/docs/#{release}"
24 end24 end
25 25