db fixes
[scannr.git] / js / flotr2 / js / amd / pre.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(function (root, factory) {
    if (typeof define === 'function' && define.amd) {
        // AMD. Register as an anonymous module.
        define(['bean', 'underscore'], function (bean, _) {
            // Also create a global in case some scripts
            // that are loaded still are looking for
            // a global even when an AMD loader is in use.
            return (root.Flotr = factory(bean, _));
        });
    } else {
        // Browser globals
        root.Flotr = factory(root.bean, root._);
    }
}(this, function (bean, _) {