myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1828324 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js
Date Wed, 04 Apr 2018 11:50:16 GMT
Author: lofwyr
Date: Wed Apr  4 11:50:16 2018
New Revision: 1828324

URL: http://svn.apache.org/viewvc?rev=1828324&view=rev
Log:
MYFACES-4219: JavaScript: method parameter should not be named as "arguments"

Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js?rev=1828324&r1=1828323&r2=1828324&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js
(original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js
Wed Apr  4 11:50:16 2018
@@ -42,19 +42,19 @@ _MF_CLS(_PFX_XHR + "engine.IFrame", myfa
              * constructor which shifts the arguments
              * to the protected properties of this clas
              *
-             * @param arguments
+             * @param args
              */
-            constructor_: function (arguments) {
+            constructor_: function (args) {
                 //we fetch in the standard arguments
 
-                this._callSuper("constructor", arguments);
+                this._callSuper("constructor", args);
 
                 this._initDefaultFinalizableFields();
                 //this._requestHeader = {};
 
                 this._XHRConst = myfaces._impl.xhrCore.engine.XhrConst;
 
-                this._Lang.applyArgs(this, arguments);
+                this._Lang.applyArgs(this, args);
                 this.readyState = this._XHRConst.READY_STATE_UNSENT;
                 this._startTimeout();
             },



Mime
View raw message