Type parameter is optional

This commit is contained in:
nathangray 2020-01-23 03:17:21 -07:00
parent d14f94aaa7
commit 24d5b06ebb

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;