Unified · Split
| @@ -44,7 +44,7 @@ module Docs · 43 unmodified lines | ||
| 44 | 44 | next if name.blank? |
| 45 | 45 | sep = node.content.include?('static') ? '.' : '#' |
| 46 | 46 | name.prepend(self.name + sep) |
| 47 | − name << '()' if node.css('.propType').last.content.start_with?('(') | |
| 47 | + name << '()' if (n = node.css('.propType').last) && n.content.start_with?('(') | |
| 48 | 48 | id = node.at_css('.anchor')['name'] |
| 49 | 49 | entries << [name, id] |
| 50 | 50 | end |
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | self.name = 'React Native' |
| 4 | 4 | self.slug = 'react_native' |
| 5 | 5 | self.type = 'react' |
| 6 | − self.version = '0.14.1' | |
| 6 | + self.version = '0.16' | |
| 7 | 7 | self.base_url = 'https://facebook.github.io/react-native/docs/' |
| 8 | 8 | self.root_path = 'getting-started.html' |
| 9 | 9 | self.links = { |