diff --git a/assets/javascripts/views/pages/javascript.coffee b/assets/javascripts/views/pages/javascript.coffee index 14cc657a..6dc520a5 100644 --- a/assets/javascripts/views/pages/javascript.coffee +++ b/assets/javascripts/views/pages/javascript.coffee @@ -17,7 +17,6 @@ class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage app.views.ChaiPage = app.views.GruntPage = -app.views.LodashPage = app.views.MochaPage = app.views.JavascriptPage diff --git a/assets/javascripts/views/pages/simple.coffee b/assets/javascripts/views/pages/simple.coffee index 076d57e5..f05699f9 100644 --- a/assets/javascripts/views/pages/simple.coffee +++ b/assets/javascripts/views/pages/simple.coffee @@ -12,6 +12,7 @@ app.views.EmberPage = app.views.ExpressPage = app.views.GoPage = app.views.LaravelPage = +app.views.LodashPage = app.views.MarionettePage = app.views.MeteorPage = app.views.ModernizrPage = diff --git a/lib/docs/filters/lodash/clean_html.rb b/lib/docs/filters/lodash/clean_html.rb index 1b64069a..e1fe850a 100644 --- a/lib/docs/filters/lodash/clean_html.rb +++ b/lib/docs/filters/lodash/clean_html.rb @@ -20,6 +20,7 @@ module Docs css('pre').each do |node| node.inner_html = node.inner_html.gsub('
', "\n").gsub(' ', ' ') node.content = node.content + node['data-language'] = 'javascript' end doc diff --git a/lib/docs/scrapers/lodash.rb b/lib/docs/scrapers/lodash.rb index 1f780eeb..c1b76318 100644 --- a/lib/docs/scrapers/lodash.rb +++ b/lib/docs/scrapers/lodash.rb @@ -19,7 +19,7 @@ module Docs HTML version '4' do - self.release = '4.11.1' + self.release = '4.12.0' self.base_url = 'https://lodash.com/docs' end