mozilla/togetherjs — pull request #935 by pindexis (2013-12-10 10:00:19+00:00)
Title: check for undefined  before calling $.each

calling `$.each` with `undefined` as argument throws an exception, I've added a guard to check for it