Skip to content

Instantly share code, notes, and snippets.

@devdays

devdays/spa-app.js

Created Dec 18, 2014
Embed
What would you like to do?
SPA - Require Config & template
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