aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2018-01-07 11:22:53 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2018-01-07 11:22:53 +0100
commit458e633bc40e1dc1dd2547fe1cc77677599c26d5 (patch)
treeb1c10e02d65a1a364580c5b791acf210f3e4a62a /src
parentb70079fbfa73dff4a3d94de1aa3d8b804fc9520b (diff)
downloadpandoc-458e633bc40e1dc1dd2547fe1cc77677599c26d5.tar.gz
data/pandoc.lua: make all types subtypes of AstElement
*Pandoc*, *Meta*, and *Citation* were just plain functions and did not set a metatable on the returned value, which made it difficult to amend objects of these types with new behavior. They are now subtypes of AstElement, meaning that all their objects can gain new features when a method is added to the behavior object (e.g., `pandoc.Pandoc.behavior`).
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions