umdjs / umd

UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
MIT License
7.42k stars 423 forks source link

Closes all bugs with jQuery. #70

Closed EvanCarroll closed 9 years ago

EvanCarroll commented 9 years ago

This includes adjohnsons916's patches too.

This implements my patch which closes #69 #68 #67 #23.

It implements adjohnson916 patch for #57

DataTables commented 9 years ago

if ( window ) {

That will throw an error if being used in a CommonJS environment that doesn't have a window will it not? if ( typeof 'window' !== 'undefined' ) should work though.

EvanCarroll commented 9 years ago

That's a good catch. :+1: