From 2406800cd6c01206ea6ec30bdab2f7367d44ad00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bartelme=C3=9F?= Date: Sun, 8 Apr 2012 21:21:05 +0200 Subject: [PATCH] documentation on AttributeManager --- src/static/js/AttributeManager.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/static/js/AttributeManager.js b/src/static/js/AttributeManager.js index be7c0d1b7..2d523f6aa 100644 --- a/src/static/js/AttributeManager.js +++ b/src/static/js/AttributeManager.js @@ -17,6 +17,12 @@ var lineAttributes = [lineMarkerAttribute,'list']; @param rep the document representation to be used @param applyChangesetCallback this callback will be called once a changeset has been built. + + + A document representation contains + - an array `alines` containing 1 attributes string for each line + - an Attribute pool `apool` + - a SkipList `lines` containing the text lines of the document. */ var AttributeManager = function(rep, applyChangesetCallback)