Commits

Gary Chambers  committed 7806750

Added support for iterating over static properties on functions.

  • Participants
  • Parent commits bca4f10

Comments (0)

Files changed (1)

File src/core/iter.js

 
 		try
 		{
-			if(Jazz.obj.isType(iter, "Object"))
+			if(Jazz.obj.isType(iter, "Object") || Jazz.obj.isType(iter, "Function"))
 			{
 				// Object.keys exposes the internal
 				// key index, and iteration over this