From: James Burke <jrbu...@gmail.com>
Date: Fri, 3 Aug 2012 11:17:33 -0700
Local: Fri, Aug 3 2012 2:17 pm
Subject: Re: [requirejs] Optimize module loading for multiple 'Applications'
On Fri, Aug 3, 2012 at 8:47 AM, Justin <justinb...@gmail.com> wrote:
If you wrap this in a require call for 'application', or whatever you
> With require.js 1.x we would do something like this to load all of our code > into application.js which would then get compressed into a single file: > require([
> application.js would then be loaded via the data-main attribute. Then when
> <script type="text/javascript">
use as the data-main module, then I expect it to work: <script type="text/javascript">
});
</script>
If you go that route, then you do not need the data-main. Although it
James
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||