News for hackers. Stuff that matters.
Re:Show HN: Play music by typing by chillingeffect on Sunday August 24, 2014 @01:20PM (#8219061)
This may be an easy question for others, but not for me- how does it load the app code? When I view the source, it only shows the loading of google analytics and require.js, but the console/Debugger shows 10 .js files?! Thanks.
Re:Show HN: Play music by typing by mkopinsky on Sunday August 24, 2014 @02:07PM (#8219187)

    <script data-main="js/app" src="js/require.js"></script>
That data-main attribute is a magic signal to require.js to load js/app.js. From there, app.js tells it what else to load.