Cscott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60849
Change subject: Fix jshint warnings in ext.cite.taghook. Is this module used
anywhere?
......................................................................
Fix jshint warnings in ext.cite.taghook. Is this module used anywhere?
Change-Id: I8e8db9de6befbf340bd7d7366bc2e63f6d6ebe10
---
M js/lib/ext.cite.taghook.ref.js
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/49/60849/1
diff --git a/js/lib/ext.cite.taghook.ref.js b/js/lib/ext.cite.taghook.ref.js
index c359597..d82023e 100644
--- a/js/lib/ext.cite.taghook.ref.js
+++ b/js/lib/ext.cite.taghook.ref.js
@@ -9,8 +9,9 @@
*
* Pretty neat huh!
*/
+// XXX CSA: is this module used anywhere?
-MWRefTagHook = function( env ) {
+var MWRefTagHook = function( env ) {
if (!('cite' in env)) {
env.cite = {
refGroups: {}
@@ -95,7 +96,7 @@
};
};
-MWReferencesTagHook = function( env ) {
+var MWReferencesTagHook = function( env ) {
if (!('cite' in env)) {
env.cite = {
refGroups: {}
@@ -166,4 +167,5 @@
if (typeof module === "object") {
module.exports.MWRefTagHook = MWRefTagHook;
+ module.exports.MWReferencesTagHook = MWReferencesTagHook;
}
--
To view, visit https://gerrit.wikimedia.org/r/60849
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e8db9de6befbf340bd7d7366bc2e63f6d6ebe10
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits