瀏覽代碼

Update React documentation (0.14.6)

Thibaut 10 年之前
父節點
當前提交
808a6fb43a
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 2 2
      lib/docs/scrapers/react.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -331,7 +331,7 @@ credits = [
     'https://raw.githubusercontent.com/kriskowal/q/v1/LICENSE'
   ], [
     'React, React Native, Flow, Relay',
-    '2013-2015 Facebook Inc.',
+    '2013-2016 Facebook Inc.',
     'CC BY',
     'https://raw.githubusercontent.com/facebook/react/master/LICENSE-docs'
   ], [

+ 2 - 2
lib/docs/scrapers/react.rb

@@ -2,7 +2,7 @@ module Docs
   class React < UrlScraper
     self.name = 'React'
     self.type = 'react'
-    self.version = '0.14.2'
+    self.version = '0.14.6'
     self.base_url = 'https://facebook.github.io/react/'
     self.root_path = 'docs/getting-started.html'
     self.links = {
@@ -24,7 +24,7 @@ module Docs
       tips/introduction.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2013&ndash;2015 Facebook Inc.<br>
+      &copy; 2013&ndash;2016 Facebook Inc.<br>
       Licensed under the Creative Commons Attribution 4.0 International Public License.
     HTML
   end