I\'m using require.js (http://requirejs.org/) for a number of functions on my site and so far it seems to be working well. I\'ve run into an issue when trying to include Google
Here we go:
define([ 'http://www.google-analytics.com/ga.js' ], function ( ga ) { ga = { q: [['create', 'UA-18710277-1', 'jspm.io'], ['send', 'pageview']], l: Date.now() }; });
That's the module I am currently using, hat tip to @user2305274