UMD for your new packages

48 views
Skip to first unread message

Ryan Ramage

unread,
Jun 24, 2012, 5:22:23 PM6/24/12
to ja...@googlegroups.com
Hi all,

I know that jam is the place for focusing on browser specific packages. But if you are looking to make your js run in all the places, you might want to use one of the umd templates.

My favoriate currently is :

It wraps your code so that it will run as a browser global (boo), in commonjs and in an amd environment. There are other patterns in that repo, but just making you aware of some ways to package your js to run everywhere.

Ryan

Caolan McMahon

unread,
Jun 25, 2012, 12:26:27 AM6/25/12
to ja...@googlegroups.com
Looks like a useful pattern, thanks for sharing the link.
Reply all
Reply to author
Forward
0 new messages