jenkins-bot has submitted this change and it was merged. ( 
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(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/mobile.startup/PageGateway.js 
b/resources/mobile.startup/PageGateway.js
index 52c047d..459038d 100644
--- a/resources/mobile.startup/PageGateway.js
+++ b/resources/mobile.startup/PageGateway.js
@@ -148,7 +148,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: merged
Gerrit-Change-Id: I62a98af2dca1ff7fd3c5b9defad7882d9ccdba50
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Pmiazga <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to