Răsfoiți Sursa

Update Underscore.js documentation (1.9.0)

Thibaut Courouble 7 ani în urmă
părinte
comite
4eb71d5663

+ 1 - 1
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'
   ], [

+ 6 - 2
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
-      &copy; 2009&ndash;2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters &amp; Editors<br>
+      &copy; 2009&ndash;2017 Jeremy Ashkenas, DocumentCloud and Investigative Reporters &amp; Editors<br>
       Licensed under the MIT License.
     HTML
   end