[Pkg-javascript-commits] [ltx] 222/469: lib/index.js: doc

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 4d76671cee4f1d13a99527104ee636bf30642024
Author: Astro <astro at spaceboyz.net>
Date:   Tue Mar 20 02:19:57 2012 +0100

    lib/index.js: doc
---
 lib/index.js | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/lib/index.js b/lib/index.js
index cb29b28..0770a9e 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1,10 +1,22 @@
 var element = require('./element');
 var parse = require('./parse');
 
+/**
+ * The only (relevant) data structure
+ */
 exports.Element = element.Element;
+/**
+ * Helper
+ */
 exports.escapeXml = element.escapeXml;
 
-exports.Parser = parse.Parser;
+/**
+ * DOM parser interface
+ */
 exports.parse = parse.parse;
+/**
+ * SAX parser interface
+ */
+exports.Parser = parse.Parser;
 exports.availableSaxParsers = parse.availableSaxParsers;
 exports.bestSaxParser = parse.bestSaxParser;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list