Unified · Split
| @@ -686,6 +686,11 @@ credits = [ · 685 unmodified lines | ||
| 686 | 686 | '2013-present Facebook Inc.', |
| 687 | 687 | 'MIT', |
| 688 | 688 | 'https://raw.githubusercontent.com/facebook/react/master/LICENSE' |
| 689 | + ], [ | |
| 690 | + 'React Bootstrap', | |
| 691 | + '2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff', | |
| 692 | + 'MIT', | |
| 693 | + 'https://raw.githubusercontent.com/react-bootstrap/react-bootstrap/master/LICENSE' | |
| 689 | 694 | ], [ |
| 690 | 695 | 'ReactiveX', |
| 691 | 696 | 'ReactiveX contributors', |
| @@ -5,10 +5,12 @@ module Docs · 4 unmodified lines | ||
| 5 | 5 | css('.flex-column.d-flex').remove |
| 6 | 6 | css('header').remove |
| 7 | 7 | css('.bs-example').remove |
| 8 | − css('.position-relative').each do |node| | |
| 9 | − code = node.at_css('textarea') | |
| 10 | − code.name = 'pre' | |
| 11 | − code['style'] = code['style'] + '; border: solid 1px;' | |
| 8 | + | |
| 9 | + css('.position-relative pre').each do |node| | |
| 10 | + # node.content = node.content | |
| 11 | + node.remove_attribute('style') | |
| 12 | + node['data-language'] = 'jsx' | |
| 13 | + node.parent.replace(node) | |
| 12 | 14 | end |
| 13 | 15 | doc |
| 14 | 16 | end |