Kaldari has submitted this change and it was merged.

Change subject: Hygiene: Just some comment fixes and additions to 
WikiGrokResponseApi
......................................................................


Hygiene: Just some comment fixes and additions to WikiGrokResponseApi

Change-Id: I2d814e37f012d29b14a8372a760f1a8d8ca7dd32
---
M javascripts/modules/wikigrok/WikiGrokResponseApi.js
1 file changed, 9 insertions(+), 6 deletions(-)

Approvals:
  Kaldari: Verified; Looks good to me, approved



diff --git a/javascripts/modules/wikigrok/WikiGrokResponseApi.js 
b/javascripts/modules/wikigrok/WikiGrokResponseApi.js
index e9ac5eb..16618b3 100644
--- a/javascripts/modules/wikigrok/WikiGrokResponseApi.js
+++ b/javascripts/modules/wikigrok/WikiGrokResponseApi.js
@@ -4,25 +4,28 @@
                Api = M.require( 'api' ).Api;
 
        /**
-        * Record claims to the WikiGrok api
+        * Record claims to the WikiGrok API
         * @class WikiGrokApi
         */
        WikiGrokResponseApi = Api.extend( {
-
+               /**
+                * Initialize with default values
+                * @method
+                */
                initialize: function ( options ) {
                        this.subjectId = options.itemId;
                        this.subject = options.subject;
                        this.userToken = options.userToken;
                        this.taskToken = options.taskToken;
                        this.taskType = 'version ' + options.version;
-                       this.testing = false;  // FIXME: TBD on what qualifies 
as a test
+                       this.testing = false;
                        Api.prototype.initialize.apply( this, arguments );
                },
                /**
-                * Saves claims to the wikigrok api server
+                * Saves claims to the wikigrok API server
                 * @method
-                * @param {Array} claims a list of claims. Each claim must have 
correct, prop, propid, value and valueid set
-                * @return {jQuery.Deferred}
+                * @param {Array} claims A list of claims. Each claim must have 
correct, prop, propid, value and valueid set
+                * @return {jQuery.Deferred} Object returned by ajax call
                 */
                recordClaims: function ( claims ) {
                        return this.postWithToken( 'edit', {

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

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

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

Reply via email to