Created
May 9, 2014 04:26
-
-
Save nessup/e1f763ff11d96f2c4694 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!doctype html> | |
<head> | |
<!-- ... --> | |
<script src="bower_components/x-gif/dist/platform.js"></script> | |
<!-- ... --> | |
</head> | |
<body> | |
<!-- ... --> | |
<!-- build:js scripts/main.js --> | |
<script data-main="scripts/main" src="bower_components/requirejs/require.js"></script> | |
<!-- endbuild --> | |
<!-- ... --> | |
</body> | |
</html> |
This file contains hidden or 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
/*global require*/ | |
'use strict'; | |
require.config({ | |
shim: { | |
// ... | |
}, | |
paths: { | |
jquery: '../bower_components/jquery/dist/jquery', | |
// ... | |
} | |
}); | |
require([ | |
// ... | |
'jquery', | |
// ... | |
], function(/* ... */) { | |
// ... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment