Просмотр исходного кода

Update Require.js documentation (2.2.0)

Thibaut Courouble 9 лет назад
Родитель
Сommit
c61e998bfb

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

@@ -376,9 +376,9 @@ credits = [
     'https://creativecommons.org/licenses/by-sa/4.0/'
   ], [
     'RequireJS',
-    '2010-2014 The Dojo Foundation',
+    'jQuery Foundation and other contributors',
     'MIT',
-    'https://raw.githubusercontent.com/jrburke/requirejs/master/LICENSE'
+    'https://raw.githubusercontent.com/requirejs/requirejs/master/LICENSE'
   ], [
     'RethinkDB',
     'RethinkDB contributors',

+ 4 - 4
lib/docs/scrapers/requirejs.rb

@@ -2,10 +2,10 @@ module Docs
   class Requirejs < UrlScraper
     self.name = 'RequireJS'
     self.type = 'requirejs'
-    self.release = '2.1.22'
-    self.base_url = 'http://requirejs.org/docs/'
+    self.release = '2.2.0'
+    self.base_url = 'https://requirejs.org/docs/'
     self.links = {
-      home: 'http://requirejs.org/',
+      home: 'https://requirejs.org/',
       code: 'https://github.com/jrburke/requirejs'
     }
     self.root_path = 'api.html'
@@ -26,7 +26,7 @@ module Docs
     options[:only] = self.initial_paths
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2015 The Dojo Foundation<br>
+      &copy; jQuery Foundation and other contributors<br>
       Licensed under the MIT License.
     HTML
   end