dbushell/Pikaday — pull request #96 by hkjorgensen (2013-09-04 11:03:43+00:00)
Title: Use proper UMD-wrapper

Updated the UMD to use the proper UMD-Wrapper.
Passing window as root, doesn't add flexibility. The same with window.define.

Passing in this as root, enables the root element to change - default browser behaviour is window.

See more for inspiration:
https://github.com/umdjs/umd/blob/master/amdWeb.js