Popular JavaScript Libraries AMD modularized for browsers only. Without any global window namespace pollution.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
thomasfr Merge pull request #3 from sastan/bootstrap-2.0.3
Add bootstrap 2.0.3 with separate package definitions
Latest commit 3425a9c Jul 3, 2012
Permalink
Failed to load latest commit information.
backbonejs/0.9.2 Added requirejs and simple example Mar 29, 2012
bootstrap added package like definition for bootstrap 2.0.3 Jun 11, 2012
handlebars/1.0.0.beta.6 Added requirejs and simple example Mar 29, 2012
jquery/1.7.2 Added jquery standalone, minor patched version, and requirejs unmodif… Apr 27, 2012
jqueryui/1.8.20 Add jQuery UI 1.8.20 converted to AMD. May 10, 2012
noty Version bump of underscore and jquery-require. Moved test page under … Apr 27, 2012
require-jquery Added jquery standalone, minor patched version, and requirejs unmodif… Apr 27, 2012
requirejs/1.0.8 Added jquery standalone, minor patched version, and requirejs unmodif… Apr 27, 2012
test Added jquery standalone, minor patched version, and requirejs unmodif… Apr 27, 2012
underscorejs Version bump of underscore and jquery-require. Moved test page under … Apr 27, 2012
.gitignore Initial commit of BUH Mar 26, 2012
LICENSE
README.md Added jquery standalone, minor patched version, and requirejs unmodif… Apr 27, 2012

README.md

About

Browser-only AMD versions of Backbone, Underscore, Bootstrap, noty and Handlebars. I deleted checks for 'exports', 'module', objects etc. Modules getting returned only - no global (window) namespace pollution.

Also require.js with jquery got patched, so jquery gets not added to the global window object. This could be problematic with jquery plugins and other scripts which are not AMD modules. It might be neccessary to wrap your jquery plugins and scripts with a 'define' call.

I have added a simple test (test/index.html) which loads all libraries and does a very very basic test of those.

require, require-jquery, jquery - WTF?

  • require: just requirejs standalone unmodified
  • jquery: jquery AMD browser only version, standalone
  • require-jquery: requirejs WITH jquery bundled in one file

LICENSE

See each library for license details.