Some sanity checks with event binding

This commit is contained in:
Robin Ward 2013-12-04 13:28:56 -05:00
parent 2a809d7855
commit 30a9d3676d

View File

@ -87,7 +87,7 @@
**/
scrolled: function() {
var childViews = this.get('childViews');
if (childViews.length === 0) { return; }
if ((!childViews) || (childViews.length === 0)) { return; }
var toUncloak = [],
$w = $(window),