Forráskód Böngészése

Update Require.js documentation (2.1.18)

Thibaut 10 éve
szülő
commit
6579ea00fc
1 módosított fájl, 6 hozzáadás és 2 törlés
  1. 6 2
      lib/docs/scrapers/requirejs.rb

+ 6 - 2
lib/docs/scrapers/requirejs.rb

@@ -2,8 +2,12 @@ module Docs
   class Requirejs < UrlScraper
     self.name = 'RequireJS'
     self.type = 'requirejs'
-    self.version = '2.1.15'
+    self.version = '2.1.18'
     self.base_url = 'http://requirejs.org/docs/'
+    self.links = {
+      home: 'http://requirejs.org/',
+      code: 'https://github.com/jrburke/requirejs'
+    }
     self.root_path = 'api.html'
     self.initial_paths = %w(
       optimization.html
@@ -22,7 +26,7 @@ module Docs
     options[:only] = self.initial_paths
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2014 The Dojo Foundation<br>
+      &copy; 2010&ndash;2015 The Dojo Foundation<br>
       Licensed under the MIT License.
     HTML
   end