jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Complete jsdoc for application.js
......................................................................


Hygiene: Complete jsdoc for application.js

Change-Id: Icffcc0878e5ad905ded9438ce253b2d07fe1ed34
---
M javascripts/application.js
1 file changed, 17 insertions(+), 1 deletion(-)

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



diff --git a/javascripts/application.js b/javascripts/application.js
index 13fcdbe..7d59a83 100644
--- a/javascripts/application.js
+++ b/javascripts/application.js
@@ -180,6 +180,14 @@
 
                // when rotating to landscape stop page zooming on ios
                // allow disabling of transitions in android ics 4.0.2
+
+               /**
+                * Locks viewport and enables position fixed for Android 2
+                * Works around iPhone 4 and 5 bugs with the viewport.
+                *
+                * @method
+                * @ignore
+                */
                function fixBrowserBugs() {
                        // see http://adactio.com/journal/4470/ (fixed in ios 6)
                        if ( $viewportMeta[0] && ( isIPhone4 || isIPhone5 ) ) {
@@ -295,11 +303,12 @@
                return sessionId;
        }
 
-       /*
+       /**
         * Takes a Query string and turns it into a JavaScript object mapping 
parameter names
         * to values. Does the opposite of $.param
         *
         * @method
+        * @ignore
         * @param {String} qs A querystring excluding the ? prefix. e.g. 
foo=4&bar=5
         * @return {Object}
         */
@@ -350,6 +359,13 @@
                }
        }
 
+       /**
+        * Constructs an incomplete Page object representing the currently 
loaded page.
+        *
+        * @method
+        * @private
+        * @ignore
+        */
        function loadCurrentPage() {
                var permissions = mw.config.get( 'wgRestrictionEdit', [] );
                if ( permissions.length === 0 ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/177884
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icffcc0878e5ad905ded9438ce253b2d07fe1ed34
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Awjrichards <[email protected]>
Gerrit-Reviewer: Bmansurov <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to