Cleanup: Fixed some comments, formatting, removed dead code

* No change in functionality or parser test results.

Change-Id: I66a7b1f2a1618d0809d6783156fcc6bc89b44885
This commit is contained in:
Subramanya Sastry 2013-04-25 16:10:33 +05:30
parent 3c88b3109b
commit e3d8c0c4e6

View file

@ -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());