Compatibility with Underscore 1.4 #270

zakjan opened this Issue Oct 5, 2012 · 1 comment


None yet

2 participants


When Layout.regions is not set (and eg. initialized dynamically in initialize method), Layout.constructor -> Layout.initializeRegions throws an error in _.each because of Underscore 1.4 doesn't handle undefined values as empty object.

Marionette.js member

thanks for noticing that! i had upgraded the test suite to underscore v1.4.1 already, but didn't have a test in place to check a layout that didn't have a regions defined on it. fixed and in the dev branch now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment