From 4eb71d5663240e51a7bb519b084eeb55f1d9f760 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:03:44 -0400 Subject: [PATCH] Update Underscore.js documentation (1.9.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/underscore.rb | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 120e6619..a3623c89 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -652,7 +652,7 @@ credits = [ 'https://raw.githubusercontent.com/Microsoft/TypeScript-Handbook/master/LICENSE' ], [ 'Underscore.js', - '2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors', + '2009-2017 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors', 'MIT', 'https://raw.githubusercontent.com/jashkenas/underscore/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/underscore.rb b/lib/docs/scrapers/underscore.rb index 9652b10d..ac9ecf81 100644 --- a/lib/docs/scrapers/underscore.rb +++ b/lib/docs/scrapers/underscore.rb @@ -3,8 +3,12 @@ module Docs self.name = 'Underscore.js' self.slug = 'underscore' self.type = 'underscore' - self.release = '1.8.3' + self.release = '1.9.0' self.base_url = 'http://underscorejs.org' + self.links = { + home: 'http://underscorejs.org', + code: 'https://github.com/jashkenas/underscore' + } html_filters.push 'underscore/clean_html', 'underscore/entries', 'title' @@ -13,7 +17,7 @@ module Docs options[:skip_links] = true options[:attribution] = <<-HTML - © 2009–2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ © 2009–2017 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
Licensed under the MIT License. HTML end