about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--chame/htmlparseriface.nim12
2 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 4171f8e2..4f0d2f18 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Note: only Nim 1.6.10+ is supported.
 * Passes all tokenizer and tree builder tests in html5lib-tests[^1]
 * Includes a minimal DOM implementation
 * No mandatory dependencies other than the Nim standard library
-* Optional character encoding support (see minidom_enc)
+* Optional character encoding support (see [minidom_cs](chame/minidom_cs.nim))
 * String interning support for tag and attribute names
 * Support for chunked parsing
 * document.write (no actual implementation here, but it's possible to implement
diff --git a/chame/htmlparseriface.nim b/chame/htmlparseriface.nim
index 2b41a586..e5d33c05 100644
--- a/chame/htmlparseriface.nim
+++ b/chame/htmlparseriface.nim
@@ -3,11 +3,11 @@ when defined(nimdocdummy):
   ##
   ## This exists to make implementing the DOMBuilder interface less painful. Two
   ## categories of hooks exist:
-  ## 1. Mandatory hooks: these must be implemented using static dispatch as procs.
-  ##    Not implementing any of them will result in a compilation error.
-  ## 2. Optional hooks: these may be omitted if your DOM does not need them. They
-  ##    are implemented using dynamic dispatch as methods, so we can provide
-  ##    a default implementation (that does nothing).
+  ## 1. Mandatory hooks: these must be implemented by all users, or Chame will
+  ##    not compile.
+  ## 2. Optional hooks: these may be omitted if your DOM does not need
+  ##    them. (You do not have to do anything special for this, just don't
+  ##    implement them.)
   ##
   ## Usage:
   ## 1. Put a type clause with your generic types in your DOM builder interface:
@@ -38,7 +38,7 @@ when defined(nimdocdummy):
   ## otherwise you are likely to get strange compilation errors.
   ##
   ## ## Optional hooks
-  ## Following methods are optional hooks; implementations of this interface
+  ## Following procedures are optional hooks; implementations of this interface
   ## can choose to leave them out without getting compilation errors.
   ##
   ## ```nim