MediaWiki:Gadget-realtimeExchange-core.js: Difference between revisions

no edit summary
(Created page with "→‎* * Adds realtime Grand Exchange prices on the wiki * * @author JaydenKieran: 'use strict'; var conf = mw.config.get( [ 'stylepath', 'wgTitle' ] ), itemId = null, self = { →‎* * Inital loading method: init: function () { var realtimeDiv = $('.realtimePrices'); realtimeDiv.each( function () { var $this = $( this ), itemId = $this.data('itemid'); var modalOpenBtn = new OO.ui.ButtonWidget( { flags: [ 'primary' ]...")
 
No edit summary
 
Line 41:
};
 
$(function(){mw.loader.using( ['mediawiki.mw.util', 'mediawiki.api', 'ext.gadget.rsw-mw.util'], self.init )});