浏览代码

Update Knockout documentation (3.4.0)

Thibaut 10 年之前
父节点
当前提交
6af19cb1d3
共有 2 个文件被更改,包括 7 次插入3 次删除
  1. 1 1
      assets/stylesheets/pages/_knockout.scss
  2. 6 2
      lib/docs/scrapers/knockout.rb

+ 1 - 1
assets/stylesheets/pages/_knockout.scss

@@ -2,5 +2,5 @@
   > h2 { @extend %block-heading; }
   > h3 { @extend %block-label, %label-blue; }
   p > code { @extend %label; }
-  .liveExample { @extend %note; }
+  .liveExample, blockquote { @extend %note; }
 }

+ 6 - 2
lib/docs/scrapers/knockout.rb

@@ -3,7 +3,7 @@ module Docs
     self.name = 'Knockout.js'
     self.slug = 'knockout'
     self.type = 'knockout'
-    self.version = '3.3.0'
+    self.version = '3.4.0'
     self.base_url = 'http://knockoutjs.com/documentation/'
     self.root_path = 'introduction.html'
 
@@ -15,8 +15,12 @@ module Docs
     options[:only] = %w(
       json-data.html
       extenders.html
+      deferred-updates.html
       unobtrusive-event-handling.html
-      fn.html)
+      microtasks.html
+      asynchronous-error-handling.html
+      fn.html
+      amd-loading.html)
 
     options[:only_patterns] = [
       /observable/i,