Joined July 2013
·

Markus Hofmann

Rome, IT
·
·

Posted to RequireJS basic introduction over 1 year ago

You should ommit the .js in the script tag data-main attribute.

So the following:
<script data-main="js/main.js" src="js/vendor/require.js"></script>

becomes:
<script data-main="js/main" src="js/vendor/require.js"></script>

Posted to Dummy ProTip over 1 year ago

Be the next to comment.

Achievements
10 Karma
743 Total ProTip Views