Unified · Split
| @@ -2,8 +2,12 @@ module Docs · 1 unmodified line | |||
| 2 | class Requirejs < UrlScraper | 2 | class Requirejs < UrlScraper |
| 3 | self.name = 'RequireJS' | 3 | self.name = 'RequireJS' |
| 4 | self.type = 'requirejs' | 4 | self.type = 'requirejs' |
| 5 | self.version = '2.1.15' | 5 | self.version = '2.1.18' |
| 6 | self.base_url = 'http://requirejs.org/docs/' | 6 | self.base_url = 'http://requirejs.org/docs/' |
| 7 | self.links = { | ||
| 8 | home: 'http://requirejs.org/', | ||
| 9 | code: 'https://github.com/jrburke/requirejs' | ||
| 10 | } | ||
| 7 | self.root_path = 'api.html' | 11 | self.root_path = 'api.html' |
| 8 | self.initial_paths = %w( | 12 | self.initial_paths = %w( |
| 9 | optimization.html | 13 | optimization.html |
| @@ -22,7 +26,7 @@ module Docs · 12 unmodified lines | |||
| 22 | options[:only] = self.initial_paths | 26 | options[:only] = self.initial_paths |
| 23 | 27 | ||
| 24 | options[:attribution] = <<-HTML | 28 | options[:attribution] = <<-HTML |
| 25 | © 2010–2014 The Dojo Foundation<br> | 29 | © 2010–2015 The Dojo Foundation<br> |
| 26 | Licensed under the MIT License. | 30 | Licensed under the MIT License. |
| 27 | HTML | 31 | HTML |
| 28 | end | 32 | end |