Skip to content

Instantly share code, notes, and snippets.

@jensarps
Created October 1, 2011 12:00
Show Gist options
  • Save jensarps/1255939 to your computer and use it in GitHub Desktop.
Save jensarps/1255939 to your computer and use it in GitHub Desktop.
Including and configuring RequireJS
<script>
var require = {
baseUrl: 'src/', // all other paths are now relative to this one
paths: {
'implementations': 'platforms/unknown'
}
};
</script>
<script type="text/javascript" src="src/require.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment