Update Backbone.js documentation (1.2.2)

pull/241/merge
Thibaut 10 years ago
parent 480c39a949
commit afffbf3a60

@ -30,8 +30,8 @@ module Docs
name = node.at_css('.header').content.split.first name = node.at_css('.header').content.split.first
# Underscore methods # Underscore methods
if name == 'Underscore' if name.start_with?('Underscore')
node.next_element.css('li').each do |li| node.at_css('~ ul').css('li').each do |li|
name = [type.downcase, li.at_css('a').content.split.first].join('.') name = [type.downcase, li.at_css('a').content.split.first].join('.')
id = name.parameterize id = name.parameterize
li['id'] = id li['id'] = id

@ -3,7 +3,7 @@ module Docs
self.name = 'Backbone.js' self.name = 'Backbone.js'
self.slug = 'backbone' self.slug = 'backbone'
self.type = 'underscore' self.type = 'underscore'
self.version = '1.2.1' self.version = '1.2.2'
self.base_url = 'http://backbonejs.org' self.base_url = 'http://backbonejs.org'
self.links = { self.links = {
home: 'http://backbonejs.org/', home: 'http://backbonejs.org/',

Loading…
Cancel
Save