diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index d7498674..bef9086e 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -371,7 +371,7 @@ credits = [ 'https://modernizr.com/license/' ], [ 'Moment.js', - '2011-2016 Tim Wood, Iskren Chernev, Moment.js contributors', + 'JS Foundation and other contributors', 'MIT', 'https://raw.githubusercontent.com/moment/moment/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/moment.rb b/lib/docs/scrapers/moment.rb index befe313c..713b1cfc 100644 --- a/lib/docs/scrapers/moment.rb +++ b/lib/docs/scrapers/moment.rb @@ -3,10 +3,14 @@ module Docs self.name = 'Moment.js' self.slug = 'moment' self.type = 'moment' - self.release = '2.17.0' + self.release = '2.18.1' self.base_url = 'http://momentjs.com' self.root_path = '/docs/' self.initial_paths = %w(/guides/) + self.links = { + home: 'http://momentjs.com/', + code: 'https://github.com/moment/moment/' + } html_filters.push 'moment/clean_html', 'moment/entries', 'title' @@ -15,7 +19,7 @@ module Docs options[:skip_links] = true options[:attribution] = <<-HTML - © 2011–2016 Tim Wood, Iskren Chernev, Moment.js contributors
+ © JS Foundation and other contributors
Licensed under the MIT License. HTML end