reaktor/jquery-continuous-calendar — pull request #43 by tkareine (2012-08-13 11:12:58+00:00)
Title: Add optional AMD support

Applied [UMD](https://github.com/umdjs/umd) pattern to Date* libraries and the plugin itself. Now, when loading the calendar plugin with an AMD loader, such as [RequireJS](http://requirejs.org/), we avoid polluting the global window object. In addition, Date* libraries can be loaded individually:

```javascript
define(['DateTime'], function(DateTime) {
// use DateTime in user code
})
```

When not using an AMD loader, we inject Date* libraries into the global window object as before.

A benefit of applying the UMD pattern is that the dependencies of each module and changes to the global window object are explicit.