MarkTraceur has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/54512


Change subject: Use a generic handler class to centralize docs
......................................................................

Use a generic handler class to centralize docs

Change-Id: Ic79793bfd7af1abff7f1d939d742fe64beb1aa9a
---
M js/doc.basicTypes.js
M js/lib/ext.core.AttributeExpander.js
2 files changed, 13 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/12/54512/1

diff --git a/js/doc.basicTypes.js b/js/doc.basicTypes.js
index ad10e57..a5b1b8c 100644
--- a/js/doc.basicTypes.js
+++ b/js/doc.basicTypes.js
@@ -50,3 +50,15 @@
  * A Request object for the express application. [See the express 
documentation for more](http://expressjs.com/api.html#req.params).
  */
 
+/**
+ * @class TokenStreamHandler
+ *
+ * A generic token stream handler, for handling tokens after they've been 
passed
+ * into some token manager.
+ *
+ * @constructor
+ * @param {TokenTransformManager} manager
+ * @param {Object} options
+ *
+ * @property {number} rank Specifies where in the queue this handler should go.
+ */
diff --git a/js/lib/ext.core.AttributeExpander.js 
b/js/lib/ext.core.AttributeExpander.js
index f091a82..3fd28cc 100644
--- a/js/lib/ext.core.AttributeExpander.js
+++ b/js/lib/ext.core.AttributeExpander.js
@@ -14,12 +14,9 @@
 
 /**
  * @class
+ * @extends TokenStreamHandler
  *
  * Generic attribute expansion handler.
- *
- * @constructor
- * @param {Object} manager The manager for this stage of the parse.
- * @param {Object} options Any options for the expander.
  */
 function AttributeExpander ( manager, options ) {
        this.manager = manager;

-- 
To view, visit https://gerrit.wikimedia.org/r/54512
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic79793bfd7af1abff7f1d939d742fe64beb1aa9a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to