Universal Module Definition patterns for JavaScript modules that work eve...

UMD ok!

**Usage:**
``` javascript
requirejs.config({
    baseUrl: 'js/lib',
    paths: {
        'opentip': 'opentip/opentip',
        'opentip-adapter': 'opentip'
    }
});

define(function(require) {

    'use strict';

    // Tooltip
    var Opentip = require('opentip');
    var Adapter = require('opentip-adapter/opentip-adapter-native');

    // Tooltip setup
    Opentip.styles.example = {
        'showOn': 'click',
        'tipJoint': 'top',
        'target': true,
        'fixed': true,
        'hideTrigger': 'closeButton'
    };

    function Tooltip(el, txt) {
        new Opentip(el, txt, {
            style: 'example'
        });
    }

    return Tooltip;
});
```