AndyRussG has uploaded a new change for review.
https://gerrit.wikimedia.org/r/243604
Change subject: ext.centralNotice.display: public getData() -> getDataProperty()
......................................................................
ext.centralNotice.display: public getData() -> getDataProperty()
Renames the public getData() method, since it's easily confused with the method
with the same name on the state object.
Change-Id: I3e16414a82cdd4e22f8b418bfabd024c70e455d5
---
M resources/subscribing/ext.centralNotice.display.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice
refs/changes/04/243604/1
diff --git a/resources/subscribing/ext.centralNotice.display.js
b/resources/subscribing/ext.centralNotice.display.js
index dd5dddb..d709dfd 100644
--- a/resources/subscribing/ext.centralNotice.display.js
+++ b/resources/subscribing/ext.centralNotice.display.js
@@ -530,7 +530,7 @@
* Get the value of a property used in campaign/banner
selection and
* display, and for recording the results of that process.
*/
- getData: function( prop ) {
+ getDataProperty: function( prop ) {
return cn.internal.state.getData()[prop];
}
};
--
To view, visit https://gerrit.wikimedia.org/r/243604
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e16414a82cdd4e22f8b418bfabd024c70e455d5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: AndyRussG <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits