Created
February 21, 2012 21:25
-
-
Save tvpmb/1879062 to your computer and use it in GitHub Desktop.
Nested View Array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UploadModal = new Module.Views.LogoModal; | |
DeleteModal = new Module.Views.DeleteModal; | |
AddModal = new Module.Views.AddModal; | |
layout.view("#content", new Module.Views.Main({ | |
views: { | |
'#Modals' : [UploadModal, DeleteModal, AddModal] | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would be cool too, for append views to a selector: