addyosmani/backbone-aura — pull request #45 by rudolfrck (2012-07-13 00:26:47+00:00)
Title: Improved DOM-lib switching

I've now removed the custom patches in Zepto and jQuery (vanilla all the way), and changed the shim/path config so it's still possible to load the DOM-library with require('dom').

There's a few caveats at this:
aura/lib/dom.js is just an empty file so requirejs won't complain about it.
The dom-library is now defined as a dependency for 'dom' in the shim-config, and not through the path-config as it was previously.

I also moved all config to it's own file, as it was duplicated code anyway. The only thing I couldn't find a good solution for right now, was how to not load the config.js file when using the built/optimized version.