Created
December 18, 2014 18:41
-
-
Save devdays/ea70db9df974ee07ae0a to your computer and use it in GitHub Desktop.
SPA - Require Config & template
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.config({ | |
paths: { | |
// "jquery": "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min", | |
"jquery": "../../Scripts/jquery-2.0.3", | |
"_": "../../Scripts/lodash", | |
} | |
}); | |
require(['../modules/template'], function (template) { | |
template.showName("Jack"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment