about summary refs log tree commit diff stats
path: root/chame/htmlparseriface.nim
diff options
context:
space:
mode:
Diffstat (limited to 'chame/htmlparseriface.nim')
-rw-r--r--chame/htmlparseriface.nim12
1 files changed, 6 insertions, 6 deletions
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