Created
October 17, 2015 13:55
-
-
Save samueleresca/d3412eb0d2a0007d36fc 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
//Main config file: http://requirejs.org/docs/api.html#config-baseUrl | |
require.config({ | |
//Define 3rd party plugins dependencies | |
paths: { | |
hammer: "external/hammer.min" | |
} | |
}); | |
//Main module | |
require(["module-one", "module-two", "module-three"], function () { | |
console.log("Main: loaded"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment