Type parameter is optional

This commit is contained in:
nathangray 2020-01-23 03:17:21 -07:00 committed by Hadi Nategh
parent 43a9100c91
commit 605a587bca

View File

@ -463,7 +463,7 @@ Comment this out (for now)
* @param _type is an optional parameter which specifies a class/interface * @param _type is an optional parameter which specifies a class/interface
* the elements have to be instanceOf. * the elements have to be instanceOf.
*/ */
iterateOver(_callback, _context, _type) iterateOver(_callback, _context, _type?)
{ {
if (typeof _type == "undefined") { if (typeof _type == "undefined") {
_type = et2_widget; _type = et2_widget;