Jdlrobson added a comment.
I just attempted this, but noticed there is no util.throttle? This seems to
block MobileFrontend removing this code.
$window
.on( 'resize', apply2(
util.debounce( 100, function () { eventBus.emit( 'resize' ); }
),
$.throttle( 200, function () { eventBus.emit(
'resize:throttled' ); } )
) )
.on( 'scroll', apply2(
util.debounce( 100, function () { eventBus.emit( 'scroll' ); }
),
$.throttle( 200, function () { eventBus.emit(
'scroll:throttled' ); } )
) );
TASK DETAIL
https://phabricator.wikimedia.org/T213426
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Jdlrobson
Cc: Woolvia, Esanders, Krinkle, Aklapper, gerritbot, Jdforrester-WMF,
Jdlrobson, Volker_E, Schnark, Rivaldid, Galobtter, Hook696, Adidsone1,
Tinzawoo533, Bouzinac, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild,
darthmon_wmde, Nabetaro, Masumrezarock100, abi_, Onmir, Meekrab2012,
joker88john, 94rain, DannyS712, CucyNoiD, Nandana, Lens0021, NebulousIris,
Tumzaaaa24, kostajh, MSantos, Gaboe420, Phukettaxigroup, Jony, Mh-3110,
Versusxo, Majesticalreaper22, Amorymeltzer, Giuliamocci, Adrian1985, Cpaulf30,
Lahi, Gq86, Af420, mojoaxel, Darkminds3113, Bsandipan, Lordiis, Looniverse,
GoranSMilovanovic, Adik2382, 45Jayjay1969, Jayprakash12345, Th3d3v1ls,
Ramalepe, Liugev6, QZanden, Orienteerix, enigmaeth, rohitt, EnricoCNC,
LawExplorer, Winter, WSH1906, Lewizho99, Ddproxy, Maathavan, _jensen, Jseddon,
rosalieper, JGirault, Taiwania_Justo, gabriel-wmde, phabyogi, DStrine, Dixtosa,
Trizek-WMF, GAllegre, Susannaanas, Izno, SBisson, MGChecker, ferdbold, lxbarth,
Planemad, Wikidata-bugs, Base, matthiasmullie, aude, AndyRussG, Pcoombe,
Dinoguy1000, Gryllida, jeblad, fbstj, Catrope, Fabrice_Florin, Yurik, Paladox,
Nikerabbit, KartikMistry, Isarra, Jackmcbarn, Mbch331, Jay8g, Legoktm
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs