-
-
Save jtrim/2407480 to your computer and use it in GitHub Desktop.
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
require [ | |
#data | |
'models/options' | |
'models/ui' | |
#thin models | |
'models/optionsOptions' | |
'models/optionsClubHead' | |
'models/optionsGrip' | |
'models/optionsShaft' | |
'models/optionsLengthWrap' | |
'models/uiConfigurations' | |
'models/uiPresentation' | |
#cross-model | |
'shared/getOptionIDs' | |
#views | |
'views/share' | |
'views/config' | |
'views/configClubHead' | |
'views/configShaft' | |
'views/configGrip' | |
'views/configLengthWrap' | |
'views/saveAdd' | |
'views/configViewCompare' | |
'views/views' | |
'views/selectedOptions' | |
'views/stage' | |
], -> | |
[options, ui, rest...] = arguments | |
$.when(options.singleton().deferred, ui.singleton().deferred).done -> | |
_.each arguments, (item) -> | |
if item.singleton then item.singleton() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment