You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/04/04 11:58:39 UTC
svn commit: r1828325 - in
/myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl:
_util/_ListenerQueue.js xhrCore/_AjaxRequestLevel2.js
xhrCore/_IFrameRequest.js
Author: lofwyr
Date: Wed Apr 4 11:58:39 2018
New Revision: 1828325
URL: http://svn.apache.org/viewvc?rev=1828325&view=rev
Log:
MYFACES-4219: JavaScript: method parameter should not be named as "arguments"
Modified:
myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js
myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js
myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js
Modified: myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js?rev=1828325&r1=1828324&r2=1828325&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js (original)
+++ myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js Wed Apr 4 11:58:39 2018
@@ -68,10 +68,10 @@ _MF_CLS(_PFX_UTIL+"_ListenerQueue", myfa
/**
* generic broadcast with a number of arguments being passed down
- * @param {Object} argument the arguments passed down which are broadcast
+ * @param {Object} args the arguments passed down which are broadcast
*/
- broadcastEvent : function(argument) {
- var _args = myfaces._impl._util._Lang.objToArray(arguments);
+ broadcastEvent : function(args) {
+ var _args = myfaces._impl._util._Lang.objToArray(arguments); // XXX arguments vs. args?
var broadCastFunc = function(element) {
element.apply(null, _args);
Modified: myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js?rev=1828325&r1=1828324&r2=1828325&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js (original)
+++ myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js Wed Apr 4 11:58:39 2018
@@ -23,8 +23,8 @@ _MF_CLS(_PFX_XHR + "_MultipartAjaxReques
_sourceForm:null,
- constructor_:function (arguments) {
- this._callSuper("constructor_", arguments);
+ constructor_:function (args) {
+ this._callSuper("constructor_", args);
//TODO xhr level2 can deal with real props
},
@@ -72,8 +72,8 @@ _MF_CLS(_PFX_XHR + "_AjaxRequestLevel2",
_sourceForm:null,
- constructor_:function (arguments) {
- this._callSuper("constructor_", arguments);
+ constructor_:function (args) {
+ this._callSuper("constructor_", args);
//TODO xhr level2 can deal with real props
},
Modified: myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js?rev=1828325&r1=1828324&r2=1828325&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js (original)
+++ myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js Wed Apr 4 11:58:39 2018
@@ -41,8 +41,8 @@ _MF_CLS(_PFX_XHR+"_IFrameRequest", myfac
MF_PART_FACES_REQUEST: "javax.faces.request",
- constructor_: function(arguments) {
- this._callSuper("constructor_", arguments);
+ constructor_: function(args) {
+ this._callSuper("constructor_", args);
},
getFormData: function() {