mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 08:50:07 +00:00
Cleanup: Fixed some comments, formatting, removed dead code
* No change in functionality or parser test results. Change-Id: I66a7b1f2a1618d0809d6783156fcc6bc89b44885
This commit is contained in:
parent
3c88b3109b
commit
e3d8c0c4e6
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue