History

Update Knockout.js documentation (3.1.0)

Thibaut committed 12 years ago

Commit d8d13a21 parent ecdc9c82 files · +3 −3Browse files

Unified · Split

2 files
  1. lib/docs/filters/knockout/entries.rb +2 −1
  2. lib/docs/scrapers/knockout.rb +1 −2
lib/docs/filters/knockout/entries.rb+2−1
@@ -9,7 +9,8 @@ module Docs · 8 unmodified lines
9 'json-data' => 'JSON data',9 'json-data' => 'JSON data',
10 'extenders' => 'Extending observables',10 'extenders' => 'Extending observables',
11 'unobtrusive-event-handling' => 'Event handling',11 'unobtrusive-event-handling' => 'Event handling',
12 'fn' => 'Custom functions' }12 'fn' => 'Custom functions',
13 'ratelimit-observable' => 'rateLimit extender' }
13 14
14 def get_name15 def get_name
15 return NAME_BY_SLUG[slug] if NAME_BY_SLUG.has_key?(slug)16 return NAME_BY_SLUG[slug] if NAME_BY_SLUG.has_key?(slug)
lib/docs/scrapers/knockout.rb+1−2
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
3 self.name = 'Knockout.js'3 self.name = 'Knockout.js'
4 self.slug = 'knockout'4 self.slug = 'knockout'
5 self.type = 'knockout'5 self.type = 'knockout'
6 self.version = '3.0.0'6 self.version = '3.1.0'
7 self.base_url = 'http://knockoutjs.com/documentation/'7 self.base_url = 'http://knockoutjs.com/documentation/'
8 self.root_path = 'introduction.html'8 self.root_path = 'introduction.html'
9 9
@@ -15,7 +15,6 @@ module Docs · 5 unmodified lines
15 options[:only] = %w(15 options[:only] = %w(
16 json-data.html16 json-data.html
17 extenders.html17 extenders.html
18 throttle-extender.html
19 unobtrusive-event-handling.html18 unobtrusive-event-handling.html
20 fn.html)19 fn.html)
21 20