DataTables/ColVis — pull request #21 by chirkin (2013-10-25 11:54:26+00:00)
Title: AMD support

DataTables have AMD support. ColVis need it to, because RequireJS optimizer can't properly build it together.
You can read about this at: https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0#wiki-shim

Pay attention to this:
Important caveat for "shim" config:
Only use other "shim" modules as dependencies for shimmed scripts, or AMD libraries that have no dependencies and call define() after they also create a global (like jQuery or lodash). Otherwise, if you use an AMD module as a dependency for a shim config module, after a build, that AMD module may not be evaluated until after the shimmed code in the build executes, and an error will occur. The ultimate fix is to upgrade all the shimmed code to have optional AMD define() calls.