Jdlrobson has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/374842 )
Change subject: Hygiene: Use ES5 methods ...................................................................... Hygiene: Use ES5 methods * Use Array.isArray instead of $.isArray Change-Id: I62a98af2dca1ff7fd3c5b9defad7882d9ccdba50 --- M resources/mobile.startup/PageGateway.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/42/374842/1 diff --git a/resources/mobile.startup/PageGateway.js b/resources/mobile.startup/PageGateway.js index 178c9bd..bd45075 100644 --- a/resources/mobile.startup/PageGateway.js +++ b/resources/mobile.startup/PageGateway.js @@ -143,7 +143,7 @@ // no protection level. When an array this means there is no protection level set. // So to keep the data type consistent either use the predefined protection level, or // extend it with what is returned by API. - protection = $.isArray( mv.protection ) ? protection : $.extend( protection, mv.protection ); + protection = Array.isArray( mv.protection ) ? protection : $.extend( protection, mv.protection ); resolveObj = { title: title, id: mv.id, -- To view, visit https://gerrit.wikimedia.org/r/374842 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I62a98af2dca1ff7fd3c5b9defad7882d9ccdba50 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits