Unified · Split
| @@ -210,7 +210,7 @@ credits = [ · 209 unmodified lines | ||
| 210 | 210 | 'https://raw.githubusercontent.com/docker/docker/master/LICENSE' |
| 211 | 211 | ], [ |
| 212 | 212 | 'Dojo', |
| 213 | − '2005-2015 The Dojo Foundation', | |
| 213 | + '2005-2017 JS Foundation', | |
| 214 | 214 | 'BSD + AFL', |
| 215 | 215 | 'http://dojotoolkit.org/license.html' |
| 216 | 216 | ], [ |
| @@ -1,14 +0,0 @@ | ||
| 1 | −#= require views/pages/base | |
| 2 | − | |
| 3 | −class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage | |
| 4 | − prepare: -> | |
| 5 | − for el in @findAllByTag('pre') | |
| 6 | − language = if el.textContent.match(/^\s*</) | |
| 7 | − 'markup' | |
| 8 | − else | |
| 9 | − 'javascript' | |
| 10 | − @highlightCode el, language | |
| 11 | − return | |
| 12 | − | |
| 13 | −app.views.DojoPage = | |
| 14 | −app.views.JavascriptWithMarkupCheckPage | |
| @@ -21,6 +21,7 @@ app.views.CordovaPage = · 20 unmodified lines | ||
| 21 | 21 | app.views.CrystalPage = |
| 22 | 22 | app.views.D3Page = |
| 23 | 23 | app.views.DockerPage = |
| 24 | +app.views.DojoPage = | |
| 24 | 25 | app.views.DrupalPage = |
| 25 | 26 | app.views.ElectronPage = |
| 26 | 27 | app.views.ElixirPage = |
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | ._dojo { |
| 2 | 2 | @extend %simple; |
| 3 | 3 | |
| 4 | − .functionIcon, .parameters { @extend %code; } | |
| 5 | 4 | .jsdoc-inheritance { color: $textColorLight; } |
| 6 | 5 | } |
| @@ -39,6 +39,21 @@ module Docs · 38 unmodified lines | ||
| 39 | 39 | node.replace(node.content) |
| 40 | 40 | end |
| 41 | 41 | |
| 42 | + css('.functionIcon', '.parameters').each do |node| | |
| 43 | + node.name = 'code' | |
| 44 | + node.content = node.content.strip | |
| 45 | + end | |
| 46 | + | |
| 47 | + css('pre').each do |node| | |
| 48 | + node['data-language'] = node.content =~ /\A\s*</ ? 'markup' : 'javascript' | |
| 49 | + end | |
| 50 | + | |
| 51 | + css('.jsdoc-function-information', '.jsdoc-examples', '.jsdoc-example', 'span').each do |node| | |
| 52 | + node.before(node.children).remove | |
| 53 | + end | |
| 54 | + | |
| 55 | + css('table', 'a', 'h2', 'h3', 'td', 'strong').remove_attr('class') | |
| 56 | + | |
| 42 | 57 | doc |
| 43 | 58 | end |
| 44 | 59 | end |
| @@ -25,7 +25,7 @@ module Docs · 24 unmodified lines | ||
| 25 | 25 | options[:skip_patterns] = [/dijit/, /dojox/] |
| 26 | 26 | |
| 27 | 27 | options[:attribution] = <<-HTML |
| 28 | − © 2005–2015 The Dojo Foundation<br> | |
| 28 | + © 2005–2017 JS Foundation<br> | |
| 29 | 29 | Licensed under the AFL 2.1 and BSD 3-Clause licenses. |
| 30 | 30 | HTML |
| 31 | 31 | |