From e3d8c0c4e6d1d9547964b95f1a259be3c5144231 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Thu, 25 Apr 2013 16:10:33 +0530 Subject: [PATCH] Cleanup: Fixed some comments, formatting, removed dead code * No change in functionality or parser test results. Change-Id: I66a7b1f2a1618d0809d6783156fcc6bc89b44885 --- js/lib/ext.Cite.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/js/lib/ext.Cite.js b/js/lib/ext.Cite.js index 696a22e06..174cf41d0 100644 --- a/js/lib/ext.Cite.js +++ b/js/lib/ext.Cite.js @@ -256,12 +256,10 @@ References.prototype.handleReferences = function ( manager, pipelineOpts, refsTo group = null; } - // Re-emit a references placeholder token - // to be processed in post-expansion Sync phase + // Emit a placeholder meta for the references token + // so that the dom post processor can generate and + // emit references at this point in the DOM. var emitPlaceholderMeta = function() { - // Emit a placeholder meta for the references token - // so that the dom post processor can generate and - // emit references at this point in the DOM. var placeHolder = new SelfclosingTagTk('meta', refsTok.attribs, refsTok.dataAttribs); placeHolder.setAttribute('typeof', 'mw:Ext/References'); placeHolder.setAttribute('about', '#' + manager.env.newObjectId());