Created
May 2, 2013 22:02
-
-
Save JoshuaRamirez/5505816 to your computer and use it in GitHub Desktop.
A nice way to use the same requirejs 'main' entry point file.
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
var screenName = $("html").data("screen"); | |
requirejs( | |
["ClientApp/Boosters/" + screenName + "App"], | |
function (application) { | |
$(document).ready(application.Boost); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment